/* ==========================================================================
   TrainTechSolutions · Startseite
   Intro (Zoom-Fahrt, Weichensignal, Weiche stellen) und die Strecken darunter.
   Grundlagen (Farben, Schrift, Buttons, Kopfzeile, Abschluss) kommen aus seiten.css.
   Ablauf über body[data-phase]: laden → start (Startfrage) → zoom → halt → fahrt → da
   ========================================================================== */

/* ---------- Intro ---------- */
.intro { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #070b10; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: radial-gradient(130% 95% at 55% 42%, transparent 52%, rgba(0, 0, 0, .66) 100%); }
.fx-dip { position: absolute; inset: 0; z-index: 9; background: #020304; opacity: 0; pointer-events: none; }
.no-webgl .intro { background: #05070a url(../assets/fallback.jpg) center 40% / cover no-repeat; }
/* warum die 3D-Ansicht aus ist – klein, damit man es melden kann */
.intro__ohne3d { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 8px; font: 500 10px/1.3 var(--mono); color: rgba(243, 240, 232, .38); pointer-events: none; }

/* Führerstand nur angedeutet: Dach, Säulen, Pult */
.cab-frame { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cab-frame i { position: absolute; display: block; }
.cab-frame__roof { left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(#010203 15%, rgba(1, 2, 3, 0)); }
.cab-frame__pillar { top: -6%; bottom: -6%; width: 12%; filter: blur(10px); }
.cab-frame__pillar--l { left: -4%; background: linear-gradient(90deg, #010203 45%, rgba(1, 2, 3, 0)); transform: skewX(-7deg); }
.cab-frame__pillar--r { right: -4%; background: linear-gradient(270deg, #010203 45%, rgba(1, 2, 3, 0)); transform: skewX(7deg); }
.cab-frame__desk { left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(0deg, rgba(1, 2, 3, .95) 18%, rgba(1, 2, 3, 0)); }

/* Titel links oben, während der Fahrt groß, beim Halt etwas zurückgenommen */
.intro__copy { position: absolute; z-index: 6; left: var(--pad); top: clamp(104px, 17vh, 170px); max-width: min(720px, 86vw); pointer-events: none; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: puls 2.4s infinite; }
@keyframes puls { 50% { opacity: .35; } }
.intro__title { font-size: clamp(3.2rem, 7.6vw, 8.6rem); line-height: .9; letter-spacing: -.055em; font-weight: 500; transform-origin: left top; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.line > span { display: block; transform: translateY(108%); transition: transform 1.5s var(--ease); }
.line:nth-child(2) > span { transition-delay: .12s; color: var(--ink-em); }
.is-ready .line > span { transform: none; }
.intro__lead { margin-top: 22px; max-width: 440px; font-size: clamp(15px, 1.2vw, 17.5px); line-height: 1.55; color: var(--ink-2); opacity: 0; transition: opacity 1s var(--ease) .2s; }
[data-phase="halt"] .intro__lead, [data-phase="fahrt"] .intro__lead, [data-phase="da"] .intro__lead { opacity: 1; }

/* Tacho: klein unten links, nur Zahl und Reststrecke */
.tacho { position: absolute; z-index: 6; left: var(--pad); bottom: clamp(24px, 5vh, 48px); display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; font-family: var(--mono); color: var(--ink-2); transition: opacity .8s var(--ease); }
.tacho b { font-size: 34px; font-weight: 500; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.tacho span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.tacho small { grid-column: 1 / -1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--kupfer); }
/* Fahrtregler unten rechts (vorübergehend): Tempo der Fahrt und Überspringen, nur während der Fahrt */
.fahrtregler { position: absolute; z-index: 7; right: var(--pad); bottom: clamp(24px, 5vh, 48px); display: flex; align-items: center; gap: 16px; transition: opacity .6s; }
body:not([data-phase="zoom"]):not([data-phase="fahrt"]) .fahrtregler, .no-webgl .fahrtregler { opacity: 0; pointer-events: none; }
.fahrtregler__tempo { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 13, 18, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.fahrtregler__tempo button { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 6px 11px; border-radius: 999px; transition: color .3s, background .3s; }
.fahrtregler__tempo button:hover { color: var(--ink); }
.fahrtregler__tempo button[aria-pressed="true"] { color: #0b0d10; background: var(--kupfer); }
.skip { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 8px 2px; border-bottom: 1px solid var(--line); transition: color .3s; }
.skip:hover { color: var(--ink); }
/* Startfrage beim Öffnen: groß in der Mitte über der stehenden Szene; der Ring leert sich in drei Sekunden und
   leuchtet zur Abfahrt grün auf (wie der Leuchtring des Abfahrauftrags) */
.startfrage { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 96px var(--pad) 40px; text-align: center; background: radial-gradient(120% 95% at 50% 46%, rgba(4, 7, 11, .5), rgba(2, 3, 5, .9)); opacity: 0; pointer-events: none; transition: opacity .8s var(--ease); }
body.is-ready[data-phase="start"] .startfrage { opacity: 1; pointer-events: auto; }
.startfrage__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.startfrage__titel { font-size: clamp(2.4rem, 6.4vw, 6.4rem); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.startfrage__titel em { font-style: normal; color: var(--kupfer); }
.startfrage__frage { margin-top: 18px; font-size: clamp(17px, 1.7vw, 23px); color: var(--ink-2); }
.startfrage__text { margin-top: clamp(28px, 6vh, 52px); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.startfrage__uhr { position: relative; width: 86px; height: 86px; margin: 12px 0 26px; }
.startfrage__uhr svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.startfrage__uhr circle { fill: none; stroke-width: 3; }
.startfrage__spur { stroke: rgba(243, 240, 232, .12); }
.startfrage__ring { stroke: var(--kupfer); stroke-linecap: round; stroke-dasharray: 289.03; stroke-dashoffset: calc(289.03 * var(--lauf, 0)); transition: stroke .3s; }
.startfrage__uhr b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 34px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.is-abfahrt .startfrage__ring { stroke-dashoffset: 0; stroke: var(--green); filter: drop-shadow(0 0 8px var(--green)); }
.is-abfahrt .startfrage__text { color: var(--green); }
/* solange die Frage steht, ruhen Titel und Tacho */
[data-phase="start"] .intro__copy, [data-phase="start"] .tacho { opacity: 0; }

/* bei der Fahrt steht unten mittig „Weiche gestellt“ – auf schmaleren Schirmen rückt der Regler darüber */
@media (max-width: 1500px) { [data-phase="fahrt"] .fahrtregler { bottom: calc(clamp(20px, 5vh, 46px) + 112px); } }


/* Weichensignale Wn 1 und Wn 2 als Zeichen auf den Knöpfen */
.wn { flex: none; width: 30px; height: 38px; overflow: visible; }
.wn__feld { fill: #040506; stroke: rgba(243, 240, 232, .34); stroke-width: 1; }
.wn__bild { fill: #f6f4ee; transition: filter .3s; }
.wn__fuss { fill: #49515b; }
.weiche:hover .wn__bild, .weiche:focus-visible .wn__bild { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .95)); }

/* Stellwerk: die Wahl der Weiche, unten mittig */
.stellwerk { position: absolute; z-index: 8; left: 50%; bottom: clamp(20px, 5vh, 46px); width: min(680px, calc(100% - 2 * var(--pad))); transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: opacity .9s var(--ease), transform 1s var(--ease); padding: 14px; border-radius: 26px; background: linear-gradient(180deg, rgba(20, 25, 32, .62), rgba(8, 11, 15, .84)); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
[data-phase="halt"] .stellwerk { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.stellwerk__kicker { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.stellwerk__kicker .lampe { width: 7px; height: 7px; border-radius: 50%; background: var(--kupfer); box-shadow: 0 0 12px var(--kupfer); animation: puls 1.6s infinite; }
.stellwerk__wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.weiche { display: flex; align-items: center; gap: 15px; padding: 14px 18px 14px 14px; border-radius: 18px; text-align: left; border: 1px solid rgba(243, 240, 232, .22); background: rgba(14, 17, 22, .6); transition: border-color .3s, background .3s, box-shadow .4s, transform .5s var(--ease); }
.weiche b { display: block; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; }
.weiche small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.weiche .weiche__signal { margin: 0 0 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--stahl); }
.weiche--rechts .weiche__signal { color: var(--kupfer); }
.weiche--links:hover, .weiche--links:focus-visible { border-color: rgba(140, 192, 230, .8); background: rgba(140, 192, 230, .1); box-shadow: 0 0 30px rgba(140, 192, 230, .3); }
.weiche--rechts:hover, .weiche--rechts:focus-visible { border-color: rgba(224, 160, 112, .8); background: rgba(224, 160, 112, .1); box-shadow: 0 0 30px rgba(224, 160, 112, .32); }
.weiche:active { transform: scale(.98); }
.stellwerk__tipp { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-3); }

/* Fahrt frei: nach dem Stellen */
.fahrt-frei { position: absolute; z-index: 8; left: 50%; bottom: clamp(20px, 5vh, 46px); transform: translate(-50%, 18px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(10, 13, 18, .72); border: 1px solid rgba(72, 240, 141, .35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
[data-phase="fahrt"] .fahrt-frei, [data-phase="da"] .fahrt-frei { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fahrt-frei__lampe { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.fahrt-frei__text { font-size: 14px; color: var(--ink-2); }
.fahrt-frei__text b { font-weight: 500; color: var(--ink); }
.fahrt-frei [data-zu-apps], .fahrt-frei [data-umstellen] { opacity: .35; pointer-events: none; transition: opacity .6s; }
[data-phase="da"] .fahrt-frei [data-zu-apps], [data-phase="da"] .fahrt-frei [data-umstellen] { opacity: 1; pointer-events: auto; }
[data-phase="halt"] .tacho { opacity: .75; }
[data-phase="da"] .fahrt-frei { opacity: 0; transform: translate(-50%, 18px); pointer-events: none; }
/* am Ziel gehört der Blick der Tafel bzw. der Eisenbahn-Akademie */
.intro__copy { transition: opacity 1s var(--ease); }
[data-phase="da"] .intro__copy, [data-phase="da"] .tacho { opacity: 0; }

/* Am Ziel: Abfahrtstafel im Hauptbahnhof, Stundenplan in der Eisenbahn-Akademie */
.ankunft { position: absolute; z-index: 8; left: 50%; bottom: clamp(20px, 5vh, 46px); width: min(700px, calc(100% - 2 * var(--pad))); transform: translate(-50%, 22px); opacity: 0; pointer-events: none; transition: opacity .9s var(--ease) .25s, transform 1s var(--ease) .25s; }
[data-phase="da"] .ankunft { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ankunft__tafel { display: none; padding: 14px 14px 12px; border-radius: 24px; background: linear-gradient(180deg, rgba(13, 26, 54, .8), rgba(6, 11, 22, .9)); border: 1px solid rgba(160, 190, 240, .16); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
[data-weg="betrieb"] .ankunft__tafel[data-ziel="betrieb"], [data-weg="ausbildung"] .ankunft__tafel[data-ziel="ausbildung"] { display: block; }
.ankunft__tafel[data-ziel="ausbildung"] { background: linear-gradient(180deg, rgba(22, 30, 38, .74), rgba(10, 14, 19, .88)); border-color: rgba(140, 192, 230, .22); }
.ankunft__kopf { display: flex; align-items: center; gap: 10px; margin: 2px 6px 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.ankunft__kopf .lampe { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.ankunft__kopf time { margin-left: auto; font-size: 13px; letter-spacing: .06em; color: #ffd75e; }
.ankunft__titel { margin: 0 6px 10px; font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.ankunft__titel em { font-style: normal; color: var(--kupfer); }
[data-ziel="ausbildung"] .ankunft__titel em { color: var(--stahl); }
.ankunft__zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ankunft__zeilen button { width: 100%; display: grid; grid-template-columns: 52px minmax(118px, auto) 1fr auto; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 12px; text-align: left; transition: background .25s; }
.ankunft__zeilen button:hover, .ankunft__zeilen button:focus-visible { background: rgba(255, 255, 255, .07); }
.ankunft__zeilen time { font-family: var(--mono); font-size: 13.5px; color: #ffd75e; font-variant-numeric: tabular-nums; }
.ankunft__zeilen b { font-size: 15px; font-weight: 500; }
.ankunft__zeilen span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ankunft__zeilen i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: rgba(243, 240, 232, .92); color: #0b1b3c; }
[data-ziel="ausbildung"] .ankunft__zeilen i { background: rgba(140, 192, 230, .2); color: var(--ink); }
.ankunft__aktionen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 10px 4px 2px; }
/* Im Hauptbahnhof ist die Anzeigetafel selbst anklickbar – die Zeilen hier bleiben unsichtbar,
   bis jemand mit der Tastatur hineinspringt */
.ankunft__hinweis { margin: -4px 6px 0; font-size: 13.5px; color: var(--ink-2); }
.ankunft__pfeil { display: inline-block; color: #ffd75e; font-weight: 600; animation: pfeil-hoch 1.6s ease-in-out infinite; }
@keyframes pfeil-hoch { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ankunft__pfeil { animation: none; } }
.ankunft__zeilen--tafel:not(:focus-within) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ankunft__tafel[data-ziel="betrieb"] { padding-bottom: 10px; }

/* Ton */
.sound-btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px 0 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 13, 18, .38); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.sound-btn:hover { color: var(--ink); border-color: rgba(255, 255, 255, .25); }
.sound-btn[aria-pressed="true"] { color: var(--kupfer); border-color: rgba(224, 160, 112, .45); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.eq i { width: 2px; height: 3px; border-radius: 1px; background: currentColor; }
[aria-pressed="true"] .eq i { animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s !important; } .eq i:nth-child(3) { animation-delay: -.7s !important; } .eq i:nth-child(4) { animation-delay: -.2s !important; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 13px; } }

/* Ladebildschirm */
.loader { position: fixed; inset: 0; z-index: 100; background: #030405; display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader__mark img, .loader__mark canvas { display: block; height: 88px; width: 88px; }
/* Standbild ohne Skript pulsiert; das lebende Zeichen fährt stattdessen */
.loader__mark img { animation: loaderPuls 2.6s var(--ease) infinite; }
@keyframes loaderPuls { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(224, 160, 112, .45)); } }
.loader__mark span { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.loader__mark b { font-weight: 600; color: var(--kupfer); }
.loader__bar { width: 160px; height: 1px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; background: var(--ink); animation: laden 1.1s var(--ease) infinite; }
@keyframes laden { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Strecken ---------- */
#apps { display: flex; flex-direction: column; }
/* Kompakter Kopf, damit Text und Präsentation möglichst zusammen auf einen Bildschirm passen */
.strecke { padding: clamp(72px, 9vh, 110px) var(--pad) 0; scroll-margin-top: 40px; }
.strecke__kopf h2 { font-size: clamp(2.4rem, 4.8vw, 4.6rem); line-height: .96; letter-spacing: -.05em; font-weight: 500; max-width: 22ch; }
/* Text oben in zwei Spalten, darunter die Präsentation über die volle Breite – groß genug zum Erkennen */
.strecke__inhalt { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 3.6vh, 40px); }
.strecke__inhalt[hidden] { display: none; }
.strecke__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 80px); align-content: start; }
.strecke__text > * { grid-column: 1; }
.strecke__text > .punkte { grid-column: 2; grid-row: 1 / span 6; align-self: start; margin-top: 4px; }
.strecke .praes { aspect-ratio: 16 / 8.6; }
.strecke__text h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin-bottom: 18px; }
.strecke__text .lead { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); max-width: 520px; }
.strecke__text .meta { margin-top: 22px; }
.punkte { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; list-style: none; }
.punkte li { padding: 14px 0; border-top: 1px solid var(--line); }
.punkte b { display: block; font-weight: 500; font-size: 15px; }
.punkte span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.strecke .cta-row { margin-top: 22px; }
.strecke.is-gewaehlt .strecke__kopf .kicker span:first-child::after { content: ' · gestellt'; color: var(--green); }
.strecke__wechsel { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
.strecke__wechsel button { margin-left: 6px; padding-bottom: 2px; color: var(--ink); border-bottom: 1px solid rgba(224, 160, 112, .5); transition: border-color .3s; }
.strecke__wechsel button:hover { border-color: var(--kupfer); }
.strecke__wechsel button::after { content: ' →'; }

/* Noch nicht gestellt: unten steht nur die Frage nach der Richtung */
.weiche-offen { padding: clamp(90px, 13vh, 150px) var(--pad) 0; }
.weiche-offen h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: .94; letter-spacing: -.05em; font-weight: 500; }
.weiche-offen .lead { margin-top: 22px; max-width: 520px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.weiche-offen .stellwerk__wahl { margin-top: 34px; max-width: 760px; }

/* Reiter für die Apps im Betrieb */
.reiter { margin-top: 24px; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 13, 18, .5); }
.reiter button { font-size: 14px; padding: 9px 18px; border-radius: 999px; color: var(--ink-2); transition: color .3s, background .3s; }
.reiter button:hover { color: var(--ink); }
.reiter button[aria-selected="true"] { color: #07090c; background: var(--ink); }

/* ---------- Über uns ---------- */
.ueber { padding: clamp(100px, 15vh, 170px) var(--pad) 0; display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ueber__logo img, .ueber__logo canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(224, 160, 112, .12)); }
.ueber__text h2 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); line-height: .93; letter-spacing: -.055em; font-weight: 500; }
.ueber__text > p:not(.kicker) { margin-top: 24px; max-width: 580px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.ueber__text > p.ueber__praxis { padding-left: 18px; border-left: 2px solid var(--kupfer); }
.ueber__praxis b { color: var(--ink); font-weight: 500; }
/* Plattformen als Zeichen: man sieht sofort, worauf die Apps laufen */
.plattformen { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; }
.plattformen li { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 13.5px; color: var(--ink-2); }
.plattformen svg { width: 20px; height: 20px; flex: none; fill: var(--ink); }
.plattformen svg[fill="none"] { fill: none; stroke: var(--ink); }
.fakten { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); max-width: 820px; }
.fakten div { padding: 16px 16px 0 0; }
.fakten b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.fakten span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.finale > p:not(.kicker) { margin-top: 24px; }

/* ---------- 60-Sekunden-Anfrage ---------- */
.apply { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(3, 4, 6, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .45s var(--ease); }
.apply[hidden] { display: none; }
.apply.is-open { opacity: 1; }
.apply__card { position: relative; width: min(580px, calc(100% - 28px)); max-height: calc(100svh - 28px); overflow: auto; border-radius: 28px; padding: 32px; background: linear-gradient(180deg, #11151b, #0a0d11); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); transform: translateY(24px) scale(.98); transition: transform .7s var(--ease); }
.is-open .apply__card { transform: none; }
.apply__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.apply__close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink-2); }
.apply__close:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.apply__close svg { width: 13px; height: 13px; }
.apply__progress { height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; margin-bottom: 34px; overflow: hidden; }
.apply__progress i { display: block; height: 100%; width: 33%; background: var(--kupfer); transition: width .7s var(--ease); }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.step h3 { font-size: clamp(26px, 4vw, 32px); letter-spacing: -.035em; font-weight: 500; line-height: 1.05; }
.step > p { color: var(--ink-3); margin-top: 10px; font-size: 14.5px; }
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: rgba(255, 255, 255, .35); }
.chip[aria-pressed="true"] { background: var(--ink); color: #07090c; border-color: var(--ink); }
.field { margin-top: 16px; display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input { height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-size: 16px; padding: 0 16px; outline: none; transition: border-color .3s; }
.field input:focus { border-color: var(--kupfer); }
.match { margin-bottom: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(72, 240, 141, .07); border: 1px solid rgba(72, 240, 141, .2); font-size: 14px; color: var(--ink-2); }
.match b { color: var(--green); font-weight: 500; }
.note { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; line-height: 1.6; letter-spacing: .04em; color: var(--ink-3); }
.note a { color: var(--ink); border-bottom: 1px solid rgba(224, 160, 112, .45); }
.apply__nav { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; }
.step--done .label { display: block; margin: 22px 0 10px; color: var(--green); }
.big-signal { width: 58px; height: 108px; border-radius: 16px; background: #050608; border: 1px solid rgba(255, 255, 255, .1); display: grid; justify-items: center; align-content: start; padding-top: 16px; }
.big-signal i { width: 24px; height: 24px; border-radius: 50%; background: var(--green); box-shadow: 0 0 30px var(--green), 0 0 80px rgba(72, 240, 141, .5); animation: signalAn .9s var(--ease); }
@keyframes signalAn { from { background: #ff4433; box-shadow: 0 0 30px #ff4433; } }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1000px) {
  .strecke__text { grid-template-columns: 1fr; }
  .strecke__text > .punkte { grid-column: 1; grid-row: auto; }
  .ueber { grid-template-columns: 1fr; }
  .ueber__logo { max-width: 260px; }
}
.nur-klein { display: none; }
@media (max-width: 760px) {
  .nur-gross { display: none; }
  .nur-klein { display: inline; }
  .sound-btn { width: 40px; padding: 0; justify-content: center; }
  .sound-btn__label { display: none; }
  .intro__copy { top: 92px; right: var(--pad); }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .intro__title { font-size: clamp(2.5rem, 12.5vw, 3.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .7), 0 0 60px rgba(0, 0, 0, .5); }
  /* auf dem Handy läge der Untertitel über der hellen Helix */
  .intro__lead { display: none; }
  .tacho { bottom: auto; top: 92px; left: auto; right: var(--pad); text-align: right; }
  .tacho b { font-size: 24px; }
  [data-phase="halt"] .tacho, [data-phase="fahrt"] .tacho { opacity: 0; }
  .stellwerk { padding: 12px; border-radius: 22px; }
  .stellwerk__wahl { grid-template-columns: 1fr; gap: 8px; }
  .weiche { padding: 10px 14px 10px 10px; }
  .weiche .wn { width: 26px; height: 33px; }
  .stellwerk__tipp { display: none; }
  .fahrt-frei { width: calc(100% - 2 * var(--pad)); border-radius: 22px; padding: 12px; }
  .fahrtregler { left: var(--pad); flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; }
  [data-phase="fahrt"] .fahrtregler { bottom: calc(clamp(20px, 5vh, 46px) + 188px); }
  .fahrt-frei__text { width: 100%; text-align: center; }
  .ankunft__tafel { padding: 12px 10px 10px; border-radius: 20px; }
  .ankunft__titel { font-size: 18px; margin-bottom: 6px; }
  .ankunft__zeilen button { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 8px; }
  .ankunft__zeilen span { display: none; }
  .ankunft__aktionen { justify-content: stretch; }
  .ankunft__aktionen .btn { flex: 1 1 auto; justify-content: center; }
  .punkte { grid-template-columns: 1fr; }
  .punkte span { display: none; }
  .strecke .praes { aspect-ratio: auto; height: min(600px, 96vw + 130px); }
  .reiter { display: flex; border-radius: 20px; }
  .reiter button { flex: 1 1 auto; padding: 8px 12px; font-size: 13px; }
  .fakten { grid-template-columns: repeat(2, 1fr); }
  .fakten b { font-size: 19px; }
}
@media (max-width: 420px) { .brand__wort { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) {
  .line > span, .intro__title, .stellwerk, .fahrt-frei, .ankunft { transition-duration: .01s; transition-delay: 0s; }
  .live-dot, .eq i, .loader__mark img { animation: none !important; }
}
