/* Ergänzungen der Startseite; gemeinsame Komponenten stehen in main.css. */

/* ============================================================
   STARTSEITE
   ============================================================ */

/* News bleiben ein kurzer Einstieg; alle Beiträge sind über die Übersicht erreichbar. */
.home .news { padding-block: clamp(2.5rem, 5vw, 4rem); }
.home .news__kopf { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.home .news-karte__medium { aspect-ratio: 16 / 10; }
.home .news-karte--gross .news-karte__medium { aspect-ratio: var(--news-aufmacherformat); }
.home .news-karte__anriss { -webkit-line-clamp: 2; }
.home .news-karte--gross .news-karte__text { padding: 1.1rem 1.3rem 1.25rem; gap: .45rem; }
.home .news__raster { --reveal-dauer: 1.1s; --reveal-fade: .85s; }
@media (max-width: 900px) {
  .home .news-karte--gross .news-karte__titel { font-size: var(--fs-h2); line-height: 1.2; }
  .home .news-karte--gross .news-karte__anriss { font-size: var(--fs-small); }
}

/* ---------- Hero ---------- */
/* Eine Spalte, alles mittig wie im alten Hero; Höhe wie im neuen Design. */
.hero {
  --nav-h: 4.625rem; /* 74px-Nav */
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding-block: calc(var(--nav-h) + .75rem) 2.5rem;
}
/* Die Bannerkante folgt denselben Nav-Abständen wie auf den Unterseiten,
   unabhängig von Fensterhöhe und der vertikalen Ausrichtung des Heros. */
.hero:has(> .aktuelles) { padding-top: var(--hinweis-oben); justify-content: flex-start; }
.hero > .aktuelles { position: relative; z-index: 3; padding-top: 0; margin: 0 0 1.25rem; }
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 50rem; text-align: center;
}
.hero__titel {
  margin-top: .75rem;
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-display);
  line-height: .98; letter-spacing: -.025em;
}
.hero__titel em { font-style: normal; font-weight: 500; color: var(--accent-text); }
.hero__lead { margin: 1rem auto 0; max-width: 46ch; color: var(--ink-soft); font-size: var(--fs-body); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__lead-mehr { display: none; }
.hero__aktionen { display: flex; justify-content: center; width: 100%; margin-top: 1.4rem; }
.hero__aktionen .btn { width: min(100%, 22rem); justify-content: center; }
.hero__fakten {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.5rem;
  margin: 1.1rem auto 0; font-size: var(--fs-small); color: var(--ink-soft);
}
.hero__fakten strong { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); color: var(--ink); margin-right: .25rem; }
.hero .hero__scroll { display: none; pointer-events: auto; }
@media (max-width: 480px) {
  .hero__ort { display: none; }
  .hero--buehne .hero__fakten { column-gap: clamp(.4rem, 2vw, .75rem); }
  .hero--buehne .hero__fakten li { white-space: nowrap; }
}
@media (min-width: 981px) {
  .hero { --nav-h: 5.5rem; padding-block: calc(var(--nav-h) + 1.5rem) 4.5rem; }
  .hero > .aktuelles { margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem); }
  .hero__titel { margin-top: 1.1rem; }
  .hero__lead { margin-top: 1.4rem; max-width: 52ch; font-size: var(--fs-lead); }
  .hero__lead-mehr { display: inline; }
  .hero__aktionen { margin-top: clamp(1.5rem, 4vh, 2.25rem); }
  .hero__aktionen .btn { width: auto; }
  .hero__fakten {
    gap: .4rem 1.75rem; min-width: min(30rem, 100%);
    margin-top: clamp(1.4rem, 4vh, 2.5rem); padding-top: 1.1rem; border-top: 1px solid var(--line);
  }
  .hero .hero__scroll { display: flex; }
}
@media (min-width: 1181px) { .hero { --nav-h: 7rem; } }
.js-loaded .hero__kicker, .js-loaded .hero__lead, .js-loaded .hero__fakten {
  opacity: 0; animation: zeile-rein .55s var(--ease) forwards;
}
.js-loaded .hero__lead { animation-delay: .12s; }
.js-loaded .hero__fakten { animation-delay: .2s; }

/* Rundes Foto in fester Quadrat-Box. Der Ring ist ein eigener Strich und zeichnet
   sich einmal; keine Maske auf dem bewegten Element, sonst wird der Kreis in Safari oval. */
.hero__avatar {
  --foto: 10.5rem;
  --luft: .75rem;
  position: relative; flex: none;
  width: calc(var(--foto) + 2 * var(--luft));
  height: calc(var(--foto) + 2 * var(--luft));
  margin-bottom: .6rem;
}
.hero__avatar-foto {
  position: absolute; top: var(--luft); left: var(--luft);
  width: var(--foto); height: var(--foto);
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
  color: var(--accent-text);
  box-shadow: 0 14px 36px var(--shadow-soft);
}
.hero__avatar-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__avatar-foto svg { width: 48%; height: 48%; }
.hero__avatar-txt { font-weight: 600; font-size: var(--fs-h3); letter-spacing: .02em; }
.hero__ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
}
.hero__ring circle {
  fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ring-zeichnen 2.2s var(--ease) .15s forwards;
}
@keyframes ring-zeichnen { to { stroke-dashoffset: 0; } }
@media (min-width: 981px) { .hero__avatar { --foto: 13rem; margin-bottom: .9rem; } }
/* Niedrige Fenster: Button muss im ersten Bildschirm bleiben. */
@media (max-height: 700px) and (max-width: 980px) {
  .hero__avatar { --foto: 8.25rem; --luft: .6rem; margin-bottom: .25rem; }
  .hero > .aktuelles { margin-bottom: .75rem; }
  .hero__titel { margin-top: .4rem; }
  .hero__lead { margin-top: .6rem; }
  .hero__aktionen { margin-top: .9rem; }
}
@media (max-height: 600px) and (max-width: 980px) {
  .hero { padding-block: calc(var(--nav-h) + .5rem) 1.5rem; }
  .hero__avatar { --foto: 6.75rem; --luft: .5rem; }
  .hero > .aktuelles { margin-bottom: .5rem; }
  .hero__titel { margin-top: .25rem; }
}
@media (min-width: 981px) and (max-height: 940px) {
  .hero { padding-block: calc(var(--nav-h) + .75rem) 2.5rem; }
  .hero__avatar { --foto: 11.5rem; --luft: .65rem; margin-bottom: .4rem; }
  .hero > .aktuelles { margin-bottom: 1rem; }
  .hero__titel { margin-top: .5rem; }
  .hero__lead { margin-top: .9rem; }
  .hero__aktionen { margin-top: 1.1rem; }
  .hero__fakten { margin-top: 1rem; padding-top: .8rem; }
}
@media (min-width: 981px) and (max-height: 760px) {
  .hero__avatar { --foto: 9rem; }
  .hero__lead-mehr { display: none; }
}

