/* Sabine Schilling – Freie Rednerin
   Haupt-Stylesheet für sabine.karaweiss.org
   Mobil-first Layout, Farben angelehnt an freierednerinmannheim.de
   (warm-beige Hintergrund, dunkles Braun, Altrosa-Akzente). */

:root {
  --color-bg: #f6eee7;
  --color-bg-alt: #f0e3d9;
  --color-surface: #ffffff;
  --color-text: #2b211d;
  --color-text-soft: #6b5a52;
  /* Akzentfarben – etwas dunkleres Purple auf Basis von #ead5e5 */
  --color-accent: #d0a9d2;        /* Hauptakzent (dunkler als #ead5e5) */
  --color-accent-soft: #ead5e5;   /* weichere Flächen */
  --color-accent-strong: #b07ab3; /* für Hervorhebungen */
  --shadow-soft: 0 18px 40px rgba(71, 45, 34, 0.18);
  --radius-xl: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Mukta", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
}

body {
  line-height: 1.6;
}

a {
  color: var(--color-accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, #fdf4ed 0, var(--color-bg) 40%)
      fixed,
    var(--color-bg);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #111827;
  color: #ffffff;
  z-index: 50;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* Header / Navigation ----------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-accent);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(12, 20, 48, 0.55);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #111111;
}

.logo:hover,
.logo:focus {
  text-decoration: none;
}

.nav-desktop {
  list-style: none;
  display: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111111;
}

.nav-desktop a[aria-current="page"] {
  position: relative;
}

.nav-desktop a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-soft), var(--color-accent));
  border-radius: 999px;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent-soft), #ffffff);
  color: #111111 !important;
}

.nav-cta:hover,
.nav-cta:focus {
  filter: brightness(1.05);
  text-decoration: none;
}

.nav-toggle {
  position: relative;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease,
    bottom 0.18s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0.9rem;
}

.nav-toggle span:nth-child(2) {
  top: 1.2rem;
}

.nav-toggle span:nth-child(3) {
  bottom: 0.9rem;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 1.2rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  bottom: 1.2rem;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile {
  list-style: none;
  margin: 0;
  padding: 4.5rem 1.75rem 2rem;
  position: fixed;
  inset: 0 0 auto 0;
  transform: translateY(-100%);
  background: #fdfaf7;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  border-radius: 0 0 1.5rem 1.5rem;
  transition: transform 0.22s ease;
}

.nav-mobile.is-open {
  transform: translateY(0);
}

.nav-mobile li + li {
  margin-top: 1rem;
}

.nav-mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #111111;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .nav-overlay,
  .nav-mobile {
    display: none;
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr);
  color: var(--color-text);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 540px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 24, 19, 0.55) 0%,
    rgba(34, 24, 19, 0.1) 40%,
    transparent 75%
  );
  pointer-events: none;
}

.hero__content {
  position: absolute;
  inset: auto 0 5%;
  padding: 0 1.75rem;
  color: #ffffff;
}

.hero__headline {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.hero__subline {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.hero__quote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero__image {
    max-height: 640px;
  }

  .hero__content {
    max-width: 640px;
    left: 8%;
  }

  .hero__headline {
    font-size: 2.4rem;
  }
}

/* Sections / Layout ------------------------------------------------------- */

.main {
  flex: 1;
}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}

.section__intro {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--color-text-soft);
}

/* Leistungen -------------------------------------------------------------- */

.section--leistungen-intro {
  padding-bottom: 2.5rem;
}

.leistungen-intro-card {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 2.25rem 2.75rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #fffdfb, #f3e3d8);
  box-shadow: var(--shadow-soft);
}

.leistungen-intro-card h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

.leistungen-intro-quote {
  margin: 0 0 0.85rem;
  color: var(--color-text-soft);
}

.leistungen-intro-contact {
  margin-top: 1.25rem;
  font-weight: 500;
}

.leistungen-block {
  max-width: 50rem;
  margin: 0 auto;
}

.leistungen-block__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--color-accent-soft);
  margin: 0 0 0.4rem;
}

.leistungen-block h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.85rem;
}

.leistungen-block p {
  color: var(--color-text-soft);
}

.leistungen-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2.5rem;
}

.leistungen-list li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

.section--leistungen-cta {
  text-align: center;
}

.section--leistungen-cta p {
  max-width: 36rem;
  margin: 0.5rem auto 1.75rem;
  color: var(--color-text-soft);
}

@media (max-width: 640px) {
  .leistungen-list {
    columns: 1;
  }
}

/* Seminare & Workshops ---------------------------------------------------- */

.section--seminare-intro {
  padding-bottom: 1.75rem;
}

.seminare-intro-card {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.25rem 2.1rem 2.4rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #fffdfb, #f2e2dd);
  box-shadow: var(--shadow-soft);
}

