/* =========================================================================
   WELA — Gestaltungsentwurf Reisebüro Strier
   Stillinie: maximal-editorial (ein Signature-Move: die gescrubbte Fahrt)
   Modus: creative-draft · Marine dominiert, Gelb ist der einzige Akzent.
   Schriften und Fotos liegen lokal, das Video wird relativ eingebunden.
   ========================================================================= */

@font-face {
  font-family: "Anton";
  src: url("../assets/fonts/anton-v27-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-v20-latin-300.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-v20-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* --- Kundenfarben aus dem Logo: Marine und Gelb -------------------------- */
  --marine-tief: #0b1c2d;
  --marine:      #14304c;
  --marine-hell: #2c5578;
  --bone:        #f3ede2;
  --bone-tief:   #e3d9c8;
  --gelb:        #f3b53c;
  --gelb-tief:   #7a5309;
  --grau-hell:   #b9c4d1;
  --grau-tief:   #4e5a68;

  /* Legacy-Aliase (Prototype-Token-Vertrag, nie entfernen) */
  --cone:   var(--marine);
  --ctwo:   var(--gelb);
  --cthree: var(--gelb-tief);
  --cfour:  var(--marine-tief);
  --cfive:  var(--bone);
  --csix:   var(--grau-tief);

  /* --- Flächen: Marine ist der Grundton, Bone ist die eine helle Fläche --- */
  --canvas:     var(--marine-tief);
  --surface:    var(--marine);
  --text:       var(--bone);
  --text-leise: var(--grau-hell);
  --akzent:     var(--gelb);
  --rand:       rgba(243, 237, 226, 0.18);
  --panel:      rgba(11, 28, 45, 0.94);

  /* --- Schrift ------------------------------------------------------------ */
  --ff-display: "Anton", "Arial Narrow", sans-serif;
  --ff-body:    "Manrope", ui-sans-serif, system-ui, sans-serif;
  --fs-hero:    clamp(2.35rem, 6.4vw, 5.9rem);
  --fs-xxl:     clamp(1.95rem, 4.6vw, 3.6rem);
  --fs-xl:      clamp(1.45rem, 2.6vw, 2.15rem);
  --fs-lead:    clamp(1.14rem, 1.6vw, 1.42rem);
  --fs-body:    clamp(1.02rem, 1.05vw, 1.12rem);
  /* 0,85rem statt 0,81rem: eine gesperrte Versalzeile mit 12,96px liegt auf
     dem Smartphone an der Lesegrenze. 13,6px sind ueberall gut lesbar und
     der Unterschied faellt im Satzbild nicht auf. */
  --fs-meta:    0.85rem;

  /* --- Raum: 8px-Raster, Sektionsabstände am oberen Ende der Skala -------- */
  --s-gross:   clamp(7rem, 14vw, 12rem);
  --s-section: clamp(5rem, 10vw, 9rem);
  --s-block:   clamp(2rem, 4vw, 3rem);
  --inner-pad: clamp(1.5rem, 5vw, 4rem);

  --ecke-x: max(calc((100vw - 1440px) / 2), var(--inner-pad));
  --ecke-y: 1.5rem;
  --ecke-box: 2.75rem;

  --radius-pill: 999px;
  --radius-kante: 4px;

  --dauer-schnell: 170ms;
  --dauer-basis:   360ms;
  --dauer-lang:    820ms;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

/* Helle Darstellung: dieselben Marken-Töne, umgekehrte Gewichtung */
html[data-theme="hell"] {
  --canvas:     var(--bone);
  --surface:    #fbf8f2;
  --text:       var(--marine-tief);
  --text-leise: var(--grau-tief);
  --akzent:     var(--gelb-tief);
  --rand:       rgba(11, 28, 45, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  background: var(--canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 900ms var(--ease), color 900ms var(--ease);
}

/* Layout-Gesetz: fließende 100 % UND begrenzte Box (max. 1440 px) */
.inner {
  width: min(1440px, 100% - var(--inner-pad) * 2);
  margin-inline: auto;
}
.inner--schmal { width: min(820px, 100% - var(--inner-pad) * 2); }

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

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0;
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-hero); }
p { margin: 0; max-width: 62ch; }
p + p { margin-top: 1.05em; }
a { color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gelb);
  outline-offset: 4px;
  border-radius: var(--radius-kante);
}
html[data-theme="hell"] :where(a, button, summary, [tabindex]):focus-visible {
  outline-color: var(--marine);
}

/* Listen lesen sich wie Fließtext, Spiegelstrich statt Punkt */
ul { list-style: none; margin: 0; padding: 0; max-width: 62ch; }
ul li { position: relative; padding-left: 1.55rem; margin-block: 0.7rem; }
ul li::before {
  content: "–";
  position: absolute; left: 0; top: 0;
  color: var(--akzent); font-weight: 500;
}

.meta {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 1.3rem;
  max-width: none;
}

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

.skip-link {
  position: absolute; left: 1rem; top: -120px; z-index: 100;
  padding: 0.85rem 1.4rem;
  background: var(--gelb); color: var(--marine-tief);
  font-weight: 500; text-decoration: none;
  border-radius: var(--radius-kante);
  transition: top var(--dauer-schnell) var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* ---------- Schaltflächen: genau zwei Stile, beide vollrund ------------- */
.aktionen { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: var(--s-block); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 1.9rem;
  border-radius: var(--radius-kante);
  border: 2px solid transparent;
  font-family: var(--ff-body); font-weight: 500; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dauer-schnell) var(--ease),
              color var(--dauer-schnell) var(--ease),
              border-color var(--dauer-schnell) var(--ease),
              transform var(--dauer-schnell) var(--ease);
}
.btn--voll { background: var(--gelb); color: var(--marine-tief); }
.btn--voll:hover { background: #ffc75c; transform: translateY(-2px); }
html[data-theme="hell"] .btn--voll { background: var(--marine-tief); color: var(--bone); }
html[data-theme="hell"] .btn--voll:hover { background: var(--marine); }
.btn--linie { border-color: currentColor; color: inherit; }
.btn--linie:hover { background: var(--gelb); border-color: var(--gelb); color: var(--marine-tief); transform: translateY(-2px); }

.pfeil {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 1.5rem;
  /* 44px Mindesthoehe: eigenstaendiger Handlungsaufruf, kein Textlink --
     WCAG 2.2 Ziel 2.5.8 gilt hier ohne Ausnahme. */
  min-height: 44px;
  font-weight: 500; text-decoration: none;
  color: inherit;
  border-bottom: 2px solid var(--akzent);
  padding-bottom: 3px;
  transition: gap var(--dauer-schnell) var(--ease), color var(--dauer-schnell) var(--ease);
}
.pfeil:hover { gap: 1.15rem; color: var(--akzent); }

/* ---------- Vorschau-Leiste (gehört nicht zur Website) ----------------- */
.vorschauleiste {
  background: var(--marine);
  color: var(--bone);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--rand);
}
html[data-theme="hell"] .vorschauleiste { background: var(--marine-tief); color: var(--bone); }
.vorschauleiste .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; flex-wrap: wrap; padding-block: 0.55rem;
}
.vorschauleiste a { color: inherit; text-decoration: none; font-weight: 500; }
.vorschauleiste a:hover { color: var(--gelb); }
.schalter { display: flex; gap: 0.5rem; }
.schalter button {
  background: transparent; color: inherit;
  border: 1px solid rgba(243, 237, 226, 0.34);
  border-radius: var(--radius-kante);
  min-height: 34px; padding: 0.3rem 0.95rem;
  font: inherit; font-weight: 500; cursor: pointer;
  transition: background-color var(--dauer-schnell) var(--ease), color var(--dauer-schnell) var(--ease);
}
.schalter button:hover { background: rgba(243, 237, 226, 0.14); }
.schalter button[aria-pressed="true"] { background: var(--gelb); color: var(--marine-tief); border-color: var(--gelb); }
.schalter button[aria-pressed="true"]:hover { background: #ffc75c; }

/* ---------- Kopf: nur Wortmarke und Textlinks, keine Knöpfe ------------ */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: var(--canvas);
  border-bottom: 1px solid var(--rand);
  transition: background-color 900ms var(--ease);
}
.kopf .inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.85rem; }
.marke { display: block; margin-right: auto; line-height: 0; }
.marke img { height: clamp(58px, 6.4vw, 82px); width: auto; }
.marke .logo-tag { display: none; }
html[data-theme="hell"] .marke .logo-nacht { display: none; }
html[data-theme="hell"] .marke .logo-tag { display: block; }

.hauptnav { display: none; }
.hauptnav ul { display: flex; gap: clamp(1rem, 2.1vw, 2.2rem); max-width: none; }
.hauptnav li { padding: 0; margin: 0; }
.hauptnav li::before { content: none; }
.hauptnav a {
  display: inline-block;
  text-decoration: none; font-weight: 400; font-size: 1rem;
  padding-block: 0.45rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dauer-schnell) var(--ease), color var(--dauer-schnell) var(--ease);
}
.hauptnav a:hover { border-bottom-color: var(--akzent); }
.hauptnav a[aria-current="page"] { border-bottom-color: var(--akzent); font-weight: 500; }

/* Two plain spans in the markup carry the icon (no .balken class exists there
   -- fixed 2026-08-25: the selector below targeted a class the HTML never
   sets, so the toggle rendered with no visible icon at all on mobile). */
