:root {
  --bg: #F7F0FF; --surface: #FFFFFF; --text: #1A0630; --muted: #64547A; --line: #E3D5F4; --accent: #B0157A; --accent-tx: #FFFFFF; --bar: rgba(247,240,255,.9);
  --h-grad: radial-gradient(120% 90% at 0% 0%, #FF2E9A 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #22F0FF 0%, transparent 60%), #2A0B4A; --h-tx: #FFFFFF; --h-chip: #FFE94A; --h-chiptx: #2A0B4A;
  --h-btn: #22F0FF; --h-btntx: #1A0630; --h-glow: 0 0 18px rgba(255,46,154,.65);
  --eq1: #FF2E9A; --eq2: #22F0FF; --eq3: #FFE94A;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #14041F; --surface: #220A38; --text: #FFFFFF; --muted: #C6B4DC; --line: #3B1B5D; --accent: #22F0FF; --accent-tx: #1A0630; --bar: rgba(20,4,31,.9); } }
:root[data-theme="dark"] { --bg: #14041F; --surface: #220A38; --text: #FFFFFF; --muted: #C6B4DC; --line: #3B1B5D; --accent: #22F0FF; --accent-tx: #1A0630; --bar: rgba(20,4,31,.9); }

/* Farben kommen aus theme.css-Block (wird von build.py oben eingefuegt). */
:root {
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --r: 22px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--body);
  min-height: 100dvh; padding-bottom: calc(76px + var(--safe-b)); overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pad { padding: 0 16px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: calc(10px + var(--safe-t)) 16px 10px; background: var(--bar);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font: 400 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; min-width: 0; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { border: 0; background: none; padding: 6px; margin-left: -8px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.net { margin-left: auto; font: 700 11px/1 var(--mono); text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--text); color: var(--bg); }
.back[hidden], .net[hidden] { display: none; }

/* Equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 4px; height: 100%; border-radius: 2px; background: var(--eq1); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; background: var(--eq2); }
.eq i:nth-child(3) { animation-delay: -.6s; background: var(--eq3); }
.eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Hero */
.hero { position: relative; padding: 26px 16px 22px; background: var(--h-grad); color: var(--h-tx); overflow: hidden; isolation: isolate; }
.hero .date { font: 700 14px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding-right: 40px; }
.hero h1 { margin: 10px 0 6px; font: 400 clamp(38px, 12vw, 72px)/.92 var(--display); text-transform: uppercase; overflow-wrap: anywhere; text-shadow: var(--h-glow); }
.hero .claim { margin: 0 0 18px; font-weight: 600; }
.hero .eq { height: 18px; gap: 4px; position: absolute; right: 18px; top: 26px; opacity: .9; }
.hero .eq i { width: 5px; background: var(--h-tx); }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 460px; }
.cd div { background: var(--h-chip); color: var(--h-chiptx); border-radius: 14px; padding: 10px 4px 8px; text-align: center; }
.cd b { display: block; font: 700 clamp(22px, 7vw, 30px)/1 var(--mono); font-variant-numeric: tabular-nums; }
.cd b.tick { animation: tick .4s ease; }
@keyframes tick { from { transform: translateY(-4px); opacity: .4; } }
.cd small { font: 400 11px/1 var(--mono); text-transform: uppercase; opacity: .85; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; }
.hero-actions .btn:first-child { flex: 1; min-width: 0; white-space: nowrap; }
.hero .btn { background: var(--h-btn); color: var(--h-btntx); }
.hero .btn.ghost { background: transparent; color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 99px; border: 0; font-weight: 800; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-tx); box-shadow: 0 6px 18px -8px rgba(0,0,0,.5);
}
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.icon { width: 48px; padding: 0; flex: none; }
.btn.full { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* Sections */
.page-title { padding: 22px 16px 0; }
.page-title h1 { margin: 0; font: 400 clamp(36px, 11vw, 52px)/.95 var(--display); text-transform: uppercase; }
.page-title p { margin: 8px 0 0; color: var(--muted); }
.section { padding: 22px 16px 4px; }
.section h2 { margin: 0 0 12px; font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.section h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; margin-top: 8px; background: var(--accent); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts .box small { display: block; font: 700 11px/1.2 var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.facts .box b { display: block; margin-top: 4px; font-weight: 600; }
.folgt { color: var(--muted); font-style: italic; font-weight: 400 !important; }
.acts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acts li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acts b { font: 400 22px/1.1 var(--display); text-transform: uppercase; }
.tag { font: 700 11px/1 var(--mono); text-transform: uppercase; padding: 6px 8px; border-radius: 8px; background: var(--accent); color: var(--accent-tx); white-space: nowrap; }
.prices { display: grid; gap: 10px; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price .n { font-weight: 800; }
.price .i { color: var(--muted); font-size: 13px; }
.price .p { font: 400 32px/1 var(--display); }
.group { margin-top: 12px; border-radius: 18px; padding: 16px; background: var(--h-grad); color: var(--h-tx); }
.group b { font: 400 22px/1.1 var(--display); text-transform: uppercase; display: block; margin-bottom: 4px; }
.hint { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--accent); text-decoration: none; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 700 20px/1 var(--mono); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 14px; color: var(--muted); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.logo-card { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px; border-radius: 18px; background: #FFFFFF; color: #1B1B1B; border: 1px solid var(--line); }
.logo-card img { display: block; height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.logo-card span { font-weight: 800; font-size: 15px; white-space: nowrap; }
.list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.list a:last-child { border-bottom: 0; }
.list a[aria-current="true"] { color: var(--accent); }
.legal { border-left: 4px solid var(--accent); }
.legal p { margin: 0 0 12px; }
.legal p:last-child { margin-bottom: 0; }
.foot { padding: 26px 16px 10px; color: var(--muted); font-size: 12px; text-align: center; }

/* Tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 6px calc(6px + var(--safe-b)); background: var(--bar); border-top: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 12px; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--text); }
.tabbar a[aria-current="page"] svg { stroke: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: 14px; transition: .25s; z-index: 30; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.view { animation: viewIn .35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .eq i { transform: scaleY(.7); }
}
