/* Prosa-Layout für Impressum und Datenschutz.
   Ergänzt die Haupt-CSS, ersetzt sie nicht, Navigation, Footer und Farbvariablen
   kommen von dort und liegen beim Besucher ohnehin schon im Cache. */

.legal {
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(88px, 12vw, 140px) clamp(20px, 5vw, 32px) clamp(64px, 10vw, 110px);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.68;
}

/* Die Haupt-CSS stylt den blanken Selektor `nav` als fixierte Glas-Pille.
   Das trifft auch die Brotkrumen. <nav> bleibt trotzdem das semantisch
   richtige Element fuer Brotkrumen, also wird die Regel hier zurueckgesetzt. */
.legal nav.krumen {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  z-index: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.legal .krumen {
  font-size: 13px;
  color: var(--ink2);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.legal .krumen a { color: var(--ink2); text-decoration: none; }
.legal .krumen a:hover { color: var(--accent); text-decoration: underline; }
.legal .krumen span[aria-hidden] { opacity: .45; }

.legal h1 {
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 0 0 10px;
  text-wrap: balance;
}

.legal .stand {
  font-size: 13px;
  color: var(--ink2);
  margin: 0 0 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}

.legal h2 {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 25px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 700;
  margin: 46px 0 12px;
  text-wrap: balance;
}

/* Die Quelltexte gliedern mit h3/h4, hier eine Ebene tiefer gesetzt,
   damit die Seite genau eine h1 behält und die Kette lückenlos bleibt. */
.legal h3 {
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.22;
  letter-spacing: -.012em;
  font-weight: 700;
  margin: 44px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  text-wrap: balance;
}
.legal h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 34px; }

.legal h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 26px 0 6px;
  letter-spacing: -.005em;
}

.legal p { margin: 0 0 16px; }
.legal strong { font-weight: 700; }

.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: .06em;
  overflow-wrap: anywhere;
}
.legal a:hover { text-decoration-thickness: .12em; }

.legal .zurueck {
  margin: 54px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
}
.legal .zurueck a { text-decoration: none; }
.legal .zurueck a:hover { text-decoration: underline; }

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

/* Auf der Rechtsseite gibt es keine Sprungziele, die Anker der Startseite
   würden ins Leere zeigen, deshalb tragen sie dort einen /-Präfix. */
@media (max-width: 600px) {
  .legal { font-size: 15.5px; }
  .legal h3 { margin-top: 36px; padding-top: 22px; }
}

/* ── .seite ──────────────────────────────────────────────────────────────────
   Inhaltsseiten sprechen die Sprache der Startseite: derselbe 1200er Container
   wie .sect, dieselben Farb-Token, dieselbe Glas-Optik wie die Navigation.
   Cabinet Grotesk und JetBrains Mono liegen laengst im Cache, bis 03.09.2026
   zeigte --display aber auf system-ui, die Hausschrift lag also ungenutzt herum.

   Aufbau: build.py fasst jeden <h2>-Abschnitt in <section class="block"> mit
   Kopf- und Textspalte. Die Koepfe wechseln die Seite und laufen mit. */

.seite {
  max-width: 1200px;
  font-size: 17px;
  line-height: 1.68;
  padding: clamp(92px, 12vw, 148px) clamp(20px, 5vw, 32px) clamp(72px, 10vw, 120px);
  counter-reset: block;
}

.seite .krumen { margin-bottom: 26px; font-family: var(--mono, ui-monospace, monospace); font-size: 12px; letter-spacing: .04em; }

/* ── Kopf: Aussage links, Antwort rechts ─────────────────────────────────── */
.seite .seiteKopf {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.seite .seiteKopf h1 {
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}
.seite .intro .lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink2);
  margin-bottom: 18px;
}
/* Die Zielgruppen-Zeile als Glas-Chip, dasselbe Material wie die Navigation,
   damit der Kopf nicht wie ein zweiter Absatz aussieht. */
.seite .intro .wenfuer {
  display: inline-block;
  margin: 0;
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid var(--glassbrd);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .08);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink2);
}

/* ── Abschnitte: Kopf links, dann rechts, dann links ─────────────────────── */
.seite .block {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(46px, 7vw, 92px) 0;
  border-top: 1px solid var(--hairline);
}
.seite .block:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
.seite .block:nth-of-type(even) .blockKopf { grid-column: 2; grid-row: 1; }
.seite .block:nth-of-type(even) .blockText { grid-column: 1; grid-row: 1; }

.seite .blockKopf {
  position: sticky;
  top: 92px;
  align-self: start;
  counter-increment: block;
}
/* Die Nummer ist keine Dekoration: diese Seiten sind eine Folge, woran du es
   merkst, was wir bauen, was es belegt, wofuer wir nicht taugen, was du fragst. */
.seite .blockKopf::before {
  content: counter(block, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .12em;
  color: var(--accent);
}
.seite .block h2 {
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.06;
  letter-spacing: -.022em;
  font-weight: 800;
  margin: 0;
  border-top: 0;
  padding-top: 0;
  text-wrap: balance;
}

.seite .blockText > :first-child { margin-top: 0; }
.seite .blockText > p { max-width: 62ch; }

.seite h3, .seite h3:first-of-type {
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.18;
  letter-spacing: -.014em;
  font-weight: 700;
  border-top: 0;
  padding-top: 0;
  margin: 40px 0 10px;
}
.seite .blockText > h3:first-child { margin-top: 0; }

/* Eine verlinkte Ueberschrift bleibt eine Ueberschrift: der Akzent gehoert an
   die Unterkante, nicht in die Schriftfarbe, sonst liest sie sich wie ein
   Fliesstext-Link mitten in der Gliederung. */
.seite h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .25s var(--ease);
}
.seite h3 a:hover { background-size: 100% 100%; color: var(--bg); }

