/* ==========================================================================
   LiveJSON — Black & Purple / Neon Editorial Edition
   --------------------------------------------------------------------------
   Aufbau:  Tokens → Basis → Hintergrund → Navigation → Rail → Buttons →
            Hero → HUD → Marquee → Sections → Komponenten → Reel → Palette →
            Animationen → Responsive → Barrierefreiheit
   Grundsatz: Alles Wichtige funktioniert auch ohne JavaScript.
   ========================================================================== */

:root {
  /* ---------- Schwarz ---------- */
  --ink: #04020a;
  --bg: #06040d;
  --bg-2: #0a0616;
  --bg-3: #100a20;
  --panel: rgba(22, 14, 38, 0.62);
  --panel-2: rgba(30, 19, 50, 0.72);

  /* ---------- Lila ---------- */
  --violet-900: #1b0d33;
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a855f7;
  --lilac: #c4b5fd;
  --lilac-soft: #e4dcff;
  --magenta: #d946ef;
  --pink: #e879f9;

  /* ---------- Text ---------- */
  --text: #f6f2ff;
  --muted: #a99ec6;
  --dim: #786d95;

  /* ---------- Linien & Schatten ---------- */
  --line: rgba(196, 181, 253, 0.13);
  --line-strong: rgba(196, 181, 253, 0.3);
  --glow: 0 0 60px -12px rgba(168, 85, 247, 0.75);

  --grad: linear-gradient(135deg, #e0ccff 0%, #a855f7 38%, #7c3aed 68%, #e879f9 100%);
  --grad-soft: linear-gradient(135deg, rgba(216, 180, 254, 0.95), rgba(217, 70, 239, 0.9));
  --grad-glass: linear-gradient(160deg, rgba(168, 85, 247, 0.11), rgba(10, 6, 22, 0.62) 46%, rgba(10, 6, 22, 0.82));

  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --nav-h: 76px;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

/* ---------- Basis ------------------------------------------------------- */

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Rauschen über allem – gibt dem Schwarz Tiefe */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }

::selection { background: rgba(168, 85, 247, 0.9); color: #fff; }

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

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.55em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  background: rgba(196, 181, 253, 0.1);
  color: var(--lilac-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  translate: -50% -200%;
  z-index: 2000;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--ink);
  font-weight: 600;
  transition: translate 0.3s var(--ease);
}
.skip-link:focus { translate: -50% 0; }

.accent {
  background: var(--grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 9s ease infinite;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac);
}
.eyebrow i {
  font-style: normal;
  display: grid;
  place-items: center;
  min-width: 2rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(168, 85, 247, 0.12);
  color: var(--lilac-soft);
  letter-spacing: 0.06em;
}
.eyebrow::after {
  content: "";
  width: clamp(24px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------- Loader ------------------------------------------------------ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.no-js .loader { display: none; }

.loader__inner { text-align: center; }
.loader__mark {
  font-family: var(--display);
  font-size: 3.6rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 3s ease infinite, breathe 1.6s ease-in-out infinite;
}
.loader__bar {
  width: 210px;
  height: 2px;
  margin: 1.1rem auto 0.9rem;
  border-radius: 99px;
  background: rgba(196, 181, 253, 0.15);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  transition: width 1.3s var(--ease);
}
.loader.is-loading .loader__bar span { width: 100%; }
.loader__text {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Hintergrund ------------------------------------------------ */

.aurora {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 120vh;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.42;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.aurora span:nth-child(1) {
  width: 52vw; height: 52vw; max-width: 760px; max-height: 760px;
  top: -8%; left: 2%;
  background: radial-gradient(circle at 50% 50%, #7c3aed, transparent 68%);
  animation: drift 26s ease-in-out infinite;
}
.aurora span:nth-child(2) {
  width: 44vw; height: 44vw; max-width: 640px; max-height: 640px;
  top: 18%; right: 4%;
  background: radial-gradient(circle at 50% 50%, #a21caf, transparent 68%);
  animation: drift 32s ease-in-out infinite reverse;
}
.aurora span:nth-child(3) {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  top: 46%; left: 38%;
  background: radial-gradient(circle at 50% 50%, #4c1d95, transparent 70%);
  animation: drift 38s ease-in-out infinite;
}

/* Feines, festes Raster über der ganzen Seite */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(168, 85, 247, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.075) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 80%);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(4, 2, 10, 0.85) 100%),
    linear-gradient(180deg, transparent 70%, rgba(4, 2, 10, 0.92) 100%);
}

/* ---------- Cursor ------------------------------------------------------ */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
body.has-cursor .cursor { opacity: 1; }
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  translate: -50% -50%;
}
.cursor__dot {
  width: 6px;
  height: 6px;
  background: var(--lilac-soft);
  box-shadow: 0 0 14px rgba(196, 181, 253, 0.9);
}
.cursor__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
body.cursor-hot .cursor__ring {
  width: 56px;
  height: 56px;
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(216, 180, 254, 0.85);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 70;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.8);
}

/* ---------- Navigation -------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled {
  height: 62px;
  background: rgba(6, 4, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  flex: none;
}
.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 22px -8px rgba(168, 85, 247, 0.9);
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.nav__logo:hover .nav__logo-mark {
  transform: rotate(-10deg) scale(1.06);
  box-shadow: 0 8px 28px -6px rgba(217, 70, 239, 0.9);
}
.nav__logo-text b { color: var(--lilac); font-weight: 700; }

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 11, 30, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__links a {
  position: relative;
  z-index: 1;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__indicator {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(196, 181, 253, 0.3);
  box-shadow: 0 0 24px -8px rgba(168, 85, 247, 0.9);
  transition: left 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
  opacity: 0;
}
.nav__indicator.is-on { opacity: 1; }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.kbd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 11, 30, 0.55);
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.kbd-btn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(168, 85, 247, 0.14); }
.kbd-btn__icon { font-size: 0.9rem; color: var(--lilac); }
.kbd-btn kbd { font-size: 0.66rem; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(18, 11, 30, 0.6);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Mobile Menü ------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 2rem) var(--pad-x) 3rem;
  background: rgba(5, 3, 11, 0.94);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu.is-open { opacity: 1; }

.menu__inner { display: flex; flex-direction: column; gap: 0.2rem; }
.menu__inner a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.4s var(--ease), translate 0.4s var(--ease), color 0.3s;
}
.menu.is-open .menu__inner a { opacity: 1; translate: 0 0; }
.menu__inner a span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 0.1em;
}
.menu__inner a:hover { color: var(--lilac); }
.menu__foot {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}

body.menu-open,
body.palette-open { overflow: hidden; }

/* ---------- Section-Rail ------------------------------------------------ */

.rail {
  position: fixed;
  right: clamp(0.6rem, 1.6vw, 1.5rem);
  top: 50%;
  translate: 0 -50%;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.rail:hover { border-color: var(--line); background: rgba(10, 6, 22, 0.55); backdrop-filter: blur(10px); }

.rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: color 0.3s;
}
.rail a i {
  font-style: normal;
  opacity: 0;
  translate: 6px 0;
  transition: opacity 0.35s var(--ease), translate 0.35s var(--ease);
  white-space: nowrap;
}
.rail a span { transition: color 0.3s; }
.rail a:hover i,
.rail a:focus-visible i { opacity: 1; translate: 0 0; }
.rail a:hover span { color: var(--lilac); }
.rail a.is-active span {
  color: var(--magenta);
  text-shadow: 0 0 12px rgba(217, 70, 239, 0.8);
}
.rail a.is-active::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.9);
}

/* ---------- Buttons ----------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.4s, border-color 0.3s, background 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s var(--ease);
}
.btn:hover::after { left: 140%; }

.btn--primary {
  background: var(--grad);
  background-size: 200% 200%;
  color: var(--ink);
  animation: gradShift 7s ease infinite;
  box-shadow: 0 12px 40px -14px rgba(168, 85, 247, 0.95);
}
.btn--primary:hover {
  box-shadow: 0 18px 54px -12px rgba(217, 70, 239, 0.95);
}
.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(24, 15, 40, 0.55);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--lilac); box-shadow: 0 0 34px -10px rgba(168, 85, 247, 0.9); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn__arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePing 2s infinite;
}

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

main { position: relative; z-index: 3; }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 4.5rem) var(--pad-x) 6.5rem;
  text-align: center;
  overflow: hidden;
  perspective: 1200px;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--a {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  top: -12%; left: -8%;
  background: rgba(124, 58, 237, 0.55);
  animation: float 18s ease-in-out infinite;
}
.hero__glow--b {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  bottom: -18%; right: -6%;
  background: rgba(217, 70, 239, 0.32);
  animation: float 24s ease-in-out infinite reverse;
}

.hero__grid {
  position: absolute;
  left: 50%;
  bottom: -5vh;
  width: 220vw;
  height: 80vh;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-50%) perspective(560px) rotateX(72deg);
  transform-origin: 50% 50%;
  background-image:
    linear-gradient(to right, rgba(168, 85, 247, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 55%, #000 5%, transparent 78%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 55%, #000 5%, transparent 78%);
  animation: gridPan 9s linear infinite;
}

/* Rotierender Ring hinter dem Titel */
.hero__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 880px);
  aspect-ratio: 1;
  translate: -50% -46%;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(168, 85, 247, 0) 0deg, rgba(217, 70, 239, 0.5) 90deg, rgba(196, 181, 253, 0.12) 180deg, rgba(124, 58, 237, 0.45) 280deg, rgba(168, 85, 247, 0) 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 52%, #000 54%, #000 58%, transparent 60%);
  mask-image: radial-gradient(circle, transparent 52%, #000 54%, #000 58%, transparent 60%);
  filter: blur(12px);
  opacity: 0.5;
  animation: spin 34s linear infinite;
}