.navschalter {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 48px; min-width: 48px; padding: 0.5rem 0.2rem;
  background: transparent; color: inherit;
  border: 0;
  border-radius: 0;
  font: inherit; font-weight: 500; cursor: pointer;
}
.navschalter span { display: block; width: 22px; height: 2px; background: currentColor; }

.mobilnav { border-top: 1px solid var(--rand); background: var(--canvas); }
.mobilnav[hidden] { display: none; }
.mobilnav ul { display: grid; gap: 0; padding-block: 0.4rem 1.4rem; max-width: none; }
.mobilnav li { padding: 0; margin: 0; }
.mobilnav li::before { content: none; }
.mobilnav a {
  display: block; padding: 0.9rem 0;
  border-bottom: 1px solid var(--rand);
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.01em;
  text-decoration: none;
}
.mobilnav a[aria-current="page"] { color: var(--akzent); }

/* Kopfzeile schmal: Logo und Schalter teilen sich die erste Zeile, der
   Termin-Knopf bekommt die zweite ueber die volle Breite. Vorher lagen
   Knopf und Schalter uebereinander in einer Spalte, beide linksbuendig bei
   x=130 -- der Schalter haengte dadurch mitten im Kopf statt auf einer Kante
   (gemessen 25.08.2026 bei 390px). */
@media (max-width: 61.99rem) {
  .kopf .inner { flex-wrap: wrap; row-gap: 0.55rem; column-gap: 1rem; }
  .kopf__aktionen { display: contents; }
  .navschalter { order: 2; margin-left: auto; }
  .kopf__termin { order: 3; width: 100%; justify-content: center; }
}

@media (min-width: 62rem) {
  .hauptnav { display: block; }
  .navschalter, .mobilnav { display: none !important; }
}

/* =========================================================================
   Die Fahrt — Scroll steuert die Videozeit. Signature-Move der Seite.
   Grundzustand ist die ruhige Standbild-Fassung: ohne Skript, ohne
   Scrubfaehigkeit und bei "ruhiger Darstellung" bleibt die Seite lesbar.
   Erst wenn die Fahrt nachweislich laeuft, wird die hohe Buehne aufgezogen.
   ========================================================================= */
.fahrt { position: relative; padding: 0; }

.fahrt__buehne {
  position: static;
  min-height: min(88vh, 760px);
  display: grid; align-items: end;
  overflow: hidden;
  background: var(--marine-tief);
}
.fahrt__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 52%;
}

.fahrt__stationen {
  position: relative;
  z-index: 2;
  width: min(1440px, 100% - var(--inner-pad) * 2);
  margin: 0 auto;
  padding-block: clamp(4rem, 9vw, 8rem);
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  justify-items: start;
}

.station {
  background: var(--panel);
  color: var(--bone);
  padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1.5rem, 3vw, 2.8rem);
  border-left: 3px solid var(--gelb);
  width: min(38rem, 100%);
}
.station h1, .station h2 { font-size: clamp(1.85rem, 4.4vw, 3.5rem); max-width: 22ch; }
.station p { margin-top: 1.1rem; color: var(--grau-hell); max-width: 40ch; }
.station--b { justify-self: end; }
.station--c { margin-left: clamp(0rem, 6vw, 6rem); }

.fahrt__schiene, .fahrt__hinweis { display: none; }

/* --- Fahrt aktiv: hohe Buehne, Stationen an eigenen Plaetzen ------------ */

.fahrt[data-fahrt="an"] .fahrt__buehne {
  position: sticky; top: 0;
  min-height: 0;
  height: 100vh; height: 100svh;
  display: block;
}
.fahrt[data-fahrt="an"] .fahrt__stationen {
  position: absolute; inset: 0;
  width: auto; margin: 0; padding: 0;
  display: block;
}
.fahrt[data-fahrt="an"] .station {
  position: absolute;
  width: min(34rem, calc(100% - var(--inner-pad) * 2));
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease);
}
.fahrt[data-fahrt="an"] .station.ist-da { opacity: 1; transform: none; }

/* Drei Stationen, drei verschiedene Plaetze: kein zentriertes Standardbild */
.fahrt[data-fahrt="an"] .station--a { left: var(--inner-pad); top: 21%; }
.fahrt[data-fahrt="an"] .station--b { right: var(--inner-pad); top: 29%; width: min(31rem, calc(100% - var(--inner-pad) * 2)); }
.fahrt[data-fahrt="an"] .station--c { left: 6%; bottom: 11%; width: min(36rem, calc(100% - var(--inner-pad) * 2)); }

@media (min-width: 62rem) {
  .fahrt[data-fahrt="an"] .station--a { left: max(var(--inner-pad), calc(50vw - 720px + var(--inner-pad))); top: 22%; width: 34rem; }
  .fahrt[data-fahrt="an"] .station--b { right: max(var(--inner-pad), calc(50vw - 720px + var(--inner-pad))); top: 29%; width: 31rem; }
  .fahrt[data-fahrt="an"] .station--c { left: max(8vw, calc(50vw - 720px + 8rem)); bottom: 15%; width: 37rem; }
}

/* Fortschrittsschiene: zeigt, wie weit die Fahrt noch geht */
.fahrt[data-fahrt="an"] .fahrt__schiene {
  display: block;
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: rgba(243, 237, 226, 0.16);
  z-index: 3;
}
.fahrt__schiene span {
  display: block; width: 100%; height: 100%;
  background: var(--gelb);
  transform: scaleY(var(--anteil, 0));
  transform-origin: top center;
}

.fahrt[data-fahrt="an"] .fahrt__hinweis {
  display: block;
  position: absolute; left: 50%; bottom: clamp(4.5rem, 8vh, 6rem); transform: translateX(-50%);
  z-index: 3; margin: 0; max-width: none;
  font-size: var(--fs-meta); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  background: var(--panel);
  padding: 0.5rem 1.1rem;
  opacity: var(--hinweis, 1);
  transition: opacity var(--dauer-basis) var(--ease);
}

/* =========================================================================
   Seitenbausteine
   ========================================================================= */
section { padding-block: var(--s-section); }
section.eng { padding-block: clamp(3.5rem, 7vw, 6rem); }

.kapitel { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.kapitel h2 { font-size: var(--fs-xxl); max-width: 20ch; }

/* =========================================================================
   Helden-Strecke — jede Bildfläche ist ein voller Screen. Die Bühne klebt
   (position: sticky) und die nächste Fläche schiebt sich beim Weiterscrollen
   ruhig darüber: eine verbundene Reise statt einzelner Abschnitte.
   Ohne Skript stehen die Bilder und alle Texte sind sichtbar — nur die
   Deckbewegung bleibt, denn die kommt vom Scrollen selbst.
   ========================================================================= */
.held {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  padding-block: 0;
}
.held__buehne {
  position: relative;
  height: 100%;
  display: grid; align-items: center;
  background: var(--marine-tief);
}
.held__buehne > .inner { position: relative; z-index: 1; }

/* Unsichtbare Pause zwischen zwei Helden: solange sie vorbeizieht, hat der
   geklebte Held den Schirm für sich — dann deckt ihn der nächste zu. */
.held-pause { height: 55vh; height: 55svh; }

/* Beide Bildflaechen liegen hinter dem Text, nicht ueber ihm im Fluss.
   .tafel__bild hatte diese Regel nie: es blieb ein normales Rasterkind, nahm
   die ganze Buehne als erste Zeile ein und schob .tafel__text unter die
   sichtbare Hoehe - overflow: hidden hat ihn dann abgeschnitten. Auf der
   Startseite sah man bei den drei Wegen deshalb nur noch das Foto. */
.weite__bild,
.tafel__bild { position: absolute; inset: 0; overflow: hidden; }
.weite__bild img,
.tafel__bild img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
/* Scrims sit only where text actually lies (Stefan 2026-08-25). Everywhere
   else the photograph keeps its own light. Text boxes were measured on the
   rendered page: breit x4-96/y27-77, links x4-40, rechts x61-88/y68-88. */
.weite__bild::after,
.tafel__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.held--text-breit .weite__bild::after,
.held--text-breit .tafel__bild::after {
  background: linear-gradient(180deg,
    rgba(11, 28, 45, 0) 0%,
    rgba(11, 28, 45, 0.58) 22%,
    rgba(11, 28, 45, 0.66) 52%,
    rgba(11, 28, 45, 0.44) 80%,
    rgba(11, 28, 45, 0) 100%);
}

.held--text-links .weite__bild::after,
.held--text-links .tafel__bild::after {
  background: linear-gradient(90deg,
    rgba(11, 28, 45, 0.88) 0%,
    rgba(11, 28, 45, 0.72) 30%,
    rgba(11, 28, 45, 0.28) 52%,
    rgba(11, 28, 45, 0) 68%);
}

.held--text-rechts .weite__bild::after,
.held--text-rechts .tafel__bild::after {
  background: linear-gradient(270deg,
    rgba(11, 28, 45, 0.88) 0%,
    rgba(11, 28, 45, 0.70) 26%,
    rgba(11, 28, 45, 0.24) 50%,
    rgba(11, 28, 45, 0) 66%);
}


/* Der Auftakt der Wege steht in einem eigenen ruhigen Band vor den drei
   Bildern. Vorher lag er im ersten Foto und wurde dort von der Tafel dieses
   Weges ueberdeckt - der erste Weg sah dadurch anders aus als die anderen
   beiden (Stefan, 26.08.2026). */
.wege-auftakt {
  position: relative; z-index: 1;
  background: var(--marine-tief);
  padding-block: clamp(3.5rem, 9vh, 6.5rem);
}
.wege-auftakt h2 {
  font-size: var(--fs-xxl); max-width: 18ch;
  margin-top: 0.6rem;
}

.tafel__text {
  position: relative; z-index: 1;
  background: var(--panel);
  color: var(--bone);
  border-left: 3px solid var(--gelb);
  padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1.5rem, 3vw, 2.8rem);
  width: min(34rem, calc(100% - var(--inner-pad) * 2));
  margin: 0 var(--inner-pad) clamp(2.5rem, 6vh, 4.5rem);
}
.tafel__text .meta { margin-bottom: 0.8rem; }
.tafel__text h3 {
  display: -webkit-box;
  overflow: hidden;
  max-width: 18ch;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.tafel__text p { margin-top: 0.9rem; color: var(--grau-hell); max-width: 40ch; }
.held--mitte .tafel__text { justify-self: end; }
@media (min-width: 62rem) {
  .tafel__text { margin-inline: max(var(--inner-pad), calc(50vw - 720px + var(--inner-pad))); }
}

/* Ein herausgestellter Satz — jetzt allein auf dem offenen Meer */
.satz .held__buehne { justify-items: center; text-align: center; }

.satz blockquote {
  margin: 0; padding: 0;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.9vw, 3.2rem);
  line-height: 1.24;
  max-width: 30ch;
  text-shadow: 0 2px 24px rgba(11, 28, 45, 0.6);
}
.satz blockquote p { max-width: none; }
.satz .satz__wer {
  margin-top: 1.6rem;
  font-family: var(--ff-body);
  font-size: var(--fs-meta); font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--akzent);
}

