/* Axortic Webseite. Farben und Soft-UI wie im echten Frontend (web/src/index.css), dazu das
   Neon aus dem Logo als Leuchtakzent. Dunkel ist der Normalfall, wie in der App. */

@font-face { font-family: 'Inter'; src: url('/assets/font/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/assets/font/inter-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0a0a0a; --sidebar: #111111; --surface: #161616; --surface-2: #1e1e1e; --surface-3: #252525;
  --border: #2a2a2a; --text: #f5f5f5; --text-muted: #e5e7eb; --text-subtle: #9ca3af;
  --accent: #00c853; --accent-muted: #00a846; --accent-text: #00c853; --accent-dim: rgba(0,200,83,.1);
  --accent-border: rgba(0,200,83,.25); --accent-glow: rgba(0,200,83,.2); --accent-2: #2bff8e; --on-accent: #062611;
  --neo-bg: #141414; --neo-d: rgba(0,0,0,.7); --neo-l: rgba(255,255,255,.045); --neo-inset-d: rgba(0,0,0,.65); --neo-inset-l: rgba(255,255,255,.05);
  --kpi-bg: linear-gradient(150deg, #0c2516, #061a0e 70%);
  --neon: #8cf500; --neon-glow: rgba(140,245,0,.35);
  --breite: 1180px; --rand: clamp(16px, 4vw, 40px);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f8; --sidebar: #ffffff; --surface: #ffffff; --surface-2: #f5f7fa; --surface-3: #eef0f3;
  --border: #c9ced6; --text: #0a0a0a; --text-muted: #111827; --text-subtle: #374151;
  --accent: #00a846; --accent-muted: #008836; --accent-text: #006b2c; --accent-dim: rgba(0,168,70,.1);
  --accent-border: rgba(0,168,70,.25); --accent-glow: rgba(0,168,70,.15); --accent-2: #36d07a; --on-accent: #ffffff;
  --neo-bg: #e8ecf2; --neo-d: rgba(157,170,192,.7); --neo-l: #ffffff; --neo-inset-d: rgba(163,177,198,.5); --neo-inset-l: rgba(255,255,255,.9);
  --neon: #4a9e00; --neon-glow: rgba(90,180,0,.25);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f4f6f8; --sidebar: #ffffff; --surface: #ffffff; --surface-2: #f5f7fa; --surface-3: #eef0f3;
    --border: #c9ced6; --text: #0a0a0a; --text-muted: #111827; --text-subtle: #374151;
    --accent: #00a846; --accent-muted: #008836; --accent-text: #006b2c; --accent-dim: rgba(0,168,70,.1);
    --accent-border: rgba(0,168,70,.25); --accent-glow: rgba(0,168,70,.15); --accent-2: #36d07a; --on-accent: #ffffff;
    --neo-bg: #e8ecf2; --neo-d: rgba(157,170,192,.7); --neo-l: #ffffff; --neo-inset-d: rgba(163,177,198,.5); --neo-inset-l: rgba(255,255,255,.9);
    --neon: #4a9e00; --neon-glow: rgba(90,180,0,.25);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* sonst schlaegt display:grid das hidden-Attribut (Intro) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.55; overflow-x: clip; } /* clip statt hidden: hidden machte body zum Scroll-Behaelter, dann klebt position:sticky nicht */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.sprung:focus { left: 8px; }
.sym { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.fussnote { font-size: 13px; color: var(--text-subtle); margin-top: 14px; }

/* Knoepfe: wie .btn-accent in der App, mit Leuchten */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 0; background: var(--accent); color: #000; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.knopf:hover { background: var(--accent-muted); transform: translateY(-1px) scale(1.02); box-shadow: 0 0 26px var(--accent-glow), 0 6px 16px rgba(0,0,0,.25); }
.knopf-hohl { background: transparent; color: var(--text); border: 1px solid var(--border); }
:root[data-theme="light"] .knopf-hohl { color: var(--text); }
.knopf-hohl:hover { background: var(--accent-dim); color: var(--text); }
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 10px var(--rand); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.kopf-logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .12em; font-size: 15px; }
.kopf-nav { display: flex; gap: 4px; margin-left: auto; }
.kopf-nav a { color: var(--text-subtle); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.kopf-nav a:hover { color: var(--text); background: var(--surface-2); }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.thema-knopf { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--neo-bg); box-shadow: 4px 4px 10px var(--neo-d), -3px -3px 8px var(--neo-l); color: var(--text-subtle); cursor: pointer; display: grid; place-items: center; }
.thema-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; }
@media (max-width: 860px) { .kopf-nav { display: none; } .kopf-rechts { margin-left: auto; } }

/* Einstieg */
.intro { position: fixed; inset: 0; z-index: 90; background: #000; display: grid; place-items: center; transition: opacity .7s ease; }
.intro video { width: min(86vw, 86vh); height: auto; }
.intro.weg { opacity: 0; pointer-events: none; }
.intro-weiter { position: absolute; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid #333; background: rgba(20,20,20,.7); color: #ddd; font: inherit; font-weight: 600; cursor: pointer; }

/* 1. Held */
.held { position: relative; min-height: calc(100svh - 64px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 64px); padding: clamp(40px, 8vh, 90px) var(--rand) 90px; max-width: var(--breite); margin: 0 auto; isolation: isolate; overflow-x: clip; }
.held-licht { position: absolute; right: -8%; top: 4%; width: 62%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--neon-glow), transparent 72%); z-index: -2; opacity: .6; pointer-events: none; }
.held-tunnel { position: absolute; right: 2%; top: 50%; width: min(48vw, 560px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.held-tunnel span { position: absolute; inset: 0; margin: auto; width: 100%; aspect-ratio: 1.12; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: transparent; border: 0; animation: tunnel 9s linear infinite; opacity: 0; }
.held-tunnel span::before { content: ''; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%, 0 100%, 6% 94.5%, 94% 94.5%, 50% 9%, 6% 94.5%, 0 100%); background: linear-gradient(to top, var(--neon), var(--accent)); }
.held-tunnel span:nth-child(2) { animation-delay: -1.8s } .held-tunnel span:nth-child(3) { animation-delay: -3.6s } .held-tunnel span:nth-child(4) { animation-delay: -5.4s } .held-tunnel span:nth-child(5) { animation-delay: -7.2s }
@keyframes tunnel { 0% { transform: scale(.08); opacity: 0 } 15% { opacity: .5 } 70% { opacity: .18 } 100% { transform: scale(1.35); opacity: 0 } }
.held h1 { font-size: clamp(42px, 7.2vw, 88px); font-weight: 900; letter-spacing: -.035em; }
.held h1 .leucht { background: linear-gradient(100deg, var(--accent-2), var(--neon) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px var(--neon-glow)); }
.held-unter { font-size: clamp(18px, 2.1vw, 22px); color: var(--text-subtle); max-width: 34em; margin: 22px 0 30px; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf-freude .sym { width: 20px; height: 20px; }
.knopf-freude.gedrueckt { animation: hops .5s; }
@keyframes hops { 30% { transform: scale(.94) } 60% { transform: scale(1.06) } }
.freude-zahl { color: var(--text-subtle); font-size: 15px; margin-top: 14px; }
.freude-zahl b { color: var(--text); font-variant-numeric: tabular-nums; }
.puls { width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 0 var(--neon-glow); animation: puls 2s infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 var(--neon-glow) } 70% { box-shadow: 0 0 0 12px transparent } 100% { box-shadow: 0 0 0 0 transparent } }

/* Countdown: das Logo fuellt sich */
.uhr-emblem { position: relative; width: min(78vw, 400px); aspect-ratio: 900/731; transition: transform .2s ease-out; transform-style: preserve-3d; }
.uhr-emblem img { position: absolute; inset: 0; width: 100%; height: 100%; }
.uhr-grau { filter: grayscale(1) brightness(.42) contrast(1.1); }
:root[data-theme="light"] .uhr-grau { filter: grayscale(1) brightness(.85) contrast(.9); opacity: .55; }
.uhr-licht { clip-path: inset(var(--leer, 96%) 0 0 0); filter: drop-shadow(0 0 30px var(--neon-glow)) saturate(1.15); transition: clip-path 1.2s ease; }
.uhr-linie { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent calc(var(--leer, 96%) - 2.5%), var(--neon) var(--leer, 96%), transparent calc(var(--leer, 96%) + .6%)); -webkit-mask: url('/assets/img/emblem.webp') center / 100% 100% no-repeat; mask: url('/assets/img/emblem.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 0 8px var(--neon)); animation: linie 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes linie { 50% { opacity: .35 } }
.uhr-prozent { position: absolute; left: 50%; bottom: -18px; transform: translate(-50%, 100%); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); white-space: nowrap; }
/* Countdown-Dreieck */
.uhr { display: grid; justify-items: center; gap: 40px; }
.uhr-dreieck { width: min(80vw, 380px); filter: drop-shadow(0 0 28px var(--neon-glow)); }
.uhr-rahmen { fill: var(--surface); stroke: var(--border); stroke-width: 6; stroke-linejoin: round; }
.uhr-fuellung { fill: url(#uhrVerlauf); opacity: .92; transition: y 1s ease, height 1s ease; }
.uhr-innen { fill: none; stroke: var(--bg); stroke-width: 7; stroke-linejoin: round; opacity: .55; }
.uhr-kern { fill: var(--neon); opacity: .9; filter: drop-shadow(0 0 10px var(--neon)); }
.uhr-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(92vw, 420px); }
.uhr-zahlen div { background: var(--neo-bg); border-radius: 14px; padding: 12px 6px; text-align: center; box-shadow: inset 4px 4px 9px var(--neo-inset-d), inset -4px -4px 9px var(--neo-inset-l); }
.uhr-zahlen b { display: block; font-size: clamp(24px, 4vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; }
.uhr-zahlen span { font-size: 12px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .1em; }
.runter { position: absolute; left: 50%; bottom: 22px; width: 28px; height: 44px; border: 2px solid var(--border); border-radius: 16px; transform: translateX(-50%); }
.runter span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); animation: runter 1.8s infinite; }
@keyframes runter { 0% { opacity: 0; top: 6px } 40% { opacity: 1 } 100% { opacity: 0; top: 22px } }
@media (max-width: 860px) { .held { grid-template-columns: 1fr; text-align: left; padding-bottom: 110px } .held-tunnel { width: 90vw; right: -20vw; top: 30% } .uhr { margin-top: 10px } }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(70px, 12vh, 140px) var(--rand); }
.abschnitt-kopf { max-width: 760px; margin-bottom: 40px; }
.abschnitt-kopf p:not(.kicker) { color: var(--text-subtle); font-size: 19px; margin: 16px 0 0; }
.erscheint { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.erscheint.da { opacity: 1; transform: none; }

/* 2. Ein Tag */
.betriebe { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.betriebe button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--neo-bg); color: var(--text-muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 4px 4px 10px var(--neo-d), -3px -3px 8px var(--neo-l); }
.betriebe button[aria-selected="true"] { color: var(--accent-text); box-shadow: inset 3px 3px 8px var(--neo-inset-d), inset -3px -3px 8px var(--neo-inset-l); }
.tag-buehne { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tag-bild { position: sticky; top: 90px; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 4/3; background: var(--surface); }
.tag-bild img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform 6s ease; }
.tag-bild.wechsel img { opacity: 0; }
.tag-bild figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 10px; backdrop-filter: blur(6px); }
.tag-zeit { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--border); display: grid; gap: 26px; }
.tag-zeit li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.tag-zeit li::before { content: ''; position: absolute; left: -35px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.tag-zeit time { font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.tag-zeit h3 { margin: 4px 0 6px; display: flex; align-items: center; gap: 8px; }
.tag-zeit p { margin: 0; color: var(--text-subtle); font-size: 16px; }
@media (max-width: 860px) { .tag-buehne { grid-template-columns: 1fr } .tag-bild { position: relative; top: 0 } }

/* 3. Fairness */
.fair-schalter { display: flex; align-items: center; gap: 16px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; padding: 6px 0; margin-bottom: 30px; flex-wrap: wrap; }
.fair-bahn { position: relative; width: 92px; height: 50px; border-radius: 999px; background: var(--neo-bg); box-shadow: inset 5px 5px 11px var(--neo-inset-d), inset -5px -5px 11px var(--neo-inset-l); }
.fair-knopf { position: absolute; top: 6px; left: 6px; width: 38px; height: 38px; border-radius: 50%; background: #6b7280; box-shadow: 4px 4px 10px var(--neo-d); transition: left .4s cubic-bezier(.3,1.4,.5,1), background .4s; }
.fairness[data-fair="an"] .fair-knopf { left: 48px; background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.fair-seite { opacity: .5; transition: opacity .3s; }
.fairness[data-fair="aus"] .fair-seite:first-child, .fairness[data-fair="an"] .fair-seite:last-child { opacity: 1; }
.fair-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fair-liste li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font-size: clamp(17px, 2vw, 21px); transition: background .4s, border-color .4s; }
.fair-liste li::before { content: ''; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #3f3f46 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round"><path d="M7 7l10 10M17 7L7 17"/></svg>') center/14px no-repeat; transition: background-color .4s; }
.fairness[data-fair="an"] .fair-liste li { background: var(--accent-dim); border-color: var(--accent-border); }
.fairness[data-fair="an"] .fair-liste li::before { background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5 9-10"/></svg>') center/15px no-repeat; }
.fair-liste b { font-weight: 600; }
.fair-liste b.dreh { animation: dreh .45s ease; }
@keyframes dreh { 0% { opacity: 1; transform: none } 45% { opacity: 0; transform: rotateX(80deg) } 100% { opacity: 1; transform: none } }

/* 4. Desktop: Nachbau der App-Oberflaeche */
.os { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.02); }
.os-leiste { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.os-leiste span { width: 11px; height: 11px; border-radius: 50%; background: #3f3f46; }
.os-leiste span:first-child { background: #ef4444 } .os-leiste span:nth-child(2) { background: #f59e0b } .os-leiste span:nth-child(3) { background: #10b981 }
.os-leiste em { margin: 0 auto; font-style: normal; font-size: 12px; color: var(--text-subtle); background: var(--bg); padding: 3px 14px; border-radius: 8px; }
.os-koerper { display: grid; grid-template-columns: 220px 1fr; height: min(680px, 78vh); }
.os-koerper > * { min-width: 0; } /* sonst schiebt die waagrechte Modulleiste am Handy die Seite breit */
.os-seite { background: var(--neo-bg); border-right: 1px solid var(--border); box-shadow: 6px 0 16px var(--neo-d); display: flex; flex-direction: column; min-height: 0; }
.os-marke { display: flex; align-items: center; gap: 9px; padding: 16px; border-bottom: 1px solid var(--border); }
.os-marke b { color: var(--accent-text); letter-spacing: .14em; font-size: 13px; }
.os-menue { overflow-y: auto; padding: 10px; display: grid; gap: 6px; align-content: start; scrollbar-width: thin; }
.os-menue hr { border: 0; border-top: 1px solid var(--border); margin: 6px 4px; }
.os-menue button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--neo-bg); color: var(--text-muted); font: inherit; font-size: 14px; text-align: left; cursor: pointer; box-shadow: 4px 4px 9px var(--neo-d), -3px -3px 8px var(--neo-l); }
.os-menue button .sym { width: 17px; height: 17px; }
.os-menue button[aria-current="page"] { color: var(--accent-text); box-shadow: inset 3px 3px 7px var(--neo-inset-d), inset -3px -3px 7px var(--neo-inset-l); }
.os-menue .neu-marke { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--accent-dim); color: var(--accent-text); }
.os-inhalt { overflow-y: auto; padding: clamp(16px, 3vw, 28px); min-height: 0; }
.os-inhalt.wechsel { animation: osAuf .35s ease; }
@keyframes osAuf { from { opacity: 0; transform: translateY(10px) scale(.99) } to { opacity: 1; transform: none } }
.os-titel { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.os-titel .plakette { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-dim); color: var(--accent-text); box-shadow: inset 3px 3px 7px var(--neo-inset-d), inset -3px -3px 7px var(--neo-inset-l); }
.os-titel h3 { font-size: 22px; }
.os-titel p { margin: 2px 0 0; font-size: 13px; color: var(--text-subtle); }
.os-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 16px; }
.os-karte { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; box-shadow: 0 2px 16px rgba(0,0,0,.2); }
.os-karte h4 { margin: 0 0 6px; font-size: 14px; }
.os-karte p { margin: 0; font-size: 14px; color: var(--text-subtle); line-height: 1.45; }
.os-kpi { background: var(--kpi-bg); color: #f5f5f5; border: 0; }
.os-kpi small { color: #9ca3af; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.os-kpi b { display: block; font-size: 28px; margin: 4px 0; color: #22e06b; font-variant-numeric: tabular-nums; }
.os-kpi p { color: #cbd5e1; }
.os-was { background: var(--neo-bg); border-radius: 16px; padding: 18px 20px; box-shadow: 7px 7px 16px var(--neo-d), -6px -6px 14px var(--neo-l); }
.os-was h4 { margin: 0 0 10px; font-size: 15px; color: var(--accent-text); }
.os-was ul { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 15px; display: grid; gap: 6px; }
.os-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin-bottom: 8px; font-size: 14px; }
.os-zeile .rund { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-dim); color: var(--accent-text); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.os-zeile .rechts { margin-left: auto; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.os-zeile .geld { color: #22e06b; font-weight: 600; }
:root[data-theme="light"] .os-zeile .geld { color: #006b2c; }
@media (max-width: 760px) {
  .os-koerper { grid-template-columns: 1fr; height: auto; }
  .os-seite { border-right: 0; border-bottom: 1px solid var(--border); box-shadow: none; }
  .os-marke { display: none; }
  .os-menue { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; overflow-y: hidden; padding: 12px; }
  .os-menue hr { display: none; }
  .os-inhalt { height: auto; overflow: visible; }
  .os-menue button { min-height: 44px; }
}

/* 5. Tresor */
.tresor-feld { position: relative; height: 300px; margin: 0 0 30px; perspective: 900px; overflow: hidden; border-radius: 22px; background: radial-gradient(60% 80% at 50% 30%, var(--accent-dim), transparent 70%); }
.tresor-gitter { position: absolute; left: 50%; top: 52%; display: grid; grid-template-columns: repeat(7, 56px); gap: 16px; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; }
.tresor-gitter i { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); box-shadow: 0 10px 0 var(--surface-3), 0 18px 24px rgba(0,0,0,.35); transition: transform .5s, background .5s; }
.tresor-gitter i.dein { background: var(--accent); box-shadow: 0 10px 0 var(--accent-muted), 0 0 40px var(--accent-glow); transform: translateZ(26px); }
.tresor-fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fakt { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.fakt .sym { color: var(--accent-text); width: 28px; height: 28px; margin-bottom: 12px; }
.fakt p { color: var(--text-subtle); margin: 8px 0 0; font-size: 16px; }

/* 6. Preis */
.preis-karte { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; background: var(--neo-bg); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: 10px 10px 24px var(--neo-d), -8px -8px 20px var(--neo-l); }
.preis-zahl { display: flex; align-items: flex-start; gap: 6px; }
.preis-zahl span { font-size: 28px; font-weight: 800; margin-top: 18px; }
.preis-zahl b { font-size: clamp(80px, 12vw, 130px); line-height: .9; font-weight: 900; color: var(--accent-text); letter-spacing: -.05em; }
.preis-zahl small { font-size: 14px; color: var(--text-subtle); margin-top: 22px; }
.preis-karte ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; }
.preis-knoepfe { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; }
.preis-karte .fussnote { grid-column: 1 / -1; margin: 0; }
@media (max-width: 760px) { .preis-karte { grid-template-columns: 1fr } }

/* 7. Vorfreude */
.zaehler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.zaehler div { background: var(--kpi-bg); color: #f5f5f5; border-radius: 20px; padding: 26px 22px; }
.zaehler b { display: block; font-size: clamp(40px, 6vw, 64px); font-weight: 900; color: #22e06b; font-variant-numeric: tabular-nums; line-height: 1; }
.zaehler span { color: #cbd5e1; font-size: 15px; }
@media (max-width: 760px) { .zaehler { grid-template-columns: 1fr } }
.anmeldung { max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; }
.anmeldung h3 { font-size: 24px; }
.anmeldung > p { margin: 0; color: var(--text-subtle); }
.anmeldung label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.anmeldung label .optional { display: inline; }
.anmeldung .optional { font-weight: 400; color: var(--text-subtle); }
.anmeldung input[type=email], .anmeldung input[type=text], .anmeldung select { min-height: 48px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; color: var(--text); font: inherit; }
.anmeldung input:focus, .anmeldung select:focus { outline: none; border-color: var(--accent-border); box-shadow: 0 0 0 3px var(--accent-glow); }
.anmeldung .haken { grid-template-columns: 24px 1fr; align-items: start; font-weight: 400; color: var(--text-subtle); }
.anmeldung .haken input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.anmeldung .falle { position: absolute; left: -9999px; }
.anmeldung-meldung { margin: 0; font-weight: 600; }
.anmeldung-meldung.ok { color: var(--accent-text); }
.anmeldung-meldung.fehler { color: #ef4444; }

/* Fuss */
.fuss { border-top: 1px solid var(--border); padding: 50px var(--rand) calc(40px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--text-subtle); font-size: 14px; }
.fuss img { width: 260px; }
.fuss nav { display: flex; gap: 18px; }
.fuss a { color: var(--text-subtle); }

/* Gruene Dreiecke beim "Ich freu mich drauf" */
.dreiecke { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.dreiecke i { position: absolute; width: 16px; height: 14px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: flug 1.3s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes flug { to { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(.4); opacity: 0 } }

/* Rechtliche Unterseiten */
.blatt { max-width: 760px; margin: 0 auto; padding: 50px var(--rand) 80px; }
.blatt h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 26px; }
.blatt h2 { font-size: 22px; margin: 34px 0 10px; }
.blatt p, .blatt li { color: var(--text-muted); }
.platzhalter { background: rgba(245,158,11,.15); border: 1px dashed #f59e0b; border-radius: 6px; padding: 0 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .erscheint { opacity: 1; transform: none; }
  .held-tunnel { display: none; }
}

/* Lebendiges Netz hinter dem Einstieg */
.held-netz { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: .55; pointer-events: none; }

/* Chaos wird Ordnung: die Buehne klebt, waehrend man scrollt */
.chaos { height: 280vh; position: relative; }
.chaos-buehne { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; max-width: var(--breite); margin: 0 auto; padding: 70px var(--rand) 40px; overflow: hidden; }
.chaos-text h2 { font-size: clamp(36px, 6vw, 70px); font-weight: 900; letter-spacing: -.03em; }
.chaos-unter { color: var(--text-subtle); font-size: 19px; max-width: 30em; }
.chaos-vorher, .chaos-nachher { transition: opacity .45s ease, filter .45s ease; }
.chaos-nachher { display: none; }
.chaos[data-stufe="nachher"] .chaos-vorher { display: none; }
.chaos[data-stufe="nachher"] .chaos-nachher { display: inline; color: var(--text); }
.chaos[data-stufe="nachher"] h2 .chaos-nachher { background: linear-gradient(100deg, var(--accent-2), var(--neon)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chaos-feld { position: relative; height: min(70svh, 560px); }
.chaos-kern { position: absolute; left: 50%; top: 50%; width: 42%; transform: translate(-50%, -50%) scale(var(--kern, .5)); filter: grayscale(calc(1 - var(--kern-licht, 0))) drop-shadow(0 0 calc(var(--kern-licht, 0) * 50px) var(--neon-glow)); transition: filter .2s; }
.chaos-kachel { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--text-muted); will-change: transform, opacity; }
.chaos-kachel .sym { width: 18px; height: 18px; color: var(--accent-text); }
.chaos-balken { position: absolute; left: var(--rand); right: var(--rand); bottom: 26px; height: 3px; background: var(--border); border-radius: 2px; }
.chaos-balken span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--neon)); border-radius: 2px; box-shadow: 0 0 10px var(--neon-glow); }
@media (max-width: 860px) {
  .chaos { height: 260vh; }
  .chaos-buehne { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 10px; padding-top: 80px; }
  .chaos-text h2 { font-size: clamp(30px, 9vw, 44px); }
  .chaos-unter { font-size: 16px; }
  .chaos-feld { height: 46svh; }
  .chaos-kachel { font-size: 12px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .chaos { height: auto; }
  .chaos-buehne { position: relative; height: auto; }
}

/* Team zusammenstellen */
.team-bauen { margin-bottom: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(18px, 3vw, 28px); }
.team-bauen label { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; font-size: 18px; }
.team-bauen label span { color: var(--text-subtle); }
.team-bauen input[type=range] { width: 100%; height: 44px; accent-color: var(--accent); margin: 10px 0; }
.team-leute { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.team-leute i { width: 22px; height: 26px; position: relative; animation: rein .3s ease both; }
.team-leute i::before { content: ''; position: absolute; left: 6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.team-leute i::after { content: ''; position: absolute; left: 2px; bottom: 0; width: 18px; height: 13px; border-radius: 9px 9px 3px 3px; background: var(--accent); opacity: .85; }
.team-leute i.chef::before, .team-leute i.chef::after { background: var(--neon); box-shadow: 0 0 10px var(--neon-glow); }
.team-leute i.gast::before, .team-leute i.gast::after { background: transparent; border: 2px dashed var(--text-subtle); }
@keyframes rein { from { transform: scale(0) translateY(8px); opacity: 0 } }
.team-preis { margin: 14px 0 0; font-size: 18px; }
.team-preis b { color: var(--accent-text); font-size: 26px; }

/* Licht folgt der Maus auf Karten (nur Rechner) */
.licht { position: relative; isolation: isolate; }
.licht::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--accent-glow), transparent 70%); z-index: -1; }
.licht:hover::after { opacity: 1; }

/* Ehrlich markiert: was es heute schon gibt und was zum Start kommt */
.zum-start { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: rgba(140,245,0,.14); color: var(--neon); white-space: nowrap; vertical-align: middle; }
:root[data-theme="light"] .zum-start { color: #3d7f00; }
.os-titel .status { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.os-titel .status.da { background: var(--accent-dim); color: var(--accent-text); }
.os-titel .status.start { background: rgba(140,245,0,.14); color: var(--neon); }
:root[data-theme="light"] .os-titel .status.start { color: #3d7f00; }
