/* Northline Studios, Neubau November 2026.
   Welt: Liniennetz. Nachtblau als Tinte und Tafel, Weiß als Papier, Blau nur für Linie, Halte und Hauptknöpfe.
   Schrift: Archivo variabel (breit für Überschriften, schmal für Schilder). Regeln stehen in DESIGN.md. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --tinte: #0A1322;
  --tinte-2: #3B475E;
  --tinte-3: #5A6680;
  --papier: #FFFFFF;
  --flaeche: #F1F3F7;
  --flaeche-2: #E5E9F0;
  --haar: #D6DCE7;
  /* Signal = das Blau der Linie. Auf hellem Grund kräftig mit weißer Schrift, auf Nachtblau das helle Markenblau mit dunkler Schrift (siehe unten) */
  --signal: #2557D6;
  --auf-signal: #FFFFFF;
  --signal-tief: #1B45B5;
  --signal-hauch: #E4EEFF;
  --signal-schrift: #2557D6; /* Blau als Schrift auf Weiß: 6,1:1 */
  --nacht: #0A1322;
  --nacht-2: #111D33;
  --nacht-3: #1B2944;
  --nacht-haar: #2B3B5C;
  --nacht-text: #B7C2D6;
  --gruen: #12A05F;
  --gruen-hauch: #DDF3E8;
  --max: 80rem;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --aus: cubic-bezier(.22, 1, .36, 1);
  --ein-aus: cubic-bezier(.65, 0, .35, 1);
  --schatten: 0 1px 2px rgb(10 19 34 / .06), 0 14px 32px -14px rgb(10 19 34 / .2);
  --schatten-hoch: 0 2px 6px rgb(10 19 34 / .1), 0 34px 64px -26px rgb(10 19 34 / .45);
}

/* Auf Nachtblau wird das Blau hell (Markenblau #8DB9FF) und trägt dunkle Schrift */
.band-nacht, .tafel, .abschluss, .fuss, .film, .tarif.empfohlen, .kasten.nacht { --signal: #8DB9FF; --auf-signal: #0A1322; --signal-tief: #B5D2FF; }
/* Weiße Karten, die auf Nachtblau liegen, rechnen wieder wie heller Grund */
.halt-karte, .f-schirm, .f-mail, .f-meldung, .f-suche { --signal: #2557D6; --auf-signal: #FFFFFF; --signal-tief: #1B45B5; }
.f-schirm.sperre { --signal: #8DB9FF; --auf-signal: #0A1322; }

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-color: var(--tinte-3) var(--flaeche); }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 1.0625rem/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  caret-color: var(--signal);
}
::selection { background: var(--signal); color: var(--auf-signal); }
:focus-visible { outline: 2.5px solid var(--tinte); outline-offset: 3px; border-radius: 6px; }
.band-nacht :focus-visible, .tafel :focus-visible, .fuss :focus-visible, .abschluss :focus-visible { outline-color: #fff; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .075em; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; font-stretch: 116%; letter-spacing: -.032em; line-height: 1.03; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.45rem, 1.1rem + 5.2vw, 4.9rem); }
h2 { font-size: clamp(1.95rem, 1.15rem + 2.9vw, 3.3rem); }
h3 { font-size: 1.3rem; font-stretch: 108%; font-weight: 680; letter-spacing: -.018em; line-height: 1.2; }
h4 { font-size: 1.05rem; font-stretch: 104%; font-weight: 680; letter-spacing: -.01em; line-height: 1.3; }
@media (max-width: 480px) { h1, h2 { font-stretch: 106%; } }
small { font-size: .88em; }
strong, b { font-weight: 680; }
hr { border: 0; border-top: 1px solid var(--haar); margin: 2rem 0; }
[hidden] { display: none !important; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--tinte); color: #fff; padding: .7rem 1rem; border-radius: 999px; font-weight: 650; text-decoration: none; transition: top .2s var(--aus); }
.sprung:focus { top: .75rem; }

.rahmen { width: min(100% - 2 * var(--rand), var(--max)); margin-inline: auto; }
.abschnitt { padding-block: clamp(4.25rem, 8.5vw, 7.5rem); }
.abschnitt.knapp { padding-block: clamp(3rem, 6vw, 5rem); }
.band-flaeche { background: var(--flaeche); }
.band-nacht { background: var(--nacht); color: #fff; }
.band-nacht .lead, .band-nacht .leise { color: var(--nacht-text); }
.kopfzeile { display: grid; gap: 1.1rem; max-width: 47rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.kopfzeile.mittig { margin-inline: auto; text-align: center; justify-items: center; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.28rem); line-height: 1.5; color: var(--tinte-2); max-width: 40rem; margin: 0; }
.leise { color: var(--tinte-3); }
.klein { font-size: .9rem; }
/* Schild: schmale Versalien wie auf Haltestellenschildern, für Zeiten, Marken und Tabellenköpfe */
.schild { font-stretch: 80%; font-weight: 650; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; line-height: 1.3; }
.zahl { font-variant-numeric: tabular-nums; }

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .7rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--signal); color: var(--auf-signal);
  font: inherit; font-weight: 680; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .16s var(--aus);
}
.knopf svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform .3s var(--aus); }
.knopf small { font-weight: 500; font-stretch: 100%; opacity: .8; white-space: nowrap; }
@media (max-width: 480px) { .knopf { padding-inline: 1.15rem; gap: .5rem; } }
.knopf:active { transform: scale(.97); }
.knopf.rand { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.knopf.dunkel { background: var(--tinte); color: #fff; }
.knopf.hell { background: #fff; color: var(--tinte); }
.knopf.klein { min-height: 2.75rem; padding: .45rem 1.15rem; font-size: .95rem; }
.knopf.breit { width: 100%; }
.knopf[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: var(--signal-tief); }
  .knopf:hover svg.pfeil { transform: translateX(4px); }
  .knopf.rand:hover { background: var(--tinte); color: #fff; box-shadow: inset 0 0 0 1.5px var(--tinte); }
  .band-nacht .knopf.rand:hover, .tafel .knopf.rand:hover, .abschluss .knopf.rand:hover { background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 1.5px #fff; }
  .knopf.dunkel:hover { background: var(--nacht-3); }
  .knopf.hell:hover { background: var(--flaeche-2); }
}
/* Textlink mit Pfeil: die Unterstreichung ist ein Stück Linie und fährt beim Überfahren aus */
.weiter { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: .15rem; }
.weiter svg { width: 1rem; height: 1rem; flex: none; transition: transform .3s var(--aus); }
@media (hover: hover) and (pointer: fine) {
  .weiter:hover svg { transform: translateX(4px); }
  .weiter:hover { background-image: linear-gradient(var(--signal), var(--signal)); }
}

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 60; background: var(--papier); border-bottom: 1px solid transparent; transition: border-color .3s; }
.kopf.gescrollt { border-bottom-color: var(--haar); }
/* Fahrtfortschritt: die Linie wandert mit dem Scrollen über die Kopfleiste */
.kopf::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--gescrollt, 0)); border-radius: 0 3px 3px 0; }
.kopf-innen { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.75rem); min-height: 4.6rem; }
.marke { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.marke-zeichen { width: 2.45rem; height: 2.45rem; flex: none; }
.marke-zeichen .weg { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.marke-zeichen .start { fill: var(--papier); stroke: currentColor; stroke-width: 3; }
.marke-zeichen .ziel { fill: currentColor; }
.band-nacht .marke-zeichen .start, .fuss .marke-zeichen .start { fill: var(--nacht); }
.marke-wort { font-stretch: 120%; font-weight: 760; font-size: 1.14rem; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.marke-wort small { font-stretch: 100%; font-weight: 500; font-size: .92em; letter-spacing: -.01em; color: var(--tinte-3); margin-left: .32em; }
.fuss .marke-wort small { color: var(--nacht-text); }
.haupt { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); margin-left: auto; }
.haupt a { position: relative; padding: .5rem 0; font-size: .98rem; font-weight: 560; text-decoration: none; white-space: nowrap; }
.haupt a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 3px; border-radius: 3px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--aus); }
.haupt a[aria-current="page"]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .haupt a:hover::after { transform: none; } }
.haupt .nur-menue { display: none; }
.kopf-tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 680; font-size: .98rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kopf-tel svg { width: 1.05rem; height: 1.05rem; color: var(--signal); }
.menue-knopf { display: none; }
@media (max-width: 1180px) { .kopf-tel { display: none; } }
@media (max-width: 940px) {
  .kopf-innen { min-height: 4.1rem; }
  .kopf .kopf-cta { margin-left: auto; }
  .menue-knopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem 1rem; border: 0; border-radius: 999px; background: var(--flaeche); color: var(--tinte); font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; }
  .menue-knopf i { width: 1rem; height: .62rem; border-block: 2px solid currentColor; transition: height .25s var(--aus); }
  .menue-knopf[aria-expanded="true"] i { height: 0; border-bottom-width: 0; }
  .haupt { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .5rem var(--rand) 1.5rem; background: var(--papier); border-bottom: 1px solid var(--haar); box-shadow: 0 30px 40px -30px rgb(10 19 34 / .35); flex-direction: column; align-items: stretch; gap: 0; }
  .haupt.offen { display: flex; }
  .haupt a { padding: .95rem 0; font-size: 1.15rem; font-stretch: 108%; font-weight: 650; border-bottom: 1px solid var(--haar); }
  .haupt a::after { display: none; }
  .haupt a[aria-current="page"] { color: var(--signal-schrift); }
  .haupt .nur-menue { display: block; }
}
@media (max-width: 420px) { .kopf .kopf-cta { display: none; } .menue-knopf { margin-left: auto; } }