/* Die eine helle Fläche der Seite: Termin und Kontakt */
.termin {
  background: var(--bone); color: var(--marine-tief);
  --text-leise: var(--grau-tief);
  --akzent: var(--gelb-tief);
  --rand: rgba(11, 28, 45, 0.16);
  transition: background-color 900ms var(--ease);
}
html[data-theme="hell"] .termin {
  background: var(--marine-tief); color: var(--bone);
  --text-leise: var(--grau-hell);
  --akzent: var(--gelb);
  --rand: rgba(243, 237, 226, 0.18);
}
.termin h2 { font-size: var(--fs-xxl); max-width: 17ch; }
.termin p { color: var(--text-leise); }
.termin .btn--voll { background: var(--marine-tief); color: var(--bone); }
.termin .btn--voll:hover { background: var(--marine); }
html[data-theme="hell"] .termin .btn--voll { background: var(--gelb); color: var(--marine-tief); }
html[data-theme="hell"] .termin .btn--voll:hover { background: #ffc75c; }
.termin .btn--linie:hover { background: var(--akzent); border-color: var(--akzent); color: var(--bone); }
html[data-theme="hell"] .termin .btn--linie:hover { color: var(--marine-tief); }
.termin .inner { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }

/* The editorial appointment band is opt-in. The ordinary CTA remains the
   frozen light panel, while content pages can select a marine endpoint. */
.termin.rbstrier-cta-blue {
  background: var(--marine); color: var(--bone);
  --text-leise: var(--grau-hell);
  --akzent: var(--gelb);
  --rand: color-mix(in srgb, var(--bone) 24%, transparent);
}
.termin.rbstrier-cta-blue .btn--voll { background: var(--gelb); color: var(--marine-tief); }
.termin.rbstrier-cta-blue .btn--voll:hover { background: var(--bone); }
.termin.rbstrier-cta-blue .btn--linie:hover { color: var(--marine-tief); }
html[data-theme="hell"] .termin.rbstrier-cta-blue { background: var(--marine); color: var(--bone); }
html[data-theme="hell"] .termin.rbstrier-cta-blue .btn--voll { background: var(--gelb); color: var(--marine-tief); }
html[data-theme="hell"] .termin.rbstrier-cta-blue .btn--voll:hover { background: var(--bone); }
html[data-theme="hell"] .termin.rbstrier-cta-blue .btn--linie:hover { color: var(--marine-tief); }

@media (min-width: 52rem) {
  .termin .inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
}

.karte { display: grid; gap: 1.4rem; align-content: start; }
.karte__zeile { display: grid; gap: 0.15rem; }
.karte dt {
  font-size: var(--fs-meta); letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--akzent);
}
.karte dd { margin: 0; font-size: 1.1rem; }
.karte a { text-decoration: none; border-bottom: 1px solid var(--akzent); }

/* Kopfbild der Unterseiten: Foto als hohe Spalte, die rechts austritt */
.kopfbild { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Rechtsseiten tragen nur Wortmarke und Titel: eine Spalte, kein Bildraster */
.kopfbild--einspaltig { padding-bottom: clamp(2rem, 4vw, 3rem); }
.kopfbild .inner { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.kopfbild__wort { padding-top: clamp(1rem, 3vw, 2.5rem); }
.kopfbild__lead { font-size: var(--fs-lead); color: var(--text-leise); margin-top: var(--s-block); max-width: 44ch; }
.kopfbild__bild { overflow: hidden; background: var(--marine); }
.kopfbild__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

@media (min-width: 60rem) {
  .kopfbild .inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: start; }
  .kopfbild__bild { margin-right: calc(var(--inner-pad) * -1); }
  .kopfbild__bild img { aspect-ratio: 4 / 5; }
}

/* Nach dem Raster, damit die einspaltige Fassung sicher gewinnt */
.kopfbild--einspaltig .inner { display: block; grid-template-columns: none; }

/* Normal content pages may opt into a full photographic head. The frame class
   keeps the homepage film and the ordinary two-column heads unchanged. */
.kopfbild.rbstrier-hero-overlay {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: min(76svh, 52rem);
  padding-block: clamp(4rem, 10vw, 8rem);
  color: var(--bone); background: var(--marine-tief);
}
.kopfbild.rbstrier-hero-overlay::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--marine-tief) 88%, transparent) 0%, color-mix(in srgb, var(--marine-tief) 68%, transparent) 48%, color-mix(in srgb, var(--marine-tief) 30%, transparent) 100%);
}
.kopfbild.rbstrier-hero-overlay .kopfbild__bild { position: absolute; inset: 0; z-index: 0; margin: 0; }
.kopfbild.rbstrier-hero-overlay .kopfbild__bild picture,
.kopfbild.rbstrier-hero-overlay .kopfbild__bild img { display: block; width: 100%; height: 100%; aspect-ratio: auto; }
.kopfbild.rbstrier-hero-overlay .inner { position: static; display: block; }
.kopfbild.rbstrier-hero-overlay .kopfbild__wort { position: relative; z-index: 2; max-width: 42rem; padding-top: 0; }
.kopfbild.rbstrier-hero-overlay .kopfbild__lead { color: var(--bone); }
.kopfbild.rbstrier-hero-overlay .meta { color: var(--gelb); }

@media (max-width: 37.49rem) {
  .kopfbild.rbstrier-hero-overlay {
    min-height: min(72svh, 42rem);
    padding-block: clamp(3rem, 16vw, 5rem);
  }
  .kopfbild.rbstrier-hero-overlay::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--marine-tief) 46%, transparent) 0%, color-mix(in srgb, var(--marine-tief) 90%, transparent) 82%);
  }
}

/* Textblöcke mit Bild, Seite wechselnd */
.zug { border-top: 1px solid var(--rand); padding-block: clamp(3rem, 6vw, 5rem); }
.zug .inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.zug h2 { font-size: var(--fs-xl); max-width: 18ch; }
.zug p, .zug ul { margin-top: 1.2rem; }
.zug__bild { overflow: hidden; background: var(--marine); }
.zug__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

@media (min-width: 52rem) {
  .zug .inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .zug--gespiegelt .zug__bild { order: -1; }
  .zug--hoch .zug__bild img { aspect-ratio: 4 / 5; }
  .zug--breit .zug__bild img { aspect-ratio: 16 / 10; }
}

/* Volles Fotoband */
.band { padding: 0; }
.band__voll { width: 100%; }
.band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 51.99rem) { .band img { aspect-ratio: 4 / 3; } }

/* Schrittfolge ohne Ziffern: die Reihenfolge steht in den Überschriften */
.schritte { display: grid; gap: 0; }
.schritt { border-top: 1px solid var(--rand); padding-block: clamp(2.2rem, 4.5vw, 3.5rem); }
.schritt h2 { font-size: var(--fs-xl); max-width: 20ch; }
.schritt p { margin-top: 1rem; color: var(--text-leise); }
@media (min-width: 52rem) {
  .schritt { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); }
  .schritt p { margin-top: 0; }
}

/* Rechtsseiten: puristisch, aber im Theme */
.recht h2 { font-size: var(--fs-xl); margin-top: var(--s-block); }
.recht h2:first-of-type { margin-top: 0; }
.recht p, .recht ul { margin-top: 1rem; }
.hinweis {
  border-left: 3px solid var(--akzent);
  background: var(--surface);
  padding: clamp(1.1rem, 2.4vw, 1.7rem) clamp(1.2rem, 2.6vw, 2rem);
  margin-bottom: var(--s-block);
}
.hinweis p { max-width: 54ch; }

