/* ============================================================
   iPii.TV — Editorial Redesign
   Brand: Grau #2b2b2a · Rot #b3362f · Weiß #fdf3f3
   ============================================================ */
@font-face {
  font-family: 'Inter';
  src: url('/2d/assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/2d/assets/fonts/space-grotesk-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/2d/assets/fonts/jetbrains-mono-var.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --canvas: #2b2b2a;
  --panel: #242423;
  --panel-2: #31302e;
  --ink: #fdf3f3;
  --ink-60: rgba(253, 243, 243, 0.62);
  --ink-35: rgba(253, 243, 243, 0.35);
  --line: rgba(253, 243, 243, 0.09);
  --red: #b3362f;
  --red-soft: #d96a5f;
  --red-deep: #8a1d1d;
  --cta-hover: #a52525;
  --focus-glow: rgba(138, 29, 29, 0.26);
  --ok: #93aa99;
  --font-d: 'Space Grotesk', sans-serif;
  --font-b: 'Inter', sans-serif;
  --font-m: 'JetBrains Mono', monospace;
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--canvas); }
body {
  font-family: var(--font-b);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
main { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--font-d); font-weight: 700; line-height: 1.02; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--red-soft); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 1.4rem;
}
.eyebrow.center { display: block; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-60); max-width: 34rem; }
.fine { font-size: 0.8rem; color: var(--ink-35); }
.fine a { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 2.1rem;
  border-radius: 14px;
  font-family: var(--font-d); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--red-deep); color: var(--ink); }
.btn.primary:hover { background: var(--cta-hover); }
.btn.ghost { border: 1px solid var(--ink-35); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wide { width: 100%; }
.btn.big { padding: 1.15rem 3rem; font-size: 1.05rem; }

/* ---------- Scroll-Fortschritt ---------- */
#progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: transparent; pointer-events: none;
}
#progress i { display: block; height: 100%; width: 100%; background: var(--red-deep); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Topbar ---------- */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: linear-gradient(to bottom, rgba(43, 43, 42, 0.85), rgba(43, 43, 42, 0));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s;
}
#topbar.scrolled { background: rgba(43, 43, 42, 0.88); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-d); font-size: 1.05rem; }
.brand strong { color: var(--red-soft); font-weight: 700; }
.toplinks { display: flex; align-items: center; gap: 1.8rem; font-size: 0.88rem; }
.toplinks a { color: var(--ink-60); transition: color 0.25s; }
.toplinks a:hover { color: var(--ink); }
.toplinks a.cta {
  background: var(--red-deep); color: var(--ink);
  padding: 0.55rem 1.2rem; border-radius: 14px; font-weight: 600;
  transition: background 0.25s, transform 0.3s;
}
.toplinks a.cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(36, 36, 35, 0.72);
}
.view-switch > span,
.view-switch > a {
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-family: var(--font-m);
  font-size: 0.68rem;
  color: var(--ink-60);
}
.view-switch > span { background: var(--red-deep); color: var(--ink); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red-soft);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--focus-glow);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 7rem var(--pad) 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; width: 60vmax; height: 60vmax;
  right: -18vmax; top: -14vmax;
  background: radial-gradient(circle, rgba(179, 54, 47, 0.22) 0%, transparent 62%);
}
.hero-bars {
  position: absolute; right: 6vw; top: 50%;
  transform: translateY(-50%) rotate(8deg);
  width: min(34vw, 34rem); height: auto; opacity: 0.32;
}
.hero-bars i {
  width: 4.2vw; height: 34vh; border-radius: 999px;
  background: rgba(253, 243, 243, 0.05);
  border: 1px solid rgba(253, 243, 243, 0.07);
}
.hero-bars i.red { background: rgba(179, 54, 47, 0.32); border-color: rgba(179, 54, 47, 0.4); height: 44vh; margin-top: -5vh; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 7rem 7rem;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 75%);
  opacity: 0.35;
}
.hero-inner { position: relative; max-width: 60rem; }
.hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); margin: 0.5rem 0 1.8rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; will-change: transform; }
.hero .lead { margin-bottom: 2.2rem; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.scroll-cue {
  position: absolute; bottom: 2.2rem; left: var(--pad);
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-35);
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue i { display: block; width: 1px; height: 3rem; background: var(--ink-35); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--red-soft); animation: cue 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.1rem 0; overflow: hidden; background: var(--panel);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-d); font-size: 1rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-35); white-space: nowrap;
}
.marquee-track b { color: var(--red); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifest ---------- */
.manifest { padding: clamp(7rem, 16vh, 12rem) var(--pad); max-width: 72rem; margin: 0 auto; }
.manifest-text {
  font-family: var(--font-d); font-weight: 500;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.25; letter-spacing: -0.01em;
  margin-top: 1.5rem;
}
.manifest-text .w { opacity: 0.14; transition: opacity 0.4s; }
.manifest-text .w.hl { color: var(--red-soft); }

/* ---------- Showcase (Sticky TV) ---------- */
.showcase { position: relative; border-top: 1px solid var(--line); background: var(--panel); }
.showcase-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 var(--pad);
  max-width: 110rem; margin: 0 auto;
}
.showcase-stage { position: relative; }
.stage-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: 5rem 0 3rem;
}
.stage-caption {
  font-family: var(--font-m); font-size: 0.75rem; letter-spacing: 0.14em;
  color: var(--ink-35); text-transform: uppercase;
  display: flex; align-items: center; gap: 0.7rem;
}
.stage-caption::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