.hero__spot {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 40%), rgba(168, 85, 247, 0.15), transparent 65%);
  transition: opacity 0.4s;
}

.hero__stage {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 10px), 0);
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(24, 15, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52525b;
  flex: none;
}
.badge.is-live { color: var(--text); border-color: rgba(239, 68, 68, 0.45); }
.badge__dot.is-live {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePing 1.8s infinite;
}

.hero__title {
  position: relative;
  margin: 0 0 1.2rem;
  font-size: clamp(3.4rem, 15.5vw, 12.5rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-kerning: none;
}
.hero__title-line { display: inline-flex; flex-wrap: wrap; justify-content: center; }

/* Zeichen werden von JS aufgeteilt – ohne JS bleibt der Text als Ganzes stehen */
.hero__title .ch {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 18%, #d6c4ff 58%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 44px rgba(124, 58, 237, 0.4));
  animation: charIn 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}

.hero__tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero__tagline b { color: var(--magenta); font-weight: 400; }
.hero__tagline .serif {
  font-size: 1.55rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lilac);
}

.hero__sub {
  font-size: clamp(1.02rem, 2.2vw, 1.35rem);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 0.9rem;
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__typed {
  min-height: 1.9em;
  margin-bottom: 2.1rem;
  font-family: var(--mono);
  font-size: clamp(0.85rem, 1.9vw, 1rem);
  letter-spacing: 0.02em;
}
.hero__typed-prefix { color: var(--dim); margin-right: 0.4rem; }
.hero__typed-text { color: var(--lilac); }
.caret {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--magenta);
  animation: blink 1.1s steps(1) infinite;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* ---------- HUD --------------------------------------------------------- */

.hud {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  width: min(760px, 100%);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 7, 24, 0.55);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 80px -50px rgba(168, 85, 247, 1);
}
.hud__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1.15rem;
  border-left: 1px solid var(--line);
}
.hud__cell:first-child { border-left: 0; }
.hud__cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 70, 239, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.hud__cell:hover::after { opacity: 1; }

