/* marian-bangel.de · Farben Navy, Steel, Silver; Schriften IBM Plex Sans, JetBrains Mono.

   Leitmotiv: die drei Balken des Logos im Verhältnis 8 : 16 : 9. Im Auftakt bauen
   die Antworten sie zusammen; danach kehren sie als Kapitelmarke auf jeder Trennlinie,
   als Zeitstrahl, als Glyphe für „Auswahl ändern“ und im Fuß wieder.

   Ein Akzent: Steel. Kein Verlauf, kein Schatten. Nur hell, Grundfläche „Papier“ (fast weiß,
   ein Neutralton); weiße Flächen setzen sich mit einer Haarlinie ab.
   Klickbar heißt: Rand in Steel oder Füllung in Navy, Zeiger, Zustand beim
   Darüberfahren, Fokusring. Was nicht klickbar ist, hat keinen Rand, keinen Pfeil
   und keinen Zustand. Bewegung, die von selbst startet, ruht nach höchstens 5 s. */

@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Marke */
  --navy: #16273A; --steel: #4F7FA6; --silver: #B7C4D2;
  /* Funktionale Neutraltöne */
  --ink: #1F2A37; --muted: #6B7785; --panel: #F2F5F8; --line: #DCE3EA; --stlt: #8FAAC4; --weiss: #FFFFFF;
  /* Grundfläche „Papier“ (Marians Wahl vom 26.10. aus fünf Farbkonzepten): fast
     weiß, Navy wie Tinte, Steel nur als Akzent. Weiße Tafeln setzen sich nur
     mit einer Haarlinie ab (--trenner). Kleiner leiser Text --leise: 6,33 : 1. */
  --grund: #FAFAF8; --leise: #525E6C; --trenner: #E2E5E9;
  --fehler: #B3261E;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  /* Raster: zwölf Spalten in einer Hülle von höchstens 1360 px */
  --max: 1360px;
  --rand: clamp(16px, 5vw, 80px);
  --luft: clamp(96px, 15vh, 176px);
  --rund: 22px;
  color-scheme: light;
}
/* Die Regel für den Übergang beim Seitenwechsel steht im Kopf jeder Seite (UEBERGANG in bauen.mjs). */

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--grund); }
[id] { scroll-margin-top: 88px; }
body {
  font: 400 18px/1.6 var(--sans); color: var(--ink); background: var(--grund);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (max-width: 520px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
a:hover { text-decoration-color: currentColor; }
button, select, label.zeit, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
/* Ein zu langes Wort in einem großen Titel bricht um und ragt nie über den Rand. */
h1, h2, h3, .aussage, .auftakt-ende { overflow-wrap: break-word; }
.huelle { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:not(.js) .nur-js { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Bis seite.js den Auftakt zeigt, deckt die Grundfläche die Startseite ab. */
html.auftakt-an { overflow: hidden; }
html.auftakt-an body::before { content: ""; position: fixed; inset: 0; z-index: 90; background: var(--grund); }

/* ---------- Steuerung oben rechts: klein, kein Kopf ---------- */
/* Sie steht oben rechts und scrollt mit der Seite weg (Rückmeldung vom 28.10.);
   was mitschwebt, ist die Kontaktkachel. */
.steuer {
  position: absolute; top: 20px; right: max(20px, calc((100vw - var(--max)) / 2 + var(--rand) - 4px)); z-index: 60; padding: 3px;
  background: var(--weiss); border: 1.5px solid var(--steel); border-radius: 999px;
}
.steuer-inhalt { display: flex; align-items: center; gap: 2px; }
.steuer-inhalt > * + * { position: relative; margin-left: 9px; }
.steuer-inhalt > * + *::before { content: ""; position: absolute; left: -6px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.steuer-gruppe { display: flex; gap: 2px; }
.steuer-auf { display: none; }
.steuer-teil {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none;
  font: 500 14px/1 var(--mono); letter-spacing: 0.04em; color: var(--navy); text-decoration: none;
}
a.steuer-teil, button.steuer-teil { cursor: pointer; transition: background-color 0.15s ease; }
a.steuer-teil:hover, button.steuer-teil:hover { background: var(--line); }
.steuer-an, .anrede-wahl[aria-pressed="true"], .anrede-wahl[aria-pressed="true"]:hover { background: var(--navy); color: var(--weiss); }
.anrede-wahl[aria-pressed="true"] { cursor: default; }
.steuer-auswahl { font: 400 15px/1 var(--sans); letter-spacing: 0; padding: 0 16px 0 14px; }
.steuer-glyphe { width: 20px; height: 15px; flex: none; }
.steuer-glyphe rect:nth-child(1) { fill: var(--steel); }
.steuer-glyphe rect:nth-child(2) { fill: var(--navy); }
.steuer-glyphe rect:nth-child(3) { fill: var(--silver); }
/* Am Handy: eine Pille mit dem Stand, darunter klappen die Schalter auf. */
@media (max-width: 760px) {
  .steuer { top: 10px; right: 10px; }
  .js .steuer-auf {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px;
    border: 0; border-radius: 999px; background: none; cursor: pointer;
    font: 500 14px/1 var(--mono); letter-spacing: 0.04em; color: var(--navy);
  }
  .js .steuer-auf:hover, .js .steuer.offen .steuer-auf { background: var(--line); }
  .steuer-pfeil { width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s ease; }
  .steuer.offen .steuer-pfeil { margin-top: 4px; transform: rotate(-135deg); }
  .js .steuer-inhalt {
    display: none; position: absolute; top: calc(100% + 8px); right: -1.5px; width: max-content;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 8px;
    background: var(--weiss); border: 1.5px solid var(--steel); border-radius: 26px;
  }
  .js .steuer.offen .steuer-inhalt { display: flex; }
  .js .steuer-inhalt > * + * { margin-left: 0; }
  .js .steuer-inhalt > * + *::before { display: none; }
  .js .steuer-gruppe .steuer-teil { flex: 1; }
  .js .steuer-auswahl { justify-content: flex-start; }
}

/* ---------- Kontaktkachel: auf Zielseiten erst nach dem Kopf-Knopf ---------- */
/* Klickbar wie die Wahlknöpfe: Pille mit Rand in Steel, Pfeil im Kreis. Am Handy
   eine Leiste über die volle Breite mit 16 px Rand. Wann sie zurücktritt (.aus),
   entscheidet seite.js; solange der Auftakt offen ist, ist sie unsichtbar. */
.kachel {
  position: fixed; z-index: 50; bottom: 24px; right: max(20px, calc((100vw - var(--max)) / 2 + var(--rand) - 4px));
  display: flex; align-items: center; gap: 14px; max-width: 400px; min-height: 64px; padding: 6px 10px 6px 6px;
  background: var(--weiss); color: var(--navy); text-decoration: none; border: 2px solid var(--steel); border-radius: 999px;
  transition: border-color 0.15s ease, opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.kachel img { width: 52px; height: 52px; border-radius: 50%; flex: none; object-fit: cover; background: var(--panel); }
.kachel-text { display: flex; flex-direction: column; line-height: 1.3; }
.kachel-frage { font-size: 17px; font-weight: 600; color: var(--navy); }
.kachel-einladung { font-size: 16px; color: var(--ink); }
.kachel-termin { display: none; }
.kachel-pfeil { position: relative; flex: none; width: 40px; height: 40px; margin-left: 2px; border-radius: 50%; background: var(--steel); transition: background-color 0.15s ease, transform 0.15s ease; }
.kachel-pfeil::after { content: ""; position: absolute; left: 13px; top: 15.5px; width: 9px; height: 9px; border-top: 2.5px solid var(--weiss); border-right: 2.5px solid var(--weiss); transform: rotate(45deg); }
.kachel:hover { border-color: var(--navy); }
.kachel:hover .kachel-pfeil { background: var(--navy); transform: translateX(4px); }
.kachel.aus {
  opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none;
  transition: none;
}
.auftakt-an .kachel, .js .kachel-wartet { visibility: hidden; }
/* Ohne Skript stehen die Buchungslinks im Text bereit. Die Zielseiten haben
   dann keine schwebende Kachel, die beim Scrollen Inhalt verdecken könnte. */
html:not(.js) .kachel-ziel { display: none; }
/* Ohne JavaScript tritt sie nie zurück; der Fuß bekommt unten Platz für sie. */
html:not(.js) .kachel ~ .fuss { padding-bottom: 128px; }
@media (max-width: 600px) {
  /* Daumenzone: Abstand unten und an den Seiten 16 px, bei Geräten mit Home-Balken oder
     Aussparung zusätzlich deren Rand. Die zweite Zeile nennt das Ziel: den Termin. */
  .kachel { left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: none; min-height: 60px; gap: 10px; padding: 6px; }
  .kachel-einladung { display: none; }
  .kachel-termin { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
  .kachel img { width: 40px; height: 40px; }
  .kachel-text { flex: 1; min-width: 0; }
  .kachel-frage { font-size: 16px; }
  .kachel-pfeil { width: 32px; height: 32px; margin-left: 0; }
  .kachel-pfeil::after { left: 9.5px; top: 11.5px; width: 8px; height: 8px; border-width: 2px; }
}
/* Unter 388 px passt der Satz neben dem Foto nicht mehr in eine Zeile. */
@media (max-width: 387px) { .kachel { padding-left: 16px; } .kachel img { display: none; } }

/* ---------- Kopfzeile der Seite: Bildmarke, Name und Markenzeile (08.11.) ---------- */
.termin-kopf { padding-top: 24px; }
.marke { display: flex; align-items: center; gap: 12px; min-height: 52px; font: 600 17px/1 var(--sans); letter-spacing: -0.01em; color: var(--navy); white-space: nowrap; }
.marke svg { width: 32px; height: 24px; flex: none; }
.marke-text { display: grid; gap: 5px; }
.marke-zeile { font: 400 14px/1.25 var(--sans); letter-spacing: 0; color: var(--leise); }
@media (max-width: 760px) { .marke { min-height: 50px; font-size: 16px; gap: 10px; } .marke svg { width: 28px; height: 21px; } .marke-text { gap: 3px; } .marke-zeile { font-size: 13px; } }
/* Am Handy bricht die Markenzeile nach „&“, damit sie neben der Steuerung Platz hat. */
@media (max-width: 520px) { .marke-zeile { white-space: normal; max-width: 11em; } }

/* ---------- Held ---------- */
.held { padding: 20px 0 clamp(56px, 9vh, 104px); }
@media (max-width: 760px) { .held { padding-top: 12px; } }
.held .marke { margin-bottom: clamp(48px, 11vh, 132px); }
/* Allgemeine Startseite am Handy: Kopf, Frage und Wahlknöpfe passen zusammen in den
   ersten Bildschirm (390 x 844, Marian 08.11.). */
@media (max-width: 600px) {
  .willkommen .marke { margin-bottom: 26px; }
  .willkommen .anzeige { font-size: 44px; }
  .willkommen .versprechen { margin-top: 16px; }
  .willkommen .versprechen-a { font-size: 19px; line-height: 1.4; }
  .willkommen .versprechen-b { margin-top: 8px; font-size: 16px; }
  .willkommen .frage { margin-top: 22px; font-size: 20px; }
  .willkommen .wahl-knoepfe { margin-top: 12px; gap: 8px; }
  .willkommen .wahl { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .willkommen .wahl strong { font-size: 18px; }
  .willkommen .wahl span { font-size: 15px; }
}
.kicker { display: flex; align-items: center; gap: 14px; font: 500 14px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: clamp(16px, 2.6vh, 28px); }
.kicker::before { content: ""; width: 40px; height: 9px; border-radius: 5px; background: var(--steel); flex: none; }
@media (max-width: 520px) { .kicker { font-size: 12.5px; letter-spacing: 0.1em; gap: 10px; } .kicker::before { width: 28px; height: 7px; } }
.anzeige { font: 600 clamp(48px, 8.9vw, 136px)/0.96 var(--sans); letter-spacing: -0.042em; color: var(--navy); margin-left: -0.05em; }
.held-unten { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 112px); align-items: end; margin-top: clamp(28px, 5vh, 56px); }
@media (max-width: 900px) { .held-unten { grid-template-columns: 1fr; } }
.versprechen { max-width: 30em; }
.versprechen-a { display: block; font-size: clamp(21px, 2.05vw, 29px); line-height: 1.38; color: var(--ink); letter-spacing: -0.005em; }
.versprechen-b { display: block; margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.willkommen .versprechen { margin-top: clamp(24px, 4vh, 44px); }
/* Zielseiten: Der Rollensatz folgt groß auf die Hauptzeile. Termin und Dauer
   stehen auch am Handy vor dem ergänzenden Versprechen. */
.held-ziel .marke { margin-bottom: 32px; }
.rollenzeile { font: 600 clamp(26px, 3.2vw, 46px)/1.16 var(--sans); letter-spacing: -0.02em; color: var(--navy); max-width: 32em; margin-top: 22px; }
.held-ziel .held-unten { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 24px; align-items: start; }
.held-termininfo { font-size: 16px; line-height: 1.5; margin-top: 12px; max-width: 28em; }
@media (max-width: 900px) { .held-ziel .held-unten { grid-template-columns: 1fr; gap: 24px; } }

/* Die Frage und die drei Wahlknöpfe (allgemeine Startseite) */
.frage { margin-top: clamp(40px, 7vh, 80px); font: 600 clamp(22px, 2.2vw, 28px)/1.3 var(--sans); color: var(--navy); }
.wahl-knoepfe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; max-width: 1180px; }
@media (max-width: 860px) { .wahl-knoepfe { grid-template-columns: 1fr; gap: 12px; } }
.passt-nicht { margin-top: 22px; }

/* /portal/: Code eingeben */
.code-held .anzeige, .code-titel { font: 600 clamp(40px, 6.4vw, 96px)/1 var(--sans); letter-spacing: -0.04em; color: var(--navy); margin-left: -0.04em; }
.code-lead { margin-top: clamp(18px, 3vh, 28px); }
.code-form { margin-top: clamp(28px, 5vh, 48px); max-width: 640px; }
.code-label { display: block; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.code-zeile { display: flex; gap: 12px; flex-wrap: wrap; }
.code-zeile input { flex: 1 1 240px; min-width: 0; min-height: 60px; padding: 12px 18px; font: 500 24px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--weiss); border: 1px solid var(--muted); border-radius: 16px; }
.code-zeile input::placeholder { color: var(--silver); }
.code-zeile input:hover { border-color: var(--navy); }
.code-zeile input:focus { outline: 3px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.code-zeile input[aria-invalid="true"] { border: 2px solid var(--fehler); }
.code-knopf { min-height: 60px; flex: 0 0 auto; }
.code-knopf:disabled { opacity: 0.6; cursor: wait; }
@media (max-width: 520px) { .code-knopf { flex: 1 1 100%; } }
.code-meldung { margin-top: 12px; min-height: 1.5em; font-size: 17px; color: var(--navy); }
.code-meldung.fehler { color: var(--fehler); }
.code-hinweis { margin-top: 10px; font-size: 15px; color: var(--leise); max-width: 36em; }
.code-ohne-js { margin-top: 24px; font-size: 18px; }

/* Knöpfe, die weiterführen: Pille mit Rand in Steel und Pfeil im Kreis */
.wahl, .antwort {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  background: var(--weiss); color: var(--navy); text-decoration: none; text-align: left;
  border: 2px solid var(--steel); border-radius: 999px; cursor: pointer; font: inherit;
  transition: border-color 0.15s ease;
}
.wahl { min-height: 96px; padding: 14px 80px 14px 30px; }
.wahl strong, .antwort-titel { font: 600 20px/1.25 var(--sans); }
.wahl span, .antwort-unter { font-size: 16px; line-height: 1.35; color: var(--muted); }
.wahl::before, .antwort::before { content: ""; position: absolute; right: 18px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--steel); transition: background-color 0.15s ease, transform 0.15s ease; }
.wahl::after, .antwort::after { content: ""; position: absolute; right: 35px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 2.5px solid var(--weiss); border-right: 2.5px solid var(--weiss); transform: rotate(45deg); transition: transform 0.15s ease; }
.wahl:hover, .antwort:hover, .antwort.vorschlag { border-color: var(--navy); }
.wahl:hover::before, .antwort:hover::before, .antwort.vorschlag::before { background: var(--navy); }
.wahl:hover::before, .antwort:hover::before { transform: translateX(4px); }
.wahl:hover::after, .antwort:hover::after { transform: translateX(4px) rotate(45deg); }
@media (max-width: 860px) { .wahl { min-height: 76px; padding: 12px 70px 12px 24px; } .wahl::before { right: 14px; } .wahl::after { right: 31px; } }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  border-radius: 999px; font: 600 17px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.knopf-haupt { background: var(--navy); color: var(--weiss); border-color: var(--navy); }
.knopf-haupt:hover { background: var(--ink); border-color: var(--steel); }
.knopf-neben { background: var(--weiss); color: var(--navy); border-color: var(--steel); }
.knopf-neben:hover { background: var(--panel); border-color: var(--navy); }

/* Sprungverweis unter dem Kopf der Seite, nur für die Geschäftsführung */
.sprung { margin-top: clamp(36px, 6vh, 64px); }
.sprung a { display: inline-block; padding: 8px 0; font-size: 18px; }
.sprung-pfeil { display: inline-block; margin-left: 10px; transition: transform 0.15s ease; }
.sprung a:hover .sprung-pfeil { transform: translateY(3px); }

/* ---------- Grafik: eine Illustration auf weißer Bühne ---------- */
.grafik { position: relative; background: var(--weiss); border: 1px solid var(--trenner); border-radius: 28px; padding: clamp(20px, 3vw, 44px) clamp(12px, 3.2vw, 52px) 14px; }
.grafik .g-schmal { display: none; }
@media (max-width: 720px) { .grafik { border-radius: 22px; } .grafik .g-breit { display: none; } .grafik .g-schmal { display: block; margin: 0 auto; max-width: 420px; } }
.grafik-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-top: 14px; padding: 4px 4px 0; border-top: 1px solid var(--line); }
.grafik-text { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--navy); padding: 10px 0; }
.nochmal {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
  font: 400 16px/1 var(--sans); color: var(--navy); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.nochmal:hover { text-decoration-color: currentColor; }

.g-qtext, .g-mtext, .g-uititel, .g-dbtext { font-family: var(--sans); }
.g-zettel { fill: var(--grund); stroke: var(--silver); stroke-width: 1; }
.g-ecke { fill: var(--silver); }
.g-qtext { fill: var(--ink); font-size: 16px; }
.g-linie { fill: none; stroke: var(--steel); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.g-db-koerper { fill: var(--steel); }
.g-db-ring { fill: none; stroke: var(--stlt); stroke-width: 2; }
.g-db-deckel { fill: var(--stlt); }
.g-dbtext { fill: var(--navy); font-size: 17px; font-weight: 600; }
.g-orttext { fill: var(--ink); font: 400 13px var(--mono); }
.g-fenster { fill: var(--panel); stroke: var(--line); stroke-width: 1.5; }
.g-logo-a { fill: var(--steel); } .g-logo-b { fill: var(--navy); } .g-logo-c { fill: var(--silver); }
.g-uititel { fill: var(--navy); font-size: 15px; font-weight: 600; }
.g-trenner { stroke: var(--silver); stroke-width: 1; }
.g-mtext { fill: var(--ink); font-size: 14px; }
.g-zeile { fill: var(--silver); }
.g-kpitext { fill: var(--navy); font: 500 20px var(--mono); }
.g-balken { fill: var(--silver); }
.g-balken-hoch { fill: var(--steel); }

/* Bewegung: einmal, höchstens 5 s. Ohne .laeuft und bei reduzierter Bewegung steht das Endbild. */
.js .grafik:not(.laeuft) svg { visibility: hidden; }
.g-quelle, .g-db, .g-modul, .g-kpi, .g-balken, .g-ui { transform-box: fill-box; transform-origin: center; }
.g-balken { transform-origin: bottom; }
.laeuft .g-quelle { animation: g-wirr 1.3s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 0.06s); }
.laeuft .g-linie { animation: g-zeichne 0.8s ease-in-out both; animation-delay: calc(1.2s + var(--i, 0) * 0.08s); }
.laeuft .g-db { animation: g-auf 0.5s ease-out both 1.9s; }
.laeuft .g-dbtext, .laeuft .g-ort { animation: g-blende 0.4s ease-out both 2.2s; }
.laeuft .g-linie2 { animation-delay: 2.4s; animation-duration: 0.45s; }
.laeuft .g-ui { animation: g-hoch 0.5s ease-out both 2.7s; }
.laeuft .g-modul { animation: g-rein 0.4s ease-out both; animation-delay: calc(3.05s + var(--i) * 0.16s); }
.laeuft .g-kpi { animation: g-blende 0.4s ease-out both; animation-delay: calc(3.5s + var(--i) * 0.12s); }
.laeuft .g-balken { animation: g-wachse 0.5s ease-out both; animation-delay: calc(3.7s + var(--i) * 0.07s); }
@keyframes g-wirr {
  0% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
  30% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
  100% { opacity: 1; transform: none; }
}
@keyframes g-zeichne { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes g-auf { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }
@keyframes g-blende { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-hoch { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes g-rein { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes g-wachse { from { transform: scaleY(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .grafik *, .grafik *::before { animation: none !important; }
  .js .grafik:not(.laeuft) svg { visibility: visible; }
  .nochmal { display: none; }
}

/* ---------- Kapitel ---------- */
/* Kapitelmarke: Trennlinie mit einem Logo-Balken darauf, reihum Steel 8, Navy 16, Silver 9. */
.kapitel { padding: 0 0 var(--luft); }
.kapitel-kopf { position: relative; display: flex; align-items: baseline; gap: 12px 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--trenner); margin-bottom: clamp(36px, 7vh, 72px); }
.kapitel-kopf::before { content: ""; position: absolute; left: 0; top: -5px; width: 40px; height: 9px; border-radius: 5px; background: var(--steel); }
.kapitel-kopf[data-balken="2"]::before { width: 80px; background: var(--navy); }
.kapitel-kopf[data-balken="3"]::before { width: 45px; background: var(--silver); }
.kapitel-nr { font: 500 14px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--navy); min-width: 6.5em; }
.kapitel-von { color: var(--ink); }
.kapitel .kapitel-name { font: 500 14px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin: 0; max-width: none; }
.kapitel h2 { font: 600 clamp(36px, 5.6vw, 84px)/1.02 var(--sans); letter-spacing: -0.035em; color: var(--navy); max-width: 15em; margin-bottom: clamp(36px, 6vh, 72px); }
.lead { font-size: clamp(20px, 1.75vw, 24px); line-height: 1.5; color: var(--ink); max-width: 32em; }
.text-buchen { margin-top: 32px; }

/* Belege: die Zahl als Aussage */
.belege { display: grid; grid-template-columns: 1fr 1fr; gap: 64px clamp(40px, 6vw, 112px); }
@media (max-width: 900px) { .belege { grid-template-columns: 1fr; } }
.beleg h3 { font: 500 14px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.zahl { font-family: var(--mono); font-weight: 500; color: var(--steel); }
.zahl-vor { display: block; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; color: var(--navy); letter-spacing: 0.02em; margin-bottom: 6px; }
.zahl-gross { display: block; white-space: nowrap; font-size: clamp(76px, 12.4vw, 188px); line-height: 0.92; letter-spacing: -0.05em; word-spacing: -0.42em; margin-left: -0.06em; }
.zahl-wert.zaehlt { display: inline-block; min-width: calc(var(--stellen) * 0.95ch); text-align: right; }
.zahl-lang .zahl-gross { font-size: clamp(54px, 8.7vw, 132px); }
.zahltext { margin-top: 22px; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.45; color: var(--navy); max-width: 24em; }
.beleg ul { list-style: none; margin-top: 30px; }
.beleg li { padding: 14px 0; border-top: 1px solid var(--trenner); font-size: 17px; }
.beleg li strong { font-weight: 600; color: var(--navy); }
.fussnote { margin-top: 48px; font: 400 14px/1.5 var(--mono); color: var(--ink); }

/* Ausgangslage und Nutzen stehen im gemeinsamen Angebot. */
.ausgangslage { margin-bottom: 24px; color: var(--leise); max-width: 32em; }
.nutzen { margin-top: 32px; }
.nutzen .mono-label { margin-bottom: 16px; }
.aussage { font: 600 clamp(24px, 2.4vw, 36px)/1.25 var(--sans); letter-spacing: -0.02em; color: var(--navy); max-width: 24em; }

/* Anwendungsfelder: drei groß, die übrigen klein. Nichts davon ist klickbar:
   kein Rahmen um einen Eintrag, kein Pfeil, kein Zustand beim Darüberfahren. */
.af-gross { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px clamp(32px, 4vw, 72px); }
@media (max-width: 900px) { .af-gross { grid-template-columns: 1fr; } }
.af-gross li { position: relative; padding-top: 28px; border-top: 1px solid var(--trenner); }
.af-gross li::before { content: ""; position: absolute; left: 0; top: -5px; width: 40px; height: 9px; border-radius: 5px; background: var(--steel); }
.af-gross li:nth-child(2)::before { width: 80px; background: var(--navy); }
.af-gross li:nth-child(3)::before { width: 45px; background: var(--silver); }
.af-titel { display: block; }
.af-gross .af-titel { font: 600 clamp(26px, 2.5vw, 36px)/1.12 var(--sans); letter-spacing: -0.022em; color: var(--navy); margin-bottom: 14px; }
.af-gross .af-zeile { display: block; font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 22em; }
/* „Außerdem“ steht im Raster der großen drei: Name unter dem ersten, Liste unter den beiden anderen. */
.af-mehr { margin-top: clamp(56px, 9vh, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px clamp(32px, 4vw, 72px); align-items: start; }
.af-mehr .mono-label { padding-top: 13px; margin: 0; }
.af-klein { grid-column: 2 / -1; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 72px); }
@media (max-width: 900px) {
  .af-mehr { grid-template-columns: 1fr; }
  .af-klein { grid-column: auto; }
}
@media (max-width: 620px) { .af-klein { grid-template-columns: 1fr; } }
.af-klein li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--trenner); }
.af-klein li::before { content: ""; width: 20px; height: 7px; border-radius: 4px; background: var(--silver); flex: none; }
.af-klein .af-titel { font-weight: 400; font-size: 18px; line-height: 1.35; color: var(--navy); }
.af-klein .af-zeile { display: none; }

/* Angebot und Bausteine: eine schlichte Liste, nichts daran ist klickbar */
.angebot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 7vw, 128px); align-items: start; }
@media (max-width: 900px) { .angebot { grid-template-columns: 1fr; } }
.grafik-platz { margin-top: 40px; }
.mono-label { font: 500 14px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.bausteine { padding-top: 10px; }
.module { list-style: none; }
.module li { display: flex; align-items: center; gap: 16px; padding: 9px 0; font-size: 20px; line-height: 1.35; color: var(--navy); }
.module li::before { content: ""; width: 24px; height: 8px; border-radius: 4px; background: var(--silver); flex: none; }
.module li.erst::before { background: var(--steel); }

/* Einstieg: drei Schritte auf einem Zeitstrahl, die Marken im Verhältnis 8 : 16 : 9 */
.zeitstrahl { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 56px); padding-top: 40px; }
.zeitstrahl::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: var(--trenner); }
.zeitstrahl li { position: relative; }
.zs-marke { position: absolute; left: 0; top: -40px; height: 10px; border-radius: 5px; }
.zs-1 .zs-marke { width: 48px; background: var(--steel); }
.zs-2 .zs-marke { width: 96px; background: var(--navy); }
.zs-3 .zs-marke { width: 54px; background: var(--silver); }
.zs-nr { font: 500 14px/1 var(--mono); letter-spacing: 0.06em; color: var(--navy); margin-bottom: 14px; }
.zeitstrahl h3 { font: 600 clamp(24px, 2.4vw, 32px)/1.15 var(--sans); letter-spacing: -0.015em; color: var(--navy); margin-bottom: 10px; }
.zeitstrahl p { font-size: 17px; max-width: 24em; }
@media (max-width: 860px) {
  .zeitstrahl { grid-template-columns: 1fr; gap: 40px; padding: 0 0 0 40px; }
  .zeitstrahl::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .zs-marke { left: -40px; top: 2px; width: 10px !important; }
  .zs-1 .zs-marke { height: 32px; } .zs-2 .zs-marke { height: 64px; } .zs-3 .zs-marke { height: 36px; }
}
.preis { margin-top: clamp(40px, 7vh, 72px); font: 500 16px/1.5 var(--mono); color: var(--navy); }

/* Standards: vier kurze Punkte */
.standards { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 112px); }
@media (max-width: 760px) { .standards { grid-template-columns: 1fr; } }
.standards li { padding: 24px 0 30px; border-top: 1px solid var(--trenner); font-size: 17px; }
.standards strong { display: block; font: 600 clamp(20px, 1.8vw, 25px)/1.25 var(--sans); color: var(--navy); margin-bottom: 8px; }

/* Wieso ich: das Foto groß */
.ich { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 7vw, 128px); align-items: center; }
@media (max-width: 860px) { .ich { grid-template-columns: 1fr; } .ich-bild { max-width: 460px; } }
.ich-bild img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; border-radius: 28px; background: var(--panel); }
.ich-text h2 { margin-bottom: 28px; }
.ich-text p + p { margin-top: 20px; }
.ich-text a, .direkt dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px clamp(40px, 6vw, 112px); align-items: start; }
@media (max-width: 960px) { .kontakt { grid-template-columns: 1fr; } }
.kontakt h2 { max-width: 12em; margin-bottom: 24px; }
.kontakt-buchen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 24px 0; }
.kontakt-telefon { display: inline-flex; align-items: center; min-height: 44px; }
.kontakt-schreiben { border-top: 1px solid var(--trenner); border-bottom: 1px solid var(--trenner); }
.kontakt-schreiben > summary { padding: 20px 0; color: var(--navy); font-weight: 600; cursor: pointer; }
.kontakt-schreiben[open] { padding-bottom: 24px; }
.kontakt-kopf { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.kontakt-kopf img { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.kontakt-kopf strong { color: var(--navy); }
form { margin-top: 44px; }
fieldset { border: 0; margin: 0 0 32px; }
legend { font: 500 14px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.feld-hinweis { font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.tage { display: flex; flex-direction: column; }
.tag { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--trenner); }
@media (max-width: 520px) { .tag { grid-template-columns: 1fr; gap: 6px; } }
.tag-name { font: 500 14px var(--mono); color: var(--navy); }
.zeiten { display: flex; flex-wrap: wrap; gap: 8px; }
.zeit { position: relative; cursor: pointer; }
.zeit input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zeit span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--muted); border-radius: 999px;
  font: 400 15px var(--mono); color: var(--navy); cursor: pointer; background: var(--weiss);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.zeit span small { margin-left: 6px; color: var(--ink); font-size: 13px; }
.zeit span:hover { border-color: var(--navy); background: var(--panel); }
.zeit input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--weiss); }
.zeit input:checked + span small { color: var(--weiss); }
.zeit input:focus-visible + span { outline: 3px solid var(--steel); outline-offset: 2px; }
.zaehlung { margin-top: 12px; font: 400 13px var(--mono); color: var(--ink); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .felder { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-size: 16px; font-weight: 600; color: var(--navy); }
.feld input, .feld textarea, .feld select {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--weiss);
  border: 1px solid var(--muted); border-radius: 14px; padding: 12px 14px; min-height: 50px; width: 100%;
  transition: border-color 0.15s ease;
}
.feld select { max-width: 420px; cursor: pointer; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:hover, .feld textarea:hover, .feld select:hover { border-color: var(--navy); }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: 3px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.feld [aria-invalid="true"] { border: 2px solid var(--fehler); }
.topf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld-fehler { margin-top: 6px; font-size: 16px; color: var(--fehler); }
.meldung { margin-top: 14px; font-size: 16px; color: var(--navy); min-height: 1.5em; }
.meldung.fehler { color: var(--fehler); }
.form-fuss { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-fuss p { font-size: 16px; color: var(--ink); max-width: 34em; }
.danke { margin-top: 28px; padding: 26px 30px; border-radius: var(--rund); background: var(--weiss); border: 1px solid var(--trenner); font-size: 20px; color: var(--navy); }
.danke::before { content: ""; display: block; width: 40px; height: 9px; border-radius: 5px; background: var(--steel); margin-bottom: 16px; }
.ausweich { margin-top: 16px; display: grid; gap: 12px; justify-items: start; }
.mailvorschau { margin-top: 18px; padding: 18px; border: 1px dashed var(--steel); border-radius: 14px; background: var(--weiss); }
.mailvorschau pre { white-space: pre-wrap; font: 400 14px/1.55 var(--mono); color: var(--ink); margin-top: 10px; }
.direkt { background: var(--weiss); border: 1px solid var(--trenner); border-radius: var(--rund); padding: 28px; }
.direkt h3 { font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 14px; line-height: 1.4; }
.direkt dl { display: grid; gap: 8px; }
.direkt dt { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-top: 6px; }
.direkt dd { font-size: 16px; overflow-wrap: anywhere; }
.direkt-onepager { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--trenner); }

/* ---------- Fuß: hell, mit dem ganzen Logo ---------- */
.fuss { border-top: 1px solid var(--trenner); padding: clamp(56px, 9vh, 96px) 0 44px; font-size: 16px; }
.fuss .huelle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(32px, 6vw, 112px); align-items: start; }
@media (max-width: 760px) { .fuss .huelle { grid-template-columns: 1fr; } }
.fuss-marke { display: flex; align-items: center; gap: 22px; }
.fuss-marke svg { width: 80px; height: 59px; flex: none; }
.fuss-marke p { display: grid; gap: 6px; }
.fuss-marke strong { font: 600 22px/1.1 var(--sans); letter-spacing: -0.01em; color: var(--navy); }
.fuss-marke span { font: 500 12px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.fuss-text { display: grid; gap: 10px; }
.fuss-datenschutz { max-width: 40em; color: var(--ink); }
.fuss-links a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-zeile { font: 400 13px/1.5 var(--mono); color: var(--ink); }

/* ---------- Terminseiten ohne Skript ---------- */
.termin-seite { padding: 24px 0 32px; }
.termin-seite .huelle { max-width: 920px; }
.termin-kopf { max-width: 920px; }
.termin-einladung { display: flex; align-items: center; gap: 24px; }
.termin-einladung img { width: 128px; height: 128px; object-fit: cover; border-radius: 50%; flex: none; }
.termin-einladung h1 { font: 600 clamp(28px, 4.5vw, 56px)/1.08 var(--sans); letter-spacing: -0.03em; color: var(--navy); }
.termin-info { margin-top: 16px; font-size: 16px; }
.termin-gespraech { margin: 24px 0; max-width: 38em; }
.termin-gespraech p + p { margin-top: 8px; }
.termin-kalender { margin-bottom: 12px; font-size: 16px; }
.termin-ausweg { margin-top: 24px; font-size: 16px; }
.termin-kontakt { display: flex; flex-wrap: wrap; gap: 0 20px; }
.termin-kontakt a { display: inline-flex; align-items: center; min-height: 44px; }
.termin-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border-top: 1px solid var(--trenner); padding-top: 12px; margin-top: 20px; }
.termin-sprachen { display: flex; align-items: center; }
@media (max-width: 600px) {
  .termin-kopf { padding-top: 12px; }
  .termin-seite { padding-top: 20px; padding-bottom: 20px; }
  .termin-einladung { gap: 16px; }
  .termin-einladung img { width: 88px; height: 88px; }
  .termin-info { margin-top: 12px; }
  .termin-gespraech { margin: 16px 0; line-height: 1.45; }
  .termin-ausweg { margin-top: 16px; }
  .termin-fuss { margin-top: 16px; padding-top: 8px; }
}

/* ---------- Rechtstexte ---------- */
.recht { padding: 32px 0 96px; }
.recht .zurueck-zeile { margin-bottom: 32px; }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--navy); }
.recht h1 { font: 600 clamp(28px, 5vw, 64px)/1.05 var(--sans); letter-spacing: -0.03em; color: var(--navy); margin-bottom: 32px; }
.recht h2 { font-size: 21px; color: var(--navy); font-weight: 600; margin: 32px 0 8px; }
.recht p, .recht li { max-width: 46em; font-size: 17px; }
.recht ul { margin: 8px 0 0 20px; }
.recht p + p { margin-top: 10px; }
.recht p.leise { margin-top: 32px; color: var(--leise); font-size: 15px; }