/* Feste Leiste am Handy: Anrufen und Erstgespräch immer in Daumennähe */
.leiste { display: none; }
@media (max-width: 720px) {
  .leiste { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .5rem; padding: .6rem var(--rand) calc(.6rem + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--haar); transition: transform .35s var(--aus); }
  .leiste.weg { transform: translateY(110%); }
  .leiste .knopf { min-height: 3rem; padding-inline: .75rem; font-size: .98rem; }
  body { padding-bottom: 4.4rem; }
}

/* ---------- Hero ---------- */
.held { padding-block: clamp(2rem, 4.5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.held-raster { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.held h1 { font-size: clamp(2.35rem, .9rem + 3.3vw, 3.9rem); }
.held-text { display: grid; gap: 1.5rem; justify-items: start; }
.held h1 .leiser { color: var(--tinte-3); }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.fakten { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .55rem; font-size: .98rem; font-weight: 560; }
.fakten li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.fakten li::before { content: ""; width: .8rem; height: .8rem; margin-top: .38rem; border-radius: 50%; border: 3px solid var(--signal); }
@media (max-width: 1020px) { .held-raster { grid-template-columns: minmax(0, 1fr); } }

/* Tafel: nachtblaue Fläche für Fahrtverlauf, Netzvergleich und Abschluss */
.tafel { position: relative; background: var(--nacht); color: #fff; border-radius: var(--r-l); padding: clamp(1.25rem, 2.6vw, 2.1rem); }
.fahrt-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1rem; }
.fahrt-marke { display: inline-flex; align-items: center; gap: .55rem; color: var(--nacht-text); }
.fahrt-marke i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--signal); color: var(--auf-signal); display: grid; place-items: center; font-style: normal; font-stretch: 100%; font-weight: 800; font-size: .85rem; letter-spacing: 0; }
.fahrt-wahl { display: flex; gap: .2rem; padding: .25rem; background: var(--nacht-2); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.fahrt-wahl::-webkit-scrollbar { display: none; }
.fahrt-wahl button { flex: none; min-height: 2.4rem; padding: .35rem .85rem; border: 0; border-radius: 999px; background: none; color: var(--nacht-text); font: inherit; font-size: .88rem; font-weight: 620; cursor: pointer; transition: background-color .2s, color .2s, transform .16s var(--aus); }
.fahrt-wahl button:active { transform: scale(.96); }
.fahrt-wahl button[aria-pressed="true"] { background: #fff; color: var(--tinte); }
@media (hover: hover) and (pointer: fine) { .fahrt-wahl button:not([aria-pressed="true"]):hover { color: #fff; } }
.fahrt-lage { margin: 0 0 1.05rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem); font-stretch: 110%; font-weight: 680; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.fahrt-kette { --zeit: 3.1rem; --spur: 2.1rem; list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: .55rem; }
.fahrt-kette::before, .fahrt-kette::after { content: ""; position: absolute; left: calc(var(--zeit) + var(--spur) / 2 - 1.5px); top: 1rem; bottom: var(--ende, 4.6rem); width: 3px; border-radius: 3px; background: var(--nacht-haar); }
.fahrt-kette::after { background: var(--signal); transform-origin: 50% 0; transform: scaleY(var(--weg, 1)); transition: transform .75s var(--ein-aus); }
.halt { position: relative; display: grid; grid-template-columns: var(--zeit) var(--spur) minmax(0, 1fr); align-items: start; }
.halt-zeit { padding-top: .52rem; color: var(--nacht-text); font-variant-numeric: tabular-nums; }
.halt-punkt { position: relative; z-index: 1; justify-self: center; margin-top: .42rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--signal); border: 3px solid var(--signal); transition: background-color .3s, border-color .3s, transform .5s var(--aus); }
.halt-inhalt { display: grid; gap: .3rem; padding-left: .55rem; min-width: 0; }
.halt-name { margin: 0; padding-top: .38rem; font-weight: 650; font-size: .93rem; line-height: 1.3; }
.halt-karte { display: grid; gap: .3rem; padding: .5rem .7rem; background: #fff; color: var(--tinte); border-radius: 12px; font-size: .86rem; line-height: 1.35; box-shadow: 0 12px 26px -14px rgb(0 0 0 / .7); transition: opacity .5s var(--aus), transform .5s var(--aus); }
.halt-karte b { font-weight: 660; }
.halt-karte .leise { color: var(--tinte-3); }
.halt.wartet .halt-punkt { background: var(--nacht); border-color: var(--nacht-haar); }
.halt.wartet .halt-karte { opacity: 0; transform: translateY(10px) scale(.98); }
.halt.wartet .halt-name { color: var(--nacht-text); }
.halt.kommt .halt-punkt { transform: scale(1.25); }
.fahrt-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--nacht-haar); font-size: .86rem; color: var(--nacht-text); }
.fahrt-fuss .weiter { color: #fff; }
.fahrt-fuss button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.2rem; padding: .2rem .7rem; border: 0; border-radius: 999px; background: var(--nacht-2); color: #fff; font: inherit; font-size: .84rem; font-weight: 620; cursor: pointer; }
.fahrt-fuss button svg { width: .85rem; height: .85rem; }
/* Kleine Ansichten in den Halten */
.m-suche { display: flex; align-items: center; gap: .5rem; padding: .22rem .7rem; background: var(--flaeche); border-radius: 999px; font-weight: 560; min-width: 0; }
.m-suche svg { width: .9rem; height: .9rem; flex: none; color: var(--tinte-3); }
.m-suche span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-treffer { display: grid; gap: .05rem; padding-inline: .15rem; }
.m-seite { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: center; }
.m-seite img { width: 2.9rem; aspect-ratio: 39 / 50; object-fit: cover; object-position: top; border-radius: 7px; box-shadow: 0 0 0 1px var(--haar); }
.m-seite span { display: grid; gap: .05rem; }
.m-wahl { display: flex; flex-wrap: wrap; gap: .3rem; }
.m-wahl span { padding: .12rem .6rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--haar); font-weight: 620; font-size: .8rem; font-variant-numeric: tabular-nums; }
.m-wahl .gewaehlt { background: var(--tinte); color: #fff; box-shadow: none; }
.m-status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; align-items: start; font-weight: 620; }
.m-status::before { content: ""; width: 1.05rem; height: 1.05rem; margin-top: .05rem; border-radius: 50%; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 66% no-repeat; }
.m-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; }
.m-zeile > i { width: 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--signal-hauch); color: var(--signal-schrift); display: grid; place-items: center; font-style: normal; font-stretch: 80%; font-weight: 750; font-size: .72rem; line-height: 1.05; text-align: center; text-transform: uppercase; letter-spacing: .03em; }
.m-zeile > i svg { width: 1.1rem; height: 1.1rem; }
.m-zeile > span { display: grid; gap: .05rem; min-width: 0; }
.m-marke { align-self: start; padding: .1rem .45rem; border-radius: 999px; background: var(--gruen-hauch); color: #0B6B3F; font-stretch: 80%; font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 560px) { .fahrt-kette { --zeit: 2.75rem; --spur: 1.8rem; } .m-zeile { grid-template-columns: auto minmax(0, 1fr); } .m-marke { grid-column: 2; justify-self: start; } }

/* Richtungen: die vier Branchen als Ziele */
.richtungen { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--tinte); }
.richtungen a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center; height: 100%; padding: 1.15rem 1.25rem 1.15rem 0; text-decoration: none; border-bottom: 1px solid var(--haar); transition: padding .35s var(--aus); }
.richtungen li + li a { padding-left: 1.25rem; border-left: 1px solid var(--haar); }
.richtungen b { font-stretch: 110%; font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }
.richtungen span { grid-column: 1; color: var(--tinte-3); font-size: .9rem; line-height: 1.35; }
.richtungen svg { grid-row: 1 / span 2; grid-column: 2; width: 1.3rem; height: 1.3rem; color: var(--signal); transition: transform .35s var(--aus); }
@media (hover: hover) and (pointer: fine) { .richtungen a:hover svg { transform: translateX(5px); } }
@media (max-width: 900px) { .richtungen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .richtungen li:nth-child(odd) a { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .richtungen { grid-template-columns: minmax(0, 1fr); } .richtungen li a { padding-left: 0 !important; border-left: 0 !important; } }

/* ---------- Arbeiten: Strecke mit sechs Halten ---------- */
.strecke { position: relative; }
.strecke-bahn { list-style: none; margin: 0; padding: .25rem max(var(--rand), (100vw - var(--max)) / 2) 0; display: flex; gap: clamp(1rem, 2.4vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--rand), (100vw - var(--max)) / 2); scrollbar-width: none; overscroll-behavior-x: contain; }
.strecke-bahn::-webkit-scrollbar { display: none; }
.arbeit { flex: none; width: min(60rem, 84vw); scroll-snap-align: start; display: grid; gap: 1.25rem; }
.arbeit-bild { position: relative; display: block; aspect-ratio: 16 / 10.4; padding: clamp(1rem, 3.6vw, 2.75rem) clamp(1rem, 3.6vw, 2.75rem) 0; background: var(--farbe, var(--flaeche-2)); border-radius: var(--r-l); overflow: hidden; }
.arbeit-bild .fenster { display: block; width: 100%; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: var(--schatten-hoch); transition: transform .6s var(--aus); }
.arbeit-bild .fenster img { width: 100%; }
.arbeit-bild .handy { position: absolute; right: 5.5%; bottom: -7%; width: 17.5%; border: 4px solid var(--tinte); border-radius: 14px; overflow: hidden; background: var(--tinte); box-shadow: var(--schatten-hoch); transition: transform .6s var(--aus); }
.arbeit-bild .handy img { width: 100%; border-radius: 10px; }
.arbeit-bild .oeffnen { position: absolute; left: clamp(1rem, 3.6vw, 2.75rem); bottom: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: #fff; color: var(--tinte); font-weight: 680; font-size: .9rem; box-shadow: var(--schatten); }
.arbeit-bild .oeffnen svg { width: 1rem; height: 1rem; transition: transform .3s var(--aus); }
@media (hover: hover) and (pointer: fine) {
  .arbeit-bild:hover .fenster { transform: translateY(-6px); }
  .arbeit-bild:hover .handy { transform: translateY(-12px); }
  .arbeit-bild:hover .oeffnen svg { transform: translateX(4px); }
}
.arbeit-text { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .5rem 2rem; align-items: start; }
.arbeit-text h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-stretch: 114%; letter-spacing: -.03em; }
.arbeit-text h3 + span { display: block; margin-top: .3rem; color: var(--tinte-3); }
.arbeit-text p { margin: 0; color: var(--tinte-2); }
@media (max-width: 700px) { .arbeit-text { grid-template-columns: minmax(0, 1fr); } .arbeit-bild { aspect-ratio: 16 / 12.5; } .arbeit-bild .handy { width: 22%; border-width: 3px; } }
.strecke-netz { display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.netz-linie { flex: 1; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--halte, 6), minmax(0, 1fr)); }
.netz-linie::before { content: ""; position: absolute; left: calc(50% / var(--halte, 6)); right: calc(50% / var(--halte, 6)); top: calc(.625rem - 1.5px); height: 3px; background: var(--haar); border-radius: 3px; }
.netz-linie button { position: relative; display: grid; justify-items: center; gap: .55rem; width: 100%; padding: 0 .25rem; border: 0; background: none; color: var(--tinte-3); font: inherit; cursor: pointer; }
.netz-linie button::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--papier); border: 3px solid var(--tinte); transition: background-color .3s, border-color .3s, transform .4s var(--aus); }
.netz-linie button[aria-current="true"] { color: var(--tinte); }
.netz-linie button[aria-current="true"]::before { background: var(--signal); border-color: var(--signal); transform: scale(1.2); }
.band-flaeche .netz-linie button::before { background: var(--flaeche); }
.band-flaeche .netz-linie button[aria-current="true"]::before { background: var(--signal); }
.netz-pfeile { display: flex; gap: .4rem; flex: none; }
.netz-pfeile button { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--tinte); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .16s var(--aus), background-color .2s, opacity .2s; }
.netz-pfeile button:active { transform: scale(.94); }
.netz-pfeile button:disabled { opacity: .3; cursor: default; }
.netz-pfeile svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 760px) { .netz-linie button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .netz-linie button { min-height: 2.75rem; align-content: center; } .netz-linie::before { top: calc(50% - 1.5px); } }