.hud__label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.hud__value {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  line-height: 1.25;
}
.hud__cell--count .hud__value {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease infinite;
}
.hud__value--sm { font-size: 1rem; font-weight: 500; }
.hud__plus { color: var(--magenta); }
.hud__meta { font-size: 0.72rem; color: var(--muted); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  translate: -50% 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
}
.scroll-hint__mouse {
  position: relative;
  display: block;
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
}
.scroll-hint__mouse span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--lilac);
  animation: wheel 1.8s var(--ease) infinite;
}
.scroll-hint__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- Marquee ----------------------------------------------------- */

.marquee-stack {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 13, 51, 0.92), rgba(8, 5, 16, 0.94));
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  padding: 0.95rem 0;
  contain: paint;
}
.marquee--reverse {
  border-top: 1px solid var(--line);
  opacity: 0.55;
  padding: 0.6rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 34s linear infinite;
  font-size: clamp(1.3rem, 3.4vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee--reverse .marquee__track {
  animation-duration: 46s;
  animation-direction: reverse;
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  letter-spacing: 0.3em;
}
.marquee__track span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 181, 253, 0.45);
}
.marquee--reverse .marquee__track span {
  color: var(--dim);
  -webkit-text-stroke: 0;
}
.marquee__track i { font-style: normal; color: var(--magenta); }
.marquee-stack:hover .marquee__track { animation-play-state: paused; }