/* Fuß */
.fuss {
  border-top: 1px solid var(--rand);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--surface);
  transition: background-color 900ms var(--ease);
}
.fuss .inner { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.fuss p { font-size: 0.96rem; color: var(--text-leise); }
.fuss h2 { font-size: var(--fs-meta); letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--ff-body); font-weight: 500; color: var(--akzent); margin-bottom: 1rem; }
.fuss nav ul { display: grid; gap: 0.55rem; max-width: none; }
.fuss nav li { padding: 0; margin: 0; }
.fuss nav li::before { content: none; }
.fuss nav a { text-decoration: none; font-size: 0.99rem; border-bottom: 1px solid transparent; }
.fuss nav a:hover { border-bottom-color: var(--akzent); }
.fuss nav a[aria-current="page"] { color: var(--akzent); }
.fuss__marke img { height: 66px; width: auto; }
.fuss__marke .logo-tag { display: none; }
html[data-theme="hell"] .fuss__marke .logo-nacht { display: none; }
html[data-theme="hell"] .fuss__marke .logo-tag { display: inline-block; }

/* Four columns since 2026-08-25: the customer asked for the duplicated
   navigation list to leave the footer and for channels plus partners to
   take its place. */
@media (min-width: 52rem) {
  .fuss .inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
}

.fuss__ort { margin-bottom: 1.1rem; }
.fuss__ort strong { color: var(--text); font-weight: 600; }
.fuss__ort:last-child { margin-bottom: 0; }

.fuss__kanaele {
  display: flex;
  max-width: none;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}
.fuss__kanaele li { padding: 0; margin: 0; }
.fuss__kanaele li::before { content: none; }
.fuss__kanal {
  display: grid;
  place-items: center;
  width: var(--ecke-box);
  height: var(--ecke-box);
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  color: var(--text-leise);
  transition: color var(--dauer-schnell) var(--ease), border-color var(--dauer-schnell) var(--ease);
}
.fuss__kanal svg { width: 1.15rem; height: 1.15rem; }
.fuss__kanal:hover { color: var(--akzent); border-color: var(--akzent); }
.fuss__kanal:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

.fuss__partner { display: grid; max-width: none; gap: 0.75rem; padding: 0; list-style: none; }
.fuss__partner li { padding: 0; margin: 0; }
.fuss__partner li::before { content: none; }
.fuss__partner a { text-decoration: none; border-bottom: 1px solid transparent; }
.fuss__partner a:hover { border-bottom-color: var(--akzent); }
.fuss__partnerwort { font-size: 0.99rem; }
.fuss__partnerlogo { height: 44px; width: auto; }

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

/* Nach oben */
.nach-oben {
  position: fixed; right: var(--ecke-x); bottom: var(--ecke-y);
  z-index: 50;
  width: var(--ecke-box); height: var(--ecke-box);
  display: grid; place-items: center;
  background: var(--gelb); color: var(--marine-tief);
  border: none; border-radius: var(--radius-kante);
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dauer-basis) var(--ease), visibility var(--dauer-basis) var(--ease),
              transform var(--dauer-schnell) var(--ease);
}
html[data-theme="hell"] .nach-oben { background: var(--marine-tief); color: var(--bone); }
.nach-oben.sichtbar { opacity: 1; visibility: visible; }
.nach-oben:hover { transform: translateY(-3px); }

/* Auftritt der Textblöcke: einmal, sanft, und nie dauerhaft unsichtbar */
.js .auftritt { opacity: 0; transform: translateY(24px); }
.js .auftritt.ist-da {
  opacity: 1; transform: none;
  transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .auftritt, .station { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
html[data-motion="ruhig"] .js .auftritt,
html[data-motion="ruhig"] .station { opacity: 1 !important; transform: none !important; }
html[data-motion="ruhig"] * { transition-duration: 0.01ms !important; }

@media print {
  .vorschauleiste, .kopf, .nach-oben, .mobilnav, .fahrt__schiene, .fahrt__hinweis { display: none; }
  body { background: #fff; color: #000; }
  .held { position: static; height: auto; }
  .held__buehne { height: auto; }
  .held-pause { display: none; }
  .fahrt[data-fahrt="an"] { height: auto; }
  .fahrt[data-fahrt="an"] .fahrt__buehne { position: static; height: auto; min-height: 0; }
  .fahrt[data-fahrt="an"] .fahrt__stationen { position: static; display: grid; }
  .fahrt[data-fahrt="an"] .station,
  .station { position: static !important; opacity: 1 !important; transform: none !important; background: none; color: #000; border-left-color: #000; }
}


/* =========================================================================
   Prototype additions 2026-08-13 — camera ride, fixed contact elements,
   view switcher, contrast mode, rubrik tiles. Tokens only, no raw values.
   ========================================================================= */

html { font-size: calc(100% * var(--font-scale, 1)); }

/* --- The ride: one high-res still, camera moves via transform ----------- */
.fahrt { position: relative; padding: 0; }

.fahrt__buehne {
  min-height: min(88vh, 760px);
  display: grid; align-items: end;
  overflow: hidden;
  background: var(--marine-tief);
}

/* Shortened on 2026-08-25 (customer request): the ride now ends on the
   second caption and holds a still, so it needs less scroll distance. */
.fahrt[data-fahrt="an"] { height: 260vh; margin-top: calc(-1 * var(--kopf-hoehe, 0px)); }

.fahrt[data-fahrt="an"] .fahrt__buehne {
  position: sticky; top: 0;
  min-height: 0;
  height: 100vh; height: 100svh;
  display: block;
}
.fahrt[data-fahrt="an"] .fahrt__stationen {
  position: absolute; inset: 0;
  width: auto; margin: 0; padding: 0;
  display: block;
}
.fahrt[data-fahrt="an"] .station {
  position: absolute;
  width: min(34rem, calc(100% - var(--inner-pad) * 2));
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease);
}
.fahrt[data-fahrt="an"] .station.ist-da { opacity: 1; transform: none; }
.fahrt[data-fahrt="an"] .station--a { left: var(--inner-pad); top: 22vh; }
.fahrt[data-fahrt="an"] .station--b { right: var(--inner-pad); top: 38vh; }
.fahrt[data-fahrt="an"] .station--c { left: var(--inner-pad); bottom: 16vh; }

.fahrt__stationen {
  position: relative;
  z-index: 2;
  width: min(1440px, 100% - var(--inner-pad) * 2);
  margin: 0 auto;
  padding-block: clamp(4rem, 9vw, 8rem);
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  justify-items: start;
}

/* --- Fixed contact elements --------------------------------------------- */
/* --- Fixed contact rail: phone + mail (customer request 2026-08-25) -------
   Two stacked 44x44 buttons on the right edge, matching the corner controls.
   The word slides out on hover/focus so the rail stays quiet while scrolling
   but names itself the moment someone reaches for it. */
.fix-kontakt {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: grid;
  gap: 1px;
}
.fix-kontakt__knopf {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: end;
  gap: 0;
  width: var(--ecke-box);
  height: var(--ecke-box);
  padding: 0;
  background: var(--marine);
  color: var(--bone);
  border: 1px solid var(--rand);
  border-right: 0;
  text-decoration: none;
  overflow: hidden;
  transition: width var(--dauer-basis) var(--ease), color var(--dauer-schnell) var(--ease);
}
.fix-kontakt__knopf:first-child { border-radius: var(--radius-kante) 0 0 0; }
.fix-kontakt__knopf:last-child  { border-radius: 0 0 0 var(--radius-kante); }
.fix-kontakt__knopf svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  margin: 0 calc((var(--ecke-box) - 1.2rem - 2px) / 2);
}
.fix-kontakt__wort {
  font-family: var(--ff-body);
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  order: -1;
  padding-left: 0.9rem;
  transition: opacity var(--dauer-basis) var(--ease);
}
.fix-kontakt__knopf:hover,
.fix-kontakt__knopf:focus-visible { width: 8.5rem; color: var(--gelb); }
.fix-kontakt__knopf:hover .fix-kontakt__wort,
.fix-kontakt__knopf:focus-visible .fix-kontakt__wort { opacity: 1; }
.fix-kontakt__knopf:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

html[data-theme="hell"] .fix-kontakt__knopf { background: var(--surface); color: var(--marine-tief); }

@media (prefers-reduced-motion: reduce) {
  .fix-kontakt__knopf,
  .fix-kontakt__wort { transition: none; }
}

/* Scroll-top stays bottom-right (the fixed appointment pill was removed 2026-08-13) */

/* --- View switcher: one config button, panel opens above ----------------- */
.rbs-switcher {
  position: fixed;
  left: var(--ecke-x);
  bottom: var(--ecke-y);
  z-index: 70;
}
/* Solid background, not the translucent --panel scrim: this control sits
   fixed over arbitrary page content (bug 2026-08-25 -- on short pages the
   94%-opacity panel let body text ghost through the icon). Matches the
   sibling .fix-kontakt__knopf, which already uses the solid --marine. */
.rbs-switcher__knopf {
  width: var(--ecke-box); height: var(--ecke-box);
  display: grid; place-items: center;
  background: var(--marine); color: var(--bone);
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  cursor: pointer;
}
.rbs-switcher__knopf svg { width: 1.25rem; height: 1.25rem; }
.rbs-switcher__knopf:hover { color: var(--gelb); }
.rbs-switcher__knopf:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.rbs-switcher__knopf[aria-expanded="true"] { background: var(--gelb); color: var(--marine-tief); border-color: var(--gelb); }
html[data-theme="hell"] .rbs-switcher__knopf { background: var(--surface); color: var(--marine-tief); }
html[data-theme="hell"] .rbs-switcher__knopf[aria-expanded="true"] { background: var(--marine-tief); color: var(--bone); }

.rbs-switcher__body {
  position: absolute; left: 0; bottom: calc(100% + 0.5rem);
  width: 15rem;
  background: var(--panel); color: var(--bone);
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  font-family: var(--ff-body); font-size: 0.9rem;
  padding: 0.6rem 0.8rem 0.9rem;
  display: grid; gap: 0.45rem;
}
.rbs-switcher__body[hidden] { display: none; }
.ss-section { margin-top: 0.4rem; font-size: var(--fs-meta); letter-spacing: 0.06em; text-transform: uppercase; color: var(--grau-hell); }
.ss-radios { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.ss-radios button {
  flex: 1;
  background: none; border: 1px solid var(--rand); color: inherit;
  border-radius: var(--radius-kante);
  padding: 0.35rem 0.5rem; cursor: pointer; font: inherit; font-size: 0.85rem;
}
.ss-radios button[aria-pressed="true"] { background: var(--gelb); color: var(--marine-tief); border-color: var(--gelb); }
.ss-radios button:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

/* --- High contrast ------------------------------------------------------- */
body[data-contrast="high"] {
  --text: #ffffff;
  --text-leise: #e8ecf1;
  --rand: rgba(255, 255, 255, 0.55);
}
html[data-theme="hell"] body[data-contrast="high"] {
  --text: #0a0f16;
  --text-leise: #22293a;
  --rand: rgba(10, 15, 22, 0.55);
}
body[data-contrast="high"] a { text-decoration: underline; }

/* --- Motion off: kill transitions site-wide ------------------------------ */
body[data-motion="reduced"] *,
body[data-motion="reduced"] *::before,
body[data-motion="reduced"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* --- Rubrik tiles (Kachelmenü) ------------------------------------------- */
.kacheln { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
@media (min-width: 48rem) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kachel {
  position: relative; display: block;
  background: var(--surface);
  border: 1px solid var(--rand);
  text-decoration: none; color: inherit;
  overflow: hidden;
}
.kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kachel__text { padding: 1.1rem 1.2rem 1.3rem; }
.kachel__text h3 { font-size: var(--fs-xl); }
.kachel__text p { margin-top: 0.5rem; color: var(--text-leise); font-size: var(--fs-body); }
.kachel:hover { border-color: var(--gelb); }
.kachel:hover h3 { color: var(--gelb); }
html[data-theme="hell"] .kachel:hover h3 { color: var(--gelb-tief); }
.kachel:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }

/* --- Pending content note (customer copy still to come) ------------------ */
.wartet {
  border: 1px dashed var(--rand);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-leise);
  max-width: 62ch;
}
.wartet strong { color: var(--text); }


/* hidden attribute must beat the grid display of the switcher body */
.rbs-switcher__body[hidden] { display: none; }


/* =========================================================================
   Dropdown-Hauptnavigation (2026-08-13) — eine Kopfzeile, echte Seiten.
   Öffnet auf Hover mit Absicht und per Taste; ein Menü zur Zeit.
   ========================================================================= */

.nav-punkt { position: relative; }
.nav-punkt__zeile { display: inline-flex; align-items: center; gap: 0.3rem; }

.nav-klappe {
  background: none; border: 0; padding: 0.25rem;
  cursor: pointer; color: inherit;
  display: grid; place-items: center;
}
.nav-klappe span {
  display: block; width: 0.55rem; height: 0.55rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dauer-schnell) var(--ease);
}
.nav-klappe[aria-expanded="true"] span { transform: rotate(225deg) translateY(-2px); }
.nav-klappe:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

.untermenue {
  position: absolute; top: calc(100% + 0.9rem); left: 50%;
  transform: translateX(-50%);
  min-width: 21rem;
  background: var(--panel);
  border: 1px solid var(--rand);
  border-left: 3px solid var(--gelb);
  padding: 1.1rem 1.2rem 1.2rem;
  z-index: 50;
}
/* Brücke gegen Hover-Abriss zwischen Zeile und Panel */
.untermenue::before {
  content: ""; position: absolute; left: 0; right: 0; top: -0.95rem; height: 0.95rem;
}
.nav-punkt--klappt[data-offen="an"] .untermenue { display: block; }

html.js .untermenue { opacity: 0; translate: 0 10px; visibility: hidden; display: block;
  transition: opacity var(--dauer-basis) var(--ease), translate var(--dauer-basis) var(--ease), visibility 0s linear var(--dauer-basis);
}
html.js .nav-punkt--klappt[data-offen="an"] .untermenue {
  opacity: 1; translate: 0 0; visibility: visible;
  transition-delay: 0s;
}

.untermenue__titel {
  font-size: var(--fs-meta); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--grau-hell); margin-bottom: 0.6rem;
}
.untermenue ul { list-style: none; margin: 0; padding: 0; display: grid; }
.untermenue li + li { border-top: 1px solid var(--rand); }
.untermenue a {
  display: block; padding: 0.7rem 0.2rem;
  text-decoration: none; color: var(--bone);
}
.untermenue__label {
  display: block; font-weight: 500; font-size: 1rem;
  transition: color var(--dauer-schnell) var(--ease), translate var(--dauer-schnell) var(--ease);
}
.untermenue__teaser { display: block; margin-top: 0.15rem; font-size: 0.85rem; color: var(--grau-hell); }
.untermenue a:hover .untermenue__label,
.untermenue a[aria-current="page"] .untermenue__label { color: var(--gelb); translate: 4px 0; }
.untermenue a:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }

html[data-theme="hell"] .untermenue { background: var(--surface); }
html[data-theme="hell"] .untermenue a { color: var(--marine-tief); }
html[data-theme="hell"] .untermenue a:hover .untermenue__label,
html[data-theme="hell"] .untermenue a[aria-current="page"] .untermenue__label { color: var(--gelb-tief); }

@media (max-width: 61.99rem) {
  .nav-klappe, .untermenue { display: none !important; }
}


/* Mobile Navigation: verschachtelte Gruppen lesbar einruecken */
.mobilnav ul ul { list-style: none; margin: 0.2rem 0 0.8rem; padding: 0 0 0 1rem; border-left: 2px solid var(--rand); }
.mobilnav ul ul a { font-family: var(--ff-body); font-size: 1rem; letter-spacing: 0; padding: 0.55rem 0; border-bottom: 0; }

/* --- Terminwahl (Prototyp des Termin-Formulars aus dem Konzept) ---------- */
.terminwahl {
  display: grid; gap: 1.1rem;
  max-width: 46rem;
}
@media (min-width: 48rem) {
  .terminwahl { grid-template-columns: 1fr 1fr; }
  .terminwahl__feld--breit, .terminwahl .aktionen, .terminwahl__hinweis { grid-column: 1 / -1; }
}
.terminwahl__feld { display: grid; gap: 0.4rem; }
.terminwahl label {
  font-size: var(--fs-meta); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-leise);
}
.terminwahl__optional { text-transform: none; letter-spacing: 0; }
.terminwahl input, .terminwahl select, .terminwahl textarea {
  font: inherit; color: var(--text);
  background: var(--surface);
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.terminwahl input::placeholder, .terminwahl textarea::placeholder { color: var(--text-leise); opacity: 0.8; }
.terminwahl input:focus-visible, .terminwahl select:focus-visible, .terminwahl textarea:focus-visible {
  outline: 3px solid var(--gelb); outline-offset: 2px;
}
.terminwahl__hinweis { font-size: max(1rem, 0.9rem); color: var(--text-leise); max-width: 62ch; }
html[data-theme="hell"] .terminwahl input,
html[data-theme="hell"] .terminwahl select,
html[data-theme="hell"] .terminwahl textarea { background: #fbf8f2; }


/* --- Team -----------------------------------------------------------------
   The portraits remain whole: the customer may replace any image without an
   invisible crop. Optional profiles use native details so they work with
   keyboard and touch without client-side state. */
.team-band {
  /* Full-bleed band, flush against the hero. The section below brings its own
     rhythm, so no extra margin is needed here. Padding is reset too (bug
     2026-08-25): the generic `section { padding-block: var(--s-section) }`
     rule still applied here, leaving ~240px of empty canvas above and below
     the photo before this override existed. */
  margin-block: 0;
  padding-block: 0;
}
.team-band__bild {
  display: block;
  width: 100%;
  height: auto;
}

.team-raster {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.9rem);
  padding: 0;
  margin: 0;
  list-style: none;
}
.team-raster li { padding: 0; margin: 0; }
.team-raster li::before { content: none; }

.team-karte__bild {
  overflow: hidden;
  border-radius: var(--radius-kante);
  background: var(--bone-tief);
  aspect-ratio: 3 / 4;
}
.team-karte__bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--dauer-lang) var(--ease);
}