/* TV frame */
.tv { position: relative; width: 100%; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9;
  background: #101010; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(253, 243, 243, 0.08);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.tv-bezel { position: absolute; inset: -8px; border-radius: 20px; border: 3px solid #171716; pointer-events: none; z-index: 5; }
.tv-stand { width: 26%; height: 8px; margin: 10px auto 0; background: #171716; border-radius: 0 0 8px 8px; }

/* Screens */
.scr {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.55s;
  padding: 5.5% 6%;
  display: flex; flex-direction: column;
}
.scr.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.12s; }
.scr-hint {
  margin-top: auto; padding-top: 3%;
  font-family: var(--font-m); font-size: clamp(0.5rem, 0.85vw, 0.68rem);
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(253, 243, 243, 0.4);
}
.chip-logo {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(0.55rem, 1vw, 0.8rem); color: var(--ink);
}
.chip-logo img { width: 0.72em; height: auto; flex: none; }
.chip-logo i { width: 0.32em; height: 1em; border-radius: 99px; background: var(--ink); display: inline-block; }
.chip-logo i.r { background: var(--red-soft); height: 1.25em; }
.chip-logo.sm i { height: 0.85em; }
.chip-live {
  font-family: var(--font-m); font-size: clamp(0.5rem, 0.8vw, 0.65rem); letter-spacing: 0.14em;
  color: var(--ink); background: var(--red); border-radius: 99px; padding: 0.3em 0.8em;
}
.chip-live.sm { font-size: 0.62rem; }

/* SCREEN: Live */
.scr-live { justify-content: space-between; }
.live-picture {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 24% 68%, rgba(217, 106, 95, 0.55), transparent 30%),
    radial-gradient(circle at 62% 34%, rgba(253, 243, 243, 0.3), transparent 24%),
    radial-gradient(circle at 82% 74%, rgba(147, 170, 153, 0.4), transparent 28%),
    radial-gradient(circle at 44% 52%, rgba(217, 106, 95, 0.3), transparent 20%),
    linear-gradient(160deg, #1b1e26 0%, #101216 70%);
  filter: saturate(1.05);
}
.live-picture::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 16, 16, 0.92) 8%, transparent 55%);
}
.live-top, .live-bottom { position: relative; z-index: 2; }
.live-top { display: flex; justify-content: space-between; align-items: center; }
.live-bottom .now { font-family: var(--font-d); font-weight: 600; font-size: clamp(0.65rem, 1.35vw, 1.05rem); }
.live-bottom .meta { font-size: clamp(0.5rem, 0.9vw, 0.72rem); color: var(--ink-60); margin: 0.2em 0 0.6em; }
.epg { height: 3px; background: rgba(253, 243, 243, 0.18); border-radius: 99px; overflow: hidden; }
.epg i { display: block; height: 100%; background: var(--red-soft); border-radius: 99px; }
.zapbar { position: relative; z-index: 3; display: flex; gap: 0.5em; margin-top: 0.9em; }
.zap {
  font-family: var(--font-m); font-size: clamp(0.5rem, 0.85vw, 0.66rem); letter-spacing: 0.08em;
  padding: 0.45em 0.95em; border-radius: 99px;
  border: 1px solid rgba(253, 243, 243, 0.25); color: var(--ink-60);
  transition: all 0.25s;
}
.zap:hover { border-color: var(--ink); color: var(--ink); }
.zap.is-on { background: var(--red-deep); border-color: var(--red-deep); color: var(--ink); }
.scr-live .scr-hint { position: relative; z-index: 2; }

/* SCREEN: ZapPilot */
.scr-pilot { gap: 4%; }
.pilot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4%; }
.pilot-tabs { display: flex; gap: 0.5em; }
.pilot-tabs b {
  font-family: var(--font-m); font-weight: 400; font-size: clamp(0.5rem, 0.85vw, 0.66rem);
  padding: 0.35em 0.9em; border-radius: 99px; color: var(--ink-60);
  border: 1px solid rgba(253, 243, 243, 0.16);
}
.pilot-tabs b.on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.pilot-list { list-style: none; display: flex; flex-direction: column; gap: 0.5em; }
.pilot-list li {
  display: grid; grid-template-columns: 3.2em 1fr auto auto; align-items: center; gap: 1em;
  padding: 0.7em 1em; border-radius: 10px;
  background: rgba(253, 243, 243, 0.045); border: 1px solid transparent;
  font-size: clamp(0.5rem, 0.95vw, 0.75rem);
  transition: border-color 0.3s, background 0.3s;
}
.pilot-list li.hot { border-color: rgba(138, 29, 29, 0.55); background: rgba(138, 29, 29, 0.14); }
.pl-ch { font-family: var(--font-m); color: var(--ink-60); }
.pl-show { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-time { font-family: var(--font-m); color: var(--ink-35); font-size: 0.9em; }
.pl-act {
  font-family: var(--font-m); font-size: 0.82em; letter-spacing: 0.08em;
  color: var(--canvas); background: var(--ink); padding: 0.35em 0.8em; border-radius: 99px;
}
.pl-act.send { background: transparent; border: 1px solid var(--ink-35); color: var(--ink); }
.pl-act.mark { background: var(--red-deep); color: var(--ink); }

/* SCREEN: VOD */
.scr-vod { gap: 5%; }
.vod-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2%; }
.vod-sub { font-family: var(--font-m); font-size: clamp(0.5rem, 0.85vw, 0.66rem); color: var(--ink-35); }
.vod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%; flex: 1; min-height: 0; }
.vod-card { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid transparent; transition: transform 0.35s, border-color 0.3s; }
.vod-card.is-on { border-color: var(--red-deep); }
.vod-card:hover { transform: translateY(-4px); }
.vod-card img { width: 100%; height: 100%; object-fit: cover; }
.vod-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 0.6em 0.7em;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92), transparent);
  font-size: clamp(0.45rem, 0.8vw, 0.62rem);
}
.vod-card figcaption b { font-family: var(--font-d); display: block; margin-bottom: 0.35em; }
.vod-card .pg { display: block; height: 2px; background: rgba(253, 243, 243, 0.2); border-radius: 99px; overflow: hidden; }
.vod-card .pg i { display: block; height: 100%; background: var(--red-soft); }
.vod-card .pc { font-family: var(--font-m); color: var(--ink-60); font-size: 0.85em; }