/* ---------- Auftakt: Vollbild-Dialog mit drei Fragen ---------- */
.auftakt { position: fixed; inset: 0; z-index: 100; background: var(--grund); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.auftakt-feld { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
/* Fragmente: Dateien, Mails, Zettel, Chat. Schmuck, kein Inhalt, nicht klickbar. */
.fragment { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; }
.fragment.weg { visibility: hidden; }
.fragment-innen {
  display: block; white-space: nowrap; transform: rotate(var(--r));
  font: 400 14px/1.2 var(--sans); color: var(--muted); background: var(--weiss);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 13px;
}
.f-datei { font: 400 13px/1.2 var(--mono); background: var(--panel); border-radius: 6px; }
.f-datei::before { content: ""; display: inline-block; width: 8px; height: 10px; margin-right: 9px; border-radius: 1px; background: var(--silver); vertical-align: -1px; }
.f-zettel { background: var(--panel); border-color: var(--panel); border-radius: 3px 3px 16px 3px; }
.f-chat { border-radius: 18px 18px 18px 4px; }
@media (max-width: 760px) {
  .fragment { left: var(--xs); top: var(--ys); }
  .fragment.nur-breit { display: none; }
  .fragment-innen { font-size: 12px; padding: 7px 10px; }
}
.auftakt-rahmen { position: relative; z-index: 1; min-height: 100%; display: flex; flex-direction: column; padding: 14px var(--rand) clamp(24px, 5vh, 56px); }
.auftakt-oben { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.auftakt-marke { font: 500 13px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
@media (max-width: 760px) { .auftakt-marke-zusatz { display: none; } }
.auftakt-weg, .auftakt-zurueck {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0;
  font: 400 16px/1.2 var(--sans); color: var(--navy); cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.auftakt-weg:hover, .auftakt-zurueck:hover { text-decoration-color: currentColor; }
/* Nur die Wörter unterstreichen, der Punkt dazwischen bleibt frei. */
.auftakt-weg { text-decoration: none; }
.auftakt-weg span[lang] { text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.auftakt-weg:hover span[lang] { text-decoration-color: currentColor; }
.auftakt-weg kbd { display: none; font: 500 12px/1 var(--mono); color: var(--navy); border: 1px solid var(--stlt); border-radius: 6px; padding: 4px 6px; }
@media (hover: hover) and (pointer: fine) and (min-width: 601px) { .auftakt-weg kbd { display: inline-block; } }
.auftakt-mitte {
  flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 120px);
  align-items: center; width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(24px, 5vh, 56px) 0;
}
@media (max-width: 860px) {
  .auftakt-mitte { grid-template-columns: 1fr; align-content: start; gap: clamp(24px, 4.5vh, 44px); padding-top: clamp(12px, 3vh, 28px); }
  .auftakt.fertig .auftakt-mitte { align-content: center; }
}

/* Das Zeichen: drei Schlitze, in die die Balken einrasten; daneben die Antwort. */
.auftakt-zeichen { --h: clamp(18px, 2.5vw, 36px); display: grid; gap: calc(var(--h) * 21 / 18); }
.zeile { display: flex; align-items: center; gap: calc(var(--h) * 0.9); min-height: var(--h); }
.platz { position: relative; flex: none; width: calc(var(--h) * 130 / 18); height: var(--h); }
.schlitz, .balken { position: absolute; left: 0; top: 0; height: 100%; border-radius: calc(var(--h) / 2); }
.z1 .schlitz, .z1 .balken { width: calc(var(--h) * 65 / 18); }
.z2 .schlitz, .z2 .balken { width: 100%; }
.z3 .schlitz, .z3 .balken { width: calc(var(--h) * 73.125 / 18); }
.schlitz { border: 2px dashed var(--silver); transition: border-color 0.2s ease; }
.zeile.jetzt .schlitz { border-color: var(--steel); }
.zeile.fertig .schlitz { border-color: transparent; }
.balken { visibility: hidden; }
.balken.da { visibility: visible; }
.z1 .balken { background: var(--steel); }
.z2 .balken { background: var(--navy); }
.z3 .balken { background: var(--silver); }
.zeichen-text { font: 500 clamp(12px, 1.05vw, 15px)/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.zeile:not(.fertig):not(.jetzt) .zeichen-text { font-weight: 400; color: var(--ink); }

.auftakt-zaehler { font: 500 14px/1 var(--mono); letter-spacing: 0.1em; color: var(--navy); }
.auftakt-titel { margin-top: 18px; font: 600 clamp(34px, 4.5vw, 66px)/1.04 var(--sans); letter-spacing: -0.032em; color: var(--navy); }
.auftakt-unter { margin-top: 12px; font-size: 18px; color: var(--ink); }
.auftakt-antworten { display: grid; gap: 12px; margin-top: clamp(24px, 4.5vh, 44px); max-width: 640px; }
.auftakt-antworten.fuenf { grid-template-columns: 1fr 1fr; }
.antwort { min-height: 68px; padding: 10px 74px 10px 28px; }
.fuenf .antwort { min-height: 58px; padding-right: 62px; }
.fuenf .antwort::before { width: 32px; height: 32px; margin-top: -16px; right: 14px; }
.fuenf .antwort::after { right: 28px; width: 8px; height: 8px; margin-top: -4px; }
.fuenf .antwort-titel { font-size: 18px; }
.auftakt-zurueck { margin-top: 18px; }
.auftakt-ende { font: 600 clamp(34px, 4.5vw, 66px)/1.06 var(--sans); letter-spacing: -0.032em; color: var(--navy); max-width: 11em; }
@media (max-width: 600px) {
  .auftakt-antworten.fuenf { grid-template-columns: 1fr; gap: 10px; }
  .antwort { min-height: 60px; padding: 8px 66px 8px 22px; }
  .antwort-titel { font-size: 18px; }
  .antwort::before { width: 36px; height: 36px; margin-top: -18px; right: 12px; }
  .antwort::after { right: 27px; }
  .fuenf .antwort { min-height: 52px; }
}

@media print {
  .steuer, .kachel, .auftakt, .grafik, #grafik, .sprung, form, .nochmal, .wahl::before, .wahl::after { display: none !important; }
  body { background: #FFFFFF; }
}

/* W8: Die Zielseiten bleiben am Handy bei höchstens elf Bildschirmen. */
@media (max-width: 600px) {
  .zielseite { --luft: 56px; }
  .zielseite .kapitel-kopf { margin-bottom: 32px; }
  .zielseite .kapitel h2 { margin-bottom: 28px; }
  .zielseite .ich { gap: 28px; }
  .zielseite .ich-bild { max-width: 200px; }
  .zielseite .af-mehr { margin-top: 40px; }
  .zielseite .angebot { gap: 28px; }
  .zielseite .belege { gap: 20px; }
  .zielseite .beleg ul { margin-top: 20px; }
  .zielseite .beleg li { padding: 6px 0; }
  .zielseite .fussnote { margin-top: 28px; }
  .zielseite .af-gross { gap: 28px; }
  .zielseite .af-gross li { padding-top: 22px; }
  .zielseite .module li { padding: 6px 0; font-size: 18px; }
  .zielseite .grafik-platz { margin-top: 24px; }
  .zielseite .zeitstrahl { gap: 28px; }
  .zielseite .preis { margin-top: 32px; }
  .zielseite .standards li { padding: 20px 0; }
}
