/* Scoreboard NG – Landingpage
   Gestaltung nach dem Produkt: Hallen-Dunkel, Heim-Rot gegen Gast-Blau, Gold für die Wertung.
   Schriften lokal eingebunden (keine externen Anfragen). */

@font-face { font-family: 'Geist'; src: url('fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #080c15;
  --ink-2: #0e1423;
  --panel: #141c30;
  --line: rgba(255, 255, 255, .11);
  --text: #eef1f8;
  --muted: #a7b1c7;
  --red: #e5323b;
  --red-d: #a1232b;
  --blue: #2f6bff;
  --blue-d: #1f4bb0;
  --gold: #f5c242;
  --paper: #f3f5f9;
  --paper-ink: #101726;
  --paper-muted: #4b566c;
  --paper-line: #d9dfea;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --gut: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a1405; padding: 10px 16px; font-weight: 650; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ── Typografie: Anzeigetafel-Stimme für Überschriften ── */
.display { text-wrap: balance; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .94; }
h1.display { font-size: clamp(3.1rem, 7.2vw, 6.6rem); }
h2.display { font-size: clamp(2.3rem, 4.8vw, 4rem); }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 650; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 6px; font: 650 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #1a1405; }
.btn-primary:hover { background: #ffd04f; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); }
.btn-dark { background: var(--paper-ink); color: #fff; }
.btn-dark:hover { background: #1c2740; }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 12, 21, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand img { height: 44px; width: auto; }
.nav ul { display: flex; gap: 26px; margin-left: auto; }
.nav ul a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: .97rem; }
.nav ul a:hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ── Duell-Kante: Rot gegen Blau – wiederkehrendes Motiv ── */
.duel-edge { position: relative; }
.duel-edge::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%); z-index: 2; }

/* ── Hero ── */
.hero { position: relative; padding: clamp(44px, 7vw, 92px) 0 0; background:
  radial-gradient(900px 520px at 8% -6%, rgba(229, 50, 59, .22), transparent 70%),
  radial-gradient(900px 520px at 100% -6%, rgba(47, 107, 255, .2), transparent 70%), var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 56px); }
.hero-copy { max-width: 860px; display: grid; gap: 28px; }
.hero-copy .lead { max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { color: var(--muted); font-size: .95rem; }
.hero-shot { margin-top: 8px; }
.shot { background: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.shot img { width: 100%; }
.hero-shot .shot { max-width: 1120px; margin: 0 auto; transform: translateY(0); }
.hero-bottom { height: clamp(40px, 6vw, 80px); }

/* ── Vorteils-Leiste unter dem Hero ── */
.strip { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip li { padding: 30px 26px; display: grid; gap: 8px; align-content: start; }
.strip li + li { border-left: 1px solid var(--line); }
.strip h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .01em; line-height: 1.05; }
.strip p { color: var(--muted); font-size: .98rem; line-height: 1.5; }
@media (max-width: 980px) { .strip ul { grid-template-columns: repeat(2, 1fr); } .strip li:nth-child(3) { border-left: 0; } .strip li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .strip ul { grid-template-columns: 1fr; } .strip li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ── Sektionen ── */
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; gap: 18px; max-width: 920px; margin-bottom: clamp(36px, 5vw, 64px); }
.light { background: var(--paper); color: var(--paper-ink); }
.light .lead, .light .muted { color: var(--paper-muted); }
.light :focus-visible { outline-color: #8a5a00; }

/* Vorteile nach Zielgruppe */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--paper-line); background: #fff; }
.audience > div { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.audience > div + div { border-left: 1px solid var(--paper-line); }
.audience h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; letter-spacing: .005em; padding-top: 14px; border-top: 6px solid var(--bar, var(--paper-ink)); }
.audience > div:nth-child(1) { --bar: var(--red); } .audience > div:nth-child(2) { --bar: var(--paper-ink); } .audience > div:nth-child(3) { --bar: var(--blue); }
.audience p.who { color: var(--paper-muted); font-size: .98rem; margin-top: -8px; }
.ticks li { position: relative; padding-left: 26px; margin-top: 12px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .52em; width: 10px; height: 6px; border-left: 3px solid var(--tick, var(--gold)); border-bottom: 3px solid var(--tick, var(--gold)); transform: rotate(-45deg); }
.light .ticks { --tick: #0e7a45; }
@media (max-width: 920px) { .audience { grid-template-columns: 1fr; } .audience > div + div { border-left: 0; border-top: 1px solid var(--paper-line); } }

/* Funktionen */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 84px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .f-copy { order: 2; }
.f-copy { display: grid; gap: 20px; align-content: start; }
.f-copy .ticks li { color: var(--text); }
.f-copy .ticks li span { color: var(--muted); }
.benefit { border-left: 4px solid var(--gold); padding: 4px 0 4px 18px; color: var(--text); font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
@media (max-width: 920px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .f-copy { order: 0; } }

/* Telefon (scrollbar – nichts abgeschnitten) */
.phone { width: min(100%, 330px); margin: 0 auto; border: 10px solid #1b2236; border-radius: 40px; background: #0c1220; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px #2b3552; }
.phone-screen { height: 620px; overflow-y: auto; border-radius: 28px; scrollbar-width: thin; scrollbar-color: #3a4666 transparent; }
.phone-screen img { width: 100%; }
.phone-hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* Szenen-Wechsler */
.scenes { display: grid; gap: 18px; }
.scene-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-tabs button { font: 600 .95rem/1 var(--font); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; min-height: 44px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.scene-tabs button:hover { color: var(--text); border-color: rgba(255, 255, 255, .35); }
.scene-tabs button[aria-selected='true'] { color: #1a1405; background: var(--gold); border-color: var(--gold); }
.scene-view { position: relative; }
.scene-view img { width: 100%; }
.scene-caption { color: var(--muted); font-size: .98rem; min-height: 3.2em; }

/* Stream-Overlay auf simuliertem Kamerabild */
.stream { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background:
  radial-gradient(120% 90% at 22% 18%, #4a5d7c 0%, #243049 42%, #0e1422 100%); border: 1px solid var(--line); }
.stream::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px); pointer-events: none; }
.stream .ov-a { position: absolute; left: 3.2%; top: 6%; width: 30%; }
.stream .ov-b { position: absolute; right: 3%; bottom: 8%; width: 58%; }
.stream-tag { position: absolute; right: 14px; top: 12px; z-index: 3; background: rgba(0, 0, 0, .6); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 99px; display: flex; gap: 8px; align-items: center; }
.stream-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* Ablauf – echte Reihenfolge, daher nummeriert */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 22px 30px; display: grid; gap: 10px; align-content: start; background: var(--ink-2); }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); font: 800 3.4rem/1 var(--display); color: var(--gold); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li:nth-child(odd) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } .steps li:last-child { grid-column: 1 / -1; border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Regelwerk */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rule-box { background: #fff; border: 1px solid var(--paper-line); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; }
.rule-box h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.rule-box.auto h3 { color: #0e7a45; }
.rule-box.hand h3 { color: #8a5a00; }
.rule-box li { padding: 10px 0; border-top: 1px solid var(--paper-line); font-size: .98rem; line-height: 1.5; }
.rule-box li:first-child { border-top: 0; }
.rule-box li b { font-weight: 650; }
.rule-note { margin-top: 28px; color: var(--paper-muted); font-size: .95rem; max-width: 80ch; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* Ausfallsicherheit */
.fail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.fail > div { padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; background: var(--ink-2); }
.fail > div:nth-child(even) { border-left: 1px solid var(--line); }
.fail > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.fail h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.fail p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.fail p b { color: var(--text); font-weight: 650; }
@media (max-width: 760px) { .fail { grid-template-columns: 1fr; } .fail > div:nth-child(even) { border-left: 0; } .fail > div + div { border-top: 1px solid var(--line); } }

/* Betrieb / Datenschutz */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.facts li { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--line); padding-top: 18px; }
.facts p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--paper-line); }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 650; font-size: 1.1rem; line-height: 1.4; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--font); color: var(--paper-muted); transition: transform .2s; }
.faq details[open] summary::after { content: '–'; }
.faq details > p { padding: 0 48px 24px 0; color: var(--paper-muted); max-width: 70ch; }

/* Abschluss-Aufruf */
.final { text-align: left; background:
  radial-gradient(800px 420px at 0% 100%, rgba(229, 50, 59, .22), transparent 70%),
  radial-gradient(800px 420px at 100% 100%, rgba(47, 107, 255, .22), transparent 70%), var(--ink); }
.final .wrap { display: grid; gap: 28px; justify-items: start; }

footer { background: #05070d; border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--text); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (max-width: 520px) {
  .nav .wrap { gap: 12px; }
  .brand img { height: 30px; }
  .nav .btn { white-space: nowrap; padding: 0 14px; font-size: .9rem; }
}

.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand img { height: 34px; width: auto; opacity: .95; }

/* Sprachumschalter */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin-left: 4px; }
.lang-switch a { text-decoration: none; font: 650 .82rem/1 var(--font); color: var(--muted); padding: 0 11px; min-height: 40px; display: grid; place-items: center; letter-spacing: .04em; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: rgba(255, 255, 255, .1); color: var(--text); }
.nav ul + .lang-switch { margin-left: 0; }
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .lang-switch + .btn { margin-left: 0; } }
.lang-switch, .nav .btn, .brand { flex: none; }
@media (max-width: 520px) { .lang-switch a { padding: 0 9px; } .nav .wrap { gap: 10px; } }
.brand-mark { display: none; }
@media (max-width: 520px) { .brand-full { display: none; } .brand .brand-mark { display: block; height: 34px; width: 34px; } }
@media (max-width: 1100px) { .nav ul { gap: 18px; } .nav ul a { font-size: .92rem; } .nav .wrap { gap: 18px; } }

/* Film */
.filmsec { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.film { max-width: 1100px; margin: 0 auto; }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-note { max-width: 1100px; margin: 16px auto 0; color: var(--muted); font-size: .95rem; }
