/* djlito.de – Club-DJ-Landingpage
   Layout: dunkler Flyer-Look mit fester WebGL-Bühne. Drei Kapitel (Plattenkiste, Promi-Spirale,
   Club-Tunnel) bleiben beim Scrollen stehen und werden über die Scrollposition gesteuert.
   Typo: Anton für Headlines, Archivo für alles andere. Akzent: Babyblau-Türkis. */

@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0c0e;
  --ink-2: #14171b;
  --ash: #252a30;
  --paper: #f1f3f2;
  --mute: #9aa4ab;
  --accent: #6ad9e4;
  --line: color-mix(in oklab, var(--paper) 13%, transparent);

  --display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter-l: max(clamp(16px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 56px), env(safe-area-inset-right, 0px));
  --max: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

/* ---------- WebGL-Bühne ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.wrap { position: relative; z-index: 1; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); }
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
  padding-bottom: 12px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  background: linear-gradient(to bottom, color-mix(in oklab, var(--ink) 92%, transparent), transparent);
  transition: background 0.3s;
}
.top.is-solid { background: color-mix(in oklab, var(--ink) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__logo { flex: none; display: block; width: 116px; }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { padding: 10px 12px; font: 600 0.74rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.top__nav a:hover { color: var(--paper); }
@media (max-width: 900px) { .top__nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  color: var(--paper);
  font: 600 0.95rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { border-color: var(--accent); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--paper); border-color: var(--paper); }
.btn--sm { padding: 11px 16px; font-size: 0.85rem; }
.btn--icon { width: 48px; padding-inline: 0; font-size: 1.1rem; }
.btn svg { width: 14px; height: 14px; flex: none; }

/* ---------- Typo-Bausteine ---------- */
.label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 0.74rem/1.3 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--accent); flex: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.92; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.6vw, 5rem); }
h2 em { font-style: normal; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
.copy { display: grid; gap: 18px; max-width: 38rem; color: color-mix(in oklab, var(--paper) 88%, var(--mute)); }
.aside-line { font-size: 0.95rem; color: var(--mute); }
.aside-line strong { color: var(--paper); font-weight: 600; }
.consent { font-size: 0.82rem; line-height: 1.5; color: var(--mute); max-width: 34rem; }
.consent a { color: var(--paper); }
.text-link { justify-self: start; font-size: 0.9rem; font-weight: 600; color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.text-link:hover { color: var(--accent); }

/* ---------- Sektionen ---------- */
.sec {
  position: relative;
  padding-block: clamp(80px, 12vw, 160px);
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  border-top: 1px solid var(--line);
}
.sec--tight { padding-top: clamp(48px, 6vw, 80px); border-top: 0; }
.sec__inner { max-width: var(--max); margin-inline: auto; display: grid; gap: clamp(36px, 5vw, 64px); }
.sec__head { display: grid; gap: 22px; max-width: 52rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "photo logo" "photo copy";
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 4vw, 64px);
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
  padding-right: var(--gutter-r);
}
.hero__photo { grid-area: photo; position: relative; min-height: 100%; }
.hero__photo img {
  position: absolute;
  inset: calc(-96px - env(safe-area-inset-top, 0px)) 0 calc(-1 * clamp(40px, 6vw, 72px)) 0;
  width: 100%;
  height: calc(100% + 96px + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 72px));
  object-fit: cover;
  object-position: 22% 30%;
  -webkit-mask-image: linear-gradient(to right, #000 52%, transparent 98%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 52%, transparent 98%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.logo-slot { position: relative; aspect-ratio: 900 / 474; width: 100%; }
.logo-slot img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.8s ease; }
.gl-ready .logo-slot img { opacity: 0; }
.logo-slot { cursor: pointer; }
.logo-slot:focus-visible { outline-offset: 8px; }
.logo-hint {
  position: absolute;
  right: 0;
  bottom: -4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  pointer-events: none;
}
.logo-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sound-toggle svg { width: 20px; height: 20px; }
.sound-toggle .sound-toggle__waves { opacity: 0.35; }
.sound-toggle[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.sound-toggle[aria-pressed="true"] .sound-toggle__waves { opacity: 1; }
.hero__logo { grid-area: logo; max-width: 640px; margin-top: 8px; }
.hero__copy { grid-area: copy; display: grid; gap: 24px; align-content: start; padding-top: clamp(20px, 3vw, 36px); max-width: 40rem; }
.hero__title { font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 0.98; }
.hero__title i { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); color: color-mix(in oklab, var(--paper) 88%, var(--mute)); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 16px 16px 0 0; display: grid; gap: 6px; align-content: start; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dt { order: 2; font-size: 0.82rem; line-height: 1.35; color: var(--mute); }
.stats dd { order: 1; margin: 0; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; }

.live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: color-mix(in oklab, var(--accent) 12%, var(--ink));
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--paper);
  text-decoration: none;
  justify-self: start;
}
.live b { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; display: inline-flex; align-items: center; gap: 8px; }
.live b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.6s ease-in-out infinite; }
a.live:hover { background: color-mix(in oklab, var(--accent) 22%, var(--ink)); }
@keyframes blink { 50% { opacity: 0.25; } }

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "copy" "photo";
    grid-template-rows: auto auto auto;
    padding-left: var(--gutter-l);
    padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
    min-height: 0;
  }
  .hero__logo { max-width: 520px; margin-inline: auto; }
  .hero__photo { margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); min-height: 0; aspect-ratio: 4 / 3; margin-top: 24px; }
  .hero__photo img {
    inset: 0;
    height: 100%;
    object-position: 18% 25%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 30%), linear-gradient(to bottom, transparent 0%, #000 18%);
    mask-image: linear-gradient(to top, transparent 0%, #000 30%), linear-gradient(to bottom, transparent 0%, #000 18%);
  }
  .stats div { padding-right: 10px; }
  .stats div + div { padding-left: 10px; }
}