/* ---------- Sections ---------------------------------------------------- */

.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(5.5rem, 11vw, 9rem) var(--pad-x) 0;
}
.section--wide { max-width: 1320px; }
.section:last-of-type { padding-bottom: 2rem; }

.section__head { max-width: 720px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section__head h2 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
.section__head h2 .serif { font-size: 1.06em; padding-right: 0.06em; }
.section__head p { margin-top: 1rem; }

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
.section__head--row h2 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }

.rail-nav { display: flex; gap: 0.5rem; padding-bottom: 0.5rem; }
.rail-nav__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(20, 12, 34, 0.7);
  color: var(--lilac-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease), opacity 0.3s;
}
.rail-nav__btn:hover:not(:disabled) { background: rgba(168, 85, 247, 0.24); border-color: var(--lilac); transform: translateY(-2px); }
.rail-nav__btn:disabled { opacity: 0.3; cursor: default; }

/* ---------- Karten ------------------------------------------------------ */

.card {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 181, 253, 0.16), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 34px 90px -50px rgba(168, 85, 247, 0.9);
}

/* Farb-Verlauf als Kante – nur wo mask-composite unterstützt wird */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(150deg, rgba(216, 180, 254, 0.55), rgba(124, 58, 237, 0.08) 42%, rgba(217, 70, 239, 0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0.7;
    transition: opacity 0.4s;
  }
  .card:hover::after { opacity: 1; }
}

/* ---------- Über mich --------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}
.about .card { text-align: center; }
.about .card h3 { margin-top: 1.5rem; font-size: 1.9rem; }
.about .card p { margin-top: 0.25rem; font-size: 0.95rem; }

.about__text p {
  margin-bottom: 1.1rem;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  color: #cdc4e4;
}
.about__text p strong { color: var(--lilac); font-weight: 600; }

.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.about__facts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(24, 15, 40, 0.5);
  font-size: 0.85rem;
  color: var(--text);
}
.about__facts span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Avatar */
.avatar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.avatar__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #a855f7, #e879f9, #8b5cf6, #e4dcff, #a855f7);
  animation: spin 7s linear infinite;
  filter: blur(0.4px);
}
.avatar__ring::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 65%);
  filter: blur(18px);
  z-index: -1;
}
.avatar__core {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 50%;
  padding: 6px;
  background: var(--bg-2);
}
.avatar__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-3);
}
.avatar__badge {
  position: absolute;
  left: 50%;
  bottom: -10px;
  translate: -50% 0;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  box-shadow: 0 8px 24px -8px rgba(217, 70, 239, 0.9);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.3rem;
}
.chip {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(168, 85, 247, 0.08);
  font-size: 0.8rem;
  color: var(--lilac-soft);
  transition: border-color 0.3s, background 0.3s;
}
.chip:hover { border-color: var(--line-strong); background: rgba(168, 85, 247, 0.18); }

/* ---------- Stats ------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.stat {
  position: relative;
  padding: 1.6rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.07), rgba(10, 6, 22, 0.62));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.stat::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stat:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 24px 60px -40px rgba(168, 85, 247, 1); }
.stat:hover::after { transform: scaleX(1); }

.stat__num {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff, #c4b5fd 55%, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__suffix {
  margin-left: 2px;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--magenta);
}
.stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Highlight-Reel --------------------------------------------- */

.reel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 0.5rem 0 1.1rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.55) transparent;
}
.reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel.is-dragging .clip { pointer-events: none; }
.reel::-webkit-scrollbar { height: 4px; }
.reel::-webkit-scrollbar-track { background: rgba(196, 181, 253, 0.06); border-radius: 99px; }
.reel::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.32); border-radius: 99px; }
.reel:hover::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.5); }