/* SCREEN: Fußball */
.scr-fuss { gap: 5%; }
.fuss-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3%; }
.fuss-list { list-style: none; display: flex; flex-direction: column; gap: 0.6em; }
.fuss-list li {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1.2em;
  padding: 0.8em 1.1em; border-radius: 10px;
  background: rgba(253, 243, 243, 0.045);
  font-size: clamp(0.5rem, 0.95vw, 0.75rem);
}
.fuss-list li.live-game { background: rgba(179, 54, 47, 0.14); border: 1px solid rgba(179, 54, 47, 0.5); }
.fg-badge { font-family: var(--font-m); font-size: 0.82em; letter-spacing: 0.1em; color: var(--red-soft); }
.fg-badge.soon { color: var(--ink-60); }
.fg-badge.done { color: var(--ink-35); }
.fg-teams b { font-weight: 600; }
.fg-score { font-family: var(--font-d); font-weight: 700; font-size: 1.15em; }
.fg-act {
  font-family: var(--font-m); font-size: 0.8em; letter-spacing: 0.08em;
  border: 1px solid var(--ink-35); padding: 0.35em 0.85em; border-radius: 99px; color: var(--ink-60);
}
.fuss-list .live-game .fg-act { background: var(--red-deep); border-color: var(--red-deep); color: var(--ink); }
.fg-act.mark { color: var(--red-soft); border-color: rgba(179, 54, 47, 0.55); }

/* SCREEN: Aufnahme */
.scr-rec { justify-content: space-between; }
.rec-picture {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(253, 243, 243, 0.16), transparent 30%),
    radial-gradient(circle at 30% 70%, rgba(147, 170, 153, 0.3), transparent 34%),
    linear-gradient(150deg, #181a20, #0f1114 75%);
}
.rec-picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,16,16,0.92) 10%, transparent 55%); }
.rec-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.chip-rec {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-m); font-size: clamp(0.5rem, 0.85vw, 0.68rem); letter-spacing: 0.1em;
  background: rgba(179, 54, 47, 0.9); color: var(--ink); border-radius: 99px; padding: 0.35em 0.9em;
}
.chip-rec i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--ink); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.chip-file {
  font-family: var(--font-m); font-size: clamp(0.5rem, 0.85vw, 0.66rem);
  border: 1px solid var(--ink-35); color: var(--ink-60); border-radius: 99px; padding: 0.35em 0.9em;
}
.rec-bottom { position: relative; z-index: 2; }
.rec-bottom .now { font-family: var(--font-d); font-weight: 600; font-size: clamp(0.6rem, 1.25vw, 1rem); }
.rec-bottom .meta { font-size: clamp(0.5rem, 0.9vw, 0.72rem); color: var(--ink-60); margin: 0.2em 0 0.6em; }
.epg.rec i { background: var(--red-deep); }
.scr-rec .scr-hint { position: relative; z-index: 2; }

/* Chapters */
.showcase-chapters { padding: 14vh 0 20vh; }
.chapter { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; }
.chapter h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin-bottom: 1.2rem; }
.chapter p:not(.eyebrow) { color: var(--ink-60); font-size: 1.02rem; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 110rem; margin: 0 auto; padding: clamp(3.5rem, 8vh, 6rem) var(--pad);
  gap: 2rem;
}
.stat { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.stat .num {
  display: block; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat .lbl { display: block; margin-top: 0.7rem; font-size: 0.88rem; color: var(--ink-60); max-width: 14rem; }

/* ---------- TapZap ---------- */
.tapzap {
  display: grid; grid-template-columns: 1fr 1.2fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  max-width: 110rem; margin: 0 auto;
}
.tz-copy h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); margin-bottom: 1.3rem; }
.tz-copy > p { color: var(--ink-60); }
.tz-steps { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; }
.tz-steps li {
  display: flex; gap: 1.3rem; align-items: baseline;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.tz-steps li:last-child { border-bottom: 1px solid var(--line); }
.tz-steps b { font-family: var(--font-m); font-weight: 400; color: var(--red-soft); font-size: 0.85rem; }
.tz-steps strong { display: block; font-family: var(--font-d); font-size: 1.05rem; }
.tz-steps span { color: var(--ink-60); font-size: 0.92rem; }
.tz-hint {
  font-family: var(--font-m); font-size: 0.75rem !important; letter-spacing: 0.1em;
  color: var(--red-soft) !important; text-transform: uppercase;
}
.tz-stage { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); }

/* Phone */
.tz-phone {
  width: clamp(180px, 17vw, 240px); flex: none;
  background: #171716; border-radius: 34px; padding: 12px;
  border: 1px solid rgba(253, 243, 243, 0.12);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
  position: relative;
}
.ph-notch { width: 34%; height: 14px; background: #0b0b0b; border-radius: 99px; margin: 2px auto 10px; }
.ph-head { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-d); font-weight: 600; font-size: 0.85rem; padding: 0 6px; }
.ph-sub { font-family: var(--font-m); font-size: 0.58rem; letter-spacing: 0.1em; color: var(--ink-35); text-transform: uppercase; padding: 4px 6px 10px; }
.ph-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ph-list li {
  display: flex; flex-direction: column; gap: 1px;
  background: rgba(253, 243, 243, 0.05); border: 1px solid transparent;
  border-radius: 12px; padding: 9px 12px; cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.ph-list li:hover { border-color: var(--ink-35); transform: translateX(2px); }
.ph-list li.is-on { border-color: var(--red-deep); background: rgba(138, 29, 29, 0.18); }
.ph-list b { font-family: var(--font-m); font-weight: 500; font-size: 0.68rem; color: var(--red-soft); }
.ph-list li.is-on b { color: var(--ink); }
.ph-list span { font-size: 0.68rem; color: var(--ink-60); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-home { width: 30%; height: 4px; background: var(--ink-35); border-radius: 99px; margin: 12px auto 2px; }

/* Beam */
.tz-beam { display: flex; gap: 7px; }
.tz-beam i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red-soft);
  opacity: 0.2; transition: opacity 0.2s;
}
.tz-beam.fire i { animation: beam 0.55s ease forwards; }
.tz-beam.fire i:nth-child(2) { animation-delay: 0.12s; }
.tz-beam.fire i:nth-child(3) { animation-delay: 0.24s; }
@keyframes beam { 0% { opacity: 0.2; transform: scale(1); } 40% { opacity: 1; transform: scale(1.7); } 100% { opacity: 0.2; transform: scale(1); } }

