/* Christmas Rave Run Kirchlengern 2026
   Look: Winternacht, Neon, Lichterkette. Schrift: Inter (SIL OFL), lokal eingebunden. */

@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --nacht: #0A0B1E;
  --nacht-2: #11122E;
  --karte: #15173A;
  --linie: rgba(255, 255, 255, 0.10);
  --schnee: #F4F7FF;
  --leise: #A9ADCF;
  --pink: #FF2D95;
  --violett: #B44DFF;
  --cyan: #2CF6FF;
  --gold: #FFD447;
  --grau-punkt: #6B6F9E;
  --verlauf: linear-gradient(90deg, var(--pink), var(--violett) 55%, var(--cyan));
  --rand: 16px;
  --max: 1180px;
  --rund: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--schnee);
  background: var(--nacht);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--schnee); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.verlauf-text { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(10, 11, 30, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--schnee); font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.marke img { width: 34px; height: 34px; }
.marke:hover { color: var(--schnee); }
.kopf nav { display: flex; gap: 4px; align-items: center; }
.kopf nav a { white-space: nowrap; color: var(--leise); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.kopf nav a:hover { color: var(--schnee); background: rgba(255,255,255,0.06); }
.kopf nav a.knopf-klein { color: var(--nacht); background: var(--verlauf); font-weight: 700; }
.kopf nav a.knopf-klein:hover { filter: brightness(1.1); }
@media (max-width: 760px) {
  .kopf nav a:not(.knopf-klein) { display: none; }
  .marke span { font-size: 15px; }
}
@media (max-width: 420px) {
  .marke span { font-size: 13px; max-width: 120px; }
  .kopf nav a.knopf-klein { padding: 8px 12px; font-size: 14px; }
  .dachzeile { font-size: 12px; letter-spacing: 0.1em; }
}

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; background: var(--verlauf); color: var(--nacht); text-decoration: none; cursor: pointer; line-height: 1.2; box-shadow: 0 0 24px rgba(255, 45, 149, 0.35), 0 0 48px rgba(44, 246, 255, 0.15); transition: transform .15s, box-shadow .15s; }
.knopf:hover { color: var(--nacht); transform: translateY(-1px); box-shadow: 0 0 32px rgba(255, 45, 149, 0.55), 0 0 64px rgba(44, 246, 255, 0.25); }
.knopf.rahmen { background: transparent; color: var(--schnee); border-color: rgba(255,255,255,0.35); box-shadow: none; }
.knopf.rahmen:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 20px rgba(44, 246, 255, 0.25); }
.knopf.warn { background: transparent; color: var(--pink); border-color: var(--pink); box-shadow: none; }
.knopf.warn:hover { background: var(--pink); color: var(--nacht); }
.knopf[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------- Bühne ---------- */
.buehne { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 85% 35%, rgba(44, 246, 255, 0.18), transparent 70%),
    radial-gradient(55% 60% at 10% 80%, rgba(255, 45, 149, 0.22), transparent 70%),
    radial-gradient(40% 40% at 50% 0%, rgba(180, 77, 255, 0.18), transparent 70%),
    var(--nacht); }
.buehne .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; padding-top: 88px; padding-bottom: 88px; position: relative; z-index: 2; }
.dachzeile { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; color: var(--gold); margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(255, 212, 71, 0.4); border-radius: 999px; }
.titel { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; text-transform: uppercase; line-height: 0.88; letter-spacing: -0.02em; font-size: clamp(58px, 10.5vw, 140px); margin: 0 0 30px; }
.titel .zeile-1 { display: block; font-size: 0.42em; letter-spacing: 0.08em; color: var(--schnee); margin-bottom: 0.1em; }
.titel .zeile-2 { display: block; background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(255, 45, 149, 0.35)); }
.datum { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; margin: 0 0 10px; }
.datum strong { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.01em; }
.datum span { color: var(--cyan); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); }
.ort { color: var(--leise); font-size: 18px; margin: 0 0 32px; }
.ort b { color: var(--schnee); font-weight: 600; }

