/* =============================================================================
   Yoga und Coaching Mittendrin – Stylesheet
   1 Farben & Maße · 2 Basis · 3 Bausteine · 4 Kopf & Fuß · 5 Seiten · 6 Bewegung
   Grundgedanke: warme Sandtöne, weiche Rundungen, viel Luft.
   ========================================================================== */

/* 1 --------------------------------------------------------- Farben & Maße */

:root {
  /* Warme Grundtöne – Sand, Leinen, Ton */
  --bg:        #fbf7f2;
  --bg-warm:   #f6ece1;
  --bg-deep:   #f0e2d4;
  --surface:   #fffdfb;

  /* Schrift – warmes Braun statt kaltem Schwarz */
  --ink:   #3d332c;
  --ink-2: #6f6156;
  --ink-3: #9c8d80;

  /* Akzente – Terrakotta trägt, Salbei erdet */
  --accent:      #bf6f4d;
  --accent-deep: #a25a3c;
  --accent-soft: #f5e2d6;
  --sage:        #7f9070;
  --sage-soft:   #e6ecdf;
  --gold:        #d9a566;

  --line:      #e8dccd;
  --line-soft: #f0e7db;

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --wrap-text: 720px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --radius: 14px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 10px -4px rgb(90 62 42 / 14%);
  --shadow:    0 18px 44px -26px rgb(90 62 42 / 42%);
  --shadow-lg: 0 34px 80px -40px rgb(90 62 42 / 50%);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2 ---------------------------------------------------------------- Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: clamp(1rem, .3vw + .94rem, 1.08rem);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Feines Papierkorn – nimmt den Flächen das Digitale */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.14; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 300;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Layout-Hüllen */
.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.wrap--text { width: min(100% - var(--gutter) * 2, var(--wrap-text)); }

main { position: relative; z-index: 1; }

.section { padding-block: var(--section-y); position: relative; }
.section--warm { background: var(--bg-warm); }
.center { text-align: center; }

/* 3 ----------------------------------------------------------- Bausteine */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker--center { justify-content: center; }
.kicker--light { color: #fff; }
.kicker .icon { color: currentColor; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .005em;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .lead { margin-top: .6rem; }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw + .9rem, 1.7rem);
  line-height: 1.4;
  color: var(--ink-2);
  font-style: italic;
}

.muted { color: var(--ink-2); }

.icon { width: 1.5em; height: 1.5em; flex: none; }
.icon--sm { width: 1.15em; height: 1.15em; }
.icon--xs { width: .95em; height: .95em; }
.flip { transform: scaleX(-1); }

/* Fließtext */
.prose { color: var(--ink-2); }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: .2em; }
.prose a:hover { color: var(--accent); }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin: 1.8em 0 .5em;
}
.prose ul { margin: 0 0 1.15em; padding-left: 1.2rem; list-style: disc; }
.prose li { margin-bottom: .4em; }
/* Bilder im Text stehen in der Zeile: passen zwei nebeneinander, bleiben sie
   nebeneinander – eine neue Zeile gibt es nur bei <br>, <p> oder zu wenig Platz. */
.prose img, .day-card__body img {
  display: inline-block;
  vertical-align: top;
  border-radius: var(--radius);
  margin: .6rem 0;
}
.prose--lead p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.6vw + .95rem, 1.8rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}
.prose .lead-accent {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--sage);
}
.prose--legal { font-size: .95rem; }
.prose--legal h2 { font-size: 1.35rem; margin-top: 2em; }
.prose--legal h3 { font-size: 1.1rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: .01em; }
.prose--legal table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose--legal td { border: 1px solid var(--line); padding: 1rem; }

/* Schaltflächen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-deep); box-shadow: 0 12px 26px -12px rgb(162 90 60 / 60%); }

.btn--soft {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--soft:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn--ghost-light { background: rgb(255 255 255 / 14%); color: #fff; border-color: rgb(255 255 255 / 45%); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 26%); }

.btn--sm { padding: .7rem 1.2rem; font-size: .8rem; }

/* Brotkrumen */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.4rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgb(255 255 255 / 78%);
}
.crumbs a { text-decoration: underline; text-underline-offset: .2em; }
.crumbs a:hover { color: #fff; }

/* 4 --------------------------------------------------------- Kopf & Fuß */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s var(--ease);
}
/* Der Untergrund liegt auf dem Pseudo-Element, damit die Linie beim Scrollen
   ein- und ausblenden kann, ohne den Kopf selbst anzufassen. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-stuck::before { border-bottom-color: var(--line); }

.site-header__inner {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.7rem;
}

.brand { display: inline-flex; align-items: center; gap: .85rem; }
/* Das Logo liegt als JPG mit weißem Grund vor – "multiply" lässt das Weiß
   auf dem hellen Untergrund verschwinden, ohne die Datei anzufassen. */