/* Fahrschein: Hinweis auf den Einführungspreis */
.fahrschein { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center; margin-top: clamp(2.5rem, 5vw, 3.75rem); padding: 1.25rem 1.5rem; border-radius: var(--r-m); background: var(--signal-hauch); position: relative; }
.fahrschein::before, .fahrschein::after { content: ""; position: absolute; top: 50%; width: 1.3rem; height: 1.3rem; margin-top: -.65rem; border-radius: 50%; background: var(--lochfarbe, var(--papier)); }
.fahrschein::before { left: -.65rem; }
.fahrschein::after { right: -.65rem; }
.band-flaeche .fahrschein { --lochfarbe: var(--flaeche); }
.fahrschein .preis { display: grid; gap: .1rem; padding-right: 1.5rem; border-right: 2px dashed rgb(37 87 214 / .4); }
.fahrschein .preis b { white-space: nowrap; font-stretch: 116%; font-weight: 780; font-size: 2rem; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.fahrschein .preis s { color: var(--tinte-3); font-size: .95rem; }
.fahrschein p { margin: 0; color: var(--tinte-2); }
.fahrschein p b { color: var(--tinte); }
@media (max-width: 760px) { .fahrschein { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; } .fahrschein .preis { grid-template-columns: auto 1fr; align-items: baseline; gap: .1rem .7rem; padding: 0 0 .9rem; border-right: 0; border-bottom: 2px dashed rgb(37 87 214 / .4); } .fahrschein .preis .schild { grid-column: 1 / -1; } }

/* ---------- Eine Linie statt fünf Anbieter ---------- */
.umsteigen-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.umsteigen-raster .kopfzeile { margin: 0; position: sticky; top: 7rem; }
.vergleich { display: grid; gap: 1.75rem; }
.ueblich { padding: 1.25rem 1.4rem; border-radius: var(--r-m); background: var(--nacht-2); }
.ueblich p { margin: 0 0 .8rem; color: var(--nacht-text); font-size: .95rem; }
.ueblich ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.ueblich li { display: inline-flex; align-items: center; gap: .45rem; color: var(--nacht-text); font-size: .9rem; font-weight: 560; }
.ueblich li span { padding: .25rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--nacht-haar); }
.ueblich li + li::before { content: ""; width: 1.1rem; height: 1.1rem; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14m-4-4 4 4-4 4M20 16H6m4 4-4-4 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14m-4-4 4 4-4 4M20 16H6m4 4-4-4 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Haltestellenkette (Perlschnur): senkrechte Linie mit Halten, für Leistungen, Listen und den Ablauf */
.kette { --spur: .7rem; list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--abstand, 1.5rem); }
.kette::before { content: ""; position: absolute; left: calc(var(--spur) - 1.5px); top: .7rem; bottom: .7rem; width: 3px; border-radius: 3px; background: var(--signal); transform-origin: 50% 0; }
.kette > li { position: relative; padding-left: calc(var(--spur) * 2 + 1rem); }
.kette > li::before { content: ""; position: absolute; left: calc(var(--spur) - .65rem); top: .12rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--grund, var(--papier)); border: 3px solid var(--signal); }
.band-nacht .kette, .tafel .kette { --grund: var(--nacht); }
.band-flaeche .kette { --grund: var(--flaeche); }
.js .kette[data-zeig]::before { transform: scaleY(0); transition: transform 1.1s var(--ein-aus); }
.js .kette[data-zeig].da::before { transform: none; }
.linienhalte a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1.5rem; align-items: baseline; padding-bottom: 1.5rem; border-bottom: 1px solid var(--nacht-haar); text-decoration: none; }
.linienhalte li:last-child a { border-bottom: 0; padding-bottom: 0; }
.linienhalte h3 { display: flex; align-items: center; gap: .5rem; }
.linienhalte h3 svg { width: 1.05rem; height: 1.05rem; color: var(--signal); transition: transform .3s var(--aus); }
.linienhalte p { grid-column: 1; margin: 0; color: var(--nacht-text); font-size: .98rem; }
.linienhalte .preis { grid-row: 1; grid-column: 2; color: #fff; text-align: right; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .linienhalte a:hover h3 svg { transform: translateX(4px); } }
@media (max-width: 900px) { .umsteigen-raster { grid-template-columns: minmax(0, 1fr); } .umsteigen-raster .kopfzeile { position: static; } }
@media (max-width: 560px) { .linienhalte a { grid-template-columns: minmax(0, 1fr); } .linienhalte .preis { grid-row: auto; grid-column: 1; text-align: left; color: var(--signal); margin-top: .35rem; } }

/* ---------- Kurz erklärt: Filme im Hochformat ---------- */
.filme-raster { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0, 1.48fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.filme-raster .kopfzeile { margin: 0; position: sticky; top: 7rem; justify-items: start; }
@media (max-width: 1100px) { .filme-raster { grid-template-columns: minmax(0, 1fr); } .filme-raster .kopfzeile { position: static; } }
.filme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.8vw, 1.5rem); }
.film-karte { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.film-karte h2, .film-karte h3 { font-size: 1.3rem; font-stretch: 108%; font-weight: 680; letter-spacing: -.018em; line-height: 1.2; }
.film-karte h3 + p { margin: .35rem 0 0; color: var(--tinte-2); font-size: .98rem; }
.film-platz { position: relative; aspect-ratio: 9 / 16; }
.film { position: relative; width: 100%; height: 100%; border-radius: var(--r-l); overflow: hidden; background: var(--nacht); color: #fff; container-type: inline-size; isolation: isolate; box-shadow: var(--schatten); }
@media (max-width: 860px) {
  .filme { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); scroll-padding-inline: var(--rand); scrollbar-width: none; }
  .filme::-webkit-scrollbar { display: none; }
  .film-karte { flex: none; width: min(19rem, 76vw); scroll-snap-align: start; }
}
.filme.gross { grid-template-columns: repeat(3, minmax(0, 21rem)); justify-content: space-between; }
@media (max-width: 860px) { .filme.gross .film-karte { width: min(21rem, 82vw); } }

/* ---------- Erstgespräch: Chat und Handy ---------- */
.gespraech { display: grid; grid-template-columns: minmax(0, 32rem) auto 17rem; justify-content: center; align-items: start; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.gespraech-spalte { display: grid; gap: .9rem; min-width: 0; }
.gespraech-titel { margin: 0; color: var(--tinte-3); }
.gespraech-pfeil { align-self: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--tinte); color: #fff; display: grid; place-items: center; }
.gespraech-pfeil svg { width: 1.2rem; height: 1.2rem; }
.chat { background: var(--papier); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--schatten); }
.chat-kopf { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.15rem; border-bottom: 1px solid var(--haar); }
.chat-kopf img { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.chat-kopf b { display: block; line-height: 1.25; }
.chat-kopf span { font-size: .82rem; color: var(--tinte-3); }
.chat-verlauf { display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.15rem 1.05rem 1.25rem; background: var(--flaeche); }
.chat-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.chat-liste .msg { justify-self: end; max-width: 84%; padding: .62rem .92rem; border-radius: 18px 18px 5px 18px; background: var(--tinte); color: #fff; font-size: .95rem; line-height: 1.42; transform-origin: 100% 100%; }
.chat-liste .msg.leon { justify-self: start; border-radius: 18px 18px 18px 5px; background: var(--papier); color: var(--tinte); box-shadow: 0 1px 2px rgb(10 19 34 / .08); transform-origin: 0 100%; }
.chat-liste .msg.leon + .msg.leon { margin-top: -.15rem; }
.chat-tippt { justify-self: start; display: inline-flex; gap: .28rem; padding: .85rem .95rem; border-radius: 18px 18px 18px 5px; background: var(--papier); box-shadow: 0 1px 2px rgb(10 19 34 / .08); transform-origin: 0 100%; }
.chat-tippt i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--tinte-3); animation: tippen 1.2s infinite; }
.chat-tippt i:nth-child(2) { animation-delay: .15s; }
.chat-tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes tippen { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.js .chat-liste > .wartet { display: none; }
.gespraech.alle .chat-liste > .wartet { display: block; }
.gespraech.alle .chat-tippt { display: none; }
.chat-fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.2rem; padding: .5rem .8rem .5rem 1.15rem; border-top: 1px solid var(--haar); font-size: .82rem; color: var(--tinte-3); }
.chat-fuss button { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.3rem; padding: .3rem .8rem; border: 0; border-radius: 999px; background: var(--flaeche); color: var(--tinte); font: inherit; font-weight: 650; cursor: pointer; transition: transform .16s var(--aus); }
.chat-fuss button:active { transform: scale(.97); }
.chat-fuss button svg { width: .9rem; height: .9rem; }
/* Handy mit echter Konzeptseite. Der Rahmen bleibt schlicht, die Seite ist der Inhalt */
.geraet-wrap { position: relative; justify-self: center; width: 100%; max-width: 17rem; }
.geraet { position: relative; aspect-ratio: 390 / 800; padding: .5rem; border-radius: 2.4rem; background: var(--tinte); box-shadow: var(--schatten-hoch); }
.geraet-schirm { position: relative; height: 100%; border-radius: 1.95rem; overflow: hidden; background: #F0ECE4; }
.geraet-schirm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.geraet-schirm iframe { position: absolute; left: 0; top: 0; width: 390px; height: 800px; max-width: none; border: 0; transform-origin: 0 0; transform: scale(var(--k, .6)); background: #F0ECE4; pointer-events: none; opacity: 0; transition: opacity .4s; }
.geraet-schirm iframe.geladen { opacity: 1; }
.geraet-wrap.aktiv iframe { pointer-events: auto; }
.geraet-wrap.aktiv .geraet { outline: 3px solid var(--signal); outline-offset: 5px; }
.geraet-knopf { position: absolute; z-index: 4; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem 1.05rem; border: 0; border-radius: 999px; background: var(--signal); color: var(--auf-signal); font: inherit; font-weight: 680; font-size: .92rem; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 24px -8px rgb(10 19 34 / .6); transition: transform .16s var(--aus), opacity .3s; }
.geraet-knopf:active { transform: translateX(-50%) scale(.97); }
.geraet-knopf svg { width: 1rem; height: 1rem; }
.geraet-wrap.aktiv .geraet-knopf { opacity: 0; pointer-events: none; }
.geraet-hinweis { margin: 1rem 0 0; text-align: center; font-size: .86rem; color: var(--tinte-3); }
.zeiger { position: absolute; z-index: 6; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.zeiger.an { opacity: 1; }
.zeiger svg { position: relative; width: 24px; height: 24px; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .35)); transform-origin: 5px 3px; transition: transform .15s var(--aus); }
.zeiger.druck svg { transform: scale(.86); }
.zeiger i { position: absolute; left: 5px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgb(37 87 214 / .3); border: 2px solid #fff; opacity: 0; transform: scale(.4); transition: opacity .18s, transform .22s var(--aus); }
.zeiger.druck i { opacity: 1; transform: none; }
.grundsaetze { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
.grundsaetze li { padding-top: 1.4rem; border-top: 1.5px solid var(--tinte); }
.grundsaetze h3 { margin-bottom: .55rem; }
.grundsaetze p { margin: 0; color: var(--tinte-2); font-size: .99rem; }
@media (max-width: 940px) {
  .gespraech { grid-template-columns: minmax(0, 1fr); max-width: 32rem; margin-inline: auto; }
  .gespraech-pfeil { justify-self: center; transform: rotate(90deg); }
  .gespraech-spalte:last-child .gespraech-titel { text-align: center; }
  .grundsaetze { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}

/* ---------- Preise ---------- */
.tarife { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.tarif { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--r-l); background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--haar); }
.tarif.empfohlen { background: var(--nacht); color: #fff; box-shadow: var(--schatten-hoch); }
.tarif-kopf { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.tarif-kopf .marke-empf { padding: .22rem .65rem; border-radius: 999px; background: var(--signal); color: var(--auf-signal); }
.tarif .tarif-preis { color: inherit; font-stretch: 116%; font-weight: 780; font-size: clamp(2.3rem, 1.6rem + 2vw, 3.1rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tarif .tarif-preis small { font-stretch: 100%; font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--tinte-3); margin-left: .3rem; }
.tarif.empfohlen .tarif-preis small, .tarif.empfohlen p:not(.tarif-preis), .tarif.empfohlen li { color: var(--nacht-text); }
.tarif p { margin: 0; color: var(--tinte-2); font-size: .98rem; }
.tarif ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; font-size: .96rem; color: var(--tinte-2); }
.tarif li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; }
.tarif li::before { content: ""; width: .72rem; height: .72rem; margin-top: .42rem; border-radius: 50%; border: 2.5px solid var(--signal); }
.tarif .knopf { justify-self: start; }
@media (max-width: 900px) { .tarife { grid-template-columns: minmax(0, 1fr); } }
.monat-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; margin-top: 1rem; padding: 1.35rem clamp(1.4rem, 2.4vw, 2rem); border-radius: var(--r-l); background: var(--flaeche); }
.band-flaeche .monat-zeile { background: var(--papier); }
.monat-zeile dl { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.monat-zeile dl div { display: flex; align-items: baseline; gap: .5rem; }
.monat-zeile dt { color: var(--tinte-2); }
.monat-zeile dd { margin: 0; font-stretch: 112%; font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .monat-zeile { grid-template-columns: minmax(0, 1fr); } }
.fussnote { margin-top: 1.5rem; color: var(--tinte-3); font-size: .92rem; max-width: 52rem; }

/* Preistabellen (Preisseite) */
.tabelle-rahmen { overflow-x: auto; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); scrollbar-width: thin; }
.preistabelle { width: 100%; min-width: 46rem; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.preistabelle th, .preistabelle td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--haar); }
.preistabelle thead th { vertical-align: bottom; padding-bottom: 1.25rem; border-bottom: 1.5px solid var(--tinte); width: 23%; }
.preistabelle thead th:first-child { width: 31%; }
.preistabelle thead b { display: block; font-stretch: 112%; font-size: 1.2rem; letter-spacing: -.02em; }
.preistabelle thead .preis { display: block; margin: .3rem 0 .4rem; font-stretch: 116%; font-weight: 780; font-size: 1.9rem; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.preistabelle thead .preis small { font-stretch: 100%; font-weight: 500; font-size: .85rem; letter-spacing: 0; color: var(--tinte-3); }
.preistabelle thead span.leise { display: block; font-weight: 400; font-size: .9rem; line-height: 1.4; }
.preistabelle .empf { background: var(--flaeche); }
.preistabelle thead .empf { border-radius: var(--r-m) var(--r-m) 0 0; }
.preistabelle thead .marke-empf { display: inline-block; margin-bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; background: var(--signal); color: var(--auf-signal); }
.preistabelle tbody th { font-weight: 500; color: var(--tinte-2); position: sticky; left: 0; background: var(--papier); z-index: 1; }
.preistabelle thead th:first-child { position: sticky; left: 0; background: var(--papier); z-index: 1; }
.preistabelle .gruppe th { padding-top: 1.75rem; color: var(--tinte); border-bottom-color: var(--tinte); position: static; }
.preistabelle td { font-weight: 560; }
.preistabelle .ja, .preistabelle .nein { display: inline-block; width: 1.15rem; height: 1.15rem; vertical-align: -.2rem; border-radius: 50%; }
.preistabelle .ja { background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat; }
.preistabelle .nein { box-shadow: inset 0 0 0 2px var(--haar); }
.preistabelle tfoot td, .preistabelle tfoot th { border-bottom: 0; padding-top: 1.25rem; }
.wisch-hinweis { display: none; margin: .75rem 0 0; color: var(--tinte-3); font-size: .88rem; }
@media (max-width: 800px) { .wisch-hinweis { display: block; } .preistabelle thead th:first-child, .preistabelle tbody th { width: 9.5rem; min-width: 9.5rem; box-shadow: 6px 0 8px -8px rgb(10 19 34 / .25); } }
.zusatzliste { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--tinte); }
.zusatzliste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--haar); }
.zusatzliste li span:last-child { flex: none; font-weight: 700; font-stretch: 108%; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Fahrplan ---------- */
.fahrplan { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.25rem, 2.5vw, 2.5rem); counter-reset: halt; }
.fahrplan::before, .fahrplan::after { content: ""; position: absolute; left: .7rem; right: 12%; top: calc(.7rem - 1.5px); height: 3px; border-radius: 3px; background: var(--haar); }
.fahrplan::after { background: var(--signal); transform-origin: 0 50%; }
.js .fahrplan[data-zeig]::after { transform: scaleX(0); transition: transform 1.4s var(--ein-aus) .1s; }
.js .fahrplan[data-zeig].da::after { transform: none; }
.fahrplan li { position: relative; display: grid; gap: .55rem; align-content: start; padding-top: 2.6rem; counter-increment: halt; }
.fahrplan li::before { content: counter(halt); position: absolute; left: 0; top: 0; z-index: 1; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--signal); color: var(--auf-signal); display: grid; place-items: center; font-weight: 800; font-size: .78rem; font-variant-numeric: tabular-nums; transition: transform .5s var(--aus); }
.js .fahrplan[data-zeig] li::before { transform: scale(0); }
.js .fahrplan[data-zeig].da li::before { transform: none; transition-delay: calc(var(--i, 0) * .32s + .15s); }
.fahrplan .dauer { color: var(--tinte-3); margin-top: -.2rem; }
.fahrplan p { margin: 0; color: var(--tinte-2); font-size: .98rem; }
.band-nacht .fahrplan p, .band-nacht .fahrplan .dauer { color: var(--nacht-text); }
.band-nacht .fahrplan::before { background: var(--nacht-haar); }
@media (max-width: 860px) {
  .fahrplan { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .fahrplan::before, .fahrplan::after { left: calc(.7rem - 1.5px); right: auto; top: .7rem; bottom: 2rem; width: 3px; height: auto; }
  .fahrplan::after { transform-origin: 50% 0; }
  .js .fahrplan[data-zeig]::after { transform: scaleY(0); }
  .fahrplan li { padding: 0 0 0 2.6rem; }
}

/* ---------- Studio ---------- */
.studio-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.portrait { position: relative; margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--flaeche-2); aspect-ratio: 4 / 4.6; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.portrait figcaption { position: absolute; left: 1rem; bottom: 1rem; display: grid; gap: .1rem; padding: .7rem 1rem; border-radius: var(--r-m); background: var(--papier); box-shadow: var(--schatten); line-height: 1.3; }
.portrait figcaption span { color: var(--tinte-3); font-size: .88rem; }
.studio-text { display: grid; gap: 1.4rem; justify-items: start; }
.studio-text .gross { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); font-stretch: 108%; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; margin: 0; text-wrap: pretty; }
.eckdaten { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; border-top: 1.5px solid var(--tinte); }
.eckdaten li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--haar); }
.eckdaten li span:first-child { color: var(--tinte-3); padding-top: .15rem; }
@media (max-width: 860px) { .studio-raster { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 24rem; } }
@media (max-width: 480px) { .eckdaten li { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }

/* ---------- Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.fragen-raster .kopfzeile { margin: 0; position: sticky; top: 7rem; }
.fragen { border-top: 1.5px solid var(--tinte); }
.fragen details { border-bottom: 1px solid var(--haar); }
.fragen summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; cursor: pointer; list-style: none; font-stretch: 106%; font-weight: 660; font-size: 1.1rem; letter-spacing: -.012em; line-height: 1.3; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1322' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 52% no-repeat; transition: transform .35s var(--aus), background-color .2s; }
.band-flaeche .fragen summary::after { background-color: var(--papier); }
.fragen details[open] summary::after { transform: rotate(45deg); background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.fragen details p { margin: 0; padding: 0 3.4rem 1.4rem 0; color: var(--tinte-2); max-width: 44rem; }
@media (max-width: 900px) { .fragen-raster { grid-template-columns: minmax(0, 1fr); } .fragen-raster .kopfzeile { position: static; } .fragen details p { padding-right: 0; } }

/* ---------- Abschluss und Fuß ---------- */
.abschluss { background: var(--nacht); color: #fff; padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem); }
.abschluss-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.abschluss h2 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem); }
.abschluss h2 em { font-style: normal; color: var(--signal); }
.abschluss .lead { color: var(--nacht-text); margin-top: 1.4rem; }
.abschluss-wege { display: grid; gap: .75rem; justify-items: stretch; }
.abschluss-wege .knopf { justify-content: space-between; min-height: 3.75rem; padding-inline: 1.6rem; font-size: 1.08rem; }
.abschluss-wege p { margin: .5rem 0 0; color: var(--nacht-text); font-size: .92rem; }
@media (max-width: 480px) { .abschluss-wege .knopf small { display: none; } }
@media (max-width: 860px) { .abschluss-raster { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.fuss { background: var(--nacht); color: #fff; padding-block: 0 2.5rem; font-size: .96rem; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--nacht-haar); }
.fuss-marke p { margin: 1rem 0 0; color: var(--nacht-text); max-width: 20rem; }
.fuss .fuss-titel { font-size: .8rem; font-stretch: 80%; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--nacht-text); margin: 0 0 .9rem; line-height: 1.3; text-wrap: balance; overflow-wrap: break-word; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fuss a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fuss ul a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; } }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--nacht-haar); color: var(--nacht-text); font-size: .88rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fuss-marke { grid-column: 1 / -1; } }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.seitenkopf .rahmen { display: grid; gap: 1.5rem; justify-items: start; }
.seitenkopf h1 { max-width: 17ch; }
.seitenkopf.breit h1 { max-width: 22ch; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; color: var(--tinte-3); font-size: .92rem; }
.brotkrumen li + li::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .5rem; border-radius: 50%; border: 2px solid var(--signal); vertical-align: .05rem; }
.brotkrumen a { text-decoration: none; }
.zweispalter { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.zweispalter > .kopfzeile { margin: 0; }
.zweispalter.klebt > .kopfzeile { position: sticky; top: 7rem; }
@media (max-width: 900px) { .zweispalter { grid-template-columns: minmax(0, 1fr); } .zweispalter.klebt > .kopfzeile { position: static; } }
.halteliste { --abstand: 1.15rem; }
.halteliste li b { display: block; }
.halteliste li span { color: var(--tinte-2); }
.band-nacht .halteliste li span { color: var(--nacht-text); }
.halteliste.dicht { --abstand: .7rem; --spur: .55rem; font-size: .98rem; }
.halteliste.dicht > li::before { width: 1rem; height: 1rem; left: calc(var(--spur) - .5rem); top: .28rem; border-width: 2.5px; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 4rem); border-top: 1.5px solid var(--tinte); }
.vorteile li { padding: 1.5rem 0; border-bottom: 1px solid var(--haar); }
.vorteile h3 { margin-bottom: .5rem; }
.vorteile p { margin: 0; color: var(--tinte-2); }
@media (max-width: 760px) { .vorteile { grid-template-columns: minmax(0, 1fr); } }