/* Mini TV */
.tz-tv { flex: 1; max-width: 30rem; }
.tz-tv-screen {
  aspect-ratio: 16 / 9; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #191b21, #101216 70%);
  border: 3px solid #171716;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7%; gap: 0.3rem;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
}
.tz-flash { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; }
.tz-flash.zap { animation: flash 0.5s ease; }
@keyframes flash { 0% { opacity: 0.5; } 100% { opacity: 0; } }
.tz-ch { font-family: var(--font-m); font-size: clamp(0.6rem, 1vw, 0.75rem); letter-spacing: 0.12em; color: var(--red-soft); text-transform: uppercase; }
.tz-show { font-family: var(--font-d); font-weight: 600; font-size: clamp(0.8rem, 1.6vw, 1.15rem); margin-bottom: 0.4rem; }
.tz-tv-stand { width: 30%; height: 7px; background: #171716; border-radius: 0 0 8px 8px; margin: 8px auto 0; }

/* ---------- App-Spotlight ---------- */
.app-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
  scroll-margin-top: 5rem;
}
.app-install {
  min-width: 0;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 5vw, 6rem);
}
.app-install h2 {
  max-width: 36rem;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
}
.app-install h2 em { color: var(--red-soft); }
.app-inner { width: min(100%, 46rem); }
.app-mobile { background: var(--ink); color: var(--panel); }
.app-mobile .app-inner { position: relative; margin-left: auto; padding-right: clamp(0rem, 16vw, 14rem); }
.app-tv { background: var(--panel); }
.app-tv .app-inner { margin-right: auto; }
.app-mobile h2 em { color: var(--red-deep); }
.app-kicker {
  margin-bottom: 1.2rem;
  font-family: var(--font-m);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-soft);
}
.app-mobile .app-kicker { color: var(--red-deep); }
.app-copy { max-width: 35rem; color: var(--ink-60); }
.app-mobile .app-copy { color: rgba(36, 36, 35, 0.72); }
.app-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.app-meta span {
  padding: 0.38rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-m);
  font-size: 0.65rem;
  color: var(--ink-60);
}
.app-mobile .app-meta span { border-color: rgba(36, 36, 35, 0.18); color: rgba(36, 36, 35, 0.68); }
.app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.app-actions .btn { border-radius: 8px; }
.app-download { background: var(--panel); color: var(--ink); }
.app-download:hover { background: #111110; }
.app-detail {
  font-family: var(--font-d);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(36, 36, 35, 0.72);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.mobile-product {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(13rem, 32vw);
  min-height: 23rem;
  padding: 1.2rem 1rem;
  overflow: hidden;
  border: 1px solid rgba(253, 243, 243, 0.18);
  border-radius: 28px;
  background: #171716;
  color: var(--ink);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.8);
}
.mobile-product::before {
  content: '';
  display: block;
  width: 3rem;
  height: 0.3rem;
  margin: -0.45rem auto 1.3rem;
  border-radius: 99px;
  background: rgba(253, 243, 243, 0.18);
}
.mobile-product-top { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-d); font-weight: 600; }
.mobile-product-top img { width: 1.5rem; }
.mobile-product-top i { width: 0.45rem; height: 0.45rem; margin-left: auto; border-radius: 50%; background: var(--ok); }
.mobile-product > small { display: block; margin-top: 1.6rem; color: var(--ink-35); font-family: var(--font-m); font-size: 0.56rem; letter-spacing: 0.12em; }
.mobile-product > strong { display: block; margin-top: 0.2rem; font-family: var(--font-d); font-size: 1rem; }
.mobile-product-now { display: grid; gap: 0.2rem; margin-top: 1.4rem; padding: 0.9rem; border-radius: 8px; background: rgba(253, 243, 243, 0.06); }
.mobile-product-now b { color: var(--red-soft); font-family: var(--font-m); font-size: 0.58rem; }
.mobile-product-now span { font-family: var(--font-d); font-size: 0.9rem; font-weight: 600; }
.mobile-product-now em { color: var(--ink-60); font-family: var(--font-m); font-size: 0.58rem; font-style: normal; }
.mobile-product-remote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; margin-top: 1.25rem; }
.mobile-product-remote i { aspect-ratio: 1; border-radius: 50%; background: rgba(253, 243, 243, 0.07); }
.mobile-product-remote i:nth-child(2) { background: var(--red-deep); }
.mobile-product-remote i:nth-child(4) { grid-column: 2; }
.mobile-product-remote i:nth-child(5) { grid-column: 3; }
.tv-install-route {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.35rem 1.2rem;
  margin: 1.8rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--red);
  background: rgba(253, 243, 243, 0.045);
}
.tv-install-route > span { color: var(--ink-35); font-family: var(--font-m); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
.downloader-code {
  grid-row: span 2;
  min-height: 3.6rem;
  padding: 0 1rem;
  border: 1px solid rgba(253, 243, 243, 0.22);
  border-radius: 8px;
  background: var(--canvas);
  font-family: var(--font-m);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}
.downloader-code:hover { border-color: var(--red-soft); }
.tv-install-route small { color: var(--ink-60); font-size: 0.72rem; }
.tv-install-list { list-style: none; }
.tv-install-list li { display: grid; grid-template-columns: 2.3rem 1fr; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.tv-install-list li:last-child { border-bottom: 1px solid var(--line); }
.tv-install-list li > b { color: var(--red-soft); font-family: var(--font-m); font-size: 0.72rem; font-weight: 500; }
.tv-install-list strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-d); font-size: 1rem; }
.tv-install-list span { display: block; color: var(--ink-60); font-size: 0.84rem; line-height: 1.55; }
.tv-install-list code { color: var(--ink); font-family: var(--font-m); font-size: 0.78rem; }
.tv-meta { margin-bottom: 0; }

