/* WideSplit – Website
   Dunkel und breit wie ein Ultrawide-Monitor. Systemschriften (keine externen Fonts, keine Tracker). */

:root {
  --bg: #090b10;
  --bg-2: #0d1017;
  --panel: #131722;
  --panel-2: #191e2c;
  --panel-3: #222839;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --muted: #a6afc0;
  --faint: #828ca0;
  --accent: #ff7a59;
  --accent-ink: #1d0c06;
  --accent-soft: rgba(255, 122, 89, 0.14);
  --blue: #3d9bff;
  --blue-deep: #0078d4;
  --ok: #3ccf91;

  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system,
    "SF Pro Display", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", ui-monospace, "SF Mono", Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 18px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Typografie ---------- */

h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.78rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46rem; }
.gradient-text {
  background: linear-gradient(100deg, #ffd9cc 0%, var(--accent) 55%, #ffb36b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

kbd {
  display: inline-block; min-width: 1.9em; padding: 0.18em 0.5em; text-align: center;
  font: 600 0.82em/1.3 var(--font-mono); color: var(--text);
  background: linear-gradient(var(--panel-3), var(--panel-2));
  border: 1px solid var(--line-2); border-bottom-width: 3px; border-radius: 7px;
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--font-text); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(255, 122, 89, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(255, 122, 89, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(9, 11, 16, 0.6); border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(9, 11, 16, 0.82); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.lang { color: var(--faint); font: 600 0.8rem/1 var(--font-mono); text-decoration: none; letter-spacing: 0.08em; }
.nav > .lang:last-child { margin-left: auto; }
.lang:hover { color: var(--text); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { gap: 16px; }
  .nav .lang { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav .btn { display: none; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(255, 122, 89, 0.16), transparent 70%),
    radial-gradient(40% 55% at 75% 55%, rgba(61, 155, 255, 0.16), transparent 70%);
  filter: blur(20px);
  animation: glow 14s var(--ease-in-out) infinite alternate;
}
@keyframes glow { to { transform: translate3d(0, 4%, 0) scale(1.06); opacity: 0.8; } }

.hero-copy { display: grid; gap: 20px; justify-items: start; max-width: 54rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--faint); font-size: 0.92rem; list-style: none; padding: 0; margin: 0; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Monitor-Bühne */
.stage { margin-top: clamp(32px, 4vw, 52px); }
.monitor {
  position: relative; padding: clamp(5px, 0.8vw, 10px); border-radius: clamp(10px, 1.4vw, 18px);
  background: linear-gradient(180deg, #232938, #10131b);
  box-shadow: 0 60px 140px -50px rgba(61, 155, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.monitor::after {
  content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0;
  width: 13%; height: clamp(14px, 2.4vw, 30px);
  background: linear-gradient(180deg, #1a1f2b, #0e1118);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.screen {
  position: relative; aspect-ratio: 32 / 9; overflow: hidden; border-radius: clamp(5px, 0.6vw, 9px);
  container-type: inline-size;
  background:
    radial-gradient(60% 120% at 20% 110%, rgba(255, 122, 89, 0.35), transparent 60%),
    radial-gradient(50% 120% at 85% -10%, rgba(61, 155, 255, 0.4), transparent 60%),
    linear-gradient(120deg, #141a2b, #1d2236 40%, #261d2e);
}

/* Fenster: Lage in Prozent der Bildschirmfläche, Zustände über data-step */
.win {
  --x: 0; --y: 0; --w: 100; --h: 94.5;
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%); height: calc(var(--h) * 1%);
  display: flex; flex-direction: column; overflow: hidden;
  background: #171c29; border-radius: 0.5cqi; box-shadow: 0 1cqi 3cqi rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: left 1s var(--ease), top 1s var(--ease), width 1s var(--ease), height 1s var(--ease),
    opacity 0.7s var(--ease), translate 1s var(--ease), border-radius 0.6s;
}
.win-bar {
  flex: none; height: 1.55cqi; display: flex; align-items: center; gap: 0.35cqi; padding: 0 0.6cqi;
  background: #1f2535; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: height 0.6s var(--ease), opacity 0.4s;
}
.win-bar i { width: 0.45cqi; height: 0.45cqi; border-radius: 50%; background: #3a4258; }
.win-bar i:last-child { margin-left: auto; }
.win-bar b { height: 0.45cqi; width: 18%; border-radius: 1cqi; background: #2c3346; margin-left: 0.4cqi; }
.win-body { flex: 1; display: grid; gap: 0.55cqi; padding: 0.9cqi; align-content: start; position: relative; }
.win-body span { display: block; height: 0.7cqi; border-radius: 1cqi; background: #262d3f; }
.win-body span:nth-child(1) { width: 46%; height: 1.2cqi; background: #2f3750; }
.win-body span:nth-child(3) { width: 82%; }
.win-body span:nth-child(4) { width: 64%; }
.win-body .tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6cqi; height: auto; background: none; }
.win-body .tile-row em { display: block; aspect-ratio: 16 / 10; border-radius: 0.4cqi; background: linear-gradient(135deg, #2a3350, #222a3d); }
.win-body .tile-row em:nth-child(2) { background: linear-gradient(135deg, rgba(255, 122, 89, 0.55), #2a2433); }
.win-body .tile-row em:nth-child(3) { background: linear-gradient(135deg, rgba(61, 155, 255, 0.5), #1f2a40); }

.win-chat .win-body span { height: 1.4cqi; border-radius: 0.5cqi; width: 70%; }
.win-chat .win-body span:nth-child(even) { justify-self: end; background: rgba(61, 155, 255, 0.35); width: 55%; }
.win-music .win-body { place-content: center; justify-items: center; }
.win-music .disc {
  width: 7cqi; height: 7cqi; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff7a59, #ffb36b, #3d9bff, #8b6cff, #ff7a59);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 19%); mask: radial-gradient(circle, transparent 18%, #000 19%);
  animation: spin 9s linear infinite;
}
.win-music .bars { display: flex; gap: 0.3cqi; align-items: end; height: 2.4cqi; margin-top: 1cqi; }
.win-music .bars i { width: 0.45cqi; background: var(--accent); border-radius: 1cqi; animation: eq 1.1s var(--ease-in-out) infinite alternate; }
.win-music .bars i:nth-child(2) { animation-delay: -0.3s; } .win-music .bars i:nth-child(3) { animation-delay: -0.6s; }
.win-music .bars i:nth-child(4) { animation-delay: -0.9s; } .win-music .bars i:nth-child(5) { animation-delay: -0.45s; }
@keyframes spin { to { rotate: 1turn; } }
@keyframes eq { from { height: 25%; } to { height: 100%; } }

/* Spielszene im Hauptfenster */
.game {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease);
  background:
    radial-gradient(30% 45% at 70% 30%, rgba(255, 200, 140, 0.85), transparent 70%),
    linear-gradient(180deg, #ff9b6a 0%, #c75a7a 38%, #3b2a5c 62%, #17142a 100%);
}
.game::before, .game::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 0;
  background: #120f22; clip-path: polygon(0 60%, 12% 35%, 24% 55%, 38% 20%, 52% 50%, 66% 28%, 80% 52%, 92% 30%, 100% 45%, 100% 100%, 0 100%);
  height: 55%;
}
.game::after { background: #0b0916; height: 32%; clip-path: polygon(0 40%, 18% 70%, 33% 30%, 50% 65%, 70% 25%, 85% 60%, 100% 35%, 100% 100%, 0 100%); }
.game .hud { position: absolute; left: 2cqi; bottom: 1.6cqi; z-index: 1; display: flex; gap: 0.5cqi; }
.game .hud i { width: 3cqi; height: 0.6cqi; border-radius: 1cqi; background: rgba(255, 255, 255, 0.85); }
.game .hud i:nth-child(2) { width: 2cqi; background: var(--ok); }

/* Segmentgrenzen und Beschriftung */
.divider {
  position: absolute; top: 0; bottom: 0; width: 0.18cqi; translate: -50% 0; z-index: 5;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35));
  box-shadow: 0 0 1.2cqi rgba(255, 255, 255, 0.55);
  transform: scaleY(0); transform-origin: top; transition: transform 0.9s var(--ease), opacity 0.6s;
}
.divider.d1 { left: 25%; } .divider.d2 { left: 75%; transition-delay: 0.15s; }
.seg-label {
  position: absolute; top: 3%; z-index: 6; translate: -50% -0.6cqi; opacity: 0;
  font: 700 1.2cqi/1 var(--font-mono); color: #fff; padding: 0.35cqi 0.7cqi; border-radius: 1cqi;
  background: rgba(9, 11, 16, 0.65); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.5s var(--ease), translate 0.6s var(--ease);
}
.seg-label.s1 { left: 12.5%; } .seg-label.s2 { left: 50%; } .seg-label.s3 { left: 87.5%; }

/* Taskleiste */
.taskbar {
  position: absolute; left: 0; bottom: 0; height: 5.5%; width: 100%; z-index: 7;
  display: flex; align-items: center; justify-content: center; gap: 0.5cqi;
  background: rgba(20, 24, 36, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: width 1s var(--ease);
}
.taskbar i { width: 1.1cqi; height: 1.1cqi; border-radius: 0.3cqi; background: #3a4258; flex: none; }
.taskbar i:first-child { background: var(--blue-deep); }
.taskbar i:nth-child(3) { background: var(--accent); }

/* Abdunkeln (Spielmodus) */
.dim {
  position: absolute; top: 0; bottom: 0; width: 25%; z-index: 8; opacity: 0; pointer-events: none;
  background: rgba(3, 4, 8, 0.82); transition: opacity 0.9s var(--ease);
}
.dim.l { left: 0; } .dim.r { right: 0; }

/* Mauszeiger mit Doppelklick */
.cursor {
  position: absolute; z-index: 9; width: 1.7cqi; left: 64%; top: 62%;
  transition: left 1.1s var(--ease), top 1.1s var(--ease), opacity 0.4s;
  filter: drop-shadow(0 0.3cqi 0.4cqi rgba(0, 0, 0, 0.6));
}
.cursor::after {
  content: ""; position: absolute; left: -1.1cqi; top: -1.1cqi; width: 2.2cqi; height: 2.2cqi; border-radius: 50%;
  border: 0.18cqi solid var(--accent); opacity: 0; scale: 0.3;
}
.stage[data-step="2"] .cursor::after { animation: dblclick 1.6s 0.9s var(--ease) 1 both; }
@keyframes dblclick {
  0%, 100% { opacity: 0; scale: 0.3; }
  12% { opacity: 1; scale: 1; } 24% { opacity: 0; scale: 1.5; }
  30% { opacity: 1; scale: 0.3; } 42% { opacity: 1; scale: 1; } 56% { opacity: 0; scale: 1.6; }
}

/* Tastenkombination im Bild */
.keys {
  position: absolute; left: 50%; top: 9%; z-index: 9; translate: -50% -1cqi; opacity: 0;
  display: flex; gap: 0.5cqi; align-items: center; font-size: 1.5cqi; color: #fff;
  transition: opacity 0.5s var(--ease), translate 0.6s var(--ease);
}
.keys kbd { font-size: 1.25cqi; border-radius: 0.5cqi; background: rgba(20, 24, 36, 0.9); }

/* Zustände */
.win-main { --x: 0; --y: 0; --w: 100; --h: 94.5; z-index: 3; }
.win-chat { --x: -26; --y: 0; --w: 25; --h: 94.5; opacity: 0; z-index: 2; }
.win-music { --x: 101; --y: 0; --w: 25; --h: 94.5; opacity: 0; z-index: 2; }

.stage[data-step="1"] .divider,
.stage[data-step="2"] .divider,
.stage[data-step="3"] .divider { transform: scaleY(1); }
.stage[data-step="1"] .seg-label,
.stage[data-step="2"] .seg-label { opacity: 1; translate: -50% 0; }
.stage[data-step="1"] .win-main { opacity: 0.88; }

.stage[data-step="2"] .win-main,
.stage[data-step="3"] .win-main,
.stage[data-step="4"] .win-main { --x: 25; --w: 50; }
.stage[data-step="2"] .win-chat,
.stage[data-step="3"] .win-chat,
.stage[data-step="4"] .win-chat { --x: 0; opacity: 1; }
.stage[data-step="2"] .win-music,
.stage[data-step="3"] .win-music,
.stage[data-step="4"] .win-music { --x: 75; opacity: 1; }
.stage[data-step="2"] .cursor { left: 52%; top: 1.6%; }

.stage[data-step="3"] .taskbar,
.stage[data-step="4"] .taskbar { width: 25%; }
.stage[data-step="3"] .win-main,
.stage[data-step="4"] .win-main,
.stage[data-step="3"] .win-music,
.stage[data-step="4"] .win-music { --h: 100; }
.stage[data-step="3"] .cursor { left: 14%; top: 88%; }

.stage[data-step="4"] .win-main { border-radius: 0; }
.stage[data-step="4"] .win-main .win-bar { height: 0; opacity: 0; }
.stage[data-step="4"] .game { opacity: 1; }
.stage[data-step="4"] .dim { opacity: 1; }
.stage[data-step="4"] .keys { opacity: 1; translate: -50% 0; }
.stage[data-step="4"] .cursor { opacity: 0; }

/* Schritte unter dem Monitor */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: clamp(40px, 5vw, 56px);
  list-style: none; padding: 0;
}
.steps button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; width: 100%;
  padding: 14px 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02); position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
}
.steps button:hover { background: rgba(255, 255, 255, 0.05); }
.steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.steps .num { font: 600 0.72rem/1 var(--font-mono); color: var(--faint); letter-spacing: 0.1em; }
.steps .name { font-weight: 650; font-size: 0.98rem; }
.steps .text { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.steps button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}
.steps button[aria-current="step"] { border-color: rgba(255, 122, 89, 0.45); background: var(--accent-soft); }
.steps button[aria-current="step"] .num { color: var(--accent); }
.stage.playing .steps button[aria-current="step"]::after { animation: progress var(--step-ms, 3600ms) linear forwards; }
.stage:not(.playing) .steps button[aria-current="step"]::after { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps button { grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px 14px; }
  .steps .num { grid-row: span 2; align-self: start; padding-top: 4px; }
  .steps button:not([aria-current="step"]) .text { display: none; }
}

/* ---------- Abschnitte ---------- */

.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.flush { padding-top: 0; }
[id] { scroll-margin-top: 84px; }
.section-head { display: grid; gap: 18px; max-width: 48rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Vertrauensleiste */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin-block: 0; padding: 28px 0; }
.trust li { display: flex; gap: 14px; align-items: center; justify-content: center; color: var(--muted); font-size: 0.95rem; }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.trust strong { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.card {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 22px 22px 26px;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), #10131c);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 89, 0.16), transparent 60%);
  transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .keyline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--faint); font-size: 0.85rem; }

/* Mini-Animationen in den Karten */
.mini {
  position: relative; aspect-ratio: 32 / 11; border-radius: 12px; overflow: hidden; margin-bottom: 6px;
  background: linear-gradient(120deg, #161c2d, #1e2237 50%, #261d2e); border: 1px solid var(--line);
  --seg: rgba(255, 255, 255, 0.22);
}
.mini .seg { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--seg); }
.mini .seg.a { left: 25%; } .mini .seg.b { left: 75%; }
.mini .w {
  position: absolute; border-radius: 4px; background: #232a3d; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  border-top: 6px solid #2e3650;
}
.mini .tb { position: absolute; left: 0; bottom: 0; height: 9%; width: 100%; background: rgba(15, 18, 28, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mini .dimr, .mini .diml { position: absolute; top: 0; bottom: 0; width: 25%; background: rgba(3, 4, 8, 0.8); opacity: 0; }
.mini .diml { left: 0; } .mini .dimr { right: 0; }
.mini * { animation-play-state: paused !important; }
.mini.in-view * { animation-play-state: running !important; }

.mini-max .w { left: 38%; top: 22%; width: 24%; height: 46%; animation: m-max 4.2s var(--ease) infinite; }
@keyframes m-max {
  0%, 18% { left: 38%; top: 22%; width: 24%; height: 46%; }
  40%, 78% { left: 25.5%; top: 2%; width: 49%; height: 87%; }
  100% { left: 38%; top: 22%; width: 24%; height: 46%; }
}
.mini-move .w { left: 1%; top: 2%; width: 23.5%; height: 87%; animation: m-move 5.4s var(--ease) infinite; }
@keyframes m-move {
  0%, 14% { left: 1%; width: 23.5%; }
  30%, 46% { left: 25.5%; width: 49%; }
  62%, 80% { left: 75.5%; width: 23.5%; }
  100% { left: 1%; width: 23.5%; }
}
.mini-borderless .w { left: 33%; top: 18%; width: 34%; height: 56%; animation: m-bl 4.4s var(--ease) infinite; background: linear-gradient(180deg, #ff9b6a, #c75a7a 50%, #3b2a5c); }
@keyframes m-bl {
  0%, 20% { left: 33%; top: 18%; width: 34%; height: 56%; border-top-width: 6px; border-radius: 4px; }
  45%, 80% { left: 25%; top: 0; width: 50%; height: 100%; border-top-width: 0; border-radius: 0; }
  100% { left: 33%; top: 18%; width: 34%; height: 56%; border-top-width: 6px; border-radius: 4px; }
}
.mini-taskbar .tb { animation: m-tb 4.2s var(--ease) infinite; }
@keyframes m-tb { 0%, 20% { width: 100%; } 45%, 80% { width: 25%; } 100% { width: 100%; } }
.mini-taskbar .w { left: 25.5%; top: 2%; width: 49%; height: 86%; animation: m-tbw 4.2s var(--ease) infinite; }
@keyframes m-tbw { 0%, 20% { height: 86%; } 45%, 80% { height: 96%; } 100% { height: 86%; } }
.mini-dim .w.a { left: 1%; top: 2%; width: 23.5%; height: 87%; }
.mini-dim .w.b { left: 25.5%; top: 2%; width: 49%; height: 87%; border-top-color: var(--accent); }
.mini-dim .w.c { left: 75.5%; top: 2%; width: 23.5%; height: 87%; }
.mini-dim .diml, .mini-dim .dimr { animation: m-dim 4s var(--ease) infinite; }
@keyframes m-dim { 0%, 20% { opacity: 0; } 45%, 80% { opacity: 1; } 100% { opacity: 0; } }
.mini-layout .seg.a { animation: m-la 6s var(--ease) infinite; }
.mini-layout .seg.b { animation: m-lb 6s var(--ease) infinite; }
@keyframes m-la { 0%, 25% { left: 25%; opacity: 1; } 37%, 62% { left: 50%; opacity: 1; } 75%, 100% { left: 33.3%; opacity: 1; } }
@keyframes m-lb { 0%, 25% { left: 75%; opacity: 1; } 37%, 62% { left: 50%; opacity: 0; } 75%, 100% { left: 66.6%; opacity: 1; } }
.mini-layout .chip {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid;
  font: 700 0.78rem/1 var(--font-mono); color: #fff; padding: 6px 10px; border-radius: 999px;
  background: rgba(9, 11, 16, 0.75); border: 1px solid var(--line-2); white-space: nowrap;
}
.mini-layout .chip b { grid-area: 1 / 1; text-align: center; font-weight: 700; opacity: 0; animation: m-chip 6s steps(1) infinite; }
.mini-layout .chip b:nth-child(2) { animation-delay: -4s; }
.mini-layout .chip b:nth-child(3) { animation-delay: -2s; }
@keyframes m-chip { 0% { opacity: 1; } 33.3% { opacity: 0; } }

/* Mehr-Liste */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; margin-top: 36px; list-style: none; padding: 0; color: var(--muted); }
.more li { display: flex; gap: 10px; align-items: baseline; }
.more li::before { content: "+"; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .more { grid-template-columns: 1fr; } }

/* Spielmodus */
.game-section {
  background:
    radial-gradient(60% 60% at 80% 40%, rgba(199, 90, 122, 0.22), transparent 70%),
    radial-gradient(50% 60% at 10% 80%, rgba(255, 122, 89, 0.14), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.game-section h2 { margin-top: 18px; }
.game-section .lead { margin-top: 20px; }
.split { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { display: grid; gap: 14px; list-style: none; padding: 0; margin: 28px 0 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.checklist li strong { color: var(--text); display: block; font-weight: 600; }
.checklist svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }

.game-demo { position: relative; }
.game-demo .monitor { box-shadow: 0 60px 120px -50px rgba(199, 90, 122, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.game-demo .screen { aspect-ratio: 32 / 10; }
.game-demo .win-main { --x: 25; --w: 50; --h: 100; border-radius: 0; }
.game-demo .win-main .win-bar { height: 0; opacity: 0; }
.game-demo .game { opacity: 1; }
.game-demo .win-chat { --x: 0; opacity: 1; }
.game-demo .win-music { --x: 75; opacity: 1; --h: 100; }
.game-demo .taskbar { width: 25%; }
.game-demo .dim { animation: g-dim 5s var(--ease) infinite; }
.game-demo .press { position: absolute; left: 50%; bottom: -26px; translate: -50% 0; display: flex; gap: 8px; z-index: 2; }
.game-demo .press kbd { font-size: 1rem; animation: g-press 5s var(--ease) infinite; }
.game-demo .press kbd:nth-child(2) { animation-delay: 0.08s; } .game-demo .press kbd:nth-child(3) { animation-delay: 0.16s; }
@keyframes g-dim { 0%, 22% { opacity: 0; } 34%, 86% { opacity: 1; } 100% { opacity: 0; } }
@keyframes g-press {
  0%, 18% { translate: 0 0; border-bottom-width: 3px; background: linear-gradient(var(--panel-3), var(--panel-2)); }
  22% { translate: 0 2px; border-bottom-width: 1px; background: var(--accent); color: var(--accent-ink); }
  30%, 100% { translate: 0 0; border-bottom-width: 3px; background: linear-gradient(var(--panel-3), var(--panel-2)); }
}

/* Screenshots */
.showcase { display: grid; gap: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tabs button {
  all: unset; cursor: pointer; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  color: var(--muted); border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.frame {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.02);
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease);
  aspect-ratio: 16 / 10; background: var(--panel);
  width: 100%; max-width: 1040px; margin-inline: auto;
}
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease), scale 0.8s var(--ease); scale: 1.02; }
.frame img.active { opacity: 1; scale: 1; }
.caption { text-align: center; color: var(--muted); min-height: 1.6em; }

/* Umstieg */
.switch-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px);
  border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--panel), #121521 60%, rgba(61, 155, 255, 0.08));
}
.switch-card .arrow { display: flex; align-items: center; gap: 12px; font: 700 1.05rem/1 var(--font-display); color: var(--muted); }
.switch-card .arrow strong { color: var(--text); font-weight: inherit; }
.switch-card .arrow svg { width: 44px; color: var(--accent); animation: nudge 2.2s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { translate: 6px 0; } }
.switch-card p { color: var(--muted); }
@media (max-width: 820px) { .switch-card { grid-template-columns: 1fr; } }

/* Preis */
.price-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1a1420, #141826 55%, #0f1622); border: 1px solid rgba(255, 122, 89, 0.28);
}
.price-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.28), transparent 65%); pointer-events: none;
}
.price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.price strong { font: 700 clamp(3.4rem, 7vw, 5rem)/1 var(--font-display); letter-spacing: -0.04em; }
.price span { color: var(--muted); }
.price-card ul { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.price-card li { display: flex; gap: 12px; align-items: center; }
.price-card li svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.price-card .btn { margin-top: 22px; }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; margin-inline: auto; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--line-2); background: var(--panel-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-text); color: var(--accent); transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* Abschluss */
.final { text-align: center; }
.final .wrap { display: grid; gap: 22px; justify-items: center; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--faint); font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.legal-note { margin-top: 22px; font-size: 0.8rem; color: var(--faint); max-width: 60rem; }

/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--text); }
.legal code { font-family: var(--font-mono); font-size: 0.9em; color: var(--text); }
.legal .placeholder { color: var(--accent); }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound .wrap { display: grid; gap: 20px; justify-items: center; }

/* ---------- Einblenden beim Scrollen ---------- */

.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .hero::before { animation: none; }
  .game-demo .dim { opacity: 1; }
  .mini-max .w { left: 25.5%; top: 2%; width: 49%; height: 87%; }
  .mini-taskbar .tb { width: 25%; }
  .mini-dim .diml, .mini-dim .dimr { opacity: 1; }
  .mini-borderless .w { left: 25%; top: 0; width: 50%; height: 100%; border-top-width: 0; }
  .frame { transform: none; }
}