.team-karte__name {
  margin-top: 0.7rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.team-karte__rolle {
  margin-top: 0.15rem;
  font-size: var(--fs-meta);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.team-karte__profil {
  margin-top: 0.9rem;
  border-top: 1px solid var(--rand);
}
.team-karte__profil summary {
  min-height: 44px;
  display: list-item;
  padding-block: 0.6rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
}
.team-karte__profil summary::marker { color: var(--akzent); }
.team-karte__profil-inhalt { padding: 0 0 0.3rem; }
.team-karte__beschreibung > :first-child { margin-top: 0; }
.team-karte__kontakt { margin-top: 0.8rem; }
.team-karte__kontakt li { margin-block: 0.35rem; }
.team-karte__kontakt a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration-color: var(--akzent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.team-karte__kontakt a:hover { color: var(--akzent); }

@media (max-width: 61.99rem) {
  .team-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 37.49rem) {
  .team-raster { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .team-karte__bild img { transition: none; }
}


/* =========================================================================
   Reiseberichte — drei Darstellungen desselben Berichts (2026-08-25)
   Shared shell first, then the parts specific to each layout. Colours,
   type and radius come from the existing tokens; nothing new is invented.
   ========================================================================= */

/* Content edge stays at --inner-pad (layout law); reading width is limited on
   the children instead of by centring the container. */
.bericht-mass > * { max-width: 52ch; }
.bericht-mass .bericht-signatur { max-width: 34rem; }

.bericht-kopf { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem); }
.bericht-kopf--knapp { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bericht-kopf h1 { font-size: var(--fs-xxl); max-width: 18ch; margin-top: 0.6rem; }
.bericht-lead {
  margin-top: var(--s-block);
  font-size: var(--fs-lead);
  color: var(--text-leise);
  max-width: 48ch;
}

/* Author line ---------------------------------------------------------- */
.bericht-signatur {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: var(--s-block);
  padding-top: 1.3rem;
  border-top: 1px solid var(--rand);
}
.bericht-signatur__portrait {
  width: 3.1rem; height: 3.1rem;
  flex: none;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--bone-tief);
}
.bericht-signatur__bild { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.bericht-signatur__name { font-family: var(--ff-body); font-weight: 600; color: var(--text); }
.bericht-signatur__meta { font-size: var(--fs-meta); color: var(--text-leise); letter-spacing: 0.03em; margin-top: 0.1rem; }

/* --- Variant A: alternating bands -------------------------------------- */
.bericht-band { padding-block: clamp(2rem, 5vw, 3.5rem); }
.bericht-band__gitter { display: grid; gap: clamp(1.4rem, 3vw, 2.8rem); align-items: center; }
.bericht-band__wort h2 { font-size: var(--fs-xl); max-width: 20ch; }
.bericht-band__wort p { margin-top: 0.9rem; color: var(--text-leise); }
.bericht-band__bild { margin: 0; overflow: hidden; border-radius: var(--radius-kante); background: var(--bone-tief); }
.bericht-band__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

@media (min-width: 52rem) {
  .bericht-band__gitter { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .bericht-band--gedreht .bericht-band__wort { order: 2; }
  .bericht-band--gedreht .bericht-band__bild { order: 1; }
}

/* Quiet entrance. Handled in CSS so it also works without GSAP. */
[data-bericht-band] .bericht-band__wort,
[data-bericht-band] .bericht-band__bild {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease);
}
[data-bericht-band].ist-da .bericht-band__wort,
[data-bericht-band].ist-da .bericht-band__bild { opacity: 1; transform: none; }
[data-bericht-band].ist-da .bericht-band__bild { transition-delay: 90ms; }

/* --- Variant B: Ken Burns behind the running text ---------------------- */
/* Flush under the header: the title picture starts at the very top, with no
   inherited section padding above it (customer feedback 2026-08-25). */
.bericht-sog {
  position: relative;
  margin-top: calc(-1 * var(--kopf-hoehe, 0px));
  padding-top: 0;
}
.bericht-sog__buehne {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--marine-tief);
}
.bericht-sog__bild { position: absolute; inset: 0; }
.bericht-sog__bild img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  transform: scale(1.02);
  transform-origin: 50% 42%;
  will-change: transform;
}
/* Two scrims: one down the page, one across the reading column. The picture
   keeps its light on the right while the text side stays safely above AA. */
.bericht-sog__schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(11, 28, 45, 0.93) 0%, rgba(11, 28, 45, 0.82) 38%, rgba(11, 28, 45, 0.34) 72%, rgba(11, 28, 45, 0.24) 100%),
    linear-gradient(180deg, rgba(11, 28, 45, 0.34) 0%, rgba(11, 28, 45, 0.5) 45%, rgba(11, 28, 45, 0.78) 100%);
}
.bericht-sog__lauf { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.bericht-sog__auftakt { padding-block: calc(var(--kopf-hoehe, 7rem) + 26vh) clamp(4rem, 12vh, 9rem); color: var(--bone); }
.bericht-sog__auftakt h1 { font-size: var(--fs-hero); max-width: 15ch; margin-top: 0.6rem; color: var(--bone); }
.bericht-sog__auftakt .bericht-lead { color: var(--grau-hell); }
.bericht-sog__karte { padding-block: clamp(3rem, 9vh, 6rem); }
.bericht-sog__karte h2 { font-size: var(--fs-xl); max-width: 20ch; color: var(--bone); }
.bericht-sog__karte p { margin-top: 0.9rem; color: var(--grau-hell); }
.bericht-sog__signatur { padding-bottom: clamp(4rem, 12vh, 8rem); }
.bericht-sog__signatur .bericht-signatur { border-top-color: rgba(243, 237, 226, 0.24); }
.bericht-sog__signatur .bericht-signatur__name { color: var(--bone); }
.bericht-sog__signatur .bericht-signatur__meta { color: var(--grau-hell); }

[data-sog-text] { opacity: 0; transform: translateY(24px); transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease); }
[data-sog-text].ist-da { opacity: 1; transform: none; }

.bericht-galerie {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: var(--s-block);
  padding: 0; list-style: none;
}
.bericht-galerie li { padding: 0; margin: 0; }
.bericht-galerie li::before { content: none; }
.bericht-galerie figure { margin: 0; }
.bericht-galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-kante); }
.bericht-galerie figcaption { margin-top: 0.5rem; font-size: var(--fs-meta); color: var(--text-leise); }

/* --- Variant C: pinned pictures, scrolling text ------------------------ */
/* Extra room on top: the pictures used to sit tight under the header. */
.bericht-split { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem); }
.bericht-split__gitter { display: grid; gap: clamp(1.6rem, 3vw, 3rem); }
.bericht-split__buehne { position: relative; border-radius: var(--radius-kante); overflow: hidden; background: var(--bone-tief); }
/* Without JavaScript the pictures stay a plain stack; the pinned stage only
   engages once bericht.js has marked the section as ready. */