/* ---------- Playlist Studio ---------- */
.studio { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 110rem; margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
}
.studio-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 1.3rem; }
.studio-copy p:not(.eyebrow) { color: var(--ink-60); }
.studio-card {
  background: var(--canvas); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.sc-head {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-d); font-weight: 600; font-size: 0.95rem;
  padding-bottom: 0.9rem; margin-bottom: 0.4rem; border-bottom: 1px solid var(--line);
}
.sc-saved { margin-left: auto; font-family: var(--font-m); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ok); transition: color 0.3s; }
.sc-saved.dirty { color: var(--red-soft); }
.sc-row {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  background: rgba(253, 243, 243, 0.04); border: 1px solid transparent;
  border-radius: 12px; padding: 0.85rem 1.1rem;
  font-size: 0.9rem; cursor: grab; user-select: none;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.sc-row:hover { border-color: var(--ink-35); transform: translateX(4px); }
.sc-row.dragging { border-color: var(--red-deep); background: rgba(138, 29, 29, 0.16); transform: scale(1.02); cursor: grabbing; }
.sc-grip { width: 12px; flex: none; height: 16px; background-image: radial-gradient(circle, var(--ink-35) 1.4px, transparent 1.4px); background-size: 6px 6px; }
.sc-row b { font-family: var(--font-d); font-weight: 600; }
.sc-count { margin-left: auto; font-family: var(--font-m); font-size: 0.7rem; color: var(--ink-35); white-space: nowrap; }
.sc-epg { font-family: var(--font-m); font-size: 0.7rem; padding: 0.25rem 0.7rem; border-radius: 99px; white-space: nowrap; }
.sc-epg.ok { color: var(--ok); border: 1px solid rgba(147, 170, 153, 0.4); }
.sc-epg.warn { color: var(--red-soft); border: 1px solid rgba(179, 54, 47, 0.5); }

/* ---------- Steps ---------- */
.steps { padding: clamp(6rem, 14vh, 10rem) var(--pad); max-width: 74rem; margin: 0 auto; }
.steps h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.journey-lead { max-width: 43rem; margin: -2.6rem auto 3.2rem; color: var(--ink-60); }
.steps-list { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.2rem 0; border-top: 1px solid var(--line);
  transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 1.2rem; }
.step-num {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem); color: transparent;
  -webkit-text-stroke: 1px var(--ink-35);
  transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}
.step:hover .step-num { color: var(--red-deep); -webkit-text-stroke-color: var(--red-deep); }
.step h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-60); max-width: 40rem; }
.step-arrow { font-family: var(--font-d); font-size: 1.6rem; color: var(--ink-35); transition: color 0.3s, transform 0.35s; }
.step:hover .step-arrow { color: var(--red-soft); transform: translateX(6px); }

/* ---------- Pricing ---------- */
.pricing { background: var(--panel); border-top: 1px solid var(--line); padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.pricing h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.price-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center; gap: 1.6rem; margin-bottom: 1.6rem;
}
.price-card {
  position: relative; background: var(--canvas); border: 1px solid var(--line);
  border-radius: 24px; padding: 2.4rem 2.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--ink-35); }
.price-card.featured { border-color: rgba(138, 29, 29, 0.72); }
.price-card.featured:hover { border-color: var(--red-soft); }
.pc-badge {
  position: absolute; top: -0.85rem; left: 2rem;
  font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red-deep); color: var(--ink); border-radius: 10px; padding: 0.35rem 0.9rem;
}
.pc-name { font-family: var(--font-m); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-60); }
.pc-amount { font-family: var(--font-d); font-weight: 700; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1.05; }
.pc-per { color: var(--ink-60); font-size: 0.9rem; margin-bottom: 1.4rem; }

/* ---------- Finale ---------- */
.finale {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(8rem, 20vh, 14rem) var(--pad);
}
.finale h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.2rem; }
.finale p { color: var(--ink-60); margin-bottom: 2.4rem; }
.finale-bars { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 3vw; pointer-events: none; }
.finale-bars i { width: 6vw; height: 60vh; border-radius: 999px; background: rgba(253, 243, 243, 0.03); }
.finale-bars i.red { background: rgba(179, 54, 47, 0.1); }
.finale > * { position: relative; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--panel); }
.foot-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start;
  max-width: 110rem; margin: 0 auto; padding: 3.5rem var(--pad) 2.5rem;
}
.foot-brand { display: flex; gap: 1.2rem; align-items: flex-start; }
.grenze { font-size: 0.86rem; color: var(--ink-60); max-width: 34rem; }
.grenze b { color: var(--ink); }
.footlinks { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: flex-end; font-size: 0.86rem; }
.footlinks a { color: var(--ink-60); transition: color 0.25s; }
.footlinks a:hover { color: var(--ink); }
.foot-fine {
  text-align: center; font-size: 0.76rem; color: var(--ink-35);
  padding: 1.4rem var(--pad) 2rem; border-top: 1px solid var(--line);
  max-width: 110rem; margin: 0 auto;
}
.foot-fine a { text-decoration: underline; }

/* ---------- Preloader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--canvas);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  transition: opacity 0.6s ease, visibility 0s 0.6s;
}
#loader.gone { opacity: 0; visibility: hidden; }
.loader-logo { display: block; width: 60px; height: auto; }
.loader-logo i {
  width: 1.05rem; height: 3.4rem; border-radius: 99px; background: var(--ink);
  animation: lbar 1.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.loader-logo i.red { background: var(--red); height: 4.4rem; }
.loader-logo i:nth-child(1) { animation-delay: 0s; }
.loader-logo i:nth-child(2) { animation-delay: 0.12s; }
.loader-logo i:nth-child(3) { animation-delay: 0.24s; }
.loader-logo i:nth-child(4) { animation-delay: 0.36s; }
@keyframes lbar { 0%, 100% { transform: scaleY(0.55); } 45% { transform: scaleY(1); } }
#loader p { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-35); }

/* ---------- Kleine Logo-Balken (Screens/Finale) ---------- */
.off-logo { display: block; width: 48px; height: auto; }
.off-logo i { width: 0.8rem; height: 2.7rem; border-radius: 99px; background: var(--ink); opacity: 0.9; }
.off-logo i.red { background: var(--red); height: 3.6rem; }
.off-logo.sm { width: 34px; height: auto; }
.off-logo.sm i { width: 0.55rem; height: 1.7rem; }
.off-logo.sm i.red { height: 2.2rem; }
.off-logo.lg { width: 78px; height: auto; margin: 0 auto 2.2rem; }
.off-logo.lg i { width: 1.25rem; height: 4.2rem; }
.off-logo.lg i.red { height: 5.6rem; }