.seminare-intro-card h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.9rem;
}

.seminare-intro-card p {
  margin: 0;
  color: var(--color-text-soft);
}

.seminar-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.seminar-card__media img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.seminar-card__body {
  color: var(--color-text-soft);
}

.seminar-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--color-accent-soft);
  margin: 0 0 0.3rem;
}

.seminar-card__person {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.seminar-card__role {
  margin-top: 0;
}

.seminar-card--no-image {
  grid-template-columns: minmax(0, 1.1fr);
}

.seminare-more {
  display: grid;
  gap: 2rem;
}

.seminare-more .section__title {
  text-align: left;
}

@media (max-width: 768px) {
  .seminar-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .seminare-more {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Kontakt ----------------------------------------------------------------- */

.section--contact .section__title {
  text-align: left;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.contact-layout .block__media img {
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.contact-card {
  max-width: 34rem;
}

.contact-card-inner {
  padding: 2.1rem 2.25rem 2.4rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #fffdfb, #f3e2d9);
  box-shadow: var(--shadow-soft);
}

.contact-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-accent-soft);
  margin: 0 0 0.4rem;
}

.contact-subline {
  margin: 0.4rem 0 1.2rem;
  color: var(--color-text-soft);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.1rem;
}

.contact-method-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
  margin: 0 0 0.1rem;
}

.contact-method-value {
  margin: 0;
  font-weight: 600;
}

.contact-note {
  margin-top: 0.75rem;
  color: var(--color-text-soft);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: block;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(188, 160, 140, 0.4);
  background: linear-gradient(145deg, #fffdfb, #f8efe8);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--color-text-soft);
}

.service-card__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card:hover,
.service-card:focus {
  border-color: var(--color-accent-soft);
  box-shadow: 0 28px 70px rgba(71, 45, 34, 0.25);
  text-decoration: none;
}

@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.block__media img {
  width: 100%;
  max-width: 360px;
  border-radius: 1.75rem;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.block__body p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-text-soft);
}

@media (min-width: 768px) {
  .block--flex {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

.testimonial-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.testimonial {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(188, 160, 140, 0.35);
  background: radial-gradient(circle at top left, #fffdfb, #f6e9df);
}

.testimonial__stars {
  margin: 0 0 0.6rem;
  color: var(--color-accent-soft);
}

.testimonial__quote {
  margin: 0 0 0.9rem;
}

.testimonial__author {
  margin: 0;
  font-weight: 600;
  color: var(--color-text-soft);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-accent-soft), var(--color-accent));
  color: #111111;
}

.btn:hover,
.btn:focus {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn--hero {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.btn--outline {
  background: transparent;
  color: #111111;
  border-color: rgba(188, 160, 140, 0.8);
}

.btn--outline:hover,
.btn--outline:focus {
  background: rgba(248, 245, 241, 0.95);
}

.btn--footer {
  background: transparent;
  border-color: rgba(209, 213, 219, 0.6);
  color: #111111;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 2.75rem;
  background: #1f1410;
  color: #f3f4f6;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact a {
  color: #f3f4f6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.9rem;
  color: #e5e7ebb3;
}

.footer-links a:hover,
.footer-links a:focus {
  color: #ffffff;
}

/* Galerie ----------------------------------------------------------------- */

.gallery-intro {
  color: var(--color-text-soft);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery--framed .gallery__item {
  list-style: none;
}

.gallery__item-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #111827;
  box-shadow: var(--shadow-soft);
  transform-origin: center;
  transform: translateY(20px);
  opacity: 0;
  animation: gallery-fade-in 0.7s ease forwards;
}

.gallery__item:nth-child(2) .gallery__item-inner {
  animation-delay: 0.06s;
}
.gallery__item:nth-child(3) .gallery__item-inner {
  animation-delay: 0.12s;
}
.gallery__item:nth-child(4) .gallery__item-inner {
  animation-delay: 0.18s;
}
.gallery__item:nth-child(5) .gallery__item-inner {
  animation-delay: 0.24s;
}
.gallery__item:nth-child(6) .gallery__item-inner {
  animation-delay: 0.3s;
}

.gallery__item-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem 1.05rem;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.95) 100%
  );
  color: #f9fafb;
  font-size: 0.96rem;
}

.gallery__meta-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fdecc8, #f97316);
  box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.25);
}

.gallery__item-inner::before {
  content: "";
  position: absolute;
  inset: auto 6% 12%;
  height: 60%;
  background: radial-gradient(
    ellipse at center,
    rgba(250, 250, 249, 0.28),
    transparent 55%
  );
  opacity: 0;
  transform: translateY(30%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.gallery__item:hover .gallery__item-inner::before,
.gallery__item:focus-within .gallery__item-inner::before {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item:hover img,
.gallery__item:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@keyframes gallery-fade-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