/* ---------- Kapitel (3D, beim Scrollen fixiert) ---------- */
.chapter { position: relative; border-top: 1px solid var(--line); }
.chapter__sticky {
  position: relative;
  display: grid;
  align-content: center;
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(32px, 4vw, 48px);
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.chapter__panel { display: grid; gap: 20px; max-width: 32rem; min-width: 0; }
.chapter__lead { color: color-mix(in oklab, var(--paper) 86%, var(--mute)); text-shadow: 0 1px 18px var(--ink); }
.chapter__hint { display: none; }
.chapter__fallback { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-bottom: clamp(48px, 6vw, 80px); }
.chapter__fallback > * { max-width: var(--max); margin-inline: auto; }
.chapter--tunnel .chapter__sticky { padding-bottom: 0; }
.stage-info { display: none; }

.motion-3d .chapter { height: calc(100svh + var(--steps) * 42svh); }
.motion-3d .chapter--tunnel { height: calc(100svh + var(--steps) * 50svh); }
.motion-3d .chapter__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
  pointer-events: none;
  overflow: hidden;
}
.motion-3d .chapter__panel { pointer-events: auto; }
.motion-3d .chapter__fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.motion-3d .stage-info { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.motion-3d .chapter__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: var(--gutter-r);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.motion-3d .chapter__hint::after { content: ""; width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); }
.stage-info__count { font-size: 0.8rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.stage-info__count span:first-child { color: var(--accent); font-weight: 700; }
.stage-info__title { font: 600 1.25rem/1.3 var(--body); text-transform: none; letter-spacing: 0; min-height: 2.6em; }
.stage-info__name { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; }
.stage-info__meta { font-size: 0.92rem; color: var(--mute); min-height: 1.4em; }
.stage-info__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

@media (max-width: 860px) {
  .motion-3d .chapter__sticky { align-content: start; padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
  .motion-3d .chapter__panel { gap: 12px; }
  .motion-3d .chapter__panel h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .motion-3d .chapter__lead { font-size: 0.92rem; line-height: 1.5; }
  .motion-3d #support .chapter__lead, .motion-3d #support .aside-line { display: none; }
  .motion-3d .stage-info { padding-top: 10px; gap: 4px; }
  .motion-3d .stage-info__title { font-size: 1.05rem; min-height: 0; }
  .motion-3d .stage-info__name { font-size: 1.9rem; }
  .motion-3d #mixtapes .consent, .motion-3d #mixtapes .text-link { display: none; }
  .motion-3d .stage-info__actions { position: absolute; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
  .motion-3d .chapter__hint { display: none; }
}

/* ---------- Videos (ohne 3D) ---------- */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.video { display: grid; gap: 12px; align-content: start; min-width: 0; }
.video__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--ash); border: 1px solid var(--line); cursor: pointer; }
.video__media img { width: 100%; height: 100%; object-fit: cover; }
.video__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--ink) 85%, transparent), transparent 60%); pointer-events: none; }
.video__play { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border: 0; border-radius: 2px; background: var(--accent); color: var(--ink); font: 600 0.85rem/1 var(--body); cursor: pointer; }
.video__play svg { width: 14px; height: 14px; }
.video__badge { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 6px 9px; background: color-mix(in oklab, var(--ink) 80%, transparent); font-size: 0.75rem; font-weight: 600; color: var(--paper); border-radius: 2px; }
.video__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-loaded .video__media::after { display: none; }
.video h3 { font: 600 1rem/1.35 var(--body); text-transform: none; letter-spacing: 0; }
.video__meta { font-size: 0.85rem; color: var(--mute); }
@media (max-width: 960px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .videos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Promi-Raster (ohne 3D) ---------- */
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.wall li { min-width: 0; }
.wall figure { margin: 0; display: grid; gap: 12px; }
.wall__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ash); border-radius: 2px; }
.wall__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.wall figcaption { display: grid; gap: 2px; }
.wall figcaption strong { font: 400 clamp(1rem, 1.4vw, 1.25rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.wall figcaption span { font-size: 0.85rem; color: var(--mute); }
.wall li.is-idol figcaption span { color: var(--accent); }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Clubliste ---------- */
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px clamp(20px, 3vw, 40px); }
.city { display: grid; gap: 12px; align-content: start; min-width: 0; }
.city h3 { font-size: 1.6rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.city ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.city li { color: color-mix(in oklab, var(--paper) 86%, var(--mute)); }
.city li small { font-size: 0.8rem; color: var(--mute); margin-left: 6px; }

.nights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.nights li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.nights li span:first-child { font-weight: 600; }
.nights li span:last-child { font-size: 0.85rem; color: var(--mute); text-align: right; flex: none; max-width: 45%; }

/* ---------- Presse ---------- */
.press { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.press article { position: relative; display: grid; gap: 14px; align-content: start; min-width: 0; }
.press__img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--ash); border: 1px solid var(--line); }
.press__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.press__meta { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.press h3 { font: 600 1.02rem/1.35 var(--body); text-transform: none; letter-spacing: 0; }
.press a { text-decoration: none; }
.press a::after { content: ""; position: absolute; inset: 0; }
.press__more { font-size: 0.85rem; color: var(--mute); }
.press article:hover .press__more { color: var(--paper); }
@media (max-width: 960px) { .press { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 3D-Neigung bei Mausbewegung (Werte setzt site.js) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out; will-change: transform; }

/* ---------- Story & Hochzeit ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
.split--flip .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: 2px; }
.split__body { display: grid; gap: 24px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.tags li.is-main { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
}

/* ---------- Booking ---------- */
.sec--booking .sec__inner { gap: clamp(24px, 4vw, 40px); }
.booking__logo { max-width: 560px; }
.booking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.booking h2 { font-size: clamp(4rem, 13vw, 11rem); line-height: 0.85; }
.contact { display: grid; margin: 0; border-top: 1px solid var(--line); }
.contact div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.contact dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 1.12rem; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--accent); }
.copybtn { padding: 7px 10px; border: 1px solid var(--line); border-radius: 2px; background: none; color: var(--mute); font: 600 0.72rem/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.copybtn:hover { color: var(--paper); border-color: var(--accent); }
@media (max-width: 860px) { .booking { grid-template-columns: minmax(0, 1fr); } .contact div { grid-template-columns: 5.5rem minmax(0, 1fr); } }

/* ---------- Video-Fenster ---------- */
.player { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--ink-2); color: var(--paper); }
.player::backdrop { background: color-mix(in oklab, var(--ink) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.player__bar p { font-weight: 600; min-width: 0; }

/* ---------- Footer ---------- */
.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px);
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  background: var(--ink);
}
.foot__inner { max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot__logo { width: 92px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); text-decoration: none; padding-block: 8px; }
.foot a:hover { color: var(--paper); }
.foot small { font-size: 0.8rem; color: var(--mute); }

/* ---------- Rechtstexte ---------- */
.legal { position: relative; z-index: 1; padding-top: calc(env(safe-area-inset-top, 0px) + 120px); padding-bottom: 96px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.legal__inner { max-width: 46rem; margin-inline: auto; display: grid; gap: 18px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); margin-bottom: 12px; }
.legal h2 { font: 600 1.2rem/1.3 var(--body); text-transform: none; letter-spacing: 0; margin-top: 22px; }
.legal p, .legal li { color: color-mix(in oklab, var(--paper) 86%, var(--mute)); }
.legal address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  .live b::before { animation: none; }
  .tilt { transform: none; transition: none; }
}