/* ---------- SCREEN: Standby ---------- */
.scr-off {
  align-items: center; justify-content: center; gap: 1.1rem; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(253, 243, 243, 0.05), transparent 70%), #0c0c0b;
}
.off-hint { font-size: clamp(0.55rem, 0.95vw, 0.75rem); color: var(--ink-35); }
.btn.sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.scr-off .off-logo i { animation: standby 3.2s ease-in-out infinite; }
.scr-off .off-logo i:nth-child(2) { animation-delay: 0.25s; }
.scr-off .off-logo i:nth-child(3) { animation-delay: 0.5s; }
.scr-off .off-logo i:nth-child(4) { animation-delay: 0.75s; }
@keyframes standby { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }

/* ---------- SCREEN: Koppeln ---------- */
.scr-pair { align-items: center; justify-content: center; background: #0e0e0d; }
.pair-center { display: flex; flex-direction: column; align-items: center; gap: 0.7em; text-align: center; }
.pair-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(0.85rem, 1.7vw, 1.3rem); }
.pair-sub { font-size: clamp(0.5rem, 0.9vw, 0.7rem); color: var(--ink-60); }
.pair-sub b { color: var(--red-soft); font-family: var(--font-m); letter-spacing: 0.2em; }
.pair-cells { display: flex; gap: 0.6em; margin: 0.5em 0 0.2em; }
.pc {
  width: 2.4em; height: 2.9em; text-align: center;
  font-family: var(--font-d); font-weight: 700; font-size: clamp(0.8rem, 1.5vw, 1.15rem);
  color: var(--ink); background: rgba(253, 243, 243, 0.06);
  border: 1px solid rgba(253, 243, 243, 0.2); border-radius: 10px;
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.pc:focus { border-color: var(--red-deep); box-shadow: 0 0 0 3px var(--focus-glow); }
.pc.ok { border-color: var(--ok); color: var(--ok); }
.pc.err { border-color: var(--red); color: var(--red-soft); animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-3px); } }
.pair-status { font-family: var(--font-m); font-size: clamp(0.45rem, 0.8vw, 0.62rem); letter-spacing: 0.1em; color: var(--ink-35); }
.pair-status.ok { color: var(--ok); }
.pair-actions { display: flex; gap: 0.6em; margin-top: 0.4em; }
.pair-actions .btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ---------- Store-Badges ---------- */
.store-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.store-badge {
  display: flex; flex-direction: column; gap: 0.15rem;
  border: 1px solid var(--line); border-radius: 14px; padding: 0.9rem 1.2rem;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.store-badge:hover { border-color: var(--red-soft); transform: translateY(-3px); }
.sb-top { font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.18em; color: var(--red-soft); }
.sb-main { font-family: var(--font-d); font-weight: 600; font-size: 0.95rem; }
.sb-sub { font-size: 0.72rem; color: var(--ink-35); }

/* ---------- Phone-Remote (Lautstärke) ---------- */
.ph-remote { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.ph-rbtn {
  width: 30px; height: 30px; flex: none; border-radius: 10px;
  background: rgba(253, 243, 243, 0.06); border: 1px solid transparent;
  font-size: 0.8rem; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.ph-rbtn:hover { border-color: var(--ink-35); }
.ph-rbtn:active { background: rgba(138, 29, 29, 0.25); }
.ph-rbtn.muted { color: var(--red-soft); border-color: var(--red-deep); }
.ph-vol { flex: 1; display: flex; align-items: center; gap: 6px; }
.ph-volbar { flex: 1; height: 4px; background: rgba(253, 243, 243, 0.14); border-radius: 99px; overflow: hidden; }
.ph-volbar i { display: block; height: 100%; background: var(--red-soft); border-radius: 99px; transition: width 0.25s; }

/* ---------- TV-OSD ---------- */
.tz-osd {
  position: absolute; top: 8%; right: 7%;
  display: flex; align-items: center; gap: 0.5em;
  background: rgba(10, 10, 10, 0.75); border-radius: 10px; padding: 0.5em 0.8em;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.tz-osd.show { opacity: 1; transform: none; }
.osd-ico { font-size: 0.75rem; color: var(--ink-60); }
.osd-bar { width: 5em; height: 3px; background: rgba(253, 243, 243, 0.2); border-radius: 99px; overflow: hidden; }
.osd-bar i { display: block; height: 100%; background: var(--red-soft); transition: width 0.25s; }
.osd-val { font-family: var(--font-m); font-size: 0.62rem; color: var(--ink-60); min-width: 2em; text-align: right; }

/* ---------- Ökosystem ---------- */
.ecosystem { padding: clamp(6rem, 14vh, 10rem) var(--pad); max-width: 110rem; margin: 0 auto; }
.ecosystem h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 1.2rem; }
.eco-lead { color: var(--ink-60); max-width: 44rem; margin: 0 auto 3.5rem; }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.eco-card {
  position: relative; border: 1px solid var(--line); border-radius: 24px;
  padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 0.8rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, background 0.3s;
}
.eco-card:hover { transform: translateY(-6px); border-color: var(--red-deep); background: rgba(138, 29, 29, 0.08); }
.eco-num { font-family: var(--font-m); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--red-soft); }
.eco-vis { height: 7rem; border-radius: 14px; background: rgba(253, 243, 243, 0.04); margin-bottom: 0.6rem; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.eco-tv i { width: 62%; height: 58%; border: 2px solid var(--ink-35); border-radius: 8px; transition: border-color 0.3s; }
.eco-card:hover .eco-tv i { border-color: var(--red-soft); }
.eco-browser i { position: absolute; border: 2px solid var(--ink-35); border-radius: 8px; transition: border-color 0.3s, transform 0.35s; }
.eco-browser i:nth-child(1) { width: 56%; height: 64%; left: 10%; top: 18%; }
.eco-browser i:nth-child(2) { width: 30%; height: 40%; right: 12%; top: 14%; }
.eco-browser i:nth-child(3) { width: 24%; height: 26%; right: 20%; bottom: 12%; }
.eco-card:hover .eco-browser i { border-color: var(--red-soft); }
.eco-card:hover .eco-browser i:nth-child(2) { transform: translateY(-4px); }
.eco-phone i { width: 26%; height: 74%; border: 2px solid var(--ink-35); border-radius: 12px; transition: border-color 0.3s; }
.eco-card:hover .eco-phone i { border-color: var(--red-soft); }
.eco-card h3 { font-size: 1.35rem; }
.eco-card p { color: var(--ink-60); font-size: 0.92rem; flex: 1; }
.eco-link { font-family: var(--font-d); font-weight: 600; font-size: 0.9rem; color: var(--red-soft); }

/* ---------- Geschwindigkeit ---------- */
.speed { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speed-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 110rem; margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
}
.speed-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 1.3rem; }
.speed-copy > p { color: var(--ink-60); }
.speed-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; }
.speed-list li { display: flex; gap: 1.3rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.speed-list li:last-child { border-bottom: 1px solid var(--line); }
.speed-list b { font-family: var(--font-m); font-weight: 400; color: var(--red-soft); font-size: 0.85rem; }
.speed-list strong { display: block; font-family: var(--font-d); font-size: 1.05rem; }
.speed-list span { color: var(--ink-60); font-size: 0.92rem; }
.speed-window {
  position: relative; background: var(--canvas); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.sw-head { font-family: var(--font-m); font-size: 0.65rem; letter-spacing: 0.18em; color: var(--ink-35); text-transform: uppercase; margin-bottom: 0.4rem; }
.sw-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: baseline;
  background: rgba(253, 243, 243, 0.04); border: 1px solid transparent;
  border-radius: 12px; padding: 0.8rem 1.1rem; font-size: 0.88rem;
}
.sw-row b { font-family: var(--font-d); font-weight: 600; }
.sw-row span { font-size: 0.75rem; color: var(--ink-35); }
.sw-row em { font-style: normal; font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-35); }
.sw-row.done em { color: var(--ok); }
.sw-row.active { border-color: var(--red-deep); background: rgba(138, 29, 29, 0.14); }
.sw-row.active em { color: var(--red-soft); }
.sw-row.next em { color: var(--ink-60); }
.sw-scan { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sw-scan i {
  position: absolute; left: 0; right: 0; height: 26%; top: -30%;
  background: linear-gradient(to bottom, transparent, rgba(253, 243, 243, 0.045), transparent);
  animation: scan 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scan { to { top: 110%; } }
.sw-foot { font-size: 0.75rem; color: var(--ink-35); margin-top: 0.5rem; }

/* ---------- Connect-Wizard ---------- */
.connect { padding: clamp(6rem, 14vh, 10rem) var(--pad); max-width: 60rem; margin: 0 auto; }
.connect h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1.2rem; }
.connect-lead { color: var(--ink-60); max-width: 42rem; margin: 0 auto 3rem; }
.wizard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.wz-tabs { display: flex; gap: 0.6rem; margin-bottom: 1.6rem; }
.wz-tab {
  font-family: var(--font-m); font-size: 0.75rem; letter-spacing: 0.1em;
  padding: 0.55rem 1.2rem; border-radius: 99px;
  border: 1px solid var(--ink-35); color: var(--ink-60);
  transition: all 0.25s;
}
.wz-tab:hover { border-color: var(--ink); color: var(--ink); }
.wz-tab.is-on { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.wz-pane { display: none; flex-direction: column; gap: 0.5rem; margin-bottom: 1.4rem; }
.wz-pane.is-on { display: flex; }
.wz-label { font-family: var(--font-m); font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-35); margin-top: 0.6rem; }
.wz-input {
  font: inherit; color: var(--ink);
  background: rgba(253, 243, 243, 0.05);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1.1rem; outline: none; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.wz-input:focus { border-color: var(--red-deep); box-shadow: 0 0 0 3px var(--focus-glow); }
.wz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.wz-note { font-size: 0.75rem; color: var(--ink-35); margin-top: 0.4rem; }
#wzCheck { align-self: flex-start; }
#wzCheck[disabled] { opacity: 0.35; pointer-events: none; }
.wz-progress { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.wz-step { display: flex; align-items: center; gap: 0.9rem; font-size: 0.92rem; color: var(--ink-35); opacity: 0.35; transition: opacity 0.4s; }
.wz-step.on { opacity: 1; color: var(--ink-60); }
.wz-step.done { opacity: 1; color: var(--ink); }
.wz-step i {
  width: 1.3rem; height: 1.3rem; flex: none; border-radius: 50%;
  border: 2px solid var(--ink-35); position: relative;
}
.wz-step.on i { border-color: var(--red-soft); animation: spin 0.9s linear infinite; border-top-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.wz-step.done i { border-color: var(--ok); background: var(--ok); animation: none; }
.wz-step.done i::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--canvas); }
.wz-step b { color: var(--red-soft); font-variant-numeric: tabular-nums; }
.wz-done { margin-top: 1.8rem; text-align: center; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.wz-check {
  width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; border-radius: 50%;
  background: rgba(147, 170, 153, 0.15); border: 1px solid var(--ok);
  display: flex; align-items: center; justify-content: center; color: var(--ok);
}
.wz-check svg { width: 1.6rem; height: 1.6rem; }
.wz-done-title { font-family: var(--font-d); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.4rem; }
.wz-done-sub { color: var(--ink-60); font-size: 0.92rem; max-width: 30rem; margin: 0 auto 1.4rem; }
.wz-done-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Produktgrenze ---------- */
.boundary { background: var(--panel); border-top: 1px solid var(--line); padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.boundary h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 3.5rem; }
.boundary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 110rem; margin: 0 auto; }
.b-card { border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.8rem; transition: border-color 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.b-card:hover { border-color: var(--ink-35); transform: translateY(-4px); }
.b-ico { display: flex; gap: 0.3rem; align-items: flex-end; height: 1.6rem; margin-bottom: 1.2rem; }
.b-ico i { width: 0.4rem; height: 1.2rem; border-radius: 99px; background: var(--ink-35); transition: background 0.3s; }
.b-ico i.red { background: var(--red); height: 1.6rem; }
.b-card:hover .b-ico i { background: var(--ink); }
.b-card:hover .b-ico i.red { background: var(--red-soft); }
.b-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.b-card p { color: var(--ink-60); font-size: 0.92rem; }
.b-index {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--red-soft);
  font-family: var(--font-m);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ---------- Steps CTA + Sc-Hint ---------- */
.step { text-decoration: none; color: inherit; }
.step-cta { display: inline-block; margin-top: 0.7rem; font-family: var(--font-d); font-weight: 600; font-size: 0.9rem; color: var(--red-soft); }
.sc-hint { font-family: var(--font-m); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); text-align: center; margin-top: 0.6rem; }
.center-row { justify-content: center; }

/* ---------- Reveal-Grundzustände (JS animiert) ---------- */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal-hero { opacity: 0; transform: translateY(24px); }
.no-js .reveal, .no-js .reveal-hero { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .stage-sticky { position: relative; height: auto; padding: 5rem 0 0; }
  .chapter { min-height: 0; padding: 4.5rem 0 1rem; }
  .showcase-chapters { padding: 0 0 6rem; }
  .tapzap { grid-template-columns: 1fr; }
  .studio-grid { grid-template-columns: 1fr; }
  .speed-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: 1fr; }
  .boundary-grid { grid-template-columns: 1fr; }
  .app-spotlight { grid-template-columns: 1fr; }
  .app-mobile .app-inner,
  .app-tv .app-inner { margin-inline: auto; }
  .app-mobile .app-inner { padding-right: 15rem; }
}
@media (max-width: 640px) {
  .toplinks > a:not(.cta) { display: none; }
  .toplinks { gap: 0.55rem; }
  .toplinks a.cta { padding: 0.55rem 0.75rem; }
  .view-switch > span,
  .view-switch > a { min-width: 34px; }
  .hero-bars { opacity: 0.5; right: -4vw; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .stat .num { font-size: 2.6rem; }
  .foot-inner { grid-template-columns: 1fr; }
  .footlinks { justify-content: flex-start; }
  .step { grid-template-columns: auto 1fr; }
  .step-arrow { display: none; }
  .tz-stage { flex-direction: column; }
  .tz-beam { flex-direction: column; }
  .app-install { padding: 4.5rem 1.25rem; }
  .app-mobile .app-inner { padding-right: 0; }
  .mobile-product { position: relative; width: min(15rem, 78vw); margin: 3rem auto 0; }
  .tv-install-route { grid-template-columns: 1fr; }
  .downloader-code { grid-row: auto; width: 100%; }
  .app-actions { align-items: stretch; }
  .app-actions .btn { flex: 1 1 11rem; }
  .app-detail { width: 100%; }
  .journey-lead { margin-top: -1.8rem; }
}
@media (max-width: 480px) {
  #topbar { padding: 0.8rem 1rem; }
  .toplinks > a.cta { display: none; }
  .brand { flex: 0 0 auto; }
  .hero {
    min-height: 100svh;
    padding: 6.5rem 1.25rem 4.5rem;
  }
  .hero-inner { width: 100%; min-width: 0; }
  .hero h1 { font-size: 2.55rem; line-height: 1.07; }
  .hero .lead { font-size: 1rem; line-height: 1.5; }
  .hero-bars { width: 8rem; right: -2.5rem; opacity: 0.24; }
  .cta-row { gap: 0.65rem; }
  .btn { padding: 0.78rem 1rem; font-size: 0.86rem; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 2.15rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .scroll-cue i::after, .chip-rec i { animation: none; }
  .reveal, .reveal-hero { opacity: 1; transform: none; }
  .manifest-text .w { opacity: 1; }
}


/* ---------- Mobile Burger-Menü (2026-08-24) ---------- */
.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(36, 36, 35, 0.72);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  margin: 3px auto;
  transition: transform 0.25s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobilemenu {
  position: fixed;
  top: 58px; right: 12px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 210px;
  padding: 10px;
  background: rgba(43, 43, 42, 0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.mobilemenu[hidden] { display: none; }
.mobilemenu a {
  padding: 0.7rem 0.9rem;
  border-radius: 9px;
  font-size: 0.92rem;
  color: var(--ink-60);
}
.mobilemenu a:hover { background: rgba(253, 243, 243, 0.06); color: var(--ink); }
.mobilemenu a.cta {
  background: var(--red-deep); color: var(--ink);
  font-weight: 600; text-align: center;
  margin-top: 4px;
}
.mobilemenu a.cta:hover { background: var(--cta-hover); }
.mobilemenu .mm-switch {
  display: flex; gap: 6px; padding: 0.35rem 0.9rem 0.55rem;
  font-size: 0.8rem; color: var(--ink-35);
}
.mobilemenu .mm-switch a { padding: 0.25rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; }
.mobilemenu .mm-switch span { padding: 0.25rem 0.6rem; color: var(--ink); border: 1px solid var(--red-deep); border-radius: 8px; }

@media (max-width: 640px) {
  .burger { display: block; }
}

/* ---------- WebGL-Fallback-Hinweis (2026-08-24) ---------- */
.fallback-banner {
  position: fixed;
  top: 64px; left: 50%;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: min(92vw, 560px);
  padding: 0.7rem 1rem;
  background: rgba(43, 43, 42, 0.97);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-soft);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  font-size: 0.85rem;
  color: var(--ink-60);
}
.fallback-banner[hidden] { display: none; }
.fallback-banner b { color: var(--ink); font-weight: 600; }
.fallback-banner button {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.fallback-banner button:hover { color: var(--ink); border-color: var(--red-soft); }