.bericht-split__bild { margin: 0 0 1rem; }
.bericht-split__bild:last-child { margin-bottom: 0; }
[data-split-bereit] .bericht-split__buehne { aspect-ratio: 4 / 3; }
[data-split-bereit] .bericht-split__bild {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity var(--dauer-lang) var(--ease);
}
[data-split-bereit] .bericht-split__bild.ist-da { opacity: 1; }
.bericht-split__bild img { width: 100%; height: 100%; object-fit: cover; }
.bericht-split__wort { padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.bericht-split__wort h2 { font-size: var(--fs-xl); max-width: 20ch; }
.bericht-split__wort p { margin-top: 0.9rem; color: var(--text-leise); }
.bericht-split__zahl {
  font-family: var(--ff-display);
  font-size: var(--fs-meta);
  letter-spacing: 0.18em;
  color: var(--akzent);
  margin-bottom: 0.5rem;
}

@media (min-width: 62rem) {
  .bericht-split__gitter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .bericht-split__bilder { position: sticky; top: calc(var(--kopf-hoehe, 7rem) + 4.5rem); }
  .bericht-split__wort { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
  [data-split-bereit] .bericht-split__wort { opacity: 0.34; transition: opacity var(--dauer-basis) var(--ease); }
  [data-split-bereit] .bericht-split__wort.ist-da { opacity: 1; }
}

/* --- Variant switcher (prototype only) --------------------------------- */
.bericht-varianten {
  margin-block: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--rand);
}
.bericht-varianten__hinweis {
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 1rem;
}
.bericht-varianten__liste {
  display: grid;
  max-width: none;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding: 0; list-style: none;
}
.bericht-varianten__liste li { padding: 0; margin: 0; }
.bericht-varianten__liste li::before { content: none; }
.bericht-varianten__knopf {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  text-decoration: none;
  transition: border-color var(--dauer-schnell) var(--ease), background-color var(--dauer-schnell) var(--ease);
}
.bericht-varianten__knopf:hover { border-color: var(--akzent); }
.bericht-varianten__knopf.ist-aktiv { border-color: var(--akzent); background: color-mix(in srgb, var(--akzent) 12%, transparent); }
.bericht-varianten__label { font-family: var(--ff-body); font-weight: 600; color: var(--text); }
.bericht-varianten__kurz { font-size: var(--fs-meta); color: var(--text-leise); }

@media (prefers-reduced-motion: reduce) {
  [data-bericht-band] .bericht-band__wort,
  [data-bericht-band] .bericht-band__bild,
  [data-sog-text] { opacity: 1; transform: none; transition: none; }
  [data-split-bereit] .bericht-split__wort { opacity: 1; transition: none; }
  .bericht-sog__bild img { transform: none; }
}


/* Flowing body copy: several paragraphs at reading width with a calm rhythm.
   Replaces the former ".wartet" note boxes -- the prototype carries finished
   text now, never working notes (Stefan 2026-08-25). */
.fliess { display: grid; gap: 1.1rem; }
.fliess p { font-size: var(--fs-body); color: var(--text-leise); max-width: 62ch; }
.fliess p:first-child { font-size: var(--fs-lead); color: var(--text); max-width: 52ch; }


/* --- DEV: internal template area -----------------------------------------
   Yellow throughout, so it is never mistaken for a public section. The whole
   area disappears before go-live. */
.nav-punkt--dev > .nav-punkt__zeile > a,
.nav-punkt--dev > a,
.mobilnav .nav-punkt--dev > a {
  color: var(--gelb);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-punkt--dev > .nav-punkt__zeile > a::after {
  content: "";
  display: inline-block;
  width: 0.42rem; height: 0.42rem;
  margin-left: 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--gelb);
  vertical-align: 0.14em;
}
.nav-punkt--dev .nav-klappe { color: var(--gelb); }

.dev-hinweis {
  border: 1px solid var(--gelb);
  border-left-width: 4px;
  border-radius: var(--radius-kante);
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
  margin-top: var(--s-block);
  background: color-mix(in srgb, var(--gelb) 8%, transparent);
}
.dev-hinweis p { color: var(--text); max-width: 62ch; }

.dev-liste {
  display: grid;
  max-width: none;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: var(--s-block);
  padding: 0; list-style: none;
}
.dev-liste li { padding: 0; margin: 0; }
.dev-liste li::before { content: none; }
.dev-liste a {
  display: grid; gap: 0.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  text-decoration: none;
  transition: border-color var(--dauer-schnell) var(--ease);
}
.dev-liste a:hover { border-color: var(--gelb); }
.dev-liste strong { font-family: var(--ff-body); font-weight: 600; color: var(--text); }
.dev-liste span { font-size: var(--fs-meta); color: var(--text-leise); }
.dev-gruppe { margin-top: var(--s-section); }
.dev-gruppe h2 { font-size: var(--fs-xl); }


/* =========================================================================
   Reiseberichte, Langfassungen (2026-08-25)
   ========================================================================= */

.bericht-aufmacher {
  margin: 0 0 clamp(1rem, 3vw, 2rem);
}
.bericht-aufmacher img {
  width: 100%;
  height: clamp(260px, 46vh, 520px);
  object-fit: cover;
  object-position: center 38%;
}

/* --- A long: chapters of running text answered by a group of pictures ---- */
.bericht-kapitel { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bericht-kapitel + .bericht-kapitel { border-top: 1px solid var(--rand); }
.bericht-kapitel__gitter { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bericht-kapitel__nummer {
  font-family: var(--ff-body);
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 0.6rem;
}
.bericht-kapitel__wort h2 { font-size: var(--fs-xl); max-width: 20ch; }
.bericht-kapitel__wort p { margin-top: 1rem; color: var(--text-leise); max-width: 60ch; }
.bericht-kapitel__bilder { display: grid; gap: clamp(0.9rem, 2vw, 1.4rem); }
.bericht-kapitel__bilder figure { margin: 0; }
.bericht-kapitel__bilder img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-kante);
  background: var(--bone-tief);
}
.bericht-kapitel__bilder figcaption {
  margin-top: 0.5rem;
  font-size: var(--fs-meta);
  color: var(--text-leise);
  max-width: 46ch;
}

@media (min-width: 52rem) {
  .bericht-kapitel__gitter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bericht-kapitel--gedreht .bericht-kapitel__wort { order: 2; }
  .bericht-kapitel--gedreht .bericht-kapitel__bilder { order: 1; }
}

.bericht-zitat {
  margin: clamp(1.5rem, 4vw, 2.6rem) 0 0;
  padding-left: clamp(1rem, 2.5vw, 1.8rem);
  border-left: 3px solid var(--akzent);
  max-width: 34ch;
}
.bericht-zitat p {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  line-height: 1.24;
  color: var(--text);
}

/* --- B long: storytelling, pictures cross-fade behind the running text --- */
.story { position: relative; margin-top: calc(-1 * var(--kopf-hoehe, 0px)); padding-top: 0; }
.story__buehne {
  position: sticky;
  top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--marine-tief);
}
.story__bild {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms var(--ease);
}
.story__bild.ist-da { opacity: 1; }
.story__bild img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  transform: scale(1.04);
  will-change: transform;
}
/* Only a light wash over the whole frame -- just enough to bind the picture
   to the palette. The real legibility comes from the local scrim behind each
   text card below, so the photograph stays visible everywhere else. */
.story__schleier {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 28, 45, 0.20) 0%, rgba(11, 28, 45, 0.12) 45%, rgba(11, 28, 45, 0.34) 100%);
}
.story__lauf { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.story__auftakt { padding-block: calc(var(--kopf-hoehe, 7rem) + 24vh) clamp(4rem, 14vh, 10rem); color: var(--bone); }
.story__auftakt h1 { font-size: var(--fs-hero); max-width: 15ch; margin-top: 0.6rem; color: var(--bone); }
.story__auftakt .bericht-lead { color: var(--grau-hell); }
.story__auftakt .bericht-signatur { border-top-color: rgba(243, 237, 226, 0.24); }
.story__auftakt .bericht-signatur__name { color: var(--bone); }
.story__auftakt .bericht-signatur__meta { color: var(--grau-hell); }

.story__kapitel { padding-block: clamp(4rem, 16vh, 11rem); }
/* The text sits on a panel, the same device the homepage hero uses next to the
   bus -- the one the customer singled out as working. It guarantees legibility
   without dimming the photograph around it, which is exactly the brief:
   scrim only where text is. */
.story__karte {
  position: relative;
  max-width: 40rem;
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.5rem, 3vw, 2.4rem);
  background: var(--panel);
  border-radius: var(--radius-kante);
  border-left: 3px solid var(--gelb);
}
.story__kapitel--rechts .story__karte { margin-left: auto; }
.story__kapitel--links .story__karte { margin-right: auto; }
.story__nummer {
  font-family: var(--ff-body); font-size: var(--fs-meta);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gelb); margin-bottom: 0.6rem;
}
.story__karte h2 { font-size: var(--fs-xl); max-width: 20ch; color: var(--bone); }
.story__karte p { margin-top: 1rem; color: var(--grau-hell); }
.story__zitat {
  margin-top: 1.6rem; padding-left: 1.2rem;
  border-left: 3px solid var(--gelb); max-width: 32ch;
}
.story__zitat p {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.24; color: var(--bone); margin-top: 0;
}

[data-story-text] { opacity: 0; transform: translateY(26px); transition: opacity var(--dauer-lang) var(--ease), transform var(--dauer-lang) var(--ease); }
[data-story-text].ist-da { opacity: 1; transform: none; }

/* --- C long: side pictures inside the scrolling column ------------------- */
.bericht-split__buehne figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.6rem 1rem 0.85rem;
  font-size: var(--fs-meta);
  color: var(--bone);
  /* Gemessen am 26.08.2026: ueber dem hellen Leuchtturm-Himmel kam die Zeile
     nur auf 2.88:1. Der Verlauf traegt jetzt schon dort, wo die Schrift
     beginnt, und bleibt bis zur Kante deckend. */
  background: linear-gradient(180deg,
    rgba(11, 28, 45, 0) 0%,
    rgba(11, 28, 45, 0.55) 38%,
    rgba(11, 28, 45, 0.92) 62%,
    rgba(11, 28, 45, 0.96) 100%);
}
.bericht-split__nebenbilder {
  display: grid;
  max-width: none;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  margin-top: 1.4rem;
  padding: 0; list-style: none;
}
.bericht-split__nebenbilder li { padding: 0; margin: 0; }
.bericht-split__nebenbilder li::before { content: none; }
.bericht-split__nebenbilder figure { margin: 0; }
.bericht-split__nebenbilder img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius-kante); background: var(--bone-tief);
}
.bericht-split__nebenbilder figcaption {
  margin-top: 0.4rem; font-size: var(--fs-meta); color: var(--text-leise);
}

@media (prefers-reduced-motion: reduce) {
  .story__bild { transition: none; }
  .story__bild img { transform: none; }
  [data-story-text] { opacity: 1; transform: none; transition: none; }
}


/* --- DEV tiles ------------------------------------------------------------
   Same card language as the public "kacheln", so the internal area does not
   feel like a different website -- only the yellow marks it as internal. */
.dev-kacheln {
  display: grid;
  max-width: none;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  margin-top: var(--s-block);
  padding: 0; list-style: none;
}
.dev-kacheln li { padding: 0; margin: 0; }
.dev-kacheln li::before { content: none; }
.dev-kachel {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--dauer-schnell) var(--ease);
}
.dev-kachel:hover { border-color: var(--gelb); }
.dev-kachel:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.dev-kachel__bild { display: block; overflow: hidden; background: var(--bone-tief); }
.dev-kachel__bild img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform var(--dauer-lang) var(--ease);
}
.dev-kachel:hover .dev-kachel__bild img { transform: scale(1.04); }
.dev-kachel__text { display: grid; gap: 0.25rem; padding: 1rem 1.15rem 1.2rem; }
.dev-kachel__text strong { font-family: var(--ff-body); font-weight: 600; color: var(--text); }
.dev-kachel__text span { font-size: var(--fs-meta); color: var(--text-leise); }

@media (prefers-reduced-motion: reduce) {
  .dev-kachel__bild img { transition: none; }
  .dev-kachel:hover .dev-kachel__bild img { transform: none; }
}