.brand__logo {
  width: 4.4rem;
  height: auto;
  flex: none;
  mix-blend-mode: multiply;
}
.brand__sub {
  font-size: .68rem;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-left: .85rem;
  border-left: 1px solid var(--line);
}
@media (max-width: 560px) { .brand__sub { display: none; } }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
/* Kopfzeile des mobilen Menüs – auf großen Schirmen nicht vorhanden */
.site-nav__bar { display: none; }
.site-nav__list { display: flex; align-items: center; gap: .35rem; }
.site-nav__item { position: relative; }
.site-nav__list > li > a {
  display: inline-block;
  padding: .55rem .8rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__list > li > a:hover { color: var(--ink); background: var(--bg-warm); }
.site-nav__list > li > a[aria-current='page'] { color: var(--accent-deep); background: var(--accent-soft); }

/* Untermenü Yoga */
.site-nav__sub {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 15rem;
  padding: .5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 10;
}
.site-nav__item--has-sub:hover .site-nav__sub,
.site-nav__item--has-sub:focus-within .site-nav__sub {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.site-nav__sub a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .88rem;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.site-nav__sub a:hover,
.site-nav__sub a[aria-current='page'] { background: var(--bg-warm); color: var(--accent-deep); }

.nav-toggle {
  display: none;
  padding: .55rem;
  margin-right: -.55rem;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 940px) {
  .nav-toggle { display: block; }

  /* Das Menü deckt den ganzen Schirm ab – unabhängig davon, wie weit die Seite
     darunter gescrollt ist und wie hoch die Leiste des Browsers gerade steht. */
  .site-nav {
    position: fixed;
    inset: 0;
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 0 0 calc(3rem + env(safe-area-inset-bottom));
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-101%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
    z-index: 200;
  }
  .site-nav.is-open { transform: translateY(0); visibility: visible; }

  /* Logo und Schließkreuz bleiben beim Blättern im Menü oben stehen */
  .site-nav__bar {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.7rem;
    padding: env(safe-area-inset-top) var(--gutter) .4rem;
    background: var(--bg);
  }
  .nav-close {
    padding: .55rem;
    margin-right: -.55rem;
    border: 0;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    color: var(--ink);
  }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: .2rem; padding: 1.4rem var(--gutter) 0; }
  .site-nav__list > li > a {
    display: block;
    padding: .9rem 1rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
  }
  .site-nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    margin: .2rem 0 .6rem .6rem;
    padding: .2rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav__cta { align-self: flex-start; margin: 1.6rem var(--gutter) 0; }
}

/* Solange das Menü offen ist, bleibt die Seite darunter an ihrer Stelle stehen.
   Der Versatz wird per Skript gesetzt und beim Schließen zurückgenommen. */
body.has-nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* Fuß */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  background: var(--bg-deep);
  color: var(--ink);
}
.site-footer__wave {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: clamp(40px, 6vw, 90px);
  color: var(--bg);
  transform: translateY(-99%);
  pointer-events: none;
}
.site-footer__wave svg { width: 100%; height: 100%; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo { width: 5.5rem; height: auto; margin-bottom: 1rem; mix-blend-mode: multiply; }
.footer-claim {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}

.social-row { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-row a {
  display: grid;
  place-items: center;
  width: 2.7rem; height: 2.7rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.social-row a:hover { color: #fff; background: var(--accent); transform: translateY(-3px); }

.footer-facts { display: grid; gap: 1.1rem; }
.footer-facts li { display: flex; gap: .9rem; align-items: flex-start; font-size: .94rem; }
.footer-facts__icon {
  display: grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-deep);
  flex: none;
}
.footer-facts strong {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer-facts a:hover { color: var(--accent-deep); }

.footer-links { display: grid; gap: .5rem; align-content: start; font-size: .94rem; }
.footer-links strong {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .2rem;
}
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 2rem;
  padding-top: 1.6rem;
  font-size: .84rem;
  color: var(--ink-3);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a:hover { color: var(--accent-deep); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s var(--ease);
  z-index: 60;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { color: var(--accent-deep); }
@media (max-width: 700px) { .to-top { display: none; } }

/* 5 -------------------------------------------------------------- Seiten */

/* --- Startseiten-Bühne */
.hero {
  position: relative;
  min-height: min(88svh, 820px);
  display: grid;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 8rem) clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* Links etwas dunkler, damit die Schrift ruhig auf dem Foto liegt */
    linear-gradient(100deg, rgb(48 33 24 / 42%) 0%, rgb(48 33 24 / 18%) 45%, transparent 72%),
    linear-gradient(180deg, rgb(61 42 30 / 22%) 0%, rgb(61 42 30 / 6%) 40%, rgb(61 42 30 / 30%) 100%),
    radial-gradient(80% 60% at 20% 80%, rgb(191 111 77 / 17%), transparent 70%);
}
/* Der Textblock bleibt links im Raster – begrenzt werden die Zeilen,
   nicht die Hülle, sonst würde der Wrap den ganzen Block mittig setzen. */
.hero__inner { color: #fff; }
.hero__inner > * { max-width: 38rem; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  text-shadow: 0 6px 40px rgb(40 25 15 / 45%);
}
.hero__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 92%);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.hero__curve, .page-hero__curve {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: clamp(40px, 6vw, 90px);
  color: var(--bg);
  z-index: 1;
  pointer-events: none;
}
.hero__curve svg, .page-hero__curve svg { width: 100%; height: 100%; }

/* --- Seitenkopf der Unterseiten */
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(48svh, 460px);
  padding-block: clamp(6rem, 14vh, 9rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(61 42 30 / 48%) 0%, rgb(61 42 30 / 22%) 45%, rgb(61 42 30 / 62%) 100%);
}
.page-hero__inner { color: #fff; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1.05;
  text-shadow: 0 6px 36px rgb(40 25 15 / 45%);
}
.page-hero__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin: .7rem 0 0;
  color: rgb(255 255 255 / 90%);
  max-width: 34rem;
}
/* Ohne Bild: warmer Farbverlauf statt Foto */
.page-hero:not(:has(.page-hero__media)) {
  background: linear-gradient(150deg, var(--accent-soft), var(--bg-warm) 60%, var(--sage-soft));
  min-height: 0;
}
.page-hero:not(:has(.page-hero__media)) .page-hero__veil { background: none; }
.page-hero:not(:has(.page-hero__media)) .page-hero__inner { color: var(--ink); }
.page-hero:not(:has(.page-hero__media)) .page-hero__title { text-shadow: none; }
.page-hero:not(:has(.page-hero__media)) .crumbs { color: var(--ink-2); }

/* --- Willkommen */
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.welcome__portrait { margin: 0; }
.portrait-frame {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 60px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame--wide { border-radius: var(--radius-xl) 60px var(--radius-xl) var(--radius-xl); }
.welcome__portrait figcaption {
  margin-top: .9rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome__portrait { max-width: 26rem; margin-inline: auto; }
}

/* --- Zwei- und Dreispalter */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
/* Reine Textkästen dürfen unterschiedlich hoch sein – sonst entstehen
   unter dem kürzeren Text große Leerflächen. */
.duo--text, .section--warm .trio { align-items: start; }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }

/* Karten */
.offer-card, .text-card, .contact-card, .place-card, .day-card, .side-panel {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.text-card--flat { box-shadow: none; border-color: var(--line); }
.text-card--wide { padding: clamp(1.8rem, 4vw, 3rem); }

.offer-card__icon, .contact-card__icon, .place-card__icon, .cta-panel__icon, .notfound__icon {
  display: grid;
  place-items: center;
  width: 3.4rem; height: 3.4rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.offer-card__icon .icon, .contact-card__icon .icon, .place-card__icon .icon { width: 1.7rem; height: 1.7rem; }
.offer-card:nth-child(2) .offer-card__icon { background: var(--sage-soft); color: var(--sage); }

.offer-card__title, .text-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  margin-bottom: .8rem;
}
.text-card__title { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.offer-card .btn { margin-top: 1.4rem; }

/* --- Stimmen */
.section--quotes { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.quote-rail { position: relative; }
.quote-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 30rem);
  align-items: start;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: .6rem .2rem 1.6rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.quote-track::-webkit-scrollbar { display: none; }
.quote-card {
  position: relative;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.quote-card__mark {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  color: var(--accent-soft);
}
.quote-card__mark .icon { width: 2.6rem; height: 2.6rem; }
.quote-card blockquote {
  margin: 0 0 1.4rem;
  font-size: .98rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.quote-card__by { margin: auto 0 0; display: grid; gap: .1rem; }
.quote-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}
.quote-card__role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.rail-nav { display: flex; justify-content: center; gap: .6rem; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 2.8rem; height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.rail-btn:hover { color: var(--accent-deep); border-color: var(--accent); transform: translateY(-2px); }

/* --- Kacheln */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: clamp(1.8rem, 4vw, 3rem);
}
.tile a {
  display: grid;
  justify-items: center;
  gap: .8rem;
  height: 100%;
  padding: clamp(1.8rem, 3vw, 2.6rem) 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.tile a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tile__icon .icon { width: 2rem; height: 2rem; }
.tile a:hover .tile__icon { background: var(--accent-soft); color: var(--accent-deep); }
.tile__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.tile__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-deep);
}

/* --- Aufruf-Block */
.cta-panel {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  border-radius: var(--radius-xl);
  text-align: center;
  background:
    radial-gradient(90% 130% at 15% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, var(--sage-soft), transparent 65%),
    var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}
.cta-panel--slim { margin-top: clamp(2rem, 4vw, 3rem); }
.cta-panel__icon { margin-inline: auto; }
.cta-panel__title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.cta-panel__text { color: var(--ink-2); max-width: 34rem; margin-inline: auto; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.6rem 0 0; }

/* --- Zweispalter Text + Bild */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split--info { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.split__text { display: grid; gap: 1.2rem; align-content: start; }
.split__text .section-title { margin-bottom: .4rem; }
.split__media { margin: 0; }
.split--sticky .split__media { position: sticky; top: 7rem; }
@media (max-width: 900px) {
  .split, .split--info { grid-template-columns: 1fr; }
  .split--sticky .split__media { position: static; }
  .split__media { max-width: 30rem; }
}

/* Frage-Antwort-Liste */
.qa-list { display: grid; gap: 1rem; }
.qa-list li { display: flex; gap: .9rem; align-items: flex-start; }
.qa-list__icon {
  display: grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  flex: none;
  margin-top: .15rem;
}
.qa-list strong { display: block; color: var(--ink); }
.qa-list span span { color: var(--ink-2); }

/* --- Audios */
.audio-player { margin-top: 1.2rem; }
.audio-player audio { width: 100%; }

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.audio-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.audio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audio-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-warm); }
.audio-card__media img { width: 100%; height: 100%; object-fit: cover; }
.audio-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; height: 100%; }
.audio-card__title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.audio-card__price { margin: 0; font-weight: 800; color: var(--accent-deep); }
.audio-card__text { margin: 0; font-size: .9rem; color: var(--ink-2); }
.audio-card .btn { margin-top: auto; align-self: flex-start; }

/* --- Kursplan */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.day-card { display: grid; gap: .8rem; align-content: start; }
.day-card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent-deep);
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
.day-card__body { color: var(--ink-2); font-size: .95rem; line-height: 1.9; }

.news-stack { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 7rem;
}
.news-item:not(:has(.news-item__media)) { grid-template-columns: 1fr; }
.news-item__media { border-radius: var(--radius); overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .6rem; }
@media (max-width: 820px) { .news-item { grid-template-columns: 1fr; } }

.side-panel { align-self: start; }
.side-panel__title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1rem; }
.side-panel__links { display: grid; gap: .5rem; }
.side-panel__links a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  background: var(--bg-warm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.side-panel__links a:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* --- Kontakt */
.contact-card, .place-card { text-align: center; display: grid; justify-items: center; gap: .4rem; }
.contact-card__title, .place-card__title { font-family: var(--font-display); font-size: 1.7rem; }
.contact-card__value { font-size: 1.05rem; color: var(--ink-2); margin-bottom: .6rem; }
.place-card__address { color: var(--ink-2); font-size: .95rem; margin-bottom: .6rem; }
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

/* --- 404 */
.section--notfound { padding-block: clamp(5rem, 14vw, 9rem); }
.notfound__icon { margin-inline: auto; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* 6 ------------------------------------------------------------ Bewegung */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .site-footer__wave, .hero__curve, .page-hero__curve { display: none !important; }
  body { background: #fff; }
}
