/* Startseite. Grundzustand = ruhige Fassung (ohne WebGL oder bei „Bewegung reduzieren“).
   Die Klasse .fx am <html> schaltet das Scroll-Erlebnis ein (setzt home.js). */

/* 1 · Auftakt */
.hero { position: relative; background: radial-gradient(120% 60% at 50% 108%, #2a2b31 0%, #1a1b1f 34%, var(--bg) 62%); border-bottom: 1px solid var(--line); }
.hero-pin { position: relative; min-height: 100svh; padding: calc(var(--hd) + 40px) 20px 64px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; text-align: center; }
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero-still { flex: 1; display: grid; place-items: center; min-height: 180px; }
.hero-still img { width: min(46vw, 240px); height: auto; filter: drop-shadow(0 20px 50px rgba(76,125,255,.35)); }
.hero-copy { position: relative; z-index: 2; width: min(100%, 980px); }
.wordmark { font: 700 clamp(1.7rem, 6.2vw, 4.8rem)/1.05 var(--head); font-stretch: 125%; letter-spacing: var(--ls, .14em); margin: 0 0 18px; padding-left: var(--ls, .14em); color: var(--text); filter: blur(var(--blur, 0px)); opacity: var(--wo, 1); }
.hero-sub { font: 500 clamp(1rem, 2.1vw, 1.4rem)/1.4 var(--head); font-stretch: 108%; color: var(--ice); margin: 0 auto 14px; max-width: none; }
.hero-cta p { margin: 0 auto; max-width: 54ch; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-cta .btns { justify-content: center; }
.hud, .fog-hint { display: none; }
.hud span { position: absolute; font: 500 .72rem/1.2 var(--head); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hud b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.hud-tl { left: 20px; top: calc(var(--hd) + 18px); } .hud-tr { right: 20px; top: calc(var(--hd) + 18px); }
.hud-bl { left: 20px; bottom: 18px; } .hud-br { right: 20px; bottom: 18px; }
.fog-hint { position: absolute; left: 0; right: 0; top: 46%; margin: 0 auto; max-width: none; padding: 0 20px; font: 500 clamp(1rem, 2.4vw, 1.35rem)/1.4 var(--head); font-stretch: 112%; letter-spacing: .08em; color: var(--text); z-index: 2; }

.fx .hero { height: 360vh; background: var(--bg); }
.fx .hero-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.fx #hero-gl { display: block; }
.fx .hero-still { display: none; }
.fx .hud, .fx .fog-hint { display: block; }
.fx .hero-copy { margin-top: auto; }
.fx .hero-sub, .fx .hero-cta { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 18px)); }
.fx .hero-cta { pointer-events: none; }
.fx .hero-cta.live { pointer-events: auto; }
@media (max-width: 560px) { .hud-bl { display: none; } .hud span { font-size: .64rem; letter-spacing: .1em; } }

/* 4 · Anrufweg */
.route { position: relative; --p: 1; }
.route-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.route-nodes li { position: relative; padding-left: 68px; opacity: .35; transition: opacity .4s; }
.route-nodes li.on { opacity: 1; }
.rn { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font: 700 1rem/1 var(--head); z-index: 2; transition: background .4s, color .4s, border-color .4s; }
.route-nodes li.on .rn { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.route-nodes h3 { margin: 6px 0 6px; } .route-nodes p { margin: 0; }
.route-wrap { position: relative; }
.route-line { position: absolute; left: 21px; top: 22px; bottom: 74px; width: 2px; background: var(--line); }
.route-line i { position: absolute; inset: 0; background: var(--blue-2); transform-origin: top left; transform: scaleY(var(--p)); }
.route-line b { position: absolute; left: -5px; top: calc(var(--p) * 100% - 6px); width: 12px; height: 12px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 6px rgba(214,217,222,.18), 0 0 22px var(--ice); }
.route-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin: 38px 0 0; max-width: none; color: var(--muted); }
.route-meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.route-done { display: inline-flex; align-items: center; gap: 10px; color: var(--ice); font-weight: 600; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .4s; }
.route-done.on { opacity: 1; transform: none; }
.route-done i { width: 26px; height: 26px; border-radius: 50%; background: var(--ice); position: relative; }
.route-done i::after { content: ""; position: absolute; left: 7px; top: 8px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (min-width: 860px) {
  .route-nodes { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .route-nodes li { padding: 66px 0 0; }
  .route-line { left: 22px; right: calc(25% - 40px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .route-line i { transform: scaleX(var(--p)); }
  .route-line b { top: -5px; left: calc(var(--p) * 100% - 6px); }
}

/* 5 · Ablauf */
.strip { padding: clamp(72px, 11vw, 140px) 0; }
.strip-head { margin-bottom: 30px; }
.strip-track { list-style: none; margin: 0 auto 30px; padding: 0 20px; display: grid; gap: 18px; width: min(100%, var(--wrap)); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.fx .strip { height: 300vh; padding: 0; }
.fx .strip-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd); overflow: hidden; }
.fx .strip-view { overflow: hidden; padding: 16px 0 34px; }
.fx .strip-track { display: flex; gap: 24px; width: max-content; margin: 0; padding: 0 calc(50vw - min(39vw, 210px)); grid-template-columns: none; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.fx .strip-track li { width: min(78vw, 420px); flex: none; min-height: 250px; opacity: calc(1 - var(--b, 0) * .5); transform: scale(calc(1 - var(--b, 0) * .05)); transition: opacity .25s ease, transform .25s ease; }

/* 8 · Anfrage */
.cta { text-align: center; }
.cta h2, .cta .lead { margin-inline: auto; }
.cta h2 { max-width: 18ch; }
.cta .btns { justify-content: center; }
.cta-clock { margin: 0 auto 26px; max-width: none; font: 700 clamp(2.6rem, 9vw, 6rem)/1 var(--head); font-stretch: 118%; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cta-clock small { display: block; margin-top: 12px; font: 600 .74rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Wortmarke bleibt einzeilig und mittig, auch wenn die Buchstaben auseinanderstehen */
.wordmark { white-space: nowrap; display: flex; justify-content: center; font-size: clamp(1.3rem, 5.7vw, 4.8rem); }
/* dunkler Verlauf hinter dem Text, damit er nie auf den Lichtern liegt */
.fx .hero-pin::after { content: ""; position: absolute; inset: 42% 0 0 0; background: linear-gradient(180deg, transparent, rgba(17,18,20,.86) 38%, var(--bg) 82%); z-index: 1; pointer-events: none; }
.fx .hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