/* Mini-Avatar am Kicker: Gesamtmaß wie der Hero-Avatar auf gahlbeck.com (72px, mobil 58px). */
.hero__avatar.ist-mini { --foto: 3.1rem; --luft: .26rem; margin: 0; }
@media (min-width: 980px) { .hero__avatar.ist-mini { --foto: 3.9rem; --luft: .3rem; } }
.hero__avatar.ist-mini .hero__ring circle { stroke-width: 2.4; }
.hero__avatar.ist-mini .hero__avatar-foto { box-shadow: none; }
.hero__absender { display: flex; align-items: center; gap: .95rem; }


/* 3 Bühne: Pilates-Foto (4:3) in einer Bühnenfläche unter dem Hinweis.
   Bis 980px hochkant: Text oben, das ganze Foto taucht darunter aus der Seitenfarbe auf.
   Desktop und breite Querformat-Fenster: Foto rechts, Text links. */
.hero--buehne {
  --buehne: #1d1c1a; --pad-unten: clamp(1.25rem, 4vh, 2rem);
  --beine-ziel: 80%; --spalte: 62%; --schleier: 71%;
  --foto-max: 128vw; /* an die Breite gebunden: größer → Beine breiter und näher am Titel */
  justify-content: flex-start; min-height: min(100svh, 54rem); padding-bottom: var(--pad-unten);
  background: var(--buehne); color: #f2efe6;
}
@media (max-width: 380px) { .hero--buehne { --beine-ziel: 84%; --foto-max: 122vw; } }
@media (max-width: 340px) { .hero--buehne { --beine-ziel: 86%; --spalte: 70%; } }
@media (min-width: 600px) { .hero--buehne { --beine-ziel: 68%; --spalte: 54%; --schleier: 60%; --foto-max: 110vw; } }
.hero--buehne > .aktuelles { margin-bottom: .75rem; }
.hero__flaeche {
  position: relative; z-index: 1; flex: 1 0 auto;
  display: flex; flex-direction: column; justify-content: center;
}
/* Mittig zur Fläche wie der Text: Füße auf Höhe des Kickers, Kopf neben Button und Fakten. */
.hero__buehne {
  position: absolute; z-index: 0; top: 50%; left: var(--beine-ziel);
  height: min(100%, var(--foto-max)); aspect-ratio: 4 / 3;
  transform: translate(calc(-1 * var(--motiv-x, 50%)), -50%);
  pointer-events: none;
}
.hero__buehne picture { position: absolute; inset: 0; }
.hero__buehne :is(picture, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Ränder des Fotos weich, damit nirgends eine Bildkante steht (auch wenn die Box schmaler als der
   Bildschirm ist). Die ersten Prozent voll deckend, sonst blitzt bei Bruchteil-Pixeln eine Haarlinie. */
.hero__buehne::after {
  content: ""; position: absolute; inset: -1px;
  background:
    linear-gradient(90deg, var(--buehne) 0%, var(--buehne) 1.5%, rgb(from var(--buehne) r g b / 0) 13%, rgb(from var(--buehne) r g b / 0) 87%, var(--buehne) 98.5%),
    linear-gradient(180deg, var(--buehne) 0%, var(--buehne) 1.5%, rgb(from var(--buehne) r g b / 0) 7%, rgb(from var(--buehne) r g b / 0) 86%, var(--buehne) 98.5%);
}
/* Lesbarkeit der Textspalte; endet kurz vor der Person (heller Text auf dunkler Bühne). */
.hero__flaeche::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(from var(--buehne) r g b / .92) 0%, rgb(from var(--buehne) r g b / .82) calc(var(--schleier) - 20%), rgb(from var(--buehne) r g b / 0) var(--schleier));
}
.hero--buehne .hero__inner { position: relative; z-index: 2; align-items: flex-start; text-align: left; max-width: var(--maxw); width: 100%; }
.hero--buehne .hero__absender { max-width: 70%; }
.hero--buehne .hero__kicker { letter-spacing: .1em; text-wrap: balance; }
.hero--buehne .hero__text { width: 100%; max-width: 40rem; }
.hero--buehne :is(.hero__lead, .hero__fakten) { max-width: var(--spalte); }
.hero--buehne .hero__kicker { color: rgb(242 239 230 / .88); }
.hero--buehne .hero__titel { margin-top: 1rem; font-size: var(--fs-buehne); color: #f2efe6; }
.hero--buehne .hero__titel em { color: #b5c7a1; }
.hero--buehne .hero__lead { margin-left: 0; color: rgb(242 239 230 / .82); }
.hero--buehne .hero__lead strong { color: #f2efe6; }
.hero--buehne .hero__aktionen { justify-content: flex-start; }
.hero--buehne .hero__fakten { justify-content: flex-start; margin-left: 0; color: rgb(242 239 230 / .72); border-color: rgb(255 255 255 / .22); }
.hero--buehne .hero__fakten strong { color: #f2efe6; }
.hero--buehne .hero__avatar-foto { box-shadow: 0 0 0 2px rgb(18 18 16 / .4); }
.hero--buehne .hero__ring circle { stroke: #b5c7a1; }
.hero--buehne .hero__scroll-arrow { border-color: rgb(242 239 230 / .55); }
.hero--buehne .hero__lead-mehr { display: inline; }
.hero--buehne .hero__aktionen .btn { width: auto; }
.hero--buehne.ist-ohne-foto .hero__flaeche::before { display: none; }
.hero--buehne.ist-ohne-foto { --spalte: 100%; }
@media (max-height: 700px) {
  .hero--buehne .hero__titel { margin-top: .6rem; }
  .hero--buehne .hero__lead { margin-top: .5rem; }
  .hero--buehne .hero__aktionen { margin-top: .8rem; }
}
/* Hochkant folgt die Pose den Fakten. Die oberen Bildecken laufen weich aus,
   die Füße bleiben sichtbar. Breite Querformate folgen weiter unten. */
@media (max-width: 980px) and (orientation: portrait) {
  .hero--buehne { --spalte: 100%; min-height: 0; }
  .hero__flaeche { justify-content: flex-start; }
  .hero__flaeche::before { display: none; }
  .hero__buehne {
    --foto-b: 100%;
    order: 2; position: relative; top: auto; left: auto; flex: none;
    width: var(--foto-b); height: auto; aspect-ratio: 4 / 3;
    margin: .25rem 0 0; transform: none;
  }
  .hero__buehne img { object-position: center; }
  .hero__buehne::after {
    background:
      linear-gradient(180deg, var(--buehne) 0%, rgb(from var(--buehne) r g b / 0) 5%, rgb(from var(--buehne) r g b / 0) 86%, var(--buehne) 100%),
      radial-gradient(ellipse 100% 100% at top left, var(--buehne) 30%, rgb(from var(--buehne) r g b / 0) 100%) top left / 50% 65% no-repeat,
      radial-gradient(ellipse 100% 100% at top right, var(--buehne) 30%, rgb(from var(--buehne) r g b / 0) 100%) top right / 50% 65% no-repeat,
      linear-gradient(90deg, var(--buehne), rgb(from var(--buehne) r g b / 0) 2%, rgb(from var(--buehne) r g b / 0) 98%, var(--buehne));
  }
  .hero--buehne .hero__absender { max-width: none; }
  .hero--buehne .hero__aktionen .btn { width: 100%; }
}
@media (min-width: 600px) and (max-width: 980px) and (orientation: portrait) {
  .hero__buehne { --foto-b: min(100%, 44rem); margin-inline: auto; }
}
/* Desktop: die große, nach links auslaufende Bildbühne bleibt erhalten.
   Kompakte Fenster zeigen die Pose ohne seitliches Herausschieben. */
@media (min-width: 981px), (min-width: 820px) and (min-aspect-ratio: 6 / 5) and (min-height: 541px) {
  .hero--buehne { --pad-unten: clamp(2rem, 6vh, 4rem); min-height: 100vh; min-height: 100svh; }
  .hero--buehne > .aktuelles { margin-bottom: 1rem; }
  .hero__buehne {
    top: 0; left: auto; right: 0; bottom: calc(-1 * var(--pad-unten)); height: auto; max-width: 100%;
    transform: none;
  }
  .hero__buehne::after {
    background:
      linear-gradient(90deg, var(--buehne) 0%, var(--buehne) 1.5%, rgb(from var(--buehne) r g b / .82) 14%, rgb(from var(--buehne) r g b / .25) 38%, rgb(from var(--buehne) r g b / 0) 55%),
      linear-gradient(180deg, var(--buehne) 0%, var(--buehne) 1%, rgb(from var(--buehne) r g b / 0) 6%, rgb(from var(--buehne) r g b / 0) 88%, var(--buehne) 100%);
  }
  .hero__flaeche::before { display: none; }
  .hero--buehne .hero__absender { max-width: none; }
  /* Dunkler Hintergrund bleibt bis unter die Beschreibung tragfähig;
     vor den Beinen öffnet sich der Verlauf wieder vollständig. */
  [data-theme="dark"] .hero__buehne::after {
    background:
      linear-gradient(90deg, var(--buehne) 0%, var(--buehne) 3%, rgb(from var(--buehne) r g b / .92) 18%, rgb(from var(--buehne) r g b / .65) 33%, rgb(from var(--buehne) r g b / .2) 45%, rgb(from var(--buehne) r g b / 0) 55%),
      linear-gradient(180deg, var(--buehne) 0%, rgb(from var(--buehne) r g b / .6) 2%, rgb(from var(--buehne) r g b / 0) 8%, rgb(from var(--buehne) r g b / 0) 94%, var(--buehne) 100%);
  }
  .hero--buehne .hero__kicker { letter-spacing: .14em; }
  .hero--buehne .hero__lead { max-width: 52ch; }
  .hero--buehne .hero__fakten { max-width: none; }
  @media (max-width: 1180px) {
    .hero--buehne .hero__absender { max-width: 28rem; }
    .hero--buehne:not(.ist-ohne-foto) .hero__lead { max-width: min(52ch, 44vw); }
    .hero__buehne {
      top: 50%; bottom: auto; height: min(100%, 60vw);
      transform: translateY(-50%);
    }
  }
}
/* Querformat-Handys: die ganze Person rechts direkt unter dem Hinweis, so hoch wie der erste Bildschirm
   hergibt; der Text läuft als schmale Spalte links daneben und darf darunter weitergehen. */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 980px) {
  .hero--buehne { --beine-ziel: 79%; --spalte: 100%; --schleier: 64%; --foto-max: calc(100svh - 8.5rem); }
  .hero__buehne { top: 0; transform: translateX(calc(-1 * var(--motiv-x, 50%))); }
  .hero--buehne .hero__text { max-width: 58%; }
  .hero--buehne .hero__absender { max-width: none; }
}

/* 3b: dieselbe Bühne in den Seitenfarben (hell im Light Mode, dunkel im Dark Mode) */
.hero--buehne-hell { --buehne: var(--bg); color: var(--ink); }
.hero--buehne-hell .hero__kicker { color: var(--accent-text); }
.hero--buehne-hell .hero__titel { color: var(--ink); }
.hero--buehne-hell .hero__titel em { color: var(--accent-text); }
.hero--buehne-hell .hero__lead { color: var(--ink-soft); }
.hero--buehne-hell .hero__lead strong { color: var(--ink); }
.hero--buehne-hell .hero__fakten { color: var(--ink-soft); border-color: var(--line); }
.hero--buehne-hell .hero__fakten strong { color: var(--ink); }
.hero--buehne-hell .hero__avatar-foto { box-shadow: none; }
.hero--buehne-hell .hero__ring circle { stroke: var(--accent); }
.hero--buehne-hell .hero__scroll-arrow { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }

/* Die Dielen laufen im Originalfoto durch. Die Bildränder gehen weich
   in den Hintergrund über; das Foto selbst skaliert immer proportional. */
.hero--raum {
  isolation: isolate; min-height: 100svh; justify-content: flex-start;
  padding-block: var(--hinweis-oben) 0;
  background: var(--bg);
}
.hero--raum-mit-foto {
  --raum-grund: linear-gradient(110deg, var(--bg-card), var(--bg) 55%,
    color-mix(in srgb, var(--bg) 90%, var(--accent-soft)));
  background: var(--raum-grund);
}
.hero__szene {
  position: relative; flex: 1 0 auto; display: grid; align-items: center;
  padding-bottom: clamp(2rem, min(8svh, 40svh - 18rem), 6rem);
}
.hero__raumfoto {
  display: block; position: absolute; z-index: -2; inset: 0; pointer-events: none;
}
.hero__raumfoto img {
  position: absolute; bottom: 0; display: block; width: 100%; height: min(100%, 54vw);
  object-fit: cover; object-position: right bottom;
  mask-image: linear-gradient(to bottom, transparent, black 3%),
    linear-gradient(to bottom, transparent, black 24%),
    radial-gradient(ellipse 20% 30% at 68% 12%, black 45%, transparent);
  mask-composite: intersect, add;
}
.hero--raum .hero__inner {
  position: static; z-index: auto; align-items: flex-start; text-align: left; margin-block: auto;
  padding-block: clamp(1.25rem, 3svh, 2rem);
  max-width: var(--maxw);
}
.hero--raum .hero__text { width: clamp(23rem, 45vw, 33rem); }
.hero--raum .hero__absender { gap: .85rem; }
.hero--raum .hero__avatar { --foto: clamp(2.25rem, 16dvh - 2.5rem, 7rem); }
/* Das hochformatige „Über mich“-Foto im Kreis als Kopf-Schulter-Porträt zeigen. */
.hero--raum .hero__avatar-foto--portraet img { transform: scale(1.55); transform-origin: 54% 22%; }
.hero--raum .hero__kicker { color: var(--accent-text-strong); font-weight: 700; text-wrap: balance; }
.hero--raum .hero__titel { font-size: var(--fs-buehne); margin-top: clamp(.8rem, 2vh, 1.4rem); }
.hero--raum .hero__lead { margin-inline: 0; max-width: 42ch; text-wrap: pretty; }
.hero--raum .hero__lead strong { font-weight: 700; }
.hero--raum .hero__lead-mehr { display: inline; }
.hero--raum .hero__aktionen { justify-content: flex-start; }
.hero--raum .hero__aktionen .btn { width: auto; }
.hero--raum .hero__fakten {
  justify-content: flex-start; gap: .25rem 1.25rem;
  min-width: 0; margin-left: 0; padding: 0; border: 0; color: var(--ink);
}
.hero--raum .hero__fakten li { white-space: nowrap; }
.hero--raum .hero__scroll { padding: .65rem; }
.hero--raum .hero__scroll-arrow {
  border-color: color-mix(in srgb, var(--ink) 58%, transparent);
  filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--bg) 60%, transparent));
  transform: rotate(45deg);
}

[data-theme="dark"] .hero--raum .hero__kicker { color: color-mix(in srgb, var(--accent-text-strong) 75%, var(--ink)); }
[data-theme="dark"] .hero--raum-mit-foto .hero__titel em { color: var(--accent-text-strong); }
@media (max-width: 639px), (max-width: 980px) and (orientation: portrait) {
  .hero--raum { min-height: 0; }
  .hero--raum .hero__szene { min-height: 0; padding: 0; }
  .hero--raum > .aktuelles { margin-bottom: .75rem; }
  .hero--raum .hero__inner { display: block; padding: .5rem 0 0; }
  .hero--raum .hero__text { width: 100%; }
  .hero--raum .hero__absender { margin-inline: var(--pad); }
  .hero--raum .hero__avatar { --foto: clamp(4rem, 19vw, 5rem); }
  .hero--raum .hero__kicker { max-width: 32ch; }
  .hero--raum .hero__titel { margin: .6rem var(--pad) .75rem; }
  .hero__raumfoto { position: relative; z-index: auto; }
  .hero__raumfoto img {
    position: static; width: 100%; height: auto;
    mask-image: linear-gradient(to bottom, transparent, black 3%),
      linear-gradient(to bottom, transparent, black 24%),
      radial-gradient(ellipse 25% 35% at 54% 15%, black 45%, transparent);
  }
  .hero__raumfoto::after {
    content: ""; position: absolute; z-index: 1; inset: auto 0 -1px; height: 15%;
    background: linear-gradient(to bottom, transparent,
      color-mix(in srgb, var(--bg-card) 32%, transparent) 35%,
      color-mix(in srgb, var(--bg-card) 90%, transparent) 80%, var(--bg-card));
  }
  .hero--raum .hero__details {
    padding: clamp(1.1rem, 3vw, 2rem) var(--pad) clamp(1.5rem, 4vw, 2.5rem);
    background: var(--bg-card);
  }
  .hero--raum-mit-foto .hero__details {
    --ueberlappung: 1.35rem;
    position: relative; z-index: 2; margin-top: calc(-1 * var(--ueberlappung));
    padding-block: .2rem 1.15rem;
    background: linear-gradient(to bottom, transparent, var(--bg-card) var(--ueberlappung));
  }
  .hero--raum .hero__lead { margin: 0; max-width: 43ch; }
  .hero--raum .hero__aktionen { margin-top: .75rem; }
  .hero--raum .hero__fakten { column-gap: clamp(.6rem, 3vw, 1.25rem); margin: .65rem 0 0; }
  [data-theme="dark"] .hero__raumfoto {
    /* Die Wand beginnt unter der Überschrift und geht in das vollfarbige Motiv über. */
    --saum: clamp(2.5rem, 9vw, 4rem);
    margin-top: -1rem; padding-top: var(--saum);
    background: var(--raumfoto-wand) center / 100% 100% no-repeat;
    mask-image: linear-gradient(to bottom,
      transparent, rgb(0 0 0 / .18) calc(.45 * var(--saum)),
      rgb(0 0 0 / .84) var(--saum), black calc(var(--saum) + 1rem));
  }
  [data-theme="dark"] .hero__raumfoto img { mask-image: linear-gradient(to bottom, transparent, black 6%); }
  [data-theme="dark"] .hero--raum-mit-foto .hero__details { --ueberlappung: 1rem; }
}
@media (max-width: 560px) {
  .hero--raum .hero__aktionen .btn { width: 100%; }
}
@media (min-width: 981px) and (max-height: 800px) {
  .hero--raum > .aktuelles { margin-bottom: .4rem; }
  .hero--raum .hero__szene { padding-bottom: 2rem; }
  .hero--raum .hero__inner { padding-block: 1rem; }
}
/* Unter Navigation und Hinweis füllt die Szene die verbleibende Fensterhöhe.
   Das Bild folgt dieser Höhe proportional und bleibt an der Unterkante. */
@media (min-width: 981px), (min-width: 640px) and (orientation: landscape) {
  .hero--raum { min-height: 100dvh; }
  /* Über Wand und Holzboden braucht der Begleittext mehr Kontrast. */
  .hero--raum-mit-foto .hero__lead { color: color-mix(in srgb, var(--ink) 80%, var(--ink-soft)); }
  .hero--raum .hero__titel { font-size: min(var(--fs-buehne), 8.5vw); }
  .hero--raum .hero__fakten { column-gap: clamp(.65rem, 3.5vw - 1.8rem, 1.25rem); }
  [data-theme="dark"] .hero--raum-mit-foto {
    background: linear-gradient(to bottom, transparent 38%, var(--bg) 80%),
      var(--raumfoto-wand) right top / 100% 100% no-repeat, var(--raum-grund);
  }
  [data-theme="dark"] .hero--raum-mit-foto::before {
    /* Das Licht läuft über die Bildkante hinweg. Die Pose liegt im klaren Teil der Verläufe. */
    --auslauf: var(--schatten-auslauf, clamp(63%, 66rem, 74%));
    content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background:
      linear-gradient(var(--schatten-winkel, 113deg), var(--bg) 12%,
        color-mix(in srgb, var(--bg) 96%, transparent) var(--schatten-bis, clamp(34%, 41rem, 47%)),
        color-mix(in srgb, var(--bg) 19%, transparent) calc(var(--auslauf) - 8%), transparent var(--auslauf)),
      linear-gradient(to bottom, var(--bg),
        color-mix(in srgb, var(--bg) 85%, transparent) calc(var(--hinweis-oben) * .34),
        color-mix(in srgb, var(--bg) 28%, transparent) calc(var(--hinweis-oben) * .9),
        transparent calc(var(--hinweis-oben) * 1.65));
  }
  .hero__raumfoto { container-type: inline-size; }
  :root:not([data-theme="dark"]) .hero__raumfoto {
    mask-image: linear-gradient(118deg, transparent, rgb(0 0 0 / .56) 24%, black 57%);
  }
  .hero__raumfoto img {
    right: 0; width: auto; max-width: 100%;
    /* Auch im schmalen Querformat bleibt links Platz für die Faktenzeile. */
    height: min(100%, clamp(35vw, 77vw - 21rem, 54vw));
    /* Die linke Kante erst einblenden, wenn neben dem Foto Platz entsteht. */
    mask-image: linear-gradient(to right, transparent, black clamp(0px, 100cqw - 100%, 15%)),
      linear-gradient(to bottom, transparent, black 3%),
      linear-gradient(to bottom, transparent, black 24%),
      radial-gradient(ellipse 20% 30% at 68% 12%, black 45%, transparent);
    mask-composite: intersect, intersect, add;
  }
  [data-theme="dark"] .hero__raumfoto img {
    mask-image: linear-gradient(to right, transparent, black clamp(0px, 100cqw - 100%, 15%)),
      linear-gradient(to bottom, transparent, black 6%);
    mask-composite: intersect;
  }
}
@media (min-width: 640px) and (orientation: landscape) and (max-height: 760px) {
  .hero--raum .hero__szene { padding-bottom: clamp(.25rem, 11dvh - 3.25rem, 2rem); }
  .hero--raum .hero__inner { padding-block: clamp(0rem, 6dvh - 2.125rem, 1rem); }
  .hero--raum .hero__titel {
    font-size: min(var(--fs-buehne), 8.5vw, clamp(var(--fs-feature), 23dvh - 4.25rem, var(--fs-display)));
    margin-top: clamp(.35rem, 5dvh - 1.4rem, .875rem);
  }
  .hero--raum .hero__lead {
    font-size: clamp(var(--fs-body), 3dvh - .2rem, var(--fs-lead));
    line-height: 1.5; margin-top: clamp(.4rem, 4dvh - .85rem, .9rem);
  }
  .hero--raum :is(.hero__aktionen, .hero__fakten) { margin-top: clamp(.4rem, 5dvh - 1.25rem, 1rem); }
  .hero--raum .hero__aktionen .btn { padding-block: clamp(.65rem, 3dvh - .25rem, 1rem); }
}
@media (min-width: 640px) and (max-width: 980px) and (max-height: 540px) and (orientation: landscape) {
  /* Die Textspalte reicht in flachen Querfenstern weiter ins Foto. */
  .hero--raum { --schatten-winkel: 98deg; --schatten-bis: 61%; --schatten-auslauf: 77%; }
  .hero--raum .hero__szene { padding-bottom: .15rem; }
  .hero--raum > .aktuelles { margin-bottom: .25rem; }
  .hero--raum .hero__inner { padding-block: .15rem; }
  .hero--raum .hero__text { width: 52%; }
  .hero--raum .hero__titel { font-size: var(--fs-feature); margin-top: .4rem; }
  .hero--raum .hero__titel > span { display: inline; }
  .hero--raum .hero__lead { margin-top: .5rem; line-height: 1.4; }
  .hero--raum .hero__aktionen, .hero--raum .hero__fakten { margin-top: .35rem; }
  .hero--raum .hero__aktionen .btn { padding: .65rem 1.4rem; }
}
@media (min-width: 640px) and (max-height: 450px) {
  .hero--raum .aktuelles__karte { padding-block: .35rem; }
  .hero--raum .hero__szene, .hero--raum .hero__inner { padding-block: .125rem; }
  .hero--raum .hero__text { width: min(60vw, 36rem); }
  .hero--raum .hero__avatar { --luft: .2rem; }
  .hero--raum .hero__titel { font-size: var(--fs-feature); margin-top: .25rem; }
  .hero--raum .hero__titel > span { display: inline; }
  .hero--raum .hero__lead { max-width: none; margin-top: .35rem; line-height: 1.35; }
  .hero--raum :is(.hero__aktionen, .hero__fakten) { margin-top: .25rem; }
  .hero--raum .hero__fakten { column-gap: .75rem; }
  .hero--raum .hero__fakten strong { font-size: var(--fs-body); }
}

/* ---------- Pilates (dunkel): Methode → Prinzipien → Wirkung ---------- */
.pilates { background: var(--dark); color: var(--paper); padding-block: clamp(3rem, 6vw, 5rem); }
.pilates .section__title em { color: var(--accent-soft); font-weight: 400; }
.pilates__kopf { display: grid; gap: 1.25rem clamp(2rem, 5vw, 5rem); align-items: end; }
.pilates__lead {
  max-width: 48ch;
  color: color-mix(in srgb, var(--paper) 76%, transparent); font-size: var(--fs-body); line-height: 1.65;
}
.pilates__lead strong { color: var(--paper); font-weight: 600; }
.pilates__label { margin: clamp(1.75rem, 3vw, 2.5rem) 0 1rem; }
@media (min-width: 981px) {
  .pilates__kopf { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.pilates__details { margin-top: 1.5rem; border-block: 1px solid var(--line-light); }
.pilates__details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1rem; list-style: none; cursor: pointer;
  font-size: var(--fs-ui); font-weight: 600; color: var(--paper);
  transition: color .2s var(--ease);
}
.pilates__details > summary::-webkit-details-marker { display: none; }
.pilates__details > summary:hover { color: var(--accent-soft); }
.pilates__details .faq__zeichen::before, .pilates__details .faq__zeichen::after { background: var(--accent-soft); }
.pilates__details[open] .faq__zeichen::after { transform: translate(-50%, -50%) scaleY(0); }
.pilates__vertiefung { padding: .25rem 0 1.75rem; }
.pilates__methode { max-width: 65ch; color: color-mix(in srgb, var(--paper) 76%, transparent); }
.prinzipien {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-light);
  border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden;
}
.prinzipien li { position: relative; padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.15rem, 2.2vw, 1.6rem); background: var(--dark); transition: background .4s var(--ease); }
.prinzipien li:hover { background: color-mix(in srgb, var(--paper) 4%, var(--dark)); }
.prinzipien__ico { width: 1.9rem; height: 1.9rem; margin-bottom: .85rem; }
.prinzipien__ico * {
  fill: none; stroke: var(--accent-soft); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.prinzipien > .ist-vorbereitet .prinzipien__ico * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease) calc(.2s + var(--rd, 0s)); }