.buehne-bild { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.buehne-bild svg { width: 100%; height: auto; overflow: visible; }
@media (max-width: 860px) {
  .buehne .wrap { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 64px; }
  .buehne-bild { display: none; }
}

/* Lichterkette */
.lichterkette { position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: 1; pointer-events: none; }
.lichterkette svg { width: 100%; height: 70px; }
.lichterkette .birne { animation: funkeln 2.4s ease-in-out infinite; }
.lichterkette .birne:nth-of-type(3n) { animation-delay: -0.8s; }
.lichterkette .birne:nth-of-type(3n+1) { animation-delay: -1.6s; }
.lichterkette .birne:nth-of-type(4n) { animation-duration: 1.7s; }
@keyframes funkeln { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Schnee */
.schnee { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.schnee i { position: absolute; top: -10px; width: var(--g, 4px); height: var(--g, 4px); border-radius: 50%; background: #fff; opacity: var(--o, 0.6); left: var(--x); animation: fallen var(--d, 12s) linear infinite; animation-delay: var(--v, 0s); }
@keyframes fallen { to { transform: translate3d(var(--w, 30px), 110vh, 0); } }

/* Bass-Balken */
.bass { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: flex; align-items: flex-end; gap: 6px; padding: 0 var(--rand); opacity: 0.35; z-index: 1; }
.bass i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: var(--verlauf); background-size: 2400% 100%; transform-origin: bottom; animation: bass 1s ease-in-out infinite alternate; }
@keyframes bass { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .schnee, .bass i, .lichterkette .birne, .laeufer-dot, .karte-status.live .lampe, .status-zeile.ok .lampe { animation: none !important; }
  .schnee { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Abschnitte ---------- */
section { padding: 88px 0; position: relative; }
.abschnitt-hell { background: var(--nacht-2); }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); margin: 0 0 10px; }
h2 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: clamp(34px, 5vw, 58px); line-height: 1; margin: 0 0 18px; text-transform: uppercase; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 21px; margin: 0 0 8px; line-height: 1.25; }
.vorspann { font-size: 20px; color: var(--leise); max-width: 760px; margin: 0 0 40px; }
.vorspann b { color: var(--schnee); font-weight: 600; }

/* Eckdaten */
.eckdaten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kachel { position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px 22px 26px; overflow: hidden; }
.kachel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--verlauf); }
.kachel .label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cyan); margin: 0 0 10px; }
.kachel .wert { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: 25px; line-height: 1.15; margin: 0; }
.kachel .zusatz { font-size: 15px; color: var(--leise); margin: 10px 0 0; line-height: 1.5; }
.kachel.gold::before { background: var(--gold); }
.kachel.gold .label { color: var(--gold); }
@media (max-width: 960px) { .eckdaten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .eckdaten { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--linie); font-weight: 600; font-size: 15px; }
.chips li b { color: var(--gold); }
.initiatoren { font-size: 15px; color: var(--leise); margin: 28px 0 0; }

/* ---------- Karte ---------- */
.karte-bereich { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .karte-bereich { grid-template-columns: 1fr; } }
.karte-rahmen { position: relative; background: #0E0F2C; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; box-shadow: 0 0 80px rgba(180, 77, 255, 0.12); }
.karte-rahmen svg#karte { width: 100%; height: auto; }
.karte-status { display: flex; gap: 10px; align-items: center; padding: 12px 16px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; border-bottom: 1px solid var(--linie); background: rgba(255,255,255,0.02); }
.karte-status { flex-wrap: wrap; row-gap: 4px; }
.karte-stand { margin-left: auto; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--leise); font-variant-numeric: tabular-nums; white-space: nowrap; }
.karte-stand.alt { color: var(--pink); }
.karte-status .lampe { width: 10px; height: 10px; border-radius: 50%; background: var(--grau-punkt); flex: none; }
.karte-status.live .lampe { background: var(--pink); animation: puls 1.4s ease-out infinite; }
.karte-status.demo .lampe { background: var(--gold); }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 149, 0.7); } 100% { box-shadow: 0 0 0 12px rgba(255, 45, 149, 0); } }
.karte-ladefehler { padding: 40px 20px; text-align: center; }