/* Arbeiten-Seite: jede Konzeptarbeit als eigener Block */
.projekt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--haar); }
.projekt:nth-of-type(even) { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.projekt:nth-of-type(even) .arbeit-bild { order: 2; }
.projekt-text { display: grid; gap: 1.1rem; justify-items: start; }
.projekt-text h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); }
.projekt-text .ort { color: var(--tinte-3); margin: -.6rem 0 0; }
.projekt-text p { margin: 0; color: var(--tinte-2); }
.marken { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.marken li { padding: .25rem .7rem; border-radius: 999px; background: var(--flaeche); color: var(--tinte-2); }
.projekt-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
@media (max-width: 900px) { .projekt, .projekt:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); } .projekt:nth-of-type(even) .arbeit-bild { order: 0; } }

/* Formular */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.formular { display: grid; gap: 2.25rem; }
.formular fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 1.1rem; min-width: 0; }
.formular legend { padding: 0; margin-bottom: 1.1rem; width: 100%; padding-bottom: .7rem; border-bottom: 1.5px solid var(--tinte); font-stretch: 110%; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.feld { display: grid; gap: .4rem; }
.feld label, .feld .label { font-weight: 620; font-size: .96rem; }
.feld .hilfe { color: var(--tinte-3); font-size: .88rem; }
.feld input, .feld textarea, .feld select { width: 100%; min-height: 3.1rem; padding: .7rem .95rem; border: 0; border-radius: 12px; background: var(--flaeche); color: var(--tinte); font: inherit; box-shadow: inset 0 0 0 1.5px var(--haar); transition: box-shadow .2s, background-color .2s; }
.feld textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--tinte-3); }
.feld input:focus-visible, .feld textarea:focus-visible, .feld select:focus-visible { outline: none; background: var(--papier); box-shadow: inset 0 0 0 2.5px var(--tinte); }
.feld-paar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
@media (max-width: 560px) { .feld-paar { grid-template-columns: minmax(0, 1fr); } }
.optionen { display: flex; flex-wrap: wrap; gap: .45rem; }
.option { position: relative; }
.option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.option span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--haar); font-weight: 560; font-size: .96rem; transition: background-color .2s, color .2s, box-shadow .2s; }
.option input:checked + span { background: var(--tinte); color: #fff; box-shadow: none; }
.option input:focus-visible + span { outline: 2.5px solid var(--tinte); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .option input:not(:checked):hover + span { box-shadow: inset 0 0 0 1.5px var(--tinte); } }
.haken { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .96rem; }
.haken input { width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--tinte); }
.falle { position: absolute; left: -200vw; }
.meldung { margin: 0; padding: 1rem 1.2rem; border-radius: var(--r-m); background: var(--signal-hauch); font-weight: 560; }
.seitenleiste { display: grid; gap: 1rem; position: sticky; top: 6.5rem; }
.kasten { display: grid; gap: .8rem; justify-items: start; padding: 1.5rem; border-radius: var(--r-l); background: var(--flaeche); }
.kasten.nacht { background: var(--nacht); color: #fff; }
.kasten.nacht p { color: var(--nacht-text); }
.kasten p { margin: 0; color: var(--tinte-2); font-size: .97rem; }
.kasten .gross-tel { font-stretch: 112%; font-weight: 760; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (max-width: 940px) { .kontakt-raster { grid-template-columns: minmax(0, 1fr); } .seitenleiste { position: static; } }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.55rem; font-stretch: 110%; letter-spacing: -.02em; margin: 2.75rem 0 .9rem; padding-top: 1.5rem; border-top: 1.5px solid var(--tinte); }
.rechtstext h3 { margin: 1.75rem 0 .5rem; }
.rechtstext p, .rechtstext li { color: var(--tinte-2); }
.rechtstext a { text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.rechtstext ul { display: grid; gap: .4rem; }
.rechtstext address { font-style: normal; }
.rechtstext table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--haar); }
.rechtstext th { font-weight: 650; }
/* Offene Angaben, die Leon vor dem Livegang liefern muss: absichtlich auffällig */
.luecke { background: #FFF1A8; color: var(--tinte); padding: .05em .35em; border-radius: 5px; box-shadow: 0 0 0 1.5px #D9B400; font-weight: 600; }
.entwurf-hinweis { display: grid; gap: .4rem; margin: 0 0 2.5rem; padding: 1.1rem 1.3rem; border-radius: var(--r-m); background: #FFF1A8; box-shadow: inset 0 0 0 1.5px #D9B400; color: var(--tinte); }
.entwurf-hinweis p { color: var(--tinte); margin: 0; }
.erfolg { width: 4rem; height: 4rem; border-radius: 50%; background: var(--signal); color: var(--auf-signal); display: grid; place-items: center; }
.erfolg svg { width: 2rem; height: 2rem; }

/* ---------- Einblenden ---------- */
.js [data-zeig]:not(.kette):not(.fahrplan) { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--aus), transform .7s var(--aus); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-zeig].da:not(.kette):not(.fahrplan) { opacity: 1; transform: none; }
/* Logo zeichnet sich beim ersten Laden: die Linie fährt von Start nach Ziel */
.js .kopf .marke-zeichen .weg { stroke-dasharray: 1; stroke-dashoffset: 1; animation: weg-zeichnen 1.1s var(--ein-aus) .15s forwards; }
.js .kopf .marke-zeichen .ziel { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: ziel-an .45s var(--aus) 1.1s forwards; }
@keyframes weg-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes ziel-an { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  /* Filme sind ausgenommen: Sie laufen nur, wenn jemand sie selbst startet */
  *:not(.film-buehne, .film-buehne *), *:not(.film-buehne, .film-buehne *)::before, *:not(.film-buehne, .film-buehne *)::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-zeig]:not(.kette):not(.fahrplan) { opacity: 1; transform: none; }
  .js .kette[data-zeig]::before, .js .fahrplan[data-zeig]::after, .js .fahrplan[data-zeig] li::before { transform: none; }
}