.clip {
  position: relative;
  flex: 0 0 clamp(240px, 25vw, 310px);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.3rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.clip > * { position: relative; z-index: 2; }

.clip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.8s var(--ease);
}
.clip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 2, 10, 0) 22%, rgba(4, 2, 10, 0.72) 66%, rgba(4, 2, 10, 0.94) 100%);
}

.clip--a::before {
  background:
    repeating-linear-gradient(70deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 34px),
    radial-gradient(120% 80% at 15% 10%, rgba(232, 121, 249, 0.85), transparent 60%),
    radial-gradient(90% 70% at 90% 90%, rgba(124, 58, 237, 0.9), transparent 65%),
    #14082a;
}
.clip--b::before {
  background:
    conic-gradient(from 200deg at 70% 20%, #a855f7, #2a0f4d, #0b0614, #d946ef, #a855f7);
}
.clip--c::before {
  background:
    repeating-radial-gradient(circle at 78% 84%, rgba(232, 121, 249, 0.26) 0 1px, transparent 1px 26px),
    radial-gradient(100% 100% at 50% 0%, rgba(196, 181, 253, 0.7), transparent 55%),
    linear-gradient(200deg, #3b1178, #0b0614 72%);
}
.clip--d::before {
  background:
    repeating-linear-gradient(115deg, rgba(217, 70, 239, 0.28) 0 2px, transparent 2px 22px),
    radial-gradient(110% 90% at 80% 10%, rgba(139, 92, 246, 0.9), transparent 60%),
    #0d0720;
}
.clip--e::before {
  background:
    radial-gradient(80% 60% at 50% 110%, rgba(232, 121, 249, 0.9), transparent 60%),
    radial-gradient(90% 70% at 10% 10%, rgba(109, 40, 217, 0.95), transparent 60%),
    #0a0616;
}

.clip:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 40px 90px -50px rgba(217, 70, 239, 1); }
.clip:hover::before { transform: scale(1.06); }

.clip__no {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  z-index: 2;
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}
.clip__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(4, 2, 10, 0.35);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.clip__body { padding-right: 3.4rem; }
.clip__body h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.05; }
.clip__body p { margin-top: 0.4rem; font-size: 0.83rem; color: rgba(240, 235, 255, 0.72); }
.clip__len {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(240, 235, 255, 0.68);
  padding-right: 3.4rem;
}
.clip__play {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #14082a;
  font-size: 0.72rem;
  padding-left: 2px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.clip:hover .clip__play { transform: scale(1.12) rotate(8deg); background: var(--lilac-soft); }

.reel__hint {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ---------- Socials ----------------------------------------------------- */

.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.social {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.08), rgba(10, 6, 22, 0.62));
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.social::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 140%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.4), transparent);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.social:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px -44px rgba(168, 85, 247, 1);
}
.social:hover::before { opacity: 1; transform: scale(1); }

.social__index {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.social__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: rgba(168, 85, 247, 0.16);
  color: var(--lilac-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.5s var(--ease), background 0.4s;
}
.social:hover .social__icon { transform: rotate(-6deg) scale(1.06); background: rgba(168, 85, 247, 0.3); }
.social__name { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.social__hint { font-size: 0.88rem; color: var(--muted); }
.social__arrow {
  position: absolute;
  top: 1.45rem;
  right: 3.1rem;
  color: var(--dim);
  transition: transform 0.4s var(--ease), color 0.3s;
}
.social:hover .social__arrow { transform: translate(3px, -3px); color: var(--lilac); }

/* ---------- Timeline ---------------------------------------------------- */

.timeline {
  position: relative;
  max-width: 760px;
  padding-left: 1.9rem;
  --progress: 0;
}
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 2px;
  border-radius: 2px;
}
.timeline::before {
  bottom: 0.4rem;
  background: rgba(196, 181, 253, 0.14);
}
.timeline::after {
  height: calc((100% - 0.8rem) * var(--progress));
  background: linear-gradient(180deg, #e4dcff, #a855f7 40%, #d946ef);
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.7);
  transition: height 0.15s linear;
}

.timeline__item { position: relative; padding: 0 0 2.8rem 1.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--violet-400);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.8);
}
.timeline__year {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
}
.timeline__item h3 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.timeline__item p { max-width: 60ch; color: #bcb3d3; }

/* ---------- Streamplan -------------------------------------------------- */

.schedule {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
}
.day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 156px;
  padding: 1.1rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(168, 85, 247, 0.06), rgba(10, 6, 22, 0.62));
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.day:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 24px 60px -46px rgba(168, 85, 247, 1);
}
.day__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.day__time {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--lilac);
}
.day__game { font-size: 0.78rem; color: var(--dim); }