.prinzipien > .visible .prinzipien__ico * { stroke-dashoffset: 0; }
.prinzipien__no {
  position: absolute; top: clamp(1.1rem, 2vw, 1.5rem); right: clamp(1.15rem, 2.2vw, 1.6rem);
  color: color-mix(in srgb, var(--paper) 35%, transparent); font-size: var(--fs-label); font-weight: 600; letter-spacing: .1em;
}
.prinzipien h3 { margin-bottom: .35rem; font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); }
.prinzipien p { color: color-mix(in srgb, var(--paper) 64%, transparent); font-size: var(--fs-small); line-height: 1.55; }
.pilates__wirkung {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.pilates__benefits { display: block; columns: 2; column-gap: 2rem; }
.pilates__benefits li { break-inside: avoid; padding-bottom: .65rem; }
.pilates__benefits li::before { top: .55em; }
.pilates__matte {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light);
  color: color-mix(in srgb, var(--paper) 64%, transparent); font-size: var(--fs-small); line-height: 1.65;
}
/* Zitat als Abschluss der Wirkung, nicht als eigene Bühne */
.pilates__zitat {
  margin: 0; padding-left: clamp(1.1rem, 2.5vw, 1.75rem);
  border-left: 2px solid color-mix(in srgb, var(--accent-soft) 60%, transparent);
}
.pilates__zitat p {
  font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 90%, transparent); text-wrap: pretty;
}
.pilates__zitat b { font-weight: 500; font-style: italic; color: var(--accent-soft); }
.pilates__zitat cite {
  display: block; margin-top: 1rem; color: var(--accent-soft);
  font-size: var(--fs-label); font-style: normal; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- Story ---------- */
/* clip: das Zitat fährt von rechts herein (translateX). Ohne den Schnitt macht das die Seite
   um diese Strecke breiter, und das Handy lässt sich seitlich verschieben. */
.story { padding-block: clamp(4rem, 8vw, 7rem); overflow-x: clip; }
.story__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "bild text" "zitat text";
  grid-template-rows: auto 1fr;
  column-gap: clamp(2.5rem, 7vw, 7rem); align-items: start;
}
.story__bild { grid-area: bild; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -24px var(--shadow-strong); }
.story__bild img, .story__bild .ph { width: 100%; height: 100%; object-fit: cover; }
.story__zitat {
  --reveal-dauer: 1.2s;
  grid-area: zitat; position: relative; z-index: 1;
  margin: -4.5rem -14% 0 18%; padding: 1.5rem 1.75rem;
  background: var(--bg-card); border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px -18px var(--shadow-strong);
  border-left: 3px solid var(--accent);
}
.story__zitat p { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.story__zitat em { color: var(--accent-text); }
.story__text { grid-area: text; padding-top: clamp(1rem, 6vw, 5rem); }
.story__titel { font-family: var(--serif); font-weight: 400; font-size: var(--fs-display); line-height: 1; letter-spacing: -.025em; }
.story__text .prose { margin-top: 2rem; font-size: var(--fs-lead); }
.story__text .prose p { font-size: var(--fs-lead); line-height: 1.7; }
.unterschrift { margin-top: 2rem; }
.story__signature-draw { width: min(12rem, 70%); height: auto; color: var(--accent-fill); }
.signatur__strich { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js-loaded .signatur__strich { stroke-dashoffset: 1; }
  .js-loaded .signatur__fertig { opacity: 0; }
  .js-loaded .unterschrift.visible .signatur__strich {
    animation: signatur-schreiben var(--dauer) linear var(--start) forwards;
  }
  .js-loaded .unterschrift.visible .signatur__fertig {
    animation: signatur-fertig .12s ease 2.3s forwards;
  }
}
@keyframes signatur-schreiben { to { stroke-dashoffset: 0; } }
@keyframes signatur-fertig { to { opacity: 1; } }

/* ---------- Level: ein wachsender Kern, drei bleibende Zustände ---------- */
.level { background: var(--bg-2); padding-block: clamp(3.5rem, 7vw, 6rem); }
.level .section__head { max-width: 40rem; margin-bottom: clamp(2.75rem, 5vw, 4rem); }
.level__pfad {
  --knoten: 5rem;
  --level-abstand: clamp(1.75rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem var(--level-abstand);
  list-style: none; padding: 0;
}
.level__stufe { min-width: 0; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.4rem; }
@media (min-width: 881px) {
  @supports (grid-template-rows: subgrid) {
    .level__stufe { grid-row: span 4; grid-template-rows: subgrid; }
  }
}
.level__stufe:nth-child(1) { --stufe: 0; }
.level__stufe:nth-child(2) { --stufe: 1; }
.level__stufe:nth-child(3) { --stufe: 2; }
.level__marke { position: relative; }
/* Verbindung endet genau am nächsten Ring, auch nach dem Umbruch. */
.level__stufe:not(:last-child) .level__marke::before,
.level__stufe:not(:last-child) .level__marke::after {
  content: ""; position: absolute; top: calc(var(--knoten) / 2); left: var(--knoten);
  width: calc(100% + var(--level-abstand) - var(--knoten)); height: 1px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.level__stufe:not(:last-child) .level__marke::after {
  background: var(--accent-fill); opacity: .65; transform-origin: left;
}
.level__knoten {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: var(--knoten); height: var(--knoten); border-radius: 50%;
  color: var(--accent-text); background: var(--bg-2);
  font-family: var(--serif); font-style: italic; font-size: var(--fs-num); line-height: 1;
}
.level__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.level__ring circle { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.level__nummer { position: relative; }
.level__stufe:nth-child(2) .level__knoten::before {
  content: ""; position: absolute; inset: 2%; z-index: -1; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 17%, var(--bg-2));
}
/* Die wachsende Kreisfläche legt zugleich die andersfarbige Ziffer frei. */
.level__kern {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--accent-fill); color: var(--on-accent); clip-path: circle(42%);
}
.level__kopf { display: grid; justify-items: start; align-content: start; gap: .4rem; }
.level-step__label { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.level-step__name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-feature); line-height: 1.15; letter-spacing: -.015em; }
.level__text { color: var(--ink-soft); max-width: 38ch; }
.level__termine { padding-top: .85rem; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: var(--fs-small); }
.level__plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .75rem; color: var(--ink); }
.level__termintext, .level__alternativen { display: grid; gap: .2rem; overflow-wrap: anywhere; }
.level__termine strong { color: var(--accent-text); }
.level__plan time { color: var(--ink-soft); }
.level__plan svg { margin-top: .2rem; color: var(--accent-text); transition: transform .25s var(--ease); }
.level__plan:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.level__links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.level__links .link { font-size: inherit; }
.level__plan:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .level__pfad.ist-bereit .level__ring circle { stroke-dashoffset: 1; }
  .level__pfad.ist-bereit .level__knoten::before { transform: scale(0); }
  .level__pfad.ist-bereit .level__kern { clip-path: circle(0%); }
  .level__pfad.ist-bereit .level__marke::after { transform: scaleX(0); }
  .level__pfad.ist-bereit .level__stufe:nth-child(-n+2) .level__nummer { opacity: .3; }
  .level__pfad.ist-bereit .level__stufe { --level-start: 0s; }
  .level__pfad.ist-bereit .ist-erreicht .level__ring circle { animation: level-ring 1.1s var(--ease) var(--level-start) forwards; }
  .level__pfad.ist-bereit .ist-erreicht .level__knoten::before { animation: level-kern .9s var(--ease) calc(var(--level-start) + .35s) forwards; }
  .level__pfad.ist-bereit .ist-erreicht .level__kern { animation: level-kern-freilegen .9s var(--ease) calc(var(--level-start) + .35s) forwards; }
  .level__pfad.ist-bereit .ist-erreicht:nth-child(-n+2) .level__nummer { animation: level-nummer .8s var(--ease) var(--level-start) forwards; }
  .level__pfad.ist-bereit .ist-erreicht .level__marke::after { animation: level-weiter 1s var(--ease) calc(var(--level-start) + .55s) forwards; }
  @media (min-width: 881px) {
    .level__pfad.ist-gestartet .level__stufe { --level-start: calc(var(--stufe) * .8s); }
  }
}
@keyframes level-ring { to { stroke-dashoffset: 0; } }
@keyframes level-kern { 70% { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes level-kern-freilegen { 70% { clip-path: circle(44.5%); } to { clip-path: circle(42%); } }
@keyframes level-nummer { from { transform: translateY(.2em); } to { opacity: 1; transform: translateY(0); } }
@keyframes level-weiter { to { transform: scale(1); } }

/* ---------- Nächste Termine ---------- */
.termine { padding-block: clamp(4.5rem, 9vw, 7rem); }
.termine__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.termine__alle { display: inline-flex; margin-top: 1.25rem; }
.termine__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.termine__liste .slot__btn svg { display: none; }
@media (max-width: 61.99rem) {
  .termine__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35.99rem) {
  .termine__kopf { margin-bottom: 1.5rem; }
  .termine__liste { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .termine__liste > li + li { margin-top: 1.3rem; }
  .termine__liste > .termine__folgetermin { margin-top: .65rem; }
  .termine__folgetermin > h3 { display: none; }
  .termine__liste .slot { min-height: 0; gap: .45rem; padding: .85rem 1rem; }
  .termine__liste .slot__fuss {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; padding-top: .6rem;
  }
  .termine__liste .matten { min-width: 0; }
  .termine__liste .slot__fuss .slot__auswahl,
  .termine__liste .slot__fuss .slot__btn { width: auto; }
  .termine__liste .slot__fuss .slot__btn { padding-inline: .7rem; font-size: var(--fs-small); }
}
@media (max-width: 22.5rem) {
  .termine__liste .slot__fuss .slot__btn { width: 44px; height: 44px; padding: 0; }
  .termine__liste .slot__btn svg { display: block; width: 18px; height: 18px; }
  .termine__linktext {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

/* ---------- Ablauf + Preise ---------- */
.ablauf { padding-block: clamp(4.5rem, 9vw, 7rem); }
.preise {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); align-items: end;
  gap: 1.5rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-light);
}
.preise__item { display: grid; gap: .25rem; }
.preise__item strong { font-family: var(--serif); font-weight: 400; font-size: var(--fs-num); line-height: 1.05; color: var(--paper); }
.preise__item > span:last-child { color: color-mix(in srgb, var(--paper) 58%, transparent); font-size: var(--fs-small); }
.preise__item--aktion strong { color: var(--accent-soft); }
.preise__item--aktion s {
  margin-left: .45rem; font-size: var(--fs-lead); font-weight: 400;
  color: color-mix(in srgb, var(--paper) 58%, transparent); text-decoration: line-through;
}
.preise__cta { justify-self: start; }

/* ---------- Räume ---------- */
.raeume { background: var(--bg-2); padding-block: clamp(3rem, 6vw, 4.5rem); }
.raeume .section__head { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.raeume .section__intro { margin-top: .75rem; font-size: var(--fs-body); }
.raeume__liste {
  --reveal-dauer: 1.2s; --reveal-fade: .85s; --reveal-weg: 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(27rem, 100%), 1fr)); gap: clamp(.75rem, 1.5vw, 1rem);
}
.raum { --raum-foto: 10rem; display: grid; grid-template-columns: calc(var(--raum-foto) + 1rem) minmax(0, 1fr); align-items: center; border-radius: var(--radius); overflow: hidden; background: var(--bg-card); border: 1px solid var(--line); }
.raum__bild { position: relative; width: var(--raum-foto); aspect-ratio: 3 / 4; margin: 1rem 0 1rem 1rem; border-radius: var(--radius-sm); overflow: hidden; }
.raum__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.raum:hover .raum__bild img { transform: scale(1.03); }
.raum .raum__leer { position: absolute; inset: 0; }
.raum__text { display: grid; gap: .4rem; align-content: center; padding: 1.5rem 1.5rem 1.5rem 1.25rem; color: var(--ink-soft); font-size: var(--fs-ui); }
.raum__text h3 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; color: var(--ink); }
.raum__hinweis { font-size: inherit; }
.raum__text .link { margin-top: .35rem; }

/* ---------- Stimmen: vollständige Zitate mit sichtbarer Fortsetzung ---------- */
.stimmen { padding-block: clamp(3rem, 6vw, 4.5rem); }
.stimmen__hinweis { margin-top: .75rem; color: var(--ink-soft); font-size: var(--fs-ui); }
.stimmen__kopf { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.stimmen__punkte {
  display: grid; grid-template-columns: repeat(var(--stimmen-punkte, 1), minmax(1.5rem, 2.75rem));
  justify-content: center; margin-top: .75rem;
}
.stimmen__punkte[hidden] { display: none; }
.stimmen__punkt {
  display: grid; place-items: center; min-width: 0; min-height: 2.75rem; padding: 0;
  border: 0; border-radius: .35rem; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.stimmen__punkt::before {
  content: ''; width: .375rem; height: .375rem; border-radius: 1rem;
  background: currentColor; opacity: .65;
  transition: width .2s var(--ease), opacity .2s var(--ease), background-color .2s var(--ease);
}
.stimmen__punkt:hover::before { opacity: 1; }
.stimmen__punkt[aria-current="true"] { color: var(--accent-text); }
.stimmen__punkt[aria-current="true"]::before { width: 1.25rem; opacity: 1; }
.stimmen__liste {
  --stimmen-anzahl: 3; --stimmen-ausblick: 4.5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--stimmen-anzahl) - 1) * 1rem) / var(--stimmen-anzahl)); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-block: .25rem .5rem;
}
.stimmen__liste[data-stimmen-mehr] {
  --stimmen-verlauf: clamp(.5rem, 1vw, 1rem); --stimmen-rand-links: #000; --stimmen-rand-rechts: #000;
  grid-auto-columns: calc((100% - var(--stimmen-ausblick) - var(--stimmen-anzahl) * 1rem) / var(--stimmen-anzahl));
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, var(--stimmen-rand-links), #000 var(--stimmen-verlauf), #000 calc(100% - var(--stimmen-verlauf)), var(--stimmen-rand-rechts));
  mask-image: linear-gradient(90deg, var(--stimmen-rand-links), #000 var(--stimmen-verlauf), #000 calc(100% - var(--stimmen-verlauf)), var(--stimmen-rand-rechts));
}
.stimmen__liste[data-stimmen-vorher] { --stimmen-rand-links: transparent; }
.stimmen__liste[data-stimmen-nachher] { --stimmen-rand-rechts: transparent; }
.stimmen__liste[data-stimmen-bereit] { scrollbar-width: none; }
.stimmen__liste[data-stimmen-bereit]::-webkit-scrollbar { display: none; }
.stimmen__liste.ist-ziehend { scroll-snap-type: none; scroll-behavior: auto; user-select: none; cursor: grabbing; }
.stimmen__liste:focus-visible { -webkit-mask-image: none; mask-image: none; }
.stimmen__liste > li { min-width: 0; scroll-snap-align: start; }
.stimme {
  display: flex; flex-direction: column; gap: 1rem; height: 100%;
  padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-card) 65%, transparent);
}
.stimme__zeichen { width: 1.65rem; height: auto; fill: var(--accent-soft); opacity: .8; }
.stimme blockquote { flex: 1; }
.stimme blockquote p { font-family: var(--serif); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }
.stimme figcaption { display: grid; gap: .25rem; padding-top: .75rem; font-size: var(--fs-small); color: var(--ink-soft); }
.stimme figcaption strong { color: var(--ink); font-size: var(--fs-ui); }
@media (max-width: 1100px) {
  .stimmen__liste { --stimmen-anzahl: 2; --stimmen-ausblick: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .stimmen__punkt::before { transition: none; }
}

/* FAQ: kurze Lesebewegung pro Frage. */
.faq__list { --reveal-weg: 16px; --reveal-dauer: .85s; }

/* ---------- Startseite responsive ---------- */
@media (max-width: 880px) {
  .pilates__wirkung { grid-template-columns: 1fr; }
  .prinzipien { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Überschrift, dann Foto mit Zitat, dann Text, Unterschrift als Abschluss. */
  .story__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "kopf" "bild" "zitat" "prosa" "sign";
  }
  .story__text { display: contents; }
  .story__kopf { grid-area: kopf; }
  .story .prose { grid-area: prosa; margin-top: 1.75rem; }
  .story .unterschrift { grid-area: sign; }
  .story__bild { max-width: 28rem; }
  .story__zitat { margin: -3rem 0 0 12%; }
  /* Mobil: durchgehender Pfad links, die Inhalte bleiben daneben. */
  .level__pfad { --knoten: 4rem; --level-abstand: 2rem; grid-template-columns: 1fr; gap: var(--level-abstand); }
  .level__stufe { grid-template-columns: var(--knoten) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: .85rem 1.4rem; }
  .level__marke { grid-row: 1 / 4; }
  .level__kopf { min-height: var(--knoten); align-content: center; }
  .level__text, .level__termine { grid-column: 2; }
  .level__stufe:not(:last-child) .level__marke::before,
  .level__stufe:not(:last-child) .level__marke::after {
    top: var(--knoten); left: calc(var(--knoten) / 2); bottom: calc(-1 * var(--level-abstand));
    width: 1px; height: auto; transform-origin: top;
  }
  @media (prefers-reduced-motion: no-preference) {
    .level__pfad.ist-bereit .level__marke::after { transform: scaleY(0); }
  }

}
@media (max-width: 640px) {
  .prinzipien li { padding: 1rem .95rem; }
  .prinzipien__no { top: 1rem; right: .95rem; }
  .pilates__benefits { columns: 1; }
  /* Räume: eine Zeile pro Raum */
  .raeume__intro { display: none; }
  .raeume__liste { grid-template-columns: 1fr; }
  .raum { --raum-foto: clamp(6.875rem, 30vw, 7.5rem); grid-template-columns: calc(var(--raum-foto) + 1.5rem) minmax(0, 1fr); }
  .raum__bild { margin: 1rem .75rem; }
  .raum__text { padding: 1.25rem 1rem 1.25rem 0; }
  /* Eine vollständige Stimme mit einem kleinen Ausblick auf die nächste. */
  .stimmen__liste { --stimmen-anzahl: 1; --stimmen-ausblick: 2rem; }

}

@media (max-width: 360px) {
  .raum { grid-template-columns: calc(var(--raum-foto) + 1rem) minmax(0, 1fr); }
  .raum__bild { margin-inline: .5rem; }
  .raum__text { padding-right: .75rem; }
}
