/* Scorbo – Landingpage
   Marke: Mattenblau #0F1A2E, Magnesia #EEF1F4, Schwung-Orange-Verlauf #FF6F2A→#FFD34D,
   Heim-Rot #E5323B gegen Gast-Blau #2F6BFF (nur als Duell-Kante), Schrift Barlow / Barlow Condensed.
   Hell und dunkel folgen dem System (prefers-color-scheme). Schriften lokal, keine externen Anfragen. */

@font-face { font-family: 'Barlow'; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; 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 {
  color-scheme: dark light;
  /* Dunkel (Standard) */
  --bg: #0f1a2e; --bg2: #13213a; --card: #182744; --line: rgba(238, 241, 244, .14);
  --text: #eef1f4; --muted: #aab6c9; --acc-text: #ff8f55; --shadow: 0 30px 70px rgba(0, 0, 0, .45);
  --red: #e5323b; --blue: #2f6bff;
  --grad: linear-gradient(100deg, #ff6f2a, #ffd34d);
  --on-acc: #0f1a2e;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --r: 16px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #eef1f4; --bg2: #e2e7ee; --card: #fff; --line: rgba(15, 26, 46, .16); --text: #0f1a2e; --muted: #46526a; --acc-text: #b8400a; --shadow: 0 24px 60px rgba(15, 26, 46, .18); }
}
/* Gegenton: „light“-Abschnitte kehren das Thema um (im dunklen Thema hell, im hellen Thema dunkel) */
.light { --bg: #eef1f4; --bg2: #e2e7ee; --card: #fff; --line: rgba(15, 26, 46, .16); --text: #0f1a2e; --muted: #46526a; --acc-text: #b8400a; --shadow: 0 24px 60px rgba(15, 26, 46, .18); }
@media (prefers-color-scheme: light) {
  .light { --bg: #0f1a2e; --bg2: #13213a; --card: #182744; --line: rgba(238, 241, 244, .14); --text: #eef1f4; --muted: #aab6c9; --acc-text: #ff8f55; --shadow: 0 30px 70px rgba(0, 0, 0, .45); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
b, strong { font-weight: 600; }
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(--acc-text); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--grad); color: var(--on-acc); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
section { background: var(--bg); color: var(--text); }

/* ── Typografie ── */
.display { text-wrap: balance; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
h1.display { font-size: clamp(2.9rem, 4.6vw, 4.5rem); }
h2.display { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; }
.h3d { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.hl { background: linear-gradient(100deg, #ff6f2a, #ffd34d); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) { .hero .hl { background-image: linear-gradient(100deg, #d4500f, #b45309); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font: 600 .85rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--acc-text); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: var(--card); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 600 1.02rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, filter .15s, border-color .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--on-acc); box-shadow: 0 8px 24px rgba(255, 111, 42, .28); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 10px 30px rgba(255, 111, 42, .4); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--acc-text); }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Logo: <picture> wählt hell/dunkel passend zur Seite; die Hülle soll das Layout nicht beeinflussen */
.brand picture, .foot-brand picture { display: contents; }
.brand img { height: 42px; width: auto; }
.nav ul { display: flex; gap: 26px; margin-left: auto; }
.nav ul a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .98rem; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { color: var(--text); border-bottom-color: var(--acc-text); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 860px) { .nav ul { display: none; } .nav .btn { margin-left: auto; } }

/* ── Rundung für Bilder und Videos ── */
.duel-edge { position: relative; overflow: hidden; border-radius: var(--r); }

/* ── Hero ── */
.hero { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); background:
  radial-gradient(760px 480px at 92% 0%, rgba(255, 111, 42, .20), transparent 70%),
  radial-gradient(700px 460px at 0% 10%, rgba(47, 107, 255, .14), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero-copy { display: grid; gap: 24px; align-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { color: var(--muted); font-size: .96rem; }
.shot { background: var(--bg2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { width: 100%; }
.hero-shot .shot { margin: 0; box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 90px rgba(255, 111, 42, .16); }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ── Vorteils-Leiste ── */
.strip { background: var(--bg2); border-block: 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; position: relative; }
.strip li + li { border-left: 1px solid var(--line); }
.strip li::before { content: ''; width: 36px; height: 4px; border-radius: 2px; background: var(--grad); margin-bottom: 8px; }
.strip h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; letter-spacing: .01em; line-height: 1.05; }
.strip p { color: var(--muted); font-size: 1rem; 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, 116px) 0; }
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2::after { content: ''; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--grad); margin-top: 20px; }
.filmsec { text-align: center; }
.filmsec .sec-head { margin-inline: auto; justify-items: center; }
.filmsec .sec-head h2::after { margin-inline: auto; }
.filmsec .film { max-width: 960px; margin: 0 auto; }

/* Vorteile nach Zielgruppe */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.audience > div { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.audience h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.audience p.who { color: var(--muted); font-size: 1rem; margin-top: -6px; }
.ticks li { position: relative; padding-left: 28px; margin-top: 12px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px; border-left: 3px solid var(--acc-text); border-bottom: 3px solid var(--acc-text); transform: rotate(-45deg); }
@media (max-width: 920px) { .audience { grid-template-columns: 1fr; } }

/* Funktionen */
#funktionen, #features { counter-reset: feat; }
.feature { counter-increment: feat; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 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::before { content: '0' counter(feat); font: 800 1.1rem/1 var(--display); letter-spacing: .14em; color: var(--acc-text); }
.benefit { background: var(--card); border: 1px solid var(--line); border-left: 5px solid #ff6f2a; border-radius: 10px; padding: 14px 18px; 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 */
.phone { width: min(100%, 330px); margin: 0 auto; border: 10px solid #1b2236; border-radius: 40px; background: #0c1220; box-shadow: var(--shadow), inset 0 0 0 2px #2b3552; overflow: hidden; }
.phone::before { display: none; }
.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: .92rem; margin-top: 14px; }

/* Szenen-Wechsler */
.scenes { display: grid; gap: 18px; }
.scene-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-tabs button { font: 600 .98rem/1 var(--font); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; min-height: 44px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.scene-tabs button:hover { color: var(--text); border-color: var(--acc-text); }
.scene-tabs button[aria-selected='true'] { color: var(--on-acc); background: var(--grad); border-color: transparent; }
.scene-caption { color: var(--muted); font-size: 1rem; min-height: 3.2em; }

/* Stream-Overlay */
.stream { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 22% 18%, #4a5d7c 0%, #243049 42%, #0e1422 100%); border: 1px solid var(--line); box-shadow: var(--shadow); }
.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: 14px; z-index: 3; background: rgba(0, 0, 0, .65); color: #fff; font-size: .82rem; 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 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; padding: 26px 22px 28px; display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(step); font: 800 3.6rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) { .steps li::before { background-image: linear-gradient(100deg, #d4500f, #b45309); } }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Der Name */
.name-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.name-grid li { display: grid; gap: 6px; align-content: start; padding: 22px 18px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.name-grid .ltr { font: 800 4.2rem/.9 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: light) { .name-grid .ltr { background-image: linear-gradient(100deg, #d4500f, #b45309); } }
.name-grid h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; }
.name-grid p { color: var(--muted); font-size: .98rem; line-height: 1.45; }
@media (max-width: 1020px) { .name-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .name-grid { grid-template-columns: repeat(2, 1fr); } .name-grid .ltr { font-size: 3.4rem; } }

/* Regelwerk */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rule-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); 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.75rem; line-height: 1; }
.rule-box.auto h3 { color: var(--acc-text); }
.rule-box li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.rule-box li:first-child { border-top: 0; }
.rule-note { margin-top: 28px; color: var(--muted); font-size: 1rem; 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: 16px; }
.fail > div { padding: clamp(24px, 3vw, 34px); display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.fail h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1.05; }
.fail p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.fail p b { color: var(--text); }
@media (max-width: 760px) { .fail { grid-template-columns: 1fr; } }

/* Betrieb */
.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: 3px solid transparent; border-image: var(--grad) 1; padding-top: 18px; }
.facts p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.1rem; line-height: 1.4; position: relative; min-height: 44px; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 500 1.8rem/1 var(--font); color: var(--acc-text); }
.faq details[open] summary::after { content: '–'; }
.faq details > p { padding: 0 56px 22px 22px; color: var(--muted); max-width: 70ch; }

/* Abschluss */
.final { background:
  radial-gradient(800px 420px at 0% 100%, rgba(255, 111, 42, .22), transparent 70%),
  radial-gradient(800px 420px at 100% 100%, rgba(47, 107, 255, .16), transparent 70%), var(--bg); }
.final .wrap { display: grid; gap: 28px; justify-items: start; }

footer { background: var(--bg2); border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .95rem; }
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; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand img { height: 34px; width: auto; }

/* Sprachumschalter, Logo klein */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { text-decoration: none; font: 600 .84rem/1 var(--font); color: var(--muted); padding: 0 12px; min-height: 40px; display: grid; place-items: center; letter-spacing: .05em; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--grad); color: var(--on-acc); }
.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; }
.brand-mark { display: none; }
@media (max-width: 520px) { .brand-full { display: none; } .brand .brand-mark { display: block; height: 34px; width: 34px; } .nav .wrap { gap: 10px; } .lang-switch a { padding: 0 9px; } .nav .btn { white-space: nowrap; padding: 0 14px; font-size: .9rem; } }
@media (max-width: 1100px) { .nav ul { gap: 18px; } .nav ul a { font-size: .92rem; } .nav .wrap { gap: 18px; } }

/* Film */
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-note { margin: 12px 4px 0; color: var(--muted); font-size: .95rem; text-align: left; }
.hero-shot .film-note { padding: 0 6px 12px; margin: 0; }
.filmsec .film-note { text-align: center; }

/* Einblenden beim Scrollen (nur mit Script, nie bei reduzierter Bewegung) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Rechtstexte */
.legal { max-width: 780px; padding: 56px 0 96px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.35rem; font-weight: 600; margin-top: 22px; line-height: 1.3; }
.legal h3 { font-size: 1.05rem; margin-top: 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--acc-text); }
.legal code { background: var(--card); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.legal .lead { color: var(--text); }
.legal-meta { margin-top: 28px; font-size: .95rem; color: var(--muted) !important; }