@media print {
  .kopf, .leiste, .abschluss-wege, .strecke-netz { display: none; }
  body { padding: 0; }
}

/* ---------- Nachträge aus der Prüfung ---------- */
.held-satz { margin: 0; color: var(--signal-schrift); font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-stretch: 110%; font-weight: 680; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.rechnung { margin-top: clamp(2rem, 4vw, 3rem); max-width: 40rem; padding: clamp(1.3rem, 2.4vw, 1.9rem); border-radius: var(--r-l); background: var(--papier); box-shadow: var(--schatten); }
.rechnung h3 { margin-bottom: 1rem; }
.rechnung dl { margin: 0; display: grid; }
.rechnung dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .65rem 0; border-bottom: 1px solid var(--haar); }
.rechnung dt { color: var(--tinte-2); }
.rechnung dd { margin: 0; flex: none; font-weight: 650; font-variant-numeric: tabular-nums; }
.rechnung .summe { border-bottom: 0; border-top: 1.5px solid var(--tinte); margin-top: -1px; padding-top: .9rem; }
.rechnung .summe dt { color: var(--tinte); font-weight: 680; }
.rechnung .summe dd { font-stretch: 114%; font-weight: 780; font-size: 1.5rem; letter-spacing: -.03em; }
.rechnung p { margin: .9rem 0 0; color: var(--tinte-3); font-size: .93rem; }
/* Sehr schmale Handys (320 px): Die Kopfleiste zeigt nur „Northline“, sonst passt das Menü nicht daneben */
@media (max-width: 370px) { .kopf .marke-wort small { display: none; } .kopf-innen { gap: .6rem; } .menue-knopf { padding-inline: .8rem; } }
.zusatzliste li span:first-child, .rechnung dt, .eckdaten li span, .linienhalte p { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