/* ── Merkmalsliste: zweispaltig, Haken in CSS gezeichnet ─────────────────── */
.seite .merkmale, .seite .nicht { list-style: none; padding-left: 0; margin: 6px 0 0; }
.seite .merkmale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 clamp(20px, 3vw, 44px);
}
.seite .merkmale li {
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
  position: relative;
}
.seite .merkmale li::before {
  content: "";
  position: absolute;
  left: 3px; top: 1.15em;
  width: 9px; height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.seite .nicht li {
  padding: 18px 0 18px 32px;
  border-bottom: 1px solid var(--hairline);
  margin: 0;
  position: relative;
  max-width: 62ch;
}
/* Kein Kreuz, kein Verbotsschild: ein offener Rahmen sagt "nicht unser Feld",
   ohne dem Leser einen Fehler vorzuwerfen. */
.seite .nicht li::before {
  content: "";
  position: absolute;
  left: 3px; top: 1.42em;
  width: 9px; height: 9px;
  border: 2px solid var(--ink2);
  opacity: .38;
  border-radius: 2px;
}
.seite .merkmale li:last-child, .seite .nicht li:last-child { border-bottom: 0; }

/* ── Beispielkarte: haengt an der Textkante, statt in ihr zu stehen ──────── */
.seite .beispiel {
  position: relative;
  margin: 16px 0 8px;
  padding: 15px 18px 15px 20px;
  max-width: 58ch;
  border-radius: 0 14px 14px 0;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink2);
}
.seite .beispiel span {
  display: block;
  margin-bottom: 5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Beweiskarte: dieselbe Nacht wie die Tempo-Panels der Startseite.
   Bewusst in BEIDEN Farbschemata dunkel und deshalb mit festen Farbwerten, 
   ein Token, das mitkippt, wuerde die Karte im Dunkelmodus verschwinden lassen. */
.seite .beweis {
  margin: 30px 0 8px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(0, 160, 208, .20), transparent 62%),
    var(--dark);
  border: 1px solid rgba(245, 245, 247, .10);
  box-shadow: 0 30px 80px rgba(6, 7, 15, .38);
  color: rgba(245, 245, 247, .74);
}
.seite .beweis h3 {
  margin: 0 0 14px;
  color: #f5f5f7;
  font-size: clamp(20px, 2.3vw, 26px);
}
.seite .beweis p { max-width: 60ch; }
.seite .beweis p + p { margin-top: 12px; }
.seite .beweis p:last-child { margin-bottom: 0; }
.seite .beweis strong { color: #f5f5f7; font-weight: 600; }

/* ── Abschluss ──────────────────────────────────────────────────────────── */
.seite .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.seite .cta a {
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid var(--glassbrd);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
/* Nicht #fff: der helle Akzent des Dunkelmodus traegt keinen weissen Text.
   var(--bg) kippt mit dem Schema mit und bleibt in beiden Faellen lesbar. */
.seite .cta a:first-child { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.seite .cta a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 105, 168, .22); border-color: var(--accent); }
.seite .cta a:active { transform: translateY(0); }

.seite .zurueck { margin-top: clamp(48px, 6vw, 80px); }

/* ── Bewegung: Abschnitte steigen beim Hereinscrollen auf ────────────────
   Reine CSS-Scroll-Zeitachse. Wo der Browser sie nicht kennt, passiert nichts
   und der Inhalt steht einfach da, kein JavaScript, kein Blindzustand. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes seiteAuf { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: none } }
    .seite .block > * {
      animation: seiteAuf linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
    .seite .blockText { animation-delay: .04s; }
  }
}

/* ── Schmale Schirme: eine Spalte, Koepfe laufen nicht mehr mit ──────────── */
@media (max-width: 860px) {
  .seite .seiteKopf { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .seite .block,
  .seite .block:nth-of-type(even) { grid-template-columns: 1fr; gap: 18px; }
  .seite .block:nth-of-type(even) .blockKopf,
  .seite .block:nth-of-type(even) .blockText { grid-column: 1; grid-row: auto; }
  .seite .blockKopf { position: static; }
}
@media (max-width: 600px) {
  .seite { font-size: 16px; }
  .seite .beispiel { max-width: none; }
}


/* Die aktuelle Seite im Menue kenntlich machen, bisher sah man nirgends,
   wo man ist. */
/* Die aktuelle Seite wird ueber die FARBE gekennzeichnet, nicht ueber die
   Staerke: fetter Text ist breiter, und die Kopfzeile wuerde beim Wechsel
   zwischen den Seiten die Breite aendern. */
nav .links a[aria-current="page"] { color: var(--ink); }


/* ── Rechner ────────────────────────────────────────────────────────────────
   Steht nur auf /calculator/. Alle Farben kommen aus den Tokens, damit die Karte
   in beiden Farbschemata haelt, ohne dass hier ein zweiter Block noetig wird. */
.seite .rechner {
  margin: 8px 0 4px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
}
.seite .rFeld {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.seite .rFeld label { color: var(--ink2); font-size: 15.5px; line-height: 1.45; }
.seite .rFeld label span { color: var(--ink2); opacity: .7; }
.seite .rFeld input {
  width: 100%;
  font: 600 19px/1 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: right;
}
.seite .rFeld input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
}
.seite .rErgebnis {
  display: block;
  margin-top: 22px;
  padding: 22px clamp(18px, 2.4vw, 26px);
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(0, 160, 208, .16), transparent 64%),
    var(--dark);
  color: rgba(245, 245, 247, .72);
}
.seite .rZeile {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  /* Die Zeilen sind Absaetze, und Absaetze bringen den Textabstand der Seite
     mit. Der wuerde die Zeilen im Kasten auseinanderziehen. */
  margin: 0;
  max-width: none;
}
.seite .rZeile + .rZeile { border-top: 1px solid rgba(245, 245, 247, .10); }
.seite .rZahl {
  font: 700 clamp(28px, 4vw, 40px)/1 var(--display);
  font-variant-numeric: tabular-nums;
  color: #f5f5f7;
  min-width: 3.4ch;
  text-align: right;
}
.seite .rWas { font-size: 15.5px; }
.seite .rGeld .rZahl { color: #4fc3ea; }
.seite .rFuss { margin: 16px 0 0; font-size: 14.5px; color: var(--ink2); max-width: none; }

@media (max-width: 520px) {
  .seite .rFeld { grid-template-columns: 1fr; gap: 8px; }
  .seite .rFeld input { text-align: left; }
}


/* ── Aufklapper ─────────────────────────────────────────────────────────────
   Leopold am 15.09.2026: zu viel Text am Stueck. <details> statt JavaScript,
   damit der Inhalt im ausgelieferten HTML bleibt und fuer Google und die
   KI-Dienste lesbar ist. Nur die Anzeige klappt, nicht der Text verschwindet. */
.seite .auf {
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.seite .auf:last-of-type { border-bottom: 1px solid var(--hairline); }
.seite .auf > summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
  padding: 18px 0;
  list-style: none;          /* Firefox */
  position: relative;
}
.seite .auf > summary::-webkit-details-marker { display: none; }
.seite .auf > summary > h3 { margin: 0; flex: 1; }
/* Das Zeichen dreht sich, statt zwei Symbole zu tauschen: ein Element weniger,
   und bei reduzierter Bewegung steht es einfach sofort richtig. */
.seite .auf > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  margin-top: .4em;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.seite .auf[open] > summary::after { transform: rotate(-135deg); }
.seite .auf > summary:hover h3 { color: var(--accent); }
.seite .auf > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.seite .aufText { padding: 0 0 22px; }
.seite .aufText > *:first-child { margin-top: 0; }
.seite .aufText > *:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .seite .auf > summary::after { transition: none; }
}

/* ── Einladung mitten auf der Seite ─────────────────────────────────────────
   FK am 15.09.2026: der Knopf stand nur in der Kopfzeile. Wer zehn Bildschirme
   gelesen hat, soll nicht nach oben scrollen muessen. */
.seite .kaffee {
  /* .seite ist kein Grid, die Einladung sitzt zwischen den Abschnitten.
     Sie traegt die Trennlinie des naechsten Blocks nicht, deshalb eigener Abstand. */
  margin: clamp(26px, 4vw, 44px) 0;
  padding: clamp(26px, 3.4vw, 38px);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(120% 150% at 50% 0%, rgba(0, 160, 208, .18), transparent 64%),
    var(--dark);
  border: 1px solid rgba(245, 245, 247, .10);
  box-shadow: 0 30px 80px rgba(6, 7, 15, .30);
}
.seite .kaffeeText {
  margin: 0 0 16px;
  max-width: none;
  color: #f5f5f7;
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}
.seite .kaffeeKnopf {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  background: #f5f5f7;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.seite .kaffeeKnopf:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
}
.seite .kaffeeKnopf:focus-visible { outline: 2px solid #4fc3ea; outline-offset: 3px; }
.seite .kaffeeKlein {
  margin: 14px 0 0;
  max-width: none;
  font-size: 14.5px;
  color: rgba(245, 245, 247, .70);
}


/* ── Faktenkasten der Werkstatt-Unterseiten ─────────────────────────────────
   Was ist es, wem gehoert es, laeuft es, wie prueft man es: die vier Fragen,
   die ein Leser an eine Referenz hat, bevor er weiterliest. Zwei Spalten,
   am Handy untereinander. */
.seite .fakten { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.seite .fakten dt, .seite .fakten dd { padding: 14px 0; border-bottom: 1px solid var(--hairline); margin: 0; }
.seite .fakten dt {
  padding-right: clamp(18px, 3vw, 40px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 2.4;
}
.seite .fakten dd { max-width: 58ch; }
.seite .fakten dt:last-of-type, .seite .fakten dd:last-of-type { border-bottom: 0; }
@media (max-width: 600px) {
  .seite .fakten { grid-template-columns: 1fr; }
  .seite .fakten dt { padding: 14px 0 0; border-bottom: 0; line-height: 1.4; }
  .seite .fakten dd { padding: 4px 0 14px; }
}


/* ════════════════════════════════════════════════════════════════════════════
   Unterseiten im Stil der Startseite (17.11.2026)
   Bisher sahen die Unterseiten aus wie das Impressum: kein Bild, nur Text.
   Hier: Titelbild, Kartenraster, kleine Vorfuehr-Animationen. Alles reines
   CSS, alles mit prefers-reduced-motion abgesichert, der Text bleibt im HTML.
   ════════════════════════════════════════════════════════════════════════════ */

body { overflow-x: clip; }

/* ── Lesefortschritt oben am Rand ─────────────────────────────────────────── */
.fortschritt { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .fortschritt {
      display: block;
      position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
      transform-origin: 0 50%;
      background: linear-gradient(90deg, #ff8a7a, #f7a6d0 45%, #4fc3ea);
      animation: fortschritt linear both;
      animation-timeline: scroll(root);
    }
    @keyframes fortschritt { from { transform: scaleX(0) } to { transform: scaleX(1) } }
  }
}

/* ── Titelbild ───────────────────────────────────────────────────────────── */
.seite.mitBild { padding-top: 0; }
.seite .held {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: min(86svh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #f5f5f7;
  margin-bottom: clamp(20px, 4vw, 48px);
}
.seite .heldBild, .seite .heldBild img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  z-index: -2;
}
/* Verlauf von unten: die Schrift steht auf Nacht, nicht auf Himmel. Fest
   eingestellte Farben, weil das Bild in beiden Farbschemata dasselbe ist. */
.seite .held::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 12, 34, 0) 30%, rgba(6, 12, 34, .55) 62%, rgba(6, 10, 26, .9) 100%),
    linear-gradient(90deg, rgba(6, 12, 34, .45), rgba(6, 12, 34, 0) 60%);
}
.seite .heldInnen {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 32px) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "krumen krumen" "h1 intro";
  gap: 22px clamp(24px, 4vw, 64px);
  align-items: end;
}
.seite .held .krumen { grid-area: krumen; margin: 0; color: rgba(245, 245, 247, .72); }
.seite .held .krumen a { color: rgba(245, 245, 247, .82); }
.seite .held .krumen a:hover { color: #fff; }
.seite .held h1 {
  grid-area: h1;
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(38px, 6vw, 78px);
  line-height: .98; letter-spacing: -.034em; font-weight: 800;
  margin: 0; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 10, 26, .35);
}
.seite .held .intro { grid-area: intro; }
.seite .held .intro .lead { color: rgba(245, 245, 247, .9); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; margin: 0 0 18px; }
.seite .held .intro .wenfuer {
  color: rgba(245, 245, 247, .86);
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: none;
}
.seite .held a:focus-visible { outline-color: #4fc3ea; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes heldZoom { from { transform: scale(1.08) } to { transform: scale(1) } }
  @keyframes heldAuf { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }
  .seite .heldBild img { animation: heldZoom 2.6s var(--ease) both; }
  .seite .heldInnen > * { animation: heldAuf 1s var(--ease) both; }
  .seite .heldInnen > h1 { animation-delay: .12s; }
  .seite .heldInnen > .intro { animation-delay: .28s; }
  /* Das Bild bleibt beim Scrollen etwas zurueck, die Schrift nicht. */
  @supports (animation-timeline: scroll()) {
    @keyframes heldParallax { to { transform: translateY(18%) scale(1.04) } }
    .seite .heldBild { animation: heldParallax linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
  }
}
@media (max-width: 860px) {
  .seite .held { min-height: 0; }
  .seite .heldInnen { grid-template-columns: 1fr; grid-template-areas: "krumen" "h1" "intro"; padding-top: 120px; }
}

/* ── Merkmale als Karten (gilt fuer alle Unterseiten) ─────────────────────── */
.seite .merkmale {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}
.seite .merkmale li {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  padding: 18px 20px 18px 54px;
  line-height: 1.5;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.seite .merkmale li:last-child { border-bottom: 1px solid var(--hairline); }
.seite .merkmale li::before {
  left: 18px; top: 19px;
  width: 22px; height: 22px;
  border: 0; transform: none;
  border-radius: 7px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat,
    linear-gradient(135deg, #ff8a7a, #4fc3ea);
}
.seite .merkmale li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

/* ── Breiter Abschnitt: Kopf oben, Inhalt ueber die ganze Breite ─────────── */
.seite .block.breit,
.seite .block.breit:nth-of-type(even) { grid-template-columns: 1fr; }
.seite .block.breit .blockKopf,
.seite .block.breit:nth-of-type(even) .blockKopf { grid-column: 1; grid-row: auto; position: static; max-width: 760px; }
.seite .block.breit .blockText,
.seite .block.breit:nth-of-type(even) .blockText { grid-column: 1; grid-row: auto; }
.seite .blockLead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink2); max-width: 62ch; }

/* ── Schaubild: alles laeuft in einen Eingang ─────────────────────────────── */
.seite .fluss {
  position: relative;
  margin: clamp(22px, 3vw, 36px) 0 clamp(28px, 4vw, 48px);
  height: 380px;
  display: grid;
  grid-template-columns: 24% 1fr 24%;
  border-radius: 28px;
  padding: 0;
  background:
    radial-gradient(60% 90% at 50% 50%, rgba(79, 195, 234, .16), transparent 70%),
    var(--dark);
  border: 1px solid rgba(245, 245, 247, .10);
  box-shadow: 0 30px 80px rgba(6, 12, 34, .30);
  overflow: hidden;
  color: #f5f5f7;
}
/* Die Spalten sitzen innen mit festem Abstand; die Linien rechnen in Prozent
   derselben Flaeche, deshalb treffen sie die Kaesten bei jeder Breite. */
.seite .flussQuellen, .seite .flussZiele {
  position: relative; z-index: 1;
  display: grid; align-items: center;
  padding: 0 0 0 clamp(14px, 2vw, 26px);
}
.seite .flussQuellen { grid-template-rows: repeat(5, 1fr); }
.seite .flussZiele { grid-template-rows: repeat(3, 1fr); padding: 0 clamp(14px, 2vw, 26px) 0 0; }
.seite .flussQuellen span, .seite .flussZiele span {
  display: block;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px; line-height: 1.25; font-weight: 600;
  backdrop-filter: blur(8px);
}
.seite .flussZiele span { padding: 12px 16px; }
.seite .fluss small { display: block; font-weight: 400; font-size: 12.5px; color: rgba(245, 245, 247, .62); margin-top: 2px; }
.seite .flussMitte { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.seite .flussHub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 50%; aspect-ratio: 1.5;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 138, 122, .22), rgba(79, 195, 234, .22)), rgba(11, 13, 20, .7);
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow: 0 0 0 0 rgba(79, 195, 234, .4), 0 20px 50px rgba(0, 0, 0, .35);
}
.seite .flussHub b { font-family: 'Cabinet Grotesk', var(--display); font-size: clamp(18px, 2vw, 24px); }
.seite .flussLinien { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.seite .flussLinien path { fill: none; }
.seite .flussBahn path { stroke: rgba(255, 255, 255, .18); stroke-width: 1.4; }
.seite .flussPuls path { stroke: url(#flussVerlauf); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 0 100; filter: drop-shadow(0 0 4px rgba(79, 195, 234, .9)); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes puls { 0% { stroke-dasharray: 0 100; stroke-dashoffset: 0 } 15% { stroke-dasharray: 14 100 } 85% { stroke-dasharray: 14 100 } 100% { stroke-dasharray: 0 100; stroke-dashoffset: -100 } }
  .seite .flussPuls path { animation: puls 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
  .seite .flussPuls path:nth-child(2) { animation-delay: .5s; }
  .seite .flussPuls path:nth-child(3) { animation-delay: 1.1s; }
  .seite .flussPuls path:nth-child(4) { animation-delay: .25s; }
  .seite .flussPuls path:nth-child(5) { animation-delay: .8s; }
  .seite .flussPuls path:nth-child(n+6) { animation-delay: 1.2s; animation-duration: 2.4s; }
  .seite .flussPuls path:nth-child(7) { animation-delay: 1.5s; }
  .seite .flussPuls path:nth-child(8) { animation-delay: 1.8s; }
  @keyframes hubAtmen { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 195, 234, .35), 0 20px 50px rgba(0, 0, 0, .35) } 50% { box-shadow: 0 0 0 14px rgba(79, 195, 234, 0), 0 20px 50px rgba(0, 0, 0, .35) } }
  .seite .flussHub { animation: hubAtmen 2.4s ease-out infinite; }
}
@media (max-width: 760px) {
  .seite .fluss { height: auto; grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .seite .flussLinien { display: none; }
  .seite .flussQuellen, .seite .flussZiele { grid-template-rows: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
  .seite .flussQuellen span, .seite .flussZiele span { padding: 8px 12px; }
  .seite .flussHub { width: 100%; max-width: none; aspect-ratio: auto; padding: 18px; }
  .seite .flussMitte::before, .seite .flussMitte::after { content: "↓"; position: absolute; left: 50%; transform: translateX(-50%); color: #4fc3ea; }
  .seite .flussMitte { padding: 18px 0; }
  .seite .flussMitte::before { top: -6px; } .seite .flussMitte::after { bottom: -6px; }
}

/* ── Bausteine: Kartenraster mit kleiner Vorfuehrung je Karte ─────────────── */
.seite .bausteine {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.seite .baustein {
  grid-column: span 2;
  position: relative;
  padding: 22px 24px 24px;
  border-radius: 22px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.seite .baustein.gross { grid-column: span 3; }
.seite .baustein:nth-child(2) { grid-column: span 3; }
.seite .baustein:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.seite .baustein h3 { margin: 6px 0 8px; font-size: clamp(19px, 1.8vw, 22px); }
.seite .baustein p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.seite .baustein .praxis {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline);
  font-size: 14px; color: var(--ink2);
}
.seite .bsBild {
  display: block; width: 100%; height: 120px; margin-bottom: 8px;
  border-radius: 14px;
  background:
    radial-gradient(80% 120% at 30% 0%, rgba(79, 195, 234, .18), transparent 70%),
    radial-gradient(70% 100% at 90% 100%, rgba(255, 138, 122, .16), transparent 70%),
    var(--bg);
}
.seite .bsBild * { vector-effect: non-scaling-stroke; }
.seite .bsSchale { fill: none; stroke: var(--accent); stroke-width: 2; }
.seite .bsBrief { fill: var(--surface); stroke: var(--ink2); stroke-width: 1.2; }
.seite .bsBrief.b2 { stroke: #ff8a7a; } .seite .bsBrief.b3 { stroke: #4fc3ea; }
.seite .bsBlatt { fill: var(--surface); stroke: var(--ink2); stroke-width: 1.2; }
.seite .bsZeile { fill: var(--hairline); }
.seite .bsScan { fill: #4fc3ea; opacity: .85; }
.seite .bsSpur { stroke: var(--hairline); stroke-width: 3; stroke-linecap: round; }
.seite .bsPunkt { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.seite .bsLaeufer { fill: #ff8a7a; }
.seite .bsGeraet { fill: var(--surface); stroke: var(--ink2); stroke-width: 1.2; }
.seite .bsUnterschrift { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.seite .bsLinie { stroke: var(--hairline); stroke-width: 1.5; }
.seite .bsSaeule { fill: var(--accent); transform-box: fill-box; transform-origin: 50% 100%; }
.seite .bsSaeule.s1 { transform: scaleY(.35); } .seite .bsSaeule.s2 { transform: scaleY(.55); }
.seite .bsSaeule.s3 { transform: scaleY(.48); } .seite .bsSaeule.s4 { transform: scaleY(.85); fill: #4fc3ea; }
.seite .bsBrief { transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  /* Briefe fallen nacheinander in die Schale */
  @keyframes brief { 0% { transform: translateY(-30px); opacity: 0 } 18% { opacity: 1 } 45%, 70% { transform: translateY(36px); opacity: 1 } 85%, 100% { transform: translateY(36px); opacity: 0 } }
  .seite .bsBrief { animation: brief 3.6s var(--ease) infinite; }
  .seite .bsBrief.b2 { animation-delay: 1.2s; } .seite .bsBrief.b3 { animation-delay: 2.4s; }
  /* Lichtbalken liest das Blatt, Zeilen fuellen sich */
  @keyframes scan { 0% { transform: translateY(0) } 50% { transform: translateY(62px) } 100% { transform: translateY(0) } }
  @keyframes zeile { 0%, 20% { fill: var(--hairline) } 35%, 80% { fill: var(--accent) } 100% { fill: var(--hairline) } }
  .seite .bsScan { animation: scan 3.2s ease-in-out infinite; }
  .seite .bsZeile { animation: zeile 3.2s ease-in-out infinite; }
  .seite .bsZeile.z2 { animation-delay: .25s; } .seite .bsZeile.z3 { animation-delay: .5s; } .seite .bsZeile.z4 { animation-delay: .75s; }
  /* Der Vorgang wandert von Station zu Station */
  @keyframes laeufer { 0%, 10% { transform: translateX(0) } 40%, 55% { transform: translateX(42px) } 85%, 100% { transform: translateX(84px) } }
  .seite .bsLaeufer { animation: laeufer 3.4s var(--ease) infinite; }
  /* Unterschrift zeichnet sich */
  @keyframes zeichnen { 0% { stroke-dashoffset: 100 } 55%, 85% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: 0; opacity: 0 } }
  .seite .bsUnterschrift { animation: zeichnen 3.4s ease-in-out infinite; }
  /* Saeulen wachsen */
  @keyframes saeule { 0%, 100% { transform: scaleY(var(--a)) } 50% { transform: scaleY(var(--b)) } }
  .seite .bsSaeule { animation: saeule 3.2s ease-in-out infinite; }
  .seite .bsSaeule.s1 { --a: .35; --b: .5; } .seite .bsSaeule.s2 { --a: .55; --b: .7; animation-delay: .2s; }
  .seite .bsSaeule.s3 { --a: .48; --b: .78; animation-delay: .4s; } .seite .bsSaeule.s4 { --a: .85; --b: .95; animation-delay: .6s; }

  /* Karten kommen nacheinander herein */
  @supports (animation-timeline: view()) {
    .seite .baustein, .seite .merkmale li, .seite .kennzahlen > p, .seite .beweise .beweis {
      animation: seiteAuf linear both; animation-timeline: view(); animation-range: entry 0% cover 22%;
    }
  }
}
@media (max-width: 900px) {
  .seite .bausteine { grid-template-columns: 1fr 1fr; }
  .seite .baustein, .seite .baustein.gross, .seite .baustein:nth-child(2) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .seite .bausteine { grid-template-columns: 1fr; }
}

/* ── Zwei Beweise nebeneinander, mit wanderndem Lichtrand ─────────────────── */
.seite .beweise { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.seite .beweise .beweis { margin: 0; position: relative; overflow: hidden; }
.seite .beweise .beweis::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--winkel, 0deg), transparent 0 70%, #ff8a7a 80%, #4fc3ea 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@property --winkel { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rand { to { --winkel: 360deg } }
  .seite .beweise .beweis::before { animation: rand 6s linear infinite; }
  .seite .beweise .beweis:nth-child(2)::before { animation-delay: -3s; }
}
@media (max-width: 860px) { .seite .beweise { grid-template-columns: 1fr; } }

/* ── Kennzahlen ───────────────────────────────────────────────────────────── */
.seite .kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 26px; }
.seite .kennzahlen > p {
  margin: 0; max-width: none;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(79, 195, 234, .14), transparent 70%),
    var(--surface);
}
.seite .kz {
  display: block;
  font-family: 'Cabinet Grotesk', var(--display);
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.seite .kzWas { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
@media (max-width: 760px) { .seite .kennzahlen { grid-template-columns: 1fr; } }

/* Links in den dunklen Karten: der Seitenakzent ist dort zu dunkel. */
.seite .beweis a { color: #7fd3f0; }
.seite .beweis a:hover { color: #fff; }

/* Einladung mit dem Bild der Seite */
.seite .kaffee.mitBild {
  background:
    linear-gradient(180deg, rgba(6, 12, 34, .55), rgba(6, 10, 26, .82)),
    var(--kaffeeBild) center 40% / cover no-repeat,
    var(--dark);
  padding-block: clamp(40px, 6vw, 72px);
}

/* ── Kennzahlen mit vier Kacheln ──────────────────────────────────────────── */
.seite .kennzahlen.vier { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .seite .kennzahlen.vier { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .seite .kennzahlen.vier { grid-template-columns: 1fr; } }
.seite .kz small { font-size: .5em; font-weight: 700; letter-spacing: 0; color: var(--ink2); }

/* ── Vorfuehrung im Browserrahmen (Websites: die Buchungsstrecke) ─────────── */
.seite .browser {
  margin: clamp(22px, 3vw, 36px) 0 clamp(28px, 4vw, 44px);
  border-radius: 22px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.seite .browserLeiste {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}
.seite .browserLeiste i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline); }
.seite .browserLeiste i:nth-child(1) { background: #ff8a7a; } .seite .browserLeiste i:nth-child(2) { background: #f7c96a; } .seite .browserLeiste i:nth-child(3) { background: #7fd39b; }
.seite .browserLeiste span {
  margin-left: 12px; flex: 1; max-width: 360px;
  padding: 5px 14px; border-radius: 999px; background: var(--bg);
  font: 12.5px/1.3 'JetBrains Mono', ui-monospace, monospace; color: var(--ink2);
}
.seite .browserBuehne {
  position: relative; min-height: 300px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  background:
    linear-gradient(90deg, var(--surface) 40%, transparent),
    var(--browserBild, none) center / cover no-repeat;
}
.seite .browserText { padding: clamp(24px, 4vw, 44px); align-self: center; }
.seite .browserText b { display: block; font: 800 clamp(22px, 2.6vw, 32px)/1.08 'Cabinet Grotesk', var(--display); letter-spacing: -.02em; color: var(--ink); }
.seite .browserText span { display: block; margin-top: 10px; color: var(--ink2); font-size: 15px; }
.seite .strecke {
  position: relative; align-self: center; justify-self: center;
  width: min(92%, 380px); height: 236px; margin: 24px 0;
}
.seite .stufe {
  position: absolute; inset: 0;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glassbrd);
  box-shadow: 0 24px 60px rgba(6, 12, 34, .22);
  opacity: 0;
}
.seite .stufe:nth-child(2) { opacity: 1; }
.seite .stufe p { margin: 0 0 14px; max-width: none; font: 700 16px/1.3 'Cabinet Grotesk', var(--display); color: var(--ink); }
.seite .stufe small { display: block; margin: -10px 0 14px; color: var(--ink2); font-size: 12.5px; }
.seite .wahl { display: grid; gap: 8px; }
.seite .wahl.zwei { grid-template-columns: 1fr 1fr; }
.seite .wahl span {
  display: block; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--hairline); background: var(--bg);
  font-size: 13.5px; color: var(--ink);
}
.seite .wahl span.an { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); font-weight: 600; }
.seite .stufe.fertig { display: grid; place-items: center; text-align: center; }
.seite .haken {
  width: 54px; height: 54px; border-radius: 50%; margin: 6px auto 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff8a7a, #4fc3ea);
}
.seite .haken svg { width: 26px; height: 26px; }
.seite .haken path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Drei Stufen im Wechsel, 9 Sekunden die Runde */
  @keyframes stufe1 { 0%, 28% { opacity: 1; transform: none } 33%, 100% { opacity: 0; transform: translateY(-10px) scale(.98) } }
  @keyframes stufe2 { 0%, 30% { opacity: 0; transform: translateY(10px) scale(.98) } 36%, 61% { opacity: 1; transform: none } 66%, 100% { opacity: 0; transform: translateY(-10px) scale(.98) } }
  @keyframes stufe3 { 0%, 63% { opacity: 0; transform: translateY(10px) scale(.98) } 69%, 95% { opacity: 1; transform: none } 100% { opacity: 0 } }
  .seite .stufe { animation: 9s var(--ease) infinite both; }
  .seite .stufe:nth-child(1) { animation-name: stufe1; }
  .seite .stufe:nth-child(2) { animation-name: stufe2; }
  .seite .stufe:nth-child(3) { animation-name: stufe3; }
  /* Die Auswahl wird sichtbar "angeklickt" */
  @keyframes klick { 0%, 12% { border-color: var(--hairline); background: var(--bg); } 16%, 100% { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); } }
  .seite .stufe:nth-child(1) .an, .seite .stufe:nth-child(2) .an { animation: klick 9s infinite; }
  .seite .stufe:nth-child(2) .an { animation-delay: 3.3s; }
  @keyframes hakenZiehen { 0%, 70% { stroke-dashoffset: 30 } 80%, 100% { stroke-dashoffset: 0 } }
  .seite .haken path { animation: hakenZiehen 9s infinite; }
}
@media (max-width: 760px) {
  .seite .browserBuehne { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--surface) 35%, transparent), var(--browserBild, none) center / cover no-repeat; }
  .seite .browserText { padding-bottom: 0; }
}

/* ── Chat-Vorfuehrung (Workshops: erfundene Antwort erkennen) ─────────────── */
.seite .chat {
  margin: clamp(22px, 3vw, 36px) 0 clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(255, 138, 122, .18), transparent 70%),
    radial-gradient(60% 90% at 0% 100%, rgba(79, 195, 234, .16), transparent 70%),
    var(--dark);
  color: rgba(245, 245, 247, .78);
  border: 1px solid rgba(245, 245, 247, .10);
  box-shadow: 0 30px 80px rgba(6, 12, 34, .30);
}
.seite .chat > div:first-child b { display: block; color: #f5f5f7; font: 800 clamp(22px, 2.6vw, 32px)/1.08 'Cabinet Grotesk', var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.seite .chat > div:first-child span { font-size: 15.5px; line-height: 1.6; }
.seite .chatVerlauf { display: grid; gap: 12px; position: relative; }
.seite .blase {
  max-width: 88%; padding: 12px 16px; border-radius: 18px;
  font-size: 14.5px; line-height: 1.5; color: #f5f5f7;
}
.seite .blase.ich { justify-self: end; background: #2a6f97; border-bottom-right-radius: 6px; }
.seite .blase.ki { justify-self: start; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); border-bottom-left-radius: 6px; }
.seite .blase.ki mark { background: rgba(255, 138, 122, .28); color: inherit; border-radius: 4px; padding: 0 3px; }
.seite .stempel {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid #ff8a7a; color: #ffb3a8;
  font: 600 13px/1.3 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .02em;
  transform: rotate(-2deg);
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes blaseAuf { from { opacity: 0; transform: translateY(12px) scale(.97) } to { opacity: 1; transform: none } }
  @keyframes stempelAuf { from { opacity: 0; transform: rotate(-2deg) scale(1.5) } 60% { opacity: 1; transform: rotate(-2deg) scale(.95) } to { opacity: 1; transform: rotate(-2deg) scale(1) } }
  @supports (animation-timeline: view()) {
    .seite .chatVerlauf > * { animation: blaseAuf linear both; animation-timeline: view(); }
    .seite .chatVerlauf > :nth-child(1) { animation-range: entry 10% cover 25%; }
    .seite .chatVerlauf > :nth-child(2) { animation-range: entry 30% cover 35%; }
    .seite .chatVerlauf > :nth-child(3) { animation-name: stempelAuf; animation-range: entry 60% cover 45%; }
  }
}
@media (max-width: 860px) { .seite .chat { grid-template-columns: 1fr; } }

/* ── Zeitstrahl (Kontakt: drei Schritte zum Termin) ───────────────────────── */
.seite .zeitstrahl {
  position: relative; list-style: none; padding: 0;
  margin: clamp(22px, 3vw, 36px) 0 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.seite .zeitstrahl::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px;
  background: var(--hairline);
}
.seite .zeitstrahl::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px;
  background: linear-gradient(90deg, #ff8a7a, #f7a6d0, #4fc3ea);
  transform-origin: 0 50%;
}
.seite .zeitstrahl li { position: relative; margin: 0; padding: 0 4px; }
.seite .zeitstrahl .nr {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  font: 800 26px/1 'Cabinet Grotesk', var(--display); color: var(--accent);
  margin-bottom: 18px;
}
.seite .zeitstrahl b { display: block; font: 700 clamp(19px, 1.8vw, 22px)/1.2 'Cabinet Grotesk', var(--display); color: var(--ink); margin-bottom: 6px; }
.seite .zeitstrahl span { display: block; color: var(--ink2); font-size: 15.5px; line-height: 1.55; max-width: 34ch; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes strahl { from { transform: scaleX(0) } to { transform: scaleX(1) } }
    .seite .zeitstrahl::after { animation: strahl linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
    .seite .zeitstrahl li { animation: seiteAuf linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@media (max-width: 760px) {
  .seite .zeitstrahl { grid-template-columns: 1fr; gap: 22px; }
  .seite .zeitstrahl::before, .seite .zeitstrahl::after { left: 34px; right: auto; top: 34px; bottom: 34px; width: 2px; height: auto; }
  .seite .zeitstrahl::after { transform-origin: 50% 0; }
  .seite .zeitstrahl li { display: grid; grid-template-columns: 68px 1fr; gap: 0 18px; }
  .seite .zeitstrahl .nr { grid-row: span 2; margin: 0; }
  @supports (animation-timeline: view()) { @keyframes strahlY { from { transform: scaleY(0) } to { transform: scaleY(1) } } .seite .zeitstrahl::after { animation-name: strahlY; } }
}

/* ── Grosser Knopf mitten im Inhalt ───────────────────────────────────────── */
.seite .knopfZeile { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 8px 0 0; max-width: none; }
.seite .knopfGross {
  display: inline-block; text-decoration: none;
  padding: 15px 30px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-weight: 700; font-size: 16px;
  box-shadow: 0 14px 34px rgba(0, 105, 168, .25);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.seite .knopfGross:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 105, 168, .32); }
.seite .knopfGross:active { transform: translateY(0) scale(.98); }
.seite .knopfZeile small { color: var(--ink2); font-size: 14.5px; }

/* ── Anschrift-Karte (Kontakt) ────────────────────────────────────────────── */
.seite .anschrift {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--hairline); background: var(--surface);
  margin: 8px 0 22px;
}
.seite .anschriftBild { min-height: 240px; background: var(--anschriftBild) center 60% / cover no-repeat; }
.seite .anschriftText { padding: clamp(22px, 3vw, 34px); }
.seite .anschriftText p { margin: 0 0 12px; }
.seite .anschriftText address { font-style: normal; font: 700 clamp(19px, 1.9vw, 23px)/1.35 'Cabinet Grotesk', var(--display); color: var(--ink); margin-bottom: 14px; }
@media (max-width: 760px) { .seite .anschrift { grid-template-columns: 1fr; } .seite .anschriftBild { min-height: 180px; } }

/* Kopf links: Aussage und Text untereinander, die rechte Bildhaelfte bleibt frei. */
.seite .held.links .heldInnen { grid-template-columns: minmax(0, 640px); grid-template-areas: "krumen" "h1" "intro"; }
.seite .held.links h1 { font-size: clamp(38px, 5.2vw, 68px); }
/* In breiten Abschnitten bleibt Fliesstext trotzdem lesbar schmal. */
.seite .breit .aufText > p, .seite .breit .aufText > .beispiel { max-width: 68ch; }
/* Linie hinter den Ziffernkaesten: die Eintraege tragen eine Animation und
   damit eine eigene Ebene, die Linie gehoert darunter. */
.seite .zeitstrahl::before, .seite .zeitstrahl::after { z-index: 0; }
.seite .zeitstrahl li { z-index: 1; }
.seite .anschriftText p:last-child a { display: block; width: fit-content; margin-bottom: 4px; }
.seite .stempel { max-width: 100%; }
@media (max-width: 520px) { .seite .stempel { font-size: 12px; } }
.seite .chat { overflow: hidden; }
/* Der erste Abschnitt steht oft schon beim Laden im Bild. Dort hinge die
   Einblendung mitten im Lauf und liesse Knoepfe blass (Kontrastfehler). */
.seite .block:first-of-type > *,
.seite .block:first-of-type .merkmale li { animation: none; }
.seite .block:first-of-type .zeitstrahl li { animation: none; }


/* ════════════════════════════════════════════════════════════════════════════
   Runde 2 (17.11.2026, Leopold): Merkmale lebendiger, Grenzen und Fragen in
   eigener Form, Erstgespraech als Schlussbild, Weiter-Karten statt Zurueck.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Titelbild als Karte mit runden unteren Ecken, kein harter Schnitt ───── */
.seite .held {
  width: calc(100vw - 24px);
  margin-left: calc(50% - 50vw + 12px);
  border-radius: 0 0 34px 34px;
}
@media (max-width: 600px) { .seite .held { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0 0 24px 24px; } }

/* ── „Woran du merkst“: dunkles Bildpanel, Aussagen als Glas-Zettel ──────── */
.seite .block.symptome {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 0;
  margin: clamp(24px, 4vw, 48px) 0;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 32px;
  color: #f5f5f7;
  background:
    linear-gradient(120deg, rgba(6, 12, 34, .92) 20%, rgba(6, 12, 34, .62) 70%, rgba(6, 12, 34, .4)),
    var(--seitenBild, none) center / cover no-repeat,
    var(--dark);
  box-shadow: 0 40px 100px rgba(6, 12, 34, .28);
}
.seite .block.symptome .blockKopf::before { color: #ffb3a8; }
.seite .block.symptome h2 { color: #f5f5f7; max-width: 18ch; }
.seite .block.symptome .merkmale {
  counter-reset: symptom;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 8px;
}
.seite .block.symptome .merkmale li {
  counter-increment: symptom;
  padding: 22px 22px 22px 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  color: rgba(245, 245, 247, .9);
  font-size: 16.5px; line-height: 1.5;
}
.seite .block.symptome .merkmale li::before {
  content: counter(symptom, decimal-leading-zero);
  position: static; display: block;
  width: auto; height: auto; margin-bottom: 10px;
  background: none; border: 0; border-radius: 0;
  font: 800 30px/1 'Cabinet Grotesk', var(--display);
  letter-spacing: -.02em;
  background-image: linear-gradient(90deg, #ff8a7a, #f7a6d0 55%, #4fc3ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seite .block.symptome .merkmale li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.seite .block.symptome .merkmale li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .seite .block.symptome .merkmale li { animation: seiteAuf linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
  }
}
@media (max-width: 600px) { .seite .block.symptome { padding: 28px 20px; border-radius: 24px; } }

/* ── „Wofuer wir nicht die Richtigen sind“: vier ruhige Kacheln ─────────── */
.seite .block.grenzen .nicht {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
}
.seite .block.grenzen .nicht li {
  max-width: none; margin: 0;
  padding: 24px 24px 22px;
  border: 1px solid var(--hairline); border-radius: 22px;
  background: var(--surface);
  color: var(--ink2); font-size: 15.5px; line-height: 1.55;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.seite .block.grenzen .nicht li:last-child { border-bottom: 1px solid var(--hairline); }
.seite .block.grenzen .nicht li::before {
  content: ""; position: static; display: block;
  width: 36px; height: 36px; margin-bottom: 14px;
  border: 0; border-radius: 12px; opacity: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a7a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center/18px no-repeat,
    color-mix(in srgb, #ff8a7a 14%, transparent);
}
.seite .block.grenzen .nicht li strong {
  display: block; margin-bottom: 6px;
  font: 700 clamp(18px, 1.6vw, 20px)/1.25 'Cabinet Grotesk', var(--display); color: var(--ink);
}
.seite .block.grenzen .nicht li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ── Haeufige Fragen: Karten statt Linien, Hinweis links ─────────────────── */
.seite .block.fragen { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.seite .block.fragen:nth-of-type(even) { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.seite .block.fragen:nth-of-type(even) .blockKopf { grid-column: 1; }
.seite .block.fragen:nth-of-type(even) .blockText { grid-column: 2; }
.seite .fragenNoch { margin: 18px 0 0; font-size: 15px; color: var(--ink2); max-width: 30ch; }
.seite .block.fragen .auf {
  border: 1px solid var(--hairline); border-radius: 18px;
  background: var(--surface);
  padding: 0 22px; margin: 0 0 10px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.seite .block.fragen .auf:last-of-type { border-bottom: 1px solid var(--hairline); }
.seite .block.fragen .auf[open] { box-shadow: var(--shadow); border-color: transparent; }
.seite .block.fragen .auf > summary { padding: 20px 0; }
.seite .block.fragen .auf > summary h3 { font-size: clamp(17px, 1.6vw, 19px); }
.seite .block.fragen .auf > summary::after {
  width: 28px; height: 28px; margin: 0; border: 0; transform: none; border-radius: 50%;
  align-self: center;
  background:
    linear-gradient(var(--accent), var(--accent)) center/12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 12px no-repeat,
    color-mix(in srgb, var(--accent) 10%, transparent);
  transition: transform .3s var(--ease);
}
.seite .block.fragen .auf[open] > summary::after { transform: rotate(45deg); }
.seite .block.fragen .aufText { padding-bottom: 20px; color: var(--ink2); }
@media (max-width: 860px) {
  .seite .block.fragen, .seite .block.fragen:nth-of-type(even) { grid-template-columns: 1fr; }
  .seite .block.fragen:nth-of-type(even) .blockKopf, .seite .block.fragen:nth-of-type(even) .blockText { grid-column: 1; }
}

/* ── Erstgespraech: Schlussbild mit dem Seitenbild ───────────────────────── */
.seite .block.schluss {
  position: relative; isolation: isolate; overflow: hidden;
  display: block; text-align: center;
  border-top: 0;
  margin: clamp(30px, 5vw, 64px) 0 0;
  padding: clamp(56px, 8vw, 110px) clamp(22px, 5vw, 64px);
  border-radius: 34px;
  color: rgba(245, 245, 247, .86);
  background:
    radial-gradient(80% 90% at 50% 100%, rgba(79, 195, 234, .22), transparent 70%),
    linear-gradient(180deg, rgba(6, 12, 34, .55), rgba(6, 10, 26, .9)),
    var(--seitenBild, none) center 40% / cover no-repeat,
    var(--dark);
  box-shadow: 0 40px 100px rgba(6, 12, 34, .30);
}
.seite .block.schluss .blockKopf { position: static; }
.seite .block.schluss .blockKopf::before { color: #ffb3a8; }
.seite .block.schluss h2 { color: #f5f5f7; font-size: clamp(34px, 5vw, 64px); letter-spacing: -.03em; }
.seite .block.schluss .blockText { max-width: 640px; margin: 18px auto 0; }
.seite .block.schluss .blockText > p { max-width: none; font-size: clamp(17px, 1.5vw, 19px); }
.seite .block.schluss .cta { justify-content: center; margin-top: 30px; }
.seite .block.schluss .cta a {
  color: #f5f5f7; background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .26);
}
.seite .block.schluss .cta a:first-child { background: #f5f5f7; color: #0b0d14; border-color: #f5f5f7; padding: 15px 32px; font-size: 16.5px; }
.seite .block.schluss .cta a:hover { border-color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.seite .block.schluss a:focus-visible { outline-color: #4fc3ea; }

/* ── Weiterlesen: drei Bildkarten statt Zurueck-Link ─────────────────────── */
.seite .weiter { margin-top: clamp(56px, 8vw, 100px); }
.seite .weiterTitel {
  margin: 0 0 16px; font: 500 12px/1 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.seite .weiterKarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.seite .weiterKarte {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 22px; overflow: hidden;
  background: var(--surface);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.seite .weiterBild { display: block; aspect-ratio: 16 / 8; background: var(--dark) center / cover no-repeat; transition: transform .6s var(--ease); }
.seite .weiterText { display: block; padding: 16px 18px 20px; }
.seite .weiterText b { display: block; font: 700 19px/1.2 'Cabinet Grotesk', var(--display); margin-bottom: 6px; }
.seite .weiterText span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.seite .weiterKarte:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.seite .weiterKarte:hover .weiterBild { transform: scale(1.04); }
.seite .weiterKarte:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.seite .weiterStart { margin: 22px 0 0; font-size: 15px; }
.seite .weiterStart a { text-decoration: none; }
.seite .weiterStart a:hover { text-decoration: underline; }
@media (max-width: 860px) { .seite .weiterKarten { grid-template-columns: 1fr; } .seite .weiterBild { aspect-ratio: 16 / 6; } }

/* ── Demo-Ansichten (Testdaten, gestaltet, nicht das echte System) ───────── */
.seite .demo { margin: clamp(20px, 3vw, 32px) 0; position: relative; container-type: inline-size; }
.seite .demoHinweis {
  display: inline-block; margin-top: 10px;
  font: 500 11px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink2); opacity: .8;
}
.seite .demoFenster {
  border-radius: 20px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 80px rgba(6, 12, 34, .18), 0 2px 0 rgba(255, 255, 255, .4) inset;
}
.seite .demoLeiste {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--ink2);
}
.seite .demoLeiste i { width: 10px; height: 10px; border-radius: 50%; background: #ff8a7a; }
.seite .demoLeiste i:nth-child(2) { background: #f7c96a; } .seite .demoLeiste i:nth-child(3) { background: #7fd39b; }
.seite .demoLeiste span { margin-left: 8px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seite .demoHalt { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 12px; font-weight: 600; color: #2f9e62; white-space: nowrap; }
.seite .demoHalt b { width: 28px; height: 16px; border-radius: 999px; background: #39b875; position: relative; }
.seite .demoHalt b::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.seite .dpLabel { margin: 0 0 8px; font: 500 10.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }

/* Cockpit-Board */
.seite .dcBoard { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); min-height: 250px; }
.seite .dcSpalte h4 { margin: 2px 4px 10px; font: 700 12.5px/1 var(--body); color: var(--ink); display: flex; gap: 6px; align-items: center; }
.seite .dcSpalte h4 small { font-weight: 600; font-size: 11px; color: var(--ink2); background: var(--surface); border: 1px solid var(--hairline); padding: 2px 7px; border-radius: 999px; }
.seite .dcKarte, .seite .dcWanderer {
  padding: 10px 11px; border-radius: 12px; margin-bottom: 8px;
  background: var(--surface); border: 1px solid var(--hairline);
  box-shadow: 0 4px 14px rgba(6, 12, 34, .06);
  font-size: 12px; line-height: 1.35;
}
.seite .dcKarte b, .seite .dcWanderer b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.seite .dcTag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: color-mix(in srgb, var(--ink2) 12%, transparent); color: var(--ink2); }
.seite .dcTag.agent { background: color-mix(in srgb, #4fc3ea 20%, transparent); color: #1f7fa6; }
.seite .dcTag.pruef { background: color-mix(in srgb, #f7a6d0 26%, transparent); color: #a03c74; }
.seite .dcTag.live { background: color-mix(in srgb, #39b875 20%, transparent); color: #2f8a57; }
.seite .dcBalken { display: block; height: 4px; border-radius: 4px; background: var(--hairline); margin-top: 8px; overflow: hidden; }
.seite .dcBalken i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, #ff8a7a, #4fc3ea); }
.seite .dcWanderer {
  position: absolute; left: 14px; bottom: 14px;
  width: calc((100% - 28px - 30px) / 4);
  border-color: #4fc3ea; box-shadow: 0 14px 30px rgba(79, 195, 234, .28);
}
.seite .dcPhase { display: inline-grid; }
.seite .dcPhase > span { grid-area: 1 / 1; opacity: 0; }
.seite .dcPhase > span:first-child { opacity: 1; }
.seite .dcFreigabe {
  position: absolute; right: 14px; bottom: 74px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px 7px 12px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 11.5px;
  box-shadow: 0 10px 24px rgba(6, 12, 34, .25);
  opacity: 0;
}
.seite .dcFreigabe b { font-weight: 600; }
.seite .dcFreigabe span { padding: 4px 10px; border-radius: 999px; background: #39b875; color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes wandern {
    0%, 14% { transform: translateX(0) }
    22%, 36% { transform: translateX(calc(100% + 10px)) }
    44%, 70% { transform: translateX(calc(200% + 20px)) }
    80%, 96% { transform: translateX(calc(300% + 30px)) }
    100% { transform: translateX(calc(300% + 30px)); opacity: 0 }
  }
  @keyframes phase1 { 0%, 18% { opacity: 1 } 22%, 100% { opacity: 0 } }
  @keyframes phase2 { 0%, 18% { opacity: 0 } 22%, 40% { opacity: 1 } 44%, 100% { opacity: 0 } }
  @keyframes phase3 { 0%, 40% { opacity: 0 } 44%, 76% { opacity: 1 } 80%, 100% { opacity: 0 } }
  @keyframes phase4 { 0%, 76% { opacity: 0 } 80%, 100% { opacity: 1 } }
  @keyframes freigabe { 0%, 50% { opacity: 0; transform: translateY(8px) } 54%, 72% { opacity: 1; transform: none } 76%, 100% { opacity: 0; transform: translateY(-6px) } }
  @keyframes knopfDruck { 0%, 64% { transform: none } 67% { transform: scale(.9) } 70%, 100% { transform: none } }
  .seite .dcWanderer { animation: wandern 10s var(--ease) infinite; }
  .seite .dcPhase > span { animation: 10s infinite both; }
  .seite .dcPhase > span:nth-child(1) { animation-name: phase1; }
  .seite .dcPhase > span:nth-child(2) { animation-name: phase2; }
  .seite .dcPhase > span:nth-child(3) { animation-name: phase3; }
  .seite .dcPhase > span:nth-child(4) { animation-name: phase4; }
  .seite .dcFreigabe { animation: freigabe 10s var(--ease) infinite; }
  .seite .dcFreigabe span { animation: knopfDruck 10s infinite; }
  .seite .dcBalken i { animation: balken 3s ease-in-out infinite alternate; }
  @keyframes balken { from { width: 25% } to { width: 85% } }
}
@container (max-width: 620px) {
  .seite .dcBoard { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; }
  .seite .dcKarte:nth-child(n+3) { display: none; }
  .seite .dcKarte, .seite .dcWanderer { font-size: 10.5px; padding: 8px; }
  .seite .dcTag { font-size: 9.5px; padding: 2px 6px; }
  .seite .dcWanderer { left: 10px; bottom: 10px; width: calc((100% - 20px - 18px) / 4); }
  .seite .dcFreigabe { right: 10px; bottom: 64px; font-size: 10px; }
  .seite .demoHalt { display: none; }
}
@media (max-width: 600px) { .seite .dcFreigabe b { display: none; } }

/* Kundenportal */
.seite .dpInnen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; padding: 16px; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.seite .dpSchritte { display: flex; gap: 6px; margin-bottom: 16px; }
.seite .dpSchritte span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; font-size: 11.5px; font-weight: 600; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink2); }
.seite .dpSchritte .ok { background: color-mix(in srgb, #39b875 16%, var(--surface)); color: #2f8a57; border-color: transparent; }
.seite .dpSchritte .an { background: var(--accent); color: var(--bg); border-color: transparent; }
.seite .dpWunsch { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 12px; }
.seite .dpZeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--ink); }
.seite .dpZeile:first-of-type { border-top: 0; }
.seite .dpZeile em, .seite .dsZeile em, .seite .drPost em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, #f7c96a 30%, transparent); color: #8a6512; white-space: nowrap; }
.seite em.ok { background: color-mix(in srgb, #39b875 18%, transparent); color: #2f8a57; }
.seite .dpWechsel, .seite .dsWechsel, .seite .drWechsel { display: inline-grid !important; }
.seite .dpWechsel > span, .seite .dsWechsel > span, .seite .drWechsel > span { grid-area: 1 / 1; }
.seite .dpWechsel > span:last-child, .seite .dsWechsel > span:last-child, .seite .drWechsel > span:last-child { opacity: 0; }
.seite .dpVorschau { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.seite .dpMini { flex: 1; min-height: 110px; border-radius: 10px; background: var(--dark) center / cover no-repeat; position: relative; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.seite .dpMini span { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .85); width: 60%; }
.seite .dpMini span:nth-child(2) { width: 40%; opacity: .6; } .seite .dpMini span:nth-child(3) { width: 26%; height: 14px; border-radius: 999px; background: #fff; }
.seite .dpKnopf { margin-top: 12px; display: grid; text-align: center; padding: 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px; }
.seite .dpKnopf > span { grid-area: 1 / 1; }
.seite .dpKnopf > span:last-child { opacity: 0; }
@container (max-width: 560px) { .seite .dpInnen { grid-template-columns: 1fr; } .seite .dpMini { min-height: 90px; } }

/* SURA-Tablet */
.seite .dsTablet {
  max-width: 640px; margin: 0 auto; padding: 18px;
  border-radius: 28px; background: #10131c; box-shadow: 0 30px 80px rgba(6, 12, 34, .3);
  border: 1px solid rgba(255, 255, 255, .1);
}
.seite .dsTablet > * { background: #f7f8fb; color: #1d1d1f; }
.seite .dsKopf { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 8px; border-radius: 14px 14px 0 0; }
.seite .dsKopf b { font: 800 20px/1 'Cabinet Grotesk', var(--display); }
.seite .dsKopf span { font-size: 12px; color: #5b6070; }
.seite .dsFilter { display: flex; gap: 6px; padding: 6px 18px 12px; flex-wrap: wrap; }
.seite .dsFilter span { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #e9ecf3; color: #5b6070; }
.seite .dsFilter .an { background: #00456f; color: #fff; }
.seite .dsListe { padding: 0 12px 12px; border-radius: 0 0 14px 14px; }
.seite .dsZeile { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 10px; margin-top: 6px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(6, 12, 34, .05); }
.seite .dsZeile i { width: 10px; height: 34px; border-radius: 6px; background: var(--f); }
.seite .dsZeile b { display: block; font-size: 13.5px; }
.seite .dsZeile small { display: block; font-size: 12px; color: #5b6070; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seite .dsZeile em.neu { background: rgba(255, 138, 122, .2); color: #b04a3c; }
.seite .dsZeile em.pruef, .seite .dsWechsel > span:first-child { color: #8a6512; }
.seite .dsZeile em.ok { background: rgba(57, 184, 117, .18); color: #2f8a57; }

/* Dokument */
.seite .ddFlaeche { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(16px, 3vw, 28px); border-radius: 22px; background: radial-gradient(70% 90% at 0% 0%, rgba(79, 195, 234, .16), transparent 70%), color-mix(in srgb, var(--bg) 60%, var(--surface)); border: 1px solid var(--hairline); }
.seite .ddBlatt { position: relative; overflow: hidden; aspect-ratio: 3 / 4; max-width: 260px; justify-self: center; width: 100%; padding: 20px 18px; border-radius: 10px; background: #fff; box-shadow: 0 24px 50px rgba(6, 12, 34, .2); transform: rotate(-2deg); }
.seite .ddBlatt b { display: block; font: 800 15px/1 'Cabinet Grotesk', var(--display); color: #1d1d1f; margin-bottom: 16px; }
.seite .ddBlatt i { display: block; height: 7px; border-radius: 4px; background: #e3e6ee; margin-bottom: 12px; }
.seite .ddBlatt .l1 { width: 70% } .seite .ddBlatt .l2 { width: 45% } .seite .ddBlatt .l3 { width: 85% } .seite .ddBlatt .l4 { width: 60% } .seite .ddBlatt .l5 { width: 78% } .seite .ddBlatt .l6 { width: 35% }
.seite .ddScan { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, transparent, rgba(79, 195, 234, .45), transparent); border-bottom: 2px solid #4fc3ea; }
.seite .ddFormular { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 16px; box-shadow: 0 20px 50px rgba(6, 12, 34, .12); }
.seite .ddFormular label { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 4px 10px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; }
.seite .ddFormular label > span { color: var(--ink2); }
.seite .ddFormular label em { font-style: normal; font-weight: 600; color: var(--ink); padding: 6px 10px; border-radius: 8px; background: color-mix(in srgb, var(--bg) 60%, var(--surface)); white-space: nowrap; overflow: hidden; }
.seite .ddFormular .unsicher em { box-shadow: 0 0 0 2px #f7c96a inset; }
.seite .ddFormular .unsicher small { grid-column: 2; font-size: 10.5px; font-weight: 700; color: #8a6512; }
.seite .ddKnopf { display: block; margin-top: 12px; text-align: center; padding: 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px; }
@container (max-width: 560px) { .seite .ddFlaeche { grid-template-columns: 1fr; } .seite .ddBlatt { max-width: 180px; } .seite .ddFormular label { grid-template-columns: 1fr; } .seite .ddFormular .unsicher small { grid-column: 1; } }

/* Redaktionsplan */
.seite .drWoche { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px; background: color-mix(in srgb, var(--bg) 70%, var(--surface)); min-height: 200px; }
.seite .drWoche h4 { margin: 0 0 8px; font: 700 12px/1 var(--body); color: var(--ink2); text-align: center; }
.seite .drPost { padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hairline); border-top: 4px solid var(--k); font-size: 11.5px; line-height: 1.35; box-shadow: 0 4px 14px rgba(6, 12, 34, .06); }
.seite .drPost b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
@container (max-width: 560px) { .seite .drWoche { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 8px; } .seite .drPost { font-size: 9.5px; padding: 6px; } .seite .drPost em { font-size: 8.5px; padding: 2px 5px; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes wechselAlt { 0%, 45% { opacity: 1 } 50%, 95% { opacity: 0 } 100% { opacity: 1 } }
  @keyframes wechselNeu { 0%, 45% { opacity: 0 } 50%, 95% { opacity: 1 } 100% { opacity: 0 } }
  .seite .dpWechsel > span:first-child, .seite .dsWechsel > span:first-child, .seite .drWechsel > span:first-child, .seite .dpKnopf > span:first-child { animation: wechselAlt 6s infinite; }
  .seite .dpWechsel > span:last-child, .seite .dsWechsel > span:last-child, .seite .drWechsel > span:last-child, .seite .dpKnopf > span:last-child { animation: wechselNeu 6s infinite; }
  .seite .dpKnopf { animation: knopfFarbe 6s infinite; }
  @keyframes knopfFarbe { 0%, 45% { background: var(--accent) } 50%, 95% { background: #39b875 } 100% { background: var(--accent) } }
  .seite .ddScan { animation: ddScan 3.4s ease-in-out infinite; }
  @keyframes ddScan { 0% { transform: translateY(-30px) } 60% { transform: translateY(330px) } 100% { transform: translateY(330px) } }
  .seite .ddFormular em { animation: fuellen 3.4s steps(18) infinite; }
  .seite .ddFormular .f2 { animation-delay: .25s } .seite .ddFormular .f3 { animation-delay: .5s } .seite .ddFormular .f4 { animation-delay: .75s }
  @keyframes fuellen { 0%, 10% { color: transparent } 30%, 100% { color: var(--ink) } }
}

/* Zwei Demos nebeneinander mit kurzem Text darunter */
.seite .demoPaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin-top: 18px; }
.seite .demoKarte h3 { margin: 14px 0 6px; font-size: clamp(19px, 1.8vw, 22px); }
.seite .demoKarte p { margin: 0; color: var(--ink2); font-size: 15.5px; }
.seite .demoKarte .demo { margin: 0; }
.seite .probierFlaeche {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; align-items: flex-start;
  min-height: 260px; margin-bottom: 25px; padding: clamp(22px, 3vw, 34px);
  border-radius: 20px; color: rgba(245, 245, 247, .82);
  background: linear-gradient(160deg, rgba(6, 12, 34, .55), rgba(6, 10, 26, .88)), var(--seitenBild, none) center / cover no-repeat, var(--dark);
}
.seite .probierFlaeche b { color: #f5f5f7; font: 800 clamp(20px, 2.2vw, 26px)/1.12 'Cabinet Grotesk', var(--display); }
.seite .probierFlaeche span { font-size: 15px; line-height: 1.55; }
.seite .probierFlaeche .knopfGross { background: #f5f5f7; color: #0b0d14; }
@media (max-width: 860px) { .seite .demoPaar { grid-template-columns: 1fr; } }

/* Leopold 17.11.: Ueberschriften im Kopf zu gross im Verhaeltnis zum Rest. */
.seite .held h1, .seite .held.links h1 { font-size: clamp(30px, 3.9vw, 52px); line-height: 1.04; letter-spacing: -.028em; max-width: 20ch; }
.seite .held { min-height: min(74svh, 680px); }
.seite .heldInnen { padding-top: 130px; }
.seite .held.links .heldInnen { grid-template-columns: minmax(0, 600px); }
.seite .block.schluss h2 { font-size: clamp(30px, 4vw, 50px); }

/* ── Runde 2b: Ruhigeres Raster ───────────────────────────────────────────
   Keine gespiegelten Abschnitte mehr (Überschrift rechts las sich verkehrt),
   kurze Ein-Absatz-Abschnitte werden zur Aussage, Kartenraster ohne Waisen. */
@media (min-width: 861px) {
  .seite .block:nth-of-type(even):not(.breit) { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .seite .block:nth-of-type(even):not(.breit) .blockKopf { grid-column: 1; grid-row: 1; }
  .seite .block:nth-of-type(even):not(.breit) .blockText { grid-column: 2; grid-row: 1; }
}
.seite .block .blockText > p:only-child {
  font-size: clamp(19px, 1.75vw, 24px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: pretty;
}
@media (min-width: 901px) {
  .seite .bausteine:has(> .baustein:nth-child(3):last-child) > .baustein,
  .seite .bausteine:has(> .baustein:nth-child(6):last-child) > .baustein { grid-column: span 2; }
  .seite .bausteine:has(> .baustein:nth-child(4):last-child) > .baustein { grid-column: span 3; }
}
/* Demo-Etiketten lesbar in hell und dunkel: Farbton mit der Textfarbe mischen */
.seite .dcTag.agent { color: color-mix(in srgb, #1f8fbf 62%, var(--ink)); }
.seite .dcTag.pruef { color: color-mix(in srgb, #c2468a 62%, var(--ink)); }
.seite .dcTag.live  { color: color-mix(in srgb, #2f9a5f 62%, var(--ink)); }
/* Ohne Bewegung steht die wandernde Karte nicht auf einer anderen */
@media (prefers-reduced-motion: reduce) { .seite .dcWanderer { display: none; } }

/* ══ Websites-Seite: Technik-Karten, Stil-Umschalter, Prüfstand ═══════════ */
.seite .wsMini {
  position: relative; height: 120px; margin-bottom: 10px; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px;
  background:
    radial-gradient(80% 120% at 30% 0%, rgba(79, 195, 234, .18), transparent 70%),
    radial-gradient(70% 100% at 90% 100%, rgba(255, 138, 122, .16), transparent 70%),
    var(--bg);
  font-size: 12px; color: var(--ink2);
}
.seite .wsKarten .baustein.gross .wsMini { height: 150px; }
/* Maschinen lesen: leer vs. voll */
.seite .wsFenster {
  flex: 1; max-width: 240px; height: 100%; padding: 10px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
}
.seite .wsFenster small { font: 600 10px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.seite .wsFenster code { font: 11px/1.3 ui-monospace, monospace; color: var(--ink); overflow-wrap: anywhere; }
.seite .wsFenster { min-width: 0; }
.seite .wsKarten .baustein { min-width: 0; }
.seite .wsFenster i { display: block; height: 6px; border-radius: 3px; background: var(--accent); opacity: .55; transform-origin: 0 50%; }
.seite .wsFenster i:nth-of-type(2) { width: 80%; } .seite .wsFenster i:nth-of-type(3) { width: 60%; }
.seite .wsFenster span { margin-top: auto; font-weight: 600; font-size: 11px; }
.seite .wsLeer { color: #d0566a; } .seite .wsVoll { color: color-mix(in srgb, #2f9a5f 62%, var(--ink)); }
/* Umleitung */
.seite .wsUmleitung { flex-wrap: wrap; font: 600 12px/1 ui-monospace, monospace; }
.seite .wsAlt, .seite .wsNeu { padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); }
.seite .wsNeu { border-color: color-mix(in srgb, #2f9a5f 50%, transparent); }
.seite .wsPfeil { position: relative; width: 46px; height: 2px; background: var(--accent); }
.seite .wsPfeil::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--accent); border-right: 0; }
.seite .wsCode { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); padding: 2px 6px; border-radius: 999px; font-size: 10px; background: color-mix(in srgb, #2f9a5f 18%, var(--surface)); color: color-mix(in srgb, #2f9a5f 62%, var(--ink)); }
.seite .wsFehler { position: absolute; right: 16px; bottom: 12px; padding: 3px 7px; border-radius: 999px; font-size: 10px; background: color-mix(in srgb, #d0566a 16%, var(--surface)); color: color-mix(in srgb, #d0566a 70%, var(--ink)); opacity: 0; }
/* Sprachen */
.seite .wsSprachen { flex-direction: column; gap: 12px; }
.seite .wsReiter { display: flex; gap: 6px; }
.seite .wsReiter b { padding: 4px 9px; border-radius: 999px; font-size: 10.5px; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink2); }
.seite .wsReiter b:first-child { background: var(--accent); border-color: transparent; color: #fff; }
.seite .wsSatz { display: grid; width: min(220px, 100%); padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hairline); font-size: 15px; font-weight: 600; color: var(--ink); }
.seite .wsSatz > span { grid-area: 1 / 1; opacity: 0; }
.seite .wsSatz > .s1 { opacity: 1; }
.seite .wsSatz > .s3 { text-align: right; font-family: system-ui, sans-serif; }
/* Zeichensatz */
.seite .wsZeichen { flex-direction: column; gap: 12px; }
.seite .wsKopfzeile { padding: 4px 9px; border-radius: 6px; font: 600 10.5px/1 ui-monospace, monospace; background: color-mix(in srgb, #2f9a5f 16%, var(--surface)); color: color-mix(in srgb, #2f9a5f 62%, var(--ink)); opacity: 0; }
.seite .wsWort { display: grid; font-size: 16px; font-weight: 600; color: var(--ink); }
.seite .wsWort > span { grid-area: 1 / 1; text-align: center; }
.seite .wsWort .kaputt { color: #d0566a; }
.seite .wsWort .heil { opacity: 0; }
/* Tastatur */
.seite .wsTastatur { flex-wrap: wrap; align-content: center; }
.seite .wsTaste { position: absolute; left: 12px; top: 12px; padding: 4px 8px; border-radius: 6px; font: 600 10px/1 ui-monospace, monospace; background: var(--surface); border: 1px solid var(--hairline); box-shadow: 0 2px 0 var(--hairline); color: var(--ink); }
.seite .wsFeld, .seite .wsKnopf { padding: 8px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--hairline); font-size: 11.5px; outline: 2px solid transparent; outline-offset: 2px; }
.seite .wsKnopf { background: var(--accent); color: #fff; border-color: transparent; font-weight: 600; }
.seite .wsTastatur .f1 { outline-color: #4fc3ea; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes wsFuellen { 0%, 15% { transform: scaleX(0) } 45%, 85% { transform: scaleX(1) } 100% { transform: scaleX(0) } }
  .seite .wsFenster.an i { animation: wsFuellen 4s var(--ease) infinite; }
  .seite .wsFenster.an i:nth-of-type(2) { animation-delay: .2s; } .seite .wsFenster.an i:nth-of-type(3) { animation-delay: .4s; }
  @keyframes wsAlt { 0%, 20% { opacity: 1 } 30%, 100% { opacity: 1 } }
  @keyframes wsNeu { 0%, 30% { opacity: .25; transform: translateX(-8px) } 45%, 90% { opacity: 1; transform: none } 100% { opacity: .25 } }
  @keyframes wsPfeil { 0%, 25% { transform: scaleX(0) } 40%, 90% { transform: scaleX(1) } 100% { transform: scaleX(0) } }
  @keyframes wsFehler { 0%, 22% { opacity: 1 } 30%, 100% { opacity: 0 } }
  .seite .wsPfeil { transform-origin: 0 50%; animation: wsPfeil 4.2s var(--ease) infinite; }
  .seite .wsNeu { animation: wsNeu 4.2s var(--ease) infinite; }
  .seite .wsFehler { animation: wsFehler 4.2s linear infinite; }
  @keyframes wsS1 { 0%, 28% { opacity: 1 } 33%, 95% { opacity: 0 } 100% { opacity: 1 } }
  @keyframes wsS2 { 0%, 28% { opacity: 0 } 33%, 61% { opacity: 1 } 66%, 100% { opacity: 0 } }
  @keyframes wsS3 { 0%, 61% { opacity: 0 } 66%, 95% { opacity: 1 } 100% { opacity: 0 } }
  @keyframes wsR1 { 0%, 28% { background: var(--accent); color: #fff } 33%, 95% { background: var(--surface); color: var(--ink2) } 100% { background: var(--accent); color: #fff } }
  @keyframes wsR2 { 0%, 28% { background: var(--surface); color: var(--ink2) } 33%, 61% { background: var(--accent); color: #fff } 66%, 100% { background: var(--surface); color: var(--ink2) } }
  @keyframes wsR3 { 0%, 61% { background: var(--surface); color: var(--ink2) } 66%, 95% { background: var(--accent); color: #fff } 100% { background: var(--surface); color: var(--ink2) } }
  .seite .wsSatz .s1 { animation: wsS1 7.5s infinite; } .seite .wsSatz .s2 { animation: wsS2 7.5s infinite; } .seite .wsSatz .s3 { animation: wsS3 7.5s infinite; }
  .seite .wsReiter b:nth-child(1) { animation: wsR1 7.5s infinite; } .seite .wsReiter b:nth-child(2) { animation: wsR2 7.5s infinite; } .seite .wsReiter b:nth-child(3) { animation: wsR3 7.5s infinite; }
  @keyframes wsKaputt { 0%, 35% { opacity: 1 } 45%, 90% { opacity: 0 } 100% { opacity: 1 } }
  @keyframes wsHeil { 0%, 35% { opacity: 0; transform: scale(.96) } 45%, 90% { opacity: 1; transform: none } 100% { opacity: 0 } }
  @keyframes wsKopf { 0%, 20% { opacity: 0; transform: translateY(-6px) } 30%, 90% { opacity: 1; transform: none } 100% { opacity: 0 } }
  .seite .wsWort .kaputt { animation: wsKaputt 4.4s var(--ease) infinite; }
  .seite .wsWort .heil { animation: wsHeil 4.4s var(--ease) infinite; }
  .seite .wsKopfzeile { animation: wsKopf 4.4s var(--ease) infinite; }
  @keyframes wsF1 { 0%, 30% { outline-color: #4fc3ea } 33%, 100% { outline-color: transparent } }
  @keyframes wsF2 { 0%, 30% { outline-color: transparent } 33%, 63% { outline-color: #4fc3ea } 66%, 100% { outline-color: transparent } }
  @keyframes wsF3 { 0%, 63% { outline-color: transparent } 66%, 96% { outline-color: #4fc3ea } 100% { outline-color: transparent } }
  @keyframes wsTaste { 0%, 28%, 33%, 61%, 66%, 94%, 100% { transform: none; box-shadow: 0 2px 0 var(--hairline) } 30%, 63%, 96% { transform: translateY(2px); box-shadow: none } }
  .seite .wsTastatur .f1 { animation: wsF1 4.5s steps(1) infinite; } .seite .wsTastatur .f2 { animation: wsF2 4.5s steps(1) infinite; } .seite .wsTastatur .f3 { animation: wsF3 4.5s steps(1) infinite; }
  .seite .wsTaste { animation: wsTaste 4.5s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .seite .wsFehler, .seite .wsWort .kaputt { display: none; }
  .seite .wsWort .heil, .seite .wsKopfzeile { opacity: 1; }
}

/* ── Stil-Umschalter: eine Test-Bäckerei, drei echte Richtungen ─────────── */
.seite .demoStile { margin: 0; }
.seite .dsWahl { display: flex; gap: 8px; justify-content: center; margin: 0 0 18px; padding: 0; border: 0; }
.seite .dsWahl legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seite .dsWahl label { position: relative; cursor: pointer; }
.seite .dsWahl input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seite .dsWahl span {
  display: inline-block; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.seite .dsWahl label:hover span { transform: translateY(-1px); }
.seite .dsWahl input:checked + span { background: var(--ink); color: var(--bg); border-color: transparent; }
.seite .dsWahl input:focus-visible + span { outline: 2px solid #4fc3ea; outline-offset: 3px; }
.seite .stFenster { border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow); background: var(--surface); }
.seite .stBuehne { display: grid; container-type: inline-size; }
.seite .stV {
  grid-area: 1 / 1; min-width: 0; overflow: hidden;
  opacity: 0; visibility: hidden; transform: scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.seite .demoStile:has(input[value="ruhig"]:checked) .stRuhig,
.seite .demoStile:has(input[value="edel"]:checked) .stEdel,
.seite .demoStile:has(input[value="verspielt"]:checked) .stVerspielt { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Ruhig: Magazin. Serifen, viel Luft, Preisliste mit Punktlinie */
.seite .stRuhig { background: #f4efe6; color: #2f2620; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; padding: 22px clamp(18px, 4cqi, 46px) clamp(22px, 4cqi, 40px); }
.seite .rKopf { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(47, 38, 32, .18); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.seite .rKopf span:nth-child(4), .seite .rKopf span:nth-child(5) { text-align: right; }
.seite .rKopf b { display: grid; justify-items: center; font-size: 26px; font-weight: 400; letter-spacing: .02em; text-transform: none; font-style: italic; }
.seite .rKopf b small { font-size: 9.5px; font-style: normal; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.seite .rHeld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(18px, 4cqi, 48px); align-items: center; padding-top: clamp(18px, 3.5cqi, 38px); }
.seite .rText > small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #8a6a4a; margin-bottom: 14px; }
.seite .rTitel { margin: 0 0 14px; font-size: clamp(30px, 6.4cqi, 66px); line-height: .98; font-weight: 400; letter-spacing: -.02em; }
.seite .rTitel em { font-style: italic; color: #8a5a32; }
.seite .rUnter { margin: 0 0 22px; font-size: 15px; line-height: 1.6; max-width: 32ch; opacity: .8; }
.seite .rKarte { list-style: none; margin: 0 0 18px; padding: 0; font-size: 15px; }
.seite .rKarte li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; }
.seite .rKarte i { flex: 1; border-bottom: 1px dotted rgba(47, 38, 32, .4); transform: translateY(-4px); }
.seite .rLink { font-size: 14px; font-style: italic; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.seite .rBild { aspect-ratio: 5 / 4; background: #e6dccd center / cover no-repeat; border-radius: 2px; box-shadow: 0 30px 60px -30px rgba(47, 38, 32, .45); }

/* Edel: dunkel wie ein Kinobild. Foto über die ganze Fläche, Glaskarte, Gold */
.seite .stEdel {
  position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  min-height: clamp(340px, 48cqi, 480px); padding: 20px clamp(18px, 3.5cqi, 38px) clamp(20px, 3.5cqi, 34px);
  background: #0c0b0a; color: #f3ede4; font-family: "Cabinet Grotesk", system-ui, sans-serif;
}
.seite .eBild { position: absolute; inset: 0; z-index: -1; background: #0c0b0a center right / cover no-repeat; }
.seite .eBild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 11, 10, .92) 0%, rgba(12, 11, 10, .55) 42%, transparent 70%), linear-gradient(0deg, rgba(12, 11, 10, .7), transparent 40%); }
.seite .eKopf { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 500; color: rgba(243, 237, 228, .78); }
.seite .eKopf b { margin-right: auto; font-size: 15px; font-weight: 700; letter-spacing: .38em; color: #f3ede4; }
.seite .eKnopf { padding: 8px 16px; border: 1px solid rgba(214, 170, 96, .7); border-radius: 999px; color: #e7c588; }
.seite .eText { align-self: end; max-width: 30ch; }
.seite .eText small { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #d6aa60; }
.seite .eTitel { margin: 0 0 18px; font-size: clamp(36px, 7.4cqi, 82px); line-height: .96; font-weight: 500; letter-spacing: -.04em; }
.seite .eTitel > span { display: block; }
.seite .eTitel em { font-style: normal; background: linear-gradient(100deg, #f6dca6, #d6aa60 55%, #a8772f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seite .eLink { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(243, 237, 228, .4); padding-bottom: 3px; }
.seite .eGlas {
  justify-self: end; width: min(100%, 290px); padding: 16px 18px; border-radius: 16px;
  background: rgba(20, 18, 16, .5); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.seite .eOffen { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 500; color: rgba(243, 237, 228, .8); }
.seite .eOffen i { width: 7px; height: 7px; border-radius: 50%; background: #6fd39a; box-shadow: 0 0 0 0 rgba(111, 211, 154, .6); }
.seite .eGlas ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.seite .eGlas li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.seite .eGlas li span:last-child { color: #e7c588; font-variant-numeric: tabular-nums; }

/* Verspielt: weich, rosa und mint, Aufkleber, handgemalte Linie */
.seite .stVerspielt {
  color: #3d1d35; font-family: "Cabinet Grotesk", system-ui, sans-serif;
  background: radial-gradient(55% 70% at 100% 0%, #c9f3e3, transparent 62%), radial-gradient(45% 60% at 0% 100%, #fff0b3, transparent 60%), #ffe4ec;
  padding: 18px clamp(16px, 3.5cqi, 36px) clamp(20px, 4cqi, 36px);
}
.seite .vKopf { display: flex; align-items: center; gap: 18px; }
.seite .vKopf b { position: relative; font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-right: auto; }
.seite .vKopf b i { position: absolute; right: -10px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: #ff4f87; }
.seite .vMenue { display: flex; gap: 16px; font-size: 14px; font-weight: 600; }
.seite .vKnopf { padding: 9px 16px; border-radius: 999px; background: #ffd23f; border: 2px solid #3d1d35; box-shadow: 3px 3px 0 #3d1d35; font-weight: 800; font-size: 14px; }
.seite .vHeld { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3cqi, 34px); align-items: center; padding-top: clamp(16px, 3cqi, 30px); }
.seite .vTitel { margin: 0 0 14px; font-size: clamp(32px, 6.6cqi, 70px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.seite .vTitel > span { position: relative; display: inline-block; color: #ff4f87; }
.seite .vTitel svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .28em; overflow: visible; }
.seite .vTitel path { fill: none; stroke: #ffd23f; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.seite .vUnter { margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; max-width: 32ch; font-weight: 500; }
.seite .vKarten { display: flex; flex-wrap: wrap; gap: 10px; }
.seite .vKarten > span { display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 2px solid #3d1d35; box-shadow: 3px 3px 0 #3d1d35; font-size: 14px; }
.seite .vKarten em { font-style: normal; font-weight: 800; color: #ff4f87; }
.seite .vKarten .c1 { transform: rotate(-2deg); } .seite .vKarten .c2 { transform: rotate(1.5deg); background: #c9f3e3; } .seite .vKarten .c3 { transform: rotate(-1deg); background: #fff0b3; }
.seite .vBildRahmen { position: relative; width: min(100%, 400px); justify-self: center; }
.seite .vBild { aspect-ratio: 1; background: #c9f3e3 center / cover no-repeat; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; border: 3px solid #3d1d35; box-shadow: 8px 8px 0 #3d1d35; }
.seite .vSticker {
  position: absolute; left: -10px; top: 8%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: #ff4f87; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.05; text-align: center; transform: rotate(-12deg);
  border: 2px solid #3d1d35;
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes stZoom { from { transform: scale(1) } to { transform: scale(1.09) translateX(-1.5%) } }
  .seite .demoStile:has(input[value="edel"]:checked) .eBild { animation: stZoom 14s ease-out both; }
  @keyframes stHoch { from { opacity: 0; transform: translateY(.5em) } }
  .seite .demoStile:has(input[value="edel"]:checked) .eTitel > span { animation: stHoch .8s var(--ease) both; }
  .seite .demoStile:has(input[value="edel"]:checked) .eTitel > span + span { animation-delay: .14s; }
  .seite .demoStile:has(input[value="edel"]:checked) .eGlas { animation: stHoch .8s .3s var(--ease) both; }
  @keyframes stPuls { 70% { box-shadow: 0 0 0 7px rgba(111, 211, 154, 0) } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 154, 0) } }
  .seite .eOffen i { animation: stPuls 2s ease-out infinite; }
  @keyframes stWackeln { 0%, 100% { transform: rotate(-12deg) } 50% { transform: rotate(-4deg) scale(1.05) } }
  .seite .vSticker { animation: stWackeln 2.6s ease-in-out infinite; }
  @keyframes stZeichnen { from { stroke-dashoffset: 1 } to { stroke-dashoffset: 0 } }
  .seite .stVerspielt .vTitel path { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .seite .demoStile:has(input[value="verspielt"]:checked) .vTitel path { animation: stZeichnen .9s .35s var(--ease) both; }
}
@container (max-width: 600px) {
  .seite .rKopf { grid-template-columns: 1fr; justify-items: center; }
  .seite .rKopf > span { display: none; }
  .seite .rHeld, .seite .vHeld { grid-template-columns: 1fr; }
  .seite .rBild { aspect-ratio: 16 / 10; order: -1; }
  .seite .eKopf > span:not(.eKnopf) { display: none; }
  .seite .eGlas { justify-self: stretch; width: auto; }
  .seite .eBild { background-position: 70% center; }
  .seite .vMenue { display: none; }
  .seite .vBildRahmen { max-width: 260px; justify-self: center; order: -1; }
  .seite .vText { order: 1; }
}

/* ── Prüfstand: drei Tachos ──────────────────────────────────────────────── */
.seite .pruefstand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.seite .tacho {
  position: relative; margin: 0; padding: 26px 20px 22px; border-radius: 22px; text-align: center;
  background: linear-gradient(160deg, rgba(6, 12, 34, .55), rgba(6, 10, 26, .9)), var(--seitenBild, none) center / cover no-repeat, var(--dark);
  color: #f5f5f7; overflow: hidden;
}
.seite .tacho svg { display: block; width: min(150px, 70%); margin: 0 auto; transform: rotate(-90deg); }
.seite .tachoSpur { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 9; }
.seite .tachoWert { fill: none; stroke: #4fc3ea; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--wert)); filter: drop-shadow(0 0 6px rgba(79, 195, 234, .6)); }
.seite .tacho:nth-child(2) .tachoWert { stroke: #7ee0b5; filter: drop-shadow(0 0 6px rgba(126, 224, 181, .55)); }
.seite .tacho:nth-child(3) .tachoWert { stroke: #ff8a7a; filter: drop-shadow(0 0 6px rgba(255, 138, 122, .55)); }
.seite .tacho { display: grid; justify-items: center; }
.seite .tacho svg, .seite .tachoZahl { grid-area: 1 / 1; }
.seite .tachoZahl { position: static; align-self: center; font: 700 clamp(32px, 3.6vw, 44px)/1 'Cabinet Grotesk', system-ui, sans-serif; letter-spacing: -.03em; }
.seite .tachoWas { margin-top: 12px; font-weight: 600; font-size: 15px; color: rgba(245, 245, 247, .85); }
.seite .pruefHinweis { max-width: none; margin: 12px 0 28px; font-size: 13px; color: var(--ink2); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    @keyframes tachoAuf { from { stroke-dashoffset: 100 } to { stroke-dashoffset: calc(100 - var(--wert)) } }
    .seite .tachoWert { animation: tachoAuf linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  }
}
@media (max-width: 700px) {
  .seite .pruefstand { grid-template-columns: 1fr; }
  .seite .tacho { grid-template-columns: 110px 1fr; text-align: left; align-items: center; gap: 0 18px; padding: 18px; }
  .seite .tacho svg { width: 110px; grid-area: 1 / 1 / 3 / 2; }
  .seite .tachoZahl { grid-area: 1 / 1 / 3 / 2; justify-self: center; font-size: 30px; }
  .seite .tachoWas { grid-area: 1 / 2 / 3 / 3; margin: 0; }
}
