/* Schwarz und Silber: Anthrazit statt reinem Schwarz, eine schwache Lichtquelle oben,
   helle 1px-Kanten statt Leuchten. Keine Farbe außer Grautönen. */
:root {
  --bg: #0c0d0f;
  --raise: #131417;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-hi: rgba(255, 255, 255, 0.18);
  --text: #c9ccd2;
  --bright: #eef0f3;
  --muted: #80858e;
  --serif: "Newsreader", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 56px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 70% 45% at 30% -10%, rgba(255, 255, 255, 0.06), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Körnung gegen Banding im Verlauf */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.035;
  z-index: 100;
}

a { color: inherit; }
.nowrap { white-space: nowrap; }

.bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px var(--gutter);
}
.word {
  font: 500 22px/1 var(--serif);
  color: var(--bright);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.link {
  font-size: 14px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--edge-hi);
  text-underline-offset: 4px;
}
.link:hover { color: var(--bright); text-decoration-color: currentColor; }

/* Hero: links Text, rechts das Probierfeld */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 9vh, 96px) var(--gutter) 0;
}
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } }

h1 {
  margin: 0;
  font: 400 clamp(40px, 6.2vw, 72px)/1.04 var(--serif);
  color: var(--bright);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 em { font-style: italic; }
.lead {
  max-width: 34em;
  margin: 24px 0 32px;
  font-size: clamp(16px, 1.9vw, 18px);
  text-wrap: pretty;
}
.aside {
  margin: 16px 0 0;
  font: 400 13px/1.4 var(--mono);
  color: var(--muted);
}

/* Silberner Knopf: gebürstetes Metall mit heller Oberkante */
.btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f1f2f4, #b8bcc3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.6);
  color: #111214;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
}
.btn:hover { background: linear-gradient(180deg, #ffffff, #c9ccd2); }
.btn:focus-visible, .pad-clear:focus-visible, .link:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }

.pad {
  margin: 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--raise);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.pad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 10px;
  font: 500 12px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pad-clear {
  border: 1px solid var(--edge-hi);
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  font: 500 12px/1 var(--sans);
  padding: 6px 10px;
  cursor: pointer;
}
#pad {
  display: block;
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 6px;
  background: #0a0b0c;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  touch-action: none;
  cursor: crosshair;
}

/* Horizon Grid als Boden unter dem Hero */
.floor {
  position: relative;
  height: clamp(180px, 28vw, 300px);
  margin-top: clamp(24px, 6vw, 64px);
}
.horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 60%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 60%, transparent);
}

/* Ablauf als Liste mit Haarlinien statt Karten */
.how {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px var(--gutter) clamp(64px, 10vw, 112px);
}
h2 {
  margin: 0 0 8px;
  font: 400 clamp(26px, 3.4vw, 36px)/1.1 var(--serif);
  color: var(--bright);
  letter-spacing: -0.015em;
}
.rows { list-style: none; margin: 0; padding: 0; }
.rows li {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--edge);
}
.rows li:first-child { border-top: 1px solid var(--edge); margin-top: 24px; }
@media (max-width: 600px) { .rows li { grid-template-columns: minmax(0, 1fr); } }
.k { font: 500 13px/1.8 var(--mono); color: var(--bright); text-transform: uppercase; letter-spacing: 0.08em; }
.rows p { margin: 0; max-width: 40em; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px var(--gutter) 36px;
  color: var(--muted);
  font-size: 13px;
}

/* Film: 16:9-Bühne mit Lichtkante, Steuerleiste darunter */
.film {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 7vw, 80px);
}
.player { margin: 0; outline: none; }
.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0c0d0f;
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  isolation: isolate;
}
.stage-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.07;
  mix-blend-mode: overlay;
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 45%, transparent 60%, rgba(0, 0, 0, 0.32));
}
.big-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  border: 1px solid var(--edge-hi);
  background: rgba(19, 20, 23, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 40px rgba(0, 0, 0, 0.6);
  color: var(--bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0 0 0 4px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.big-play:hover { background: rgba(30, 31, 35, 0.9); }
.big-play[hidden] { display: none; }

.controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font: 400 12px/1 var(--mono);
  color: var(--muted);
}
.ctl-play {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--edge-hi);
  background: var(--raise);
  color: var(--bright);
  cursor: pointer;
  flex: none;
}
.ctl-play .i-pause, .is-playing .ctl-play .i-play { display: none; }
.is-playing .ctl-play .i-pause { display: block; }
.ctl-time { min-width: 3.2em; font-variant-numeric: tabular-nums; }
.ctl-track {
  position: relative;
  flex: 1;
  height: 28px;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.ctl-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.ctl-fill {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, #b8bcc3, #f1f2f4);
}
.ctl-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1f2f4, #b8bcc3);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.15s;
}
.ctl-track:hover::after, .ctl-track:focus-visible::after { opacity: 1; }
.ctl-track:focus-visible .ctl-rail { outline: 1px solid var(--bright); outline-offset: 4px; }
.ctl-mark {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 10px;
  margin-top: -5px;
  background: var(--muted);
}
.ctl-chapters { display: flex; gap: 2px; }
.ctl-chapters button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px;
  cursor: pointer;
}
.ctl-chapters button:hover { color: var(--bright); }
.ctl-play:focus-visible, .ctl-chapters button:focus-visible, .big-play:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }
@media (max-width: 600px) { .ctl-chapters { display: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