.day.is-today {
  border-color: rgba(217, 70, 239, 0.6);
  background: linear-gradient(180deg, rgba(217, 70, 239, 0.18), rgba(10, 6, 22, 0.72));
  box-shadow: 0 0 40px -18px rgba(217, 70, 239, 0.9);
}
.day.is-today::after {
  content: "HEUTE";
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- Community --------------------------------------------------- */

.community {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.community__card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.community__card h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
.community__card p { color: #bcb3d3; font-size: 0.97rem; }
.community__card .btn { align-self: flex-start; margin-top: auto; }
.community__card--wide { grid-column: 1 / -1; }

.rules li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: #cdc4e4;
  font-size: 0.95rem;
}
.rules li:last-child { border-bottom: 0; }
.rules span {
  flex: none;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid var(--line-strong);
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.pulse-bar {
  height: 10px;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: rgba(196, 181, 253, 0.1);
  overflow: hidden;
}
.pulse-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad);
  background-size: 200% 100%;
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.8);
  transition: width 1.6s var(--ease);
  animation: gradShift 4s linear infinite;
}
.pulse-label {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--lilac);
}

/* ---------- Setup ------------------------------------------------------- */

.setup {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.setup__item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.06), rgba(10, 6, 22, 0.6));
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.setup__item:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.setup__item span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--magenta);
}
.setup__item b { font-size: 1.02rem; font-weight: 600; }

/* ---------- Footer ------------------------------------------------------ */

.footer {
  position: relative;
  z-index: 3;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad-x) 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  overflow: hidden;
}
.footer__big {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 13vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 181, 253, 0.3);
  user-select: none;
}
.footer p { font-size: 0.86rem; margin-bottom: 0.9rem; }
.footer__hint { font-size: 0.78rem; color: var(--dim); }
.footer__top {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--lilac);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer__top:hover { color: var(--magenta); transform: translateY(-3px); }

/* ---------- Befehlspalette ---------------------------------------------- */

.palette {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 12vh 1rem 2rem;
  overflow-y: auto;
}
.palette__scrim {
  position: fixed;
  inset: 0;
  background: rgba(3, 2, 8, 0.72);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  animation: fadeIn 0.25s var(--ease);
}
.palette__box {
  position: relative;
  width: min(560px, 100%);
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 7, 22, 0.96);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(168, 85, 247, 0.8);
  overflow: hidden;
  animation: paletteIn 0.32s var(--ease);
}
.palette__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.palette__input {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
}
.palette__input::placeholder { color: var(--dim); }
.palette__input:focus { outline: none; }
.palette__list {
  max-height: min(58vh, 450px);
  overflow-y: auto;
  padding: 0.4rem;
  overscroll-behavior: contain;
}
.palette__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.52rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.palette__item:hover,
.palette__item.is-active { background: rgba(168, 85, 247, 0.18); color: var(--text); }
.palette__item-hint {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}
.palette__item.is-active .palette__item-hint,
.palette__item:hover .palette__item-hint { color: var(--lilac); }
.palette__list::-webkit-scrollbar { width: 5px; }
.palette__list::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.4); border-radius: 99px; }
.palette__list::-webkit-scrollbar-track { background: transparent; }
.palette__item--icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: rgba(168, 85, 247, 0.14);
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--lilac-soft);
}
.palette__empty {
  padding: 1.6rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--dim);
}
.palette__hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.palette__hint span { color: var(--lilac); }

/* Party-Modus: Deko dreht kurz auf */
body.party .hero__halo { animation-duration: 3s; }
body.party .aurora { opacity: 0.6; transition: opacity 0.6s; }
body.party .avatar__ring { animation-duration: 1.2s; }