/* Läuferpunkte im SVG */
.laeufer circle.punkt { fill: var(--gold); stroke: #0E0F2C; stroke-width: 6; }
.laeufer.stale circle.punkt { fill: var(--grau-punkt); }
.laeufer.fin circle.punkt { fill: var(--cyan); }
.laeufer.test circle.punkt { fill: rgba(255,255,255,0.15); stroke: var(--schnee); stroke-width: 4; stroke-dasharray: 6 5; }
.laeufer.test text { fill: var(--schnee); font-weight: 700; font-size: 34px; }
.laeufer text { font-family: "Inter", Arial, sans-serif; font-weight: 700; font-size: 22px; fill: var(--schnee); paint-order: stroke; stroke: #0E0F2C; stroke-width: 6px; stroke-linejoin: round; }
.laeufer { transition: transform 1.2s linear; }
.laeufer-dot { fill: var(--gold); animation: puls-svg 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes puls-svg { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }

.seitenleiste { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px; }
.seitenleiste h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.seitenleiste h3 small { font-size: 14px; font-weight: 600; color: var(--leise); }
.liste { list-style: none; margin: 8px 0 18px; padding: 0; max-height: 480px; overflow: auto; }
.liste li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.liste .platz { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); justify-self: center; }
.liste li.stale .platz { background: var(--grau-punkt); box-shadow: none; }
.liste li.test .platz { background: transparent; border: 2px dashed var(--leise); box-shadow: none; }
.liste li.test .name { white-space: normal; }
.liste li.fin .platz { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.liste .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste .name small { font-weight: 400; color: var(--leise); }
.liste .km { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 16px; }
.liste .balken { grid-column: 2 / 4; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; position: relative; overflow: hidden; }
.liste .balken b { position: absolute; inset: 0 auto 0 0; background: var(--verlauf); border-radius: 3px; }
.liste li.stale .balken b { background: var(--grau-punkt); }
.liste .leer { display: block; color: var(--leise); padding: 14px 0; }
.liste li:has(.leer) { display: block; }
.hinweis-klein { font-size: 15px; color: var(--leise); }
.legende { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--leise); margin: 14px 0 0; padding: 0; list-style: none; }
.legende li { display: flex; align-items: center; gap: 7px; }
.legende i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* Streckenbeschreibung */
details.wegbeschreibung { margin-top: 18px; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); }
details.wegbeschreibung summary { cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none; display: flex; justify-content: space-between; }
details.wegbeschreibung summary::-webkit-details-marker { display: none; }
details.wegbeschreibung summary::after { content: "+"; color: var(--cyan); font-size: 24px; line-height: 1; }
details.wegbeschreibung[open] summary::after { content: "–"; }
details.wegbeschreibung ol { margin: 0; padding: 0 20px 20px 44px; font-size: 16px; color: var(--leise); }
details.wegbeschreibung li { margin: 5px 0; }
details.wegbeschreibung .pkt { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 12px; margin-right: 4px; }

/* Mitlaufen */
.glow-block { background:
    radial-gradient(50% 80% at 100% 0%, rgba(44, 246, 255, 0.16), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(255, 45, 149, 0.18), transparent 70%),
    var(--nacht); }
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; margin: 0 0 36px; padding: 0; list-style: none; }
.schritte li { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 24px; color: var(--leise); }
.schritte li h3 { color: var(--schnee); }
.schritte li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--verlauf); color: var(--nacht); font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: 22px; margin-bottom: 14px; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }
.datenschutz-box { border-left: 3px solid var(--cyan); padding: 4px 0 4px 20px; max-width: 760px; color: var(--leise); }
.datenschutz-box p { margin: 0 0 8px; }
.datenschutz-box strong { color: var(--schnee); }