/* =========================================================================
   Styleguide (DEV)
   ========================================================================= */
.sg-block + .sg-block { border-top: 1px solid var(--rand); }
.sg-nummer {
  font-family: var(--ff-display);
  font-size: var(--fs-meta);
  letter-spacing: 0.2em;
  color: var(--akzent);
  margin-bottom: 0.5rem;
}
.sg-block h2 { font-size: var(--fs-xl); max-width: 24ch; margin-bottom: var(--s-block); }
.sg-block code {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: color-mix(in srgb, var(--akzent) 14%, transparent);
}

.sg-proben {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: var(--s-section);
}
.sg-probe { padding-top: 1.1rem; border-top: 1px solid var(--rand); }
.sg-probe__wert {
  font-size: var(--fs-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 0.5rem;
}
.sg-probe__rolle { margin-top: 0.5rem; font-size: var(--fs-meta); color: var(--text-leise); }
.sg-probe__zeile { max-width: 28ch; color: var(--text); }
.sg-probe__zeile--hero { font-family: var(--ff-display); font-size: var(--fs-hero); line-height: 1.02; }
.sg-probe__zeile--xxl  { font-family: var(--ff-display); font-size: var(--fs-xxl);  line-height: 1.06; }
.sg-probe__zeile--xl   { font-family: var(--ff-display); font-size: var(--fs-xl);   line-height: 1.14; }
.sg-probe__zeile--lead { font-size: var(--fs-lead); color: var(--text-leise); max-width: 48ch; }
.sg-probe__zeile--body { font-size: var(--fs-body); color: var(--text-leise); max-width: 62ch; }
.sg-probe__zeile--meta { font-size: var(--fs-meta); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-leise); }

.sg-verhaeltnis {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  margin-top: var(--s-section);
}
@media (min-width: 62rem) { .sg-verhaeltnis { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.sg-verhaeltnis__fall {
  padding: 1.2rem 1.3rem 1.5rem;
  border: 1px solid var(--rand);
  border-radius: var(--radius-kante);
}
.sg-verhaeltnis__fall--richtig { border-color: var(--akzent); }
.sg-verhaeltnis__marke {
  font-size: var(--fs-meta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.sg-verhaeltnis__marke--gut { color: var(--akzent); }
.sg-verhaeltnis__marke--schlecht { color: var(--text-leise); }
.sg-vgl__titel {
  font-family: var(--ff-display); line-height: 1.12; color: var(--text); max-width: 20ch;
  /* Die Demo zeigt Groessenverhaeltnisse; bei 390px passte die groesste
     Stufe (3.25rem) nicht mehr in die Box und schob die Seite 30px nach
     rechts. --sg-demo kommt aus dem Markup, min() deckelt sie auf die
     Boxbreite, das Verhaeltnis bleibt sichtbar. */
  font-size: min(var(--sg-demo, 2.15rem), 11vw);
  overflow-wrap: anywhere;
}
.sg-vgl__text { margin-top: 0.7rem; color: var(--text-leise); max-width: 46ch; }

.sg-farben {
  display: grid;
  max-width: none;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  margin-top: var(--s-block);
  padding: 0; list-style: none;
}
.sg-farben li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.9rem;
  align-items: center;
  padding: 0; margin: 0;
}
.sg-farben li::before { content: none; }
.sg-farbe {
  grid-row: 1 / 3;
  width: 2.6rem; height: 2.6rem;
  border-radius: var(--radius-kante);
  border: 1px solid var(--rand);
}
.sg-farben strong { font-family: var(--ff-body); font-size: 0.95rem; color: var(--text); align-self: end; }
.sg-farben li > span:last-child { font-size: var(--fs-meta); color: var(--text-leise); align-self: start; }

.sg-formen {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: var(--s-block);
}
.sg-form { padding: 1.1rem 1.2rem 1.4rem; border: 1px solid var(--rand); border-radius: var(--radius-kante); }
.sg-form h3 { font-family: var(--ff-body); font-size: 1.02rem; font-weight: 600; margin-top: 0.9rem; color: var(--text); }
.sg-form p { margin-top: 0.45rem; font-size: max(1rem, 0.95rem); color: var(--text-leise); }
.sg-form__t3 { font-size: max(1rem, var(--fs-meta)) !important; margin-top: 0.7rem !important; }
.sg-form__bild { display: grid; gap: 4px; height: 78px; }
.sg-form__bild span { background: var(--marine-hell); border-radius: 2px; display: block; }
.sg-form__bild--nebeneinander { grid-template-columns: 1fr 1fr; }
.sg-form__bild--nebeneinander span:first-child { background: var(--bone-tief); }
.sg-form__bild--voll { grid-template-columns: 1fr; }
.sg-form__bild--ueber { position: relative; grid-template-columns: 1fr; }
.sg-form__bild--ueber .sg-form__wort {
  position: absolute; left: 12%; right: 12%; top: 30%; height: 40%;
  background: var(--panel); border-left: 2px solid var(--gelb); border-radius: 2px;
}
.sg-form__bild--raster { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.sg-regeln { display: grid; gap: 1rem; max-width: 68ch; margin-top: var(--s-block); padding: 0; list-style: none; counter-reset: sgr; }
.sg-regeln li {
  padding-left: 2.4rem; margin: 0; position: relative;
  color: var(--text-leise); font-size: var(--fs-body);
}
.sg-regeln li::before {
  counter-increment: sgr;
  content: counter(sgr);
  position: absolute; left: 0; top: 0.05em;
  font-family: var(--ff-display); color: var(--akzent);
  background: none; width: auto; height: auto;
}
.sg-regeln strong { color: var(--text); }


/* =========================================================================
   Vorlagen: element library (DEV)
   Each entry shows the element plus its TYPO3 mapping, so a developer can
   rebuild it without guessing which CType was meant.
   ========================================================================= */
.vor-eintrag { padding-block: clamp(2rem, 5vw, 3.4rem); }
.vor-eintrag + .vor-eintrag { border-top: 1px solid var(--rand); }

.vor-marke {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin-bottom: var(--s-block);
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--rand);
}
.vor-marke__nr {
  font-family: var(--ff-display);
  font-size: var(--fs-meta);
  letter-spacing: 0.16em;
  color: var(--gelb);
}
.vor-marke__name { font-family: var(--ff-body); font-weight: 600; color: var(--text); }
.vor-marke code {
  font-family: var(--ff-mono, ui-monospace, monospace);
  font-size: 0.8rem;
  padding: 0.12em 0.45em;
  border-radius: 3px;
  background: color-mix(in srgb, var(--akzent) 16%, transparent);
  color: var(--text);
}
.vor-marke__feld { font-size: var(--fs-meta); color: var(--text-leise); }

.vor-buehne { padding: clamp(1rem, 2.4vw, 1.8rem); border: 1px solid var(--rand); border-radius: var(--radius-kante); }
.vor-buehne--randlos { padding: 0; overflow: hidden; }
.vor-h1 { font-size: var(--fs-xxl); max-width: 18ch; margin-top: 0.5rem; }
.vor-band { width: 100%; height: clamp(180px, 26vw, 320px); object-fit: cover; display: block; }

.vor-hero { position: relative; }
.vor-hero__bild { width: 100%; height: clamp(260px, 34vw, 420px); object-fit: cover; display: block; }
.vor-hero__panel {
  position: absolute;
  right: clamp(1rem, 4%, 3rem);
  bottom: clamp(1rem, 6%, 2.6rem);
  max-width: min(30rem, 62%);
  padding: clamp(1.1rem, 2vw, 1.7rem);
  background: var(--panel);
  border-left: 3px solid var(--gelb);
  border-radius: var(--radius-kante);
}
.vor-hero__panel h3 { font-family: var(--ff-display); font-size: var(--fs-xl); color: var(--bone); max-width: 18ch; }
.vor-hero__panel p { margin-top: 0.6rem; font-size: max(1rem, 0.95rem); color: var(--grau-hell); }

.vor-buehne .team-raster { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.vor-buehne .kacheln { margin: 0; }
.vor-buehne .bericht-zitat { margin-top: 0; }


/* --- Lesbarkeit auf schmalen Schirmen ------------------------------------
   Auf dem Telefon faellt Fliesstext sonst auf die Meta-Groesse zurueck und
   wird mit 13px unangenehm zu lesen. Kicker, Bildunterschriften und
   Werkzeugleisten bleiben bewusst klein -- sie werden gescannt, nicht
   gelesen. */
@media (max-width: 47.99rem) {
  main p,
  main li,
  .fliess p,
  .bericht-kapitel__wort p,
  .bericht-split__wort p,
  .story__karte p {
    font-size: max(1rem, var(--fs-body));
  }
  main p.meta,
  main .satz__wer,
  main figcaption,
  main .bericht-signatur__meta,
  main .team-karte__rolle,
  main .bericht-kapitel__nummer,
  main .story__nummer {
    font-size: var(--fs-meta);
  }
}

/* Telefon- und Mailadressen sind Tippziele, keine Lesezeichen: auf dem
   Telefon bekommen sie die 44px aus WCAG 2.2 Ziel 2.5.8. Steht die Adresse
   mitten im Fliesstext, greift die Inline-Ausnahme und nichts aendert sich. */
@media (max-width: 47.99rem) {
  a[href^="tel:"]:not(p a):not(li a),
  a[href^="mailto:"]:not(p a):not(li a) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