/* ---------- Toast ------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 1050;
  max-width: calc(100vw - 2rem);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 10, 30, 0.94);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  translate: -50% 14px;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.4s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Konfetti ---------------------------------------------------- */

.confetti {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}
.confetti span {
  position: absolute;
  top: -6vh;
  left: var(--x, 50%);
  width: var(--s, 8px);
  height: var(--s, 8px);
  border-radius: 2px;
  background: var(--c, #a855f7);
  opacity: 0.9;
  animation: confettiFall var(--t, 2.6s) var(--d, 0s) cubic-bezier(0.3, 0.1, 0.6, 1) forwards;
}

/* ---------- Reveal ------------------------------------------------------ */

.reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

/* Ohne JavaScript (oder wenn IntersectionObserver fehlt) ist alles sichtbar */
.no-js .reveal,
.reveal-fallback .reveal { opacity: 1; translate: none; }
.reveal-fallback .reveal { transition: none; }

/* ---------- Keyframes --------------------------------------------------- */

@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(6%, 4%, 0) scale(1.12); }
  66% { transform: translate3d(-5%, -3%, 0) scale(0.95); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(36px, -28px, 0) scale(1.08); }
}
@keyframes gridPan {
  to { background-position: 0 64px, 0 64px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.07); opacity: 0.85; }
}
@keyframes livePing {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes charIn {
  from { opacity: 0; transform: translateY(0.5em) rotateX(55deg); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(13px); opacity: 0; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes paletteIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes confettiFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate3d(var(--dx, 40px), 112vh, 0) rotate(var(--rot, 540deg)); opacity: 0; }
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 1200px) {
  .rail { display: none; }
  .kbd-btn__label { display: none; }
}

@media (max-width: 1080px) {
  .nav__links a { padding: 0.45rem 0.7rem; font-size: 0.85rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .kbd-btn { display: none; }
  .about { grid-template-columns: 1fr; }
  .about .card { max-width: 380px; margin: 0 auto; width: 100%; }
  .community { grid-template-columns: 1fr; }
  .community__card--wide { grid-column: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__actions .btn--small { display: none; }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: calc(var(--nav-h) + 2.6rem); min-height: 96svh; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__grid { height: 60vh; }
  .hero__halo { width: 108vw; }
  .hud { grid-template-columns: 1fr 1fr; }
  .hud__cell--count { grid-column: 1 / -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .hud__cell:nth-child(2) { border-left: 0; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .rail-nav { padding-bottom: 0; }
  .schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 0.6rem; }
  .stat { padding: 1.2rem 1rem; }
  .day.is-today::after { right: 50%; transform: translateX(50%); }
  .timeline { padding-left: 1.5rem; }
  .timeline__item::before { left: -1.5rem; }
  .clip { flex-basis: 76vw; }
  .hero__tagline .serif { font-size: 1.3rem; }
  .scroll-hint { display: none; }
}

@media (max-width: 400px) {
  .setup { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; }
  .hero__tagline { font-size: 0.63rem; letter-spacing: 0.16em; }
  .hud__cell { padding: 0.8rem 0.9rem; }
}

@media (max-width: 340px) {
  .hud { grid-template-columns: 1fr; }
  .hud__cell { border-left: 0; border-top: 1px solid var(--line); }
  .hud__cell:first-child { border-top: 0; }
}

/* Touch: kein Cursor, keine Magnet-Effekte */
@media (hover: none) {
  .cursor { display: none; }
}

/* ---------- Barrierefreiheit -------------------------------------------- */

@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;
  }
  .reveal { opacity: 1; translate: none; }
  .hero__title .ch { opacity: 1; }
  .hero__stage { transform: none !important; }
  .confetti { display: none; }
}

/* Drucken: alles sichtbar, keine Deko */
@media print {
  .aurora, .particles, .cursor, .vignette, .bg-grid, .loader, .scroll-progress,
  .nav, .menu, .rail, .palette, .toast, .confetti, .hero__halo, .hero__grid { display: none !important; }
  body { background: #fff; color: #111; }
  .reveal { opacity: 1; translate: none; }
  .card, .social, .stat, .clip, .day { border-color: #ccc; background: none; box-shadow: none; }
  .clip::after { display: none; }
  .clip { color: #111; }
}