/* Spenden */
.spende { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: var(--karte); border: 1px solid rgba(255, 212, 71, 0.35); border-radius: 28px; padding: 36px; box-shadow: 0 0 60px rgba(255, 212, 71, 0.10); }
.spende .stern { width: 120px; height: 120px; }
.spende h2 { margin-bottom: 10px; }
.spende p { color: var(--leise); margin: 0; font-size: 19px; }
@media (max-width: 680px) { .spende { grid-template-columns: 1fr; padding: 26px; } .spende .stern { width: 80px; height: 80px; } }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 32px 0 40px; font-size: 15px; color: var(--leise); }
.fuss a { color: var(--leise); }
.fuss a:hover { color: var(--schnee); }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.fuss nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mitlauf-Seite ---------- */
.app { max-width: 640px; margin: 0 auto; padding: 36px var(--rand) 56px; }
.app h1 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 9vw, 60px); line-height: 0.95; margin: 0 0 14px; letter-spacing: -0.015em; }
.app > div > p { color: var(--leise); }
.feld { margin: 0 0 20px; }
.feld label { display: block; font-weight: 700; margin-bottom: 8px; }
.feld input[type=text], .feld input[type=number] { width: 100%; font: inherit; font-size: 20px; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; background: var(--karte); color: var(--schnee); }
.feld input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(44, 246, 255, 0.25); }
.feld input::placeholder { color: #6E72A0; }
.feld .hilfe { font-size: 15px; color: var(--leise); margin: 8px 0 0; }
.einwilligung { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 18px; margin: 0 0 22px; font-size: 16px; color: var(--leise); }
.einwilligung input { width: 24px; height: 24px; accent-color: var(--pink); margin: 2px 0 0; }
.fehler { border: 1px solid var(--pink); background: rgba(255, 45, 149, 0.10); color: var(--schnee); padding: 14px 16px; border-radius: 14px; font-weight: 600; margin: 0 0 18px; }
.tacho { position: relative; overflow: hidden; border-radius: 24px; padding: 26px; margin: 0 0 20px; background:
  radial-gradient(80% 120% at 100% 0%, rgba(44, 246, 255, 0.28), transparent 60%),
  radial-gradient(80% 120% at 0% 100%, rgba(255, 45, 149, 0.30), transparent 60%), var(--karte); border: 1px solid var(--linie); }
.tacho .gross { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: clamp(60px, 18vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; }
.tacho .gross small { font-size: 0.36em; color: var(--leise); }
.tacho .zeile { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--leise); }
.tacho .zeile span:first-child { color: var(--schnee); }
.tacho .fortschritt { height: 10px; background: rgba(255,255,255,0.10); border-radius: 5px; margin-top: 18px; position: relative; overflow: hidden; }
.tacho .fortschritt b { position: absolute; inset: 0 auto 0 0; background: var(--verlauf); border-radius: 5px; transition: width 0.8s; box-shadow: 0 0 16px rgba(255,45,149,0.6); }
/* ---------- Mitlaufen: Wahl Browser oder App ---------- */
.wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .wahl { grid-template-columns: 1fr; } }
.wahl-option { background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.wahl-option:first-child { border-color: rgba(255, 45, 149, 0.55); box-shadow: 0 0 24px rgba(255, 45, 149, 0.15); }
.wahl-option h2 { margin: 0; font-size: 21px; line-height: 1.2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wahl-option p { margin: 0 0 4px; color: var(--leise); font-size: 16px; flex: 1; }
.wahl-option .knopf { justify-content: center; }
.marke-klein { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nacht); background: var(--gold); border-radius: 999px; padding: 3px 9px; }
.app-schritte { list-style: none; counter-reset: a; padding: 0; margin: 8px 0 24px; display: grid; gap: 14px; }
.app-schritte li { position: relative; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 20px 20px 20px 70px; color: var(--leise); }
.app-schritte li::before { counter-increment: a; content: counter(a); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--verlauf); color: var(--nacht); font-weight: 900; }
.app-schritte h3 { margin: 4px 0 6px; color: var(--schnee); font-size: 19px; }
.app-schritte p { margin: 0 0 12px; font-size: 16px; }
.app-schritte .knopf { font-size: 16px; padding: 12px 20px; }
.app-schritte p.klein { font-size: 14px; margin: 10px 0 0; }
.app-schritte p b, .hilfe-liste b { color: var(--schnee); }
.app-schritte .pfad { background: rgba(255,255,255,0.06); border-left: 3px solid var(--cyan); border-radius: 8px; padding: 10px 12px; color: var(--schnee); line-height: 1.7; }
.hilfe-liste { padding-left: 18px; margin: 10px 0; color: var(--leise); }
.hilfe-liste li { margin-bottom: 8px; }
.manuell { margin-top: 14px; font-size: 15px; }
.manuell summary { cursor: pointer; color: var(--cyan); font-weight: 600; }
.manuell dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 10px 0; }
.manuell dt { font-weight: 700; color: var(--schnee); }
.manuell dd { margin: 0; min-width: 0; }
.manuell code { font-size: 13px; word-break: break-all; color: var(--schnee); background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; -webkit-user-select: all; user-select: all; }
@media (max-width: 420px) { .app-schritte li { padding-left: 20px; padding-top: 66px; } .manuell dl { grid-template-columns: 1fr; } }

.status-zeile { display: flex; gap: 12px; align-items: center; font-weight: 700; margin: 0 0 8px; }
.status-zeile .lampe { width: 12px; height: 12px; border-radius: 50%; background: var(--grau-punkt); flex: none; }
.status-zeile.ok .lampe { background: var(--pink); animation: puls 1.4s ease-out infinite; }
.versteckt { display: none !important; }

/* Textseiten */
.text-seite { max-width: 800px; margin: 0 auto; padding: 48px var(--rand) 72px; color: var(--leise); }
.text-seite h1 { font-family: "Inter Display", "Inter", sans-serif; font-weight: 900; font-size: clamp(34px, 6vw, 52px); text-transform: uppercase; line-height: 1; color: var(--schnee); letter-spacing: -0.015em; }
.text-seite h2 { font-family: "Inter", sans-serif; font-weight: 700; font-size: 22px; text-transform: none; letter-spacing: 0; color: var(--schnee); margin: 36px 0 8px; }
.text-seite strong { color: var(--schnee); }
.platzhalter { color: var(--gold); }

/* ---------- Lautsprecher & Beat (128 BPM) ---------- */
:root { --takt: 0.46875s; --box-b: clamp(130px, 18vw, 270px); }
.bass { z-index: 0; }
.lautsprecher { position: absolute; bottom: 0; width: var(--box-b); z-index: 1; pointer-events: none; }
.lautsprecher.links { left: clamp(-24px, -1vw, 0px); }
.lautsprecher.rechts { right: clamp(-24px, -1vw, 0px); transform: scaleX(-1); }
.lautsprecher svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; animation: box-wackel var(--takt) infinite; filter: drop-shadow(0 0 26px rgba(255, 45, 149, 0.30)); }
.lautsprecher.rechts svg { filter: drop-shadow(0 0 26px rgba(44, 246, 255, 0.28)); }
.lautsprecher .konus, .lautsprecher .welle, .lautsprecher .hochton { transform-box: fill-box; transform-origin: center; }
.lautsprecher .konus { animation: konus var(--takt) infinite cubic-bezier(.2, .8, .3, 1); }
.lautsprecher .welle { animation: welle var(--takt) infinite ease-out; }
.lautsprecher .hochton { animation: konus calc(var(--takt) / 2) infinite; }
@keyframes box-wackel { 0% { transform: translateY(0) scale(1); } 8% { transform: translateY(-3px) scale(1.025, 0.985); } 22% { transform: translateY(0) scale(1); } 100% { transform: translateY(0) scale(1); } }
@keyframes konus { 0% { transform: scale(1); } 8% { transform: scale(1.15); } 28% { transform: scale(0.96); } 50%, 100% { transform: scale(1); } }
@keyframes welle { 0% { transform: scale(0.95); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes wumms { 0% { transform: scale(1); } 8% { transform: scale(var(--wumms, 1.035)); } 30%, 100% { transform: scale(1); } }
@keyframes drop { 0% { transform: translate(0, 0); } 3% { transform: translate(-2px, 3px); } 6% { transform: translate(2px, -2px); } 9% { transform: translate(-1px, 1px); } 12%, 100% { transform: translate(0, 0); } }
@keyframes glimmen { 0% { filter: brightness(1); } 8% { filter: brightness(1.3) saturate(1.2); } 40%, 100% { filter: brightness(1); } }

/* Was im Takt bebt */
.titel .zeile-2 { transform-origin: 0 60%; animation: wumms var(--takt) infinite; }
.buehne-bild { animation: wumms var(--takt) infinite; --wumms: 1.02; }
.buehne .wrap > div:first-child { animation: drop calc(var(--takt) * 4) infinite; }
.buehne .knopf:not(.rahmen) { animation: glimmen var(--takt) infinite; }
.bass i { animation-duration: var(--takt) !important; }
section h2 .verlauf-text { display: inline-block; transform-origin: 0 60%; animation: wumms var(--takt) infinite; --wumms: 1.03; }

/* Platz für die Boxen unten im Startbereich */
.buehne .wrap { padding-bottom: calc(var(--box-b) * 1.15); }
@media (max-width: 860px) {
  .buehne .wrap { padding-bottom: calc(var(--box-b) * 1.35); }
}

/* Schalter Bass an/aus */
.beat-schalter { position: absolute; top: 78px; right: var(--rand); z-index: 3; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--schnee); background: rgba(10, 11, 30, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 7px 14px 7px 30px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.beat-schalter::before { content: ""; position: absolute; left: 12px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: glimmen var(--takt) infinite; }
.beat-schalter[aria-pressed="false"]::before { background: var(--grau-punkt); box-shadow: none; animation: none; }
.beat-schalter:hover { border-color: var(--cyan); }

/* Ruhe: per Schalter oder Systemeinstellung „Bewegung reduzieren“ */
html.bass-aus .lautsprecher svg, html.bass-aus .lautsprecher .konus, html.bass-aus .lautsprecher .welle, html.bass-aus .lautsprecher .hochton,
html.bass-aus .titel .zeile-2, html.bass-aus .buehne-bild, html.bass-aus .buehne .wrap > div:first-child,
html.bass-aus .buehne .knopf, html.bass-aus section h2 .verlauf-text, html.bass-aus .bass i { animation: none !important; }
html.bass-aus .lautsprecher .welle { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .lautsprecher svg, .lautsprecher .konus, .lautsprecher .welle, .lautsprecher .hochton,
  .titel .zeile-2, .buehne-bild, .buehne .wrap > div:first-child, .buehne .knopf, section h2 .verlauf-text, .beat-schalter::before { animation: none !important; }
  .lautsprecher .welle { opacity: 0; }
}
