/* ============================================================
   EPICARUM 2026 · Design System
   Perlmutt · Perlmutt-Schwarz · Weiß
   Display: ChromeSlab · UI: Barlow Condensed · Text: Barlow
   Zitate & Lead: Cormorant Garamond
   ============================================================ */

/**
 * @license
 * MyFonts Webfont Build ID 3867246, 2020-12-16T11:57:38-0500
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: Chrome Slab Regular by Ferry Ardana Putra
 * URL: https://www.myfonts.com/collections/ferry-ardana-putra-foundry
 * © 2026 MyFonts Inc. */
@font-face {
  font-family: "ChromeSlab";
  src: url("../fonts/ChromeSlab/webFonts/ChromeSlabRegular/font.woff2") format("woff2"),
       url("../fonts/ChromeSlab/webFonts/ChromeSlabRegular/font.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --rail: 236px;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1180px;

  --pearl: #ECEAE5;
  --pearl-2: #E2E0DA;
  --pearl-3: #D6D4CE;
  --white: #FAF9F6;
  --black: #0A0B0D;
  --black-2: #121419;
  --black-3: #1B1E24;

  --nacre: linear-gradient(115deg, #f8f4ef 0%, #ecdbe6 20%, #d6e3f1 40%, #dbefe4 60%, #f3e9d3 80%, #f8f4ef 100%);
  --nacre-dark: linear-gradient(115deg, #0b0c0f 0%, #26313d 24%, #14211f 46%, #2c2436 70%, #0b0c0f 100%);

  --f-display: "ChromeSlab", "Bodoni Moda", "Didot", serif;
  --f-ui: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --f-bodoni: "Bodoni Moda", "Didot", "Bodoni 72", serif;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  /* light tone (Perlmutt) */
  --bg: var(--pearl);
  --bg-2: var(--pearl-2);
  --ink: #0E0F12;
  --ink-2: #44464C;
  --ink-3: #85868B;
  --line: rgba(14, 15, 18, .14);
  --line-2: rgba(14, 15, 18, .28);
  --panel: rgba(250, 249, 246, .62);
  --bar: #0E0F12;
  --bar-ink: #F4F2EE;
  --sheen: var(--nacre-dark);
  --sheen-soft: var(--nacre);
  color-scheme: light;
}

html[data-tone="dark"] {
  --bg: var(--black);
  --bg-2: var(--black-2);
  --ink: #EEECE7;
  --ink-2: #AEAFB3;
  --ink-3: #6E7076;
  --line: rgba(238, 236, 231, .13);
  --line-2: rgba(238, 236, 231, .3);
  --panel: rgba(18, 20, 25, .66);
  --bar: #EEECE7;
  --bar-ink: #0A0B0D;
  --sheen: var(--nacre);
  --sheen-soft: var(--nacre-dark);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 14px;
  font-family: var(--f-ui); letter-spacing: .2em; text-transform: uppercase; font-size: 12px;
}
.skip:focus { top: 12px; }

/* ---------- atmosphere layers ---------- */
#shards {
  position: fixed; inset: 0; z-index: 1;
  width: 100vw; height: 100vh;
  pointer-events: none;
  opacity: var(--shard-opacity, 1);
  transition: opacity .6s var(--ease);
}
.atmo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.atmo__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.atmo__net line { stroke: var(--line); stroke-width: 1; }
.atmo__net circle { fill: none; stroke: var(--line-2); }
.atmo__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 60% 40%, transparent 40%, color-mix(in srgb, var(--bg) 60%, transparent) 100%);
}
html[data-tone="dark"] .atmo__vignette {
  background:
    radial-gradient(ellipse 60% 50% at 62% 38%, rgba(60, 76, 92, .16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(70, 52, 82, .12), transparent 70%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}

/* ---------- typographic atoms ---------- */
.eyebrow {
  font-family: var(--f-ui); font-weight: 500;
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 11px; flex: none;
  background: var(--ink); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.display {
  font-family: var(--f-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .015em;
  line-height: .86; margin: 0;
  font-size: clamp(56px, 10vw, 176px);
}
.display--m { font-size: clamp(44px, 6.6vw, 112px); }
.display--s { font-size: clamp(34px, 3.8vw, 64px); line-height: .95; }
.lead {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.1vw, 30px); line-height: 1.32;
  color: var(--ink); margin: 0; max-width: 30ch;
  text-wrap: balance;
}
.body { color: var(--ink-2); max-width: 60ch; margin: 0; }
.body + .body { margin-top: 1em; }
.nacre-text {
  background: var(--sheen); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 240% 50%; } }

/* Capitol bar title: slanted black bar behind display type */
.bar {
  display: inline-block; position: relative;
  padding: .08em .32em .02em;
  color: var(--bar-ink);
  isolation: isolate;
}
.bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bar);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}
.rule {
  height: 1px; background: var(--line); border: 0; margin: 0;
}
.diamond-ico {
  width: 9px; height: 13px; display: inline-block; flex: none;
  background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---------- buttons ---------- */
.btn {
  appearance: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-ui); font-weight: 600; font-size: 13px;
  letter-spacing: .3em; text-transform: uppercase;
  padding: 16px 26px 15px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .35s var(--ease), color .35s var(--ease);
  position: relative;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn .arrow { width: 22px; height: 8px; }
.linkbtn {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 0;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.linkbtn:hover { color: var(--ink); border-color: var(--ink); }

/* ============================================================
   RAIL (left menu · Capitol style)
   ============================================================ */
.rail {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 40;
  width: var(--rail);
  display: flex; flex-direction: column;
  padding: 34px 26px 26px 30px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: background-color .9s var(--ease), border-color .9s;
}
.rail__brand { display: block; text-decoration: none; color: var(--ink); }
.rail__sigil { width: 46px; height: 55px; margin-bottom: 20px; }
.rail__sigil path { transition: fill .9s; }
.rail__word { width: 150px; height: auto; fill: var(--ink); transition: fill .9s; }
.rail__tag {
  margin-top: 10px; font-family: var(--f-ui); font-size: 10.5px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3);
}
.rail__manifest {
  margin: 34px 0 30px; padding: 14px 0 14px 16px;
  border-left: 2px solid var(--ink);
  font-family: var(--f-ui); font-weight: 500; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.55;
  color: var(--ink);
}
.rail__manifest span { display: block; }
.rail__nav { list-style: none; margin: 0; padding: 0; flex: 1; }
.rail__nav li + li { margin-top: 2px; }
.navlink {
  display: grid; grid-template-columns: 26px 1fr; align-items: baseline;
  padding: 9px 0; text-decoration: none; color: var(--ink-3);
  font-family: var(--f-ui); font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  position: relative; transition: color .3s var(--ease);
}
.navlink__n { font-size: 10px; letter-spacing: .1em; color: var(--ink-3); }
.navlink__t { position: relative; }
.navlink__s {
  grid-column: 2; display: block; font-size: 10px; letter-spacing: .14em;
  color: var(--ink-3); max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s var(--ease), opacity .4s var(--ease);
  text-transform: uppercase; line-height: 1.4;
}
.navlink::before {
  content: ""; position: absolute; left: -30px; top: 50%;
  width: 0; height: 1px; background: var(--ink);
  transition: width .5s var(--ease);
}
.navlink:hover, .navlink:focus-visible { color: var(--ink); }
.navlink:hover::before { width: 18px; }
.navlink[aria-current="page"] { color: var(--ink); }
.navlink[aria-current="page"] .navlink__t { font-weight: 700; }
.navlink[aria-current="page"]::before { width: 22px; height: 2px; }
.navlink[aria-current="page"] .navlink__s { max-height: 40px; opacity: 1; margin-top: 4px; }
.rail__foot { display: grid; gap: 14px; margin-top: 18px; }
.lang {
  display: inline-flex; border: 1px solid var(--line-2); width: max-content;
}
.lang button {
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .24em;
  padding: 8px 12px 7px; color: var(--ink-3);
}
.lang button + button { border-left: 1px solid var(--line-2); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.tc {
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .22em;
  color: var(--ink-3); text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.tc b { color: var(--ink); font-weight: 600; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; z-index: 35; pointer-events: none;
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink-3);
}
.hud--tr { top: 26px; right: 30px; display: flex; gap: 10px; align-items: center; pointer-events: auto; }
.hud__badge {
  border: 1px solid var(--line-2); padding: 7px 11px 6px;
  font-variant-numeric: tabular-nums; background: var(--panel);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hud__badge b { color: var(--ink); font-weight: 600; }
.hud__badge { transition: opacity .4s var(--ease); }
body.scrolled .hud__badge { opacity: 0; }
.hud__index {
  appearance: none; cursor: pointer; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font-family: var(--f-ui); font-weight: 600; font-size: 11px; letter-spacing: .3em;
  padding: 8px 14px 7px 12px; display: inline-flex; gap: 10px; align-items: center;
  text-transform: uppercase;
}
.hud__index .diamond-ico { width: 8px; height: 11px; }
.hud--br {
  right: 30px; bottom: 26px; text-align: right; line-height: 1.6;
  display: flex; align-items: center; gap: 12px;
}
.hud--br svg { width: 22px; height: 26px; opacity: .8; }
body.has-player .hud--br { bottom: 96px; }

/* ---------- edge tabs (prev/next) ---------- */
.edge {
  position: fixed; top: 50%; z-index: 36; transform: translateY(-50%);
  appearance: none; border: 0; background: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; color: var(--ink);
}
.edge--next { right: 0; flex-direction: row-reverse; }
.edge--prev { left: var(--rail); }
.edge__tab {
  width: 30px; height: 60px; background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  transition: width .4s var(--ease);
}
.edge--next .edge__tab { clip-path: polygon(100% 0, 100% 100%, 0 50%); }
.edge--prev .edge__tab { clip-path: polygon(0 0, 100% 50%, 0 100%); }
.edge__tab svg { width: 7px; height: 10px; }
.edge--next .edge__tab svg { margin-left: 10px; }
.edge--prev .edge__tab svg { margin-right: 10px; }
.edge__label {
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  padding: 8px 14px; background: var(--ink); color: var(--bg);
  opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.edge--prev .edge__label { transform: translateX(-10px); }
.edge:hover .edge__label, .edge:focus-visible .edge__label { opacity: 1; transform: none; }
.edge:hover .edge__tab { width: 38px; }
.edge[hidden] { display: none; }

/* ============================================================
   STAGE & CHAPTERS
   ============================================================ */
.stage {
  position: relative; z-index: 5;
  margin-left: var(--rail);
  min-height: 100vh;
}
.chapter { min-height: 100vh; position: relative; }
.chapter[hidden] { display: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.wrap--wide { max-width: 1440px; }
.chapter__head {
  padding: clamp(110px, 16vh, 170px) 0 clamp(40px, 6vh, 70px);
  display: grid; gap: 26px; max-width: 860px;
  container-type: inline-size;
}
.chapter__head .display { font-size: min(clamp(56px, 10vw, 176px), 14.5cqi); }
.chapter__head .display .bar { padding: .16em .32em .06em; line-height: .95; }

/* reveal on chapter enter */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.is-in .rv { opacity: 1; transform: none; }
.is-in .rv.d1 { transition-delay: .08s; } .is-in .rv.d2 { transition-delay: .16s; }
.is-in .rv.d3 { transition-delay: .24s; } .is-in .rv.d4 { transition-delay: .32s; }
.is-in .rv.d5 { transition-delay: .4s; } .is-in .rv.d6 { transition-delay: .5s; }
.io { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.io.seen { opacity: 1; transform: none; }

/* ---------- transition wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
  display: none;
}
.wipe__a, .wipe__b { position: absolute; inset: 0; }
.wipe__a { background: var(--wipe-a, #0A0B0D); }
.wipe__b { background: var(--nacre); mix-blend-mode: normal; opacity: .0; }
.wipe__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; font-family: var(--f-ui); letter-spacing: .4em; font-size: 12px;
  text-transform: uppercase; color: var(--wipe-ink, #EEECE7);
}
.wipe__mark strong {
  display: block; font-family: var(--f-display); font-weight: 400; letter-spacing: .02em;
  font-size: clamp(40px, 6vw, 96px); line-height: 1; margin-top: 10px;
}

/* ============================================================
   PROLOG
   ============================================================ */
.prolog-hero {
  min-height: 100vh; position: relative;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0 var(--gutter);
}
.prolog-hero__center {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding-bottom: 3vh; gap: 20px;
  min-height: calc(100vh - 90px);
}
.prolog-hero__mark { width: min(620px, 62%); margin: 0; }
.prolog-hero__mark svg { width: 100%; height: auto; fill: var(--ink); }
.cards {
  height: 1.05em; position: relative; overflow: hidden;
  font-size: clamp(34px, 3.6vw, 60px); width: 100%;
}
.cards span {
  position: absolute; left: 0; right: 0; top: 0;
  font-family: var(--f-display); text-transform: uppercase; line-height: 1.05;
  letter-spacing: .14em;
  opacity: 0; transform: translateY(100%); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.cards span.on { opacity: 1; transform: none; }
.cards span.off { opacity: 0; transform: translateY(-100%); }
.prolog-hero__claim { margin-top: 4px; }
.prolog-hero__claim .lead { max-width: none; font-size: clamp(22px, 2.4vw, 34px); }
.prolog-hero__base {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 0 34px; flex-wrap: wrap;
}
.scrollcue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
}
.scrollcue i { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scrollcue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink);
  animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

/* Capitol TV diamond */
.tvdiamond {
  position: absolute; right: clamp(40px, 4.4vw, 90px); top: 50%;
  /* eigene translate-Eigenschaft, weil .rv das transform beim Einblenden überschreibt */
  translate: 0 -50%;
  width: clamp(190px, 16vw, 260px); aspect-ratio: 1 / 1.32;
  display: grid; place-items: center;
  z-index: 3; container-type: inline-size;
}
@media (min-width: 1700px) { .tvdiamond { width: clamp(300px, 19vw, 440px); } }
.tvdiamond__frame { position: absolute; left: -16px; top: -16px; width: calc(100% + 32px); height: calc(100% + 32px); max-width: none; }
.tvdiamond__frame path { fill: none; stroke: var(--line-2); stroke-width: 1; }
.tvdiamond__body {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: var(--sheen); background-size: 260% 260%;
  animation: sheen2 14s ease-in-out infinite alternate;
}
html[data-tone="light"] .tvdiamond__body, :root:not([data-tone]) .tvdiamond__body { background: var(--nacre-dark); background-size: 260% 260%; }
@keyframes sheen2 { from { background-position: 0% 20%; } to { background-position: 100% 80%; } }
.tvdiamond__inner {
  position: relative; text-align: center; color: #F2F0EB; padding: 0 22%;
  display: grid; justify-items: center; gap: 8px;
}
html[data-tone="dark"] .tvdiamond__inner { color: #0E0F12; }
.tvdiamond__eyebrow { font-family: var(--f-ui); font-size: clamp(10px, 4.4cqi, 16px); letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.tvdiamond__title { font-family: var(--f-display); font-size: clamp(30px, 16cqi, 64px); line-height: 1; text-transform: uppercase; }
.tvdiamond__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(14px, 7cqi, 24px); line-height: 1.25; opacity: .9; }
.tvdiamond__play {
  margin-top: 8px; appearance: none; cursor: pointer;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-family: var(--f-ui); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  padding: 7px 12px 6px; display: inline-flex; gap: 8px; align-items: center;
}
.tvdiamond__play:hover { background: currentColor; }
.tvdiamond__play:hover span, .tvdiamond__play:hover svg { color: #0E0F12; fill: #0E0F12; }
html[data-tone="dark"] .tvdiamond__play:hover span { color: #F2F0EB; }
.tvdiamond__play svg { width: .8em; height: .9em; fill: currentColor; }
.tvdiamond__play { font-size: clamp(10px, 4.4cqi, 15px) !important; }
.tvdiamond__inner > svg:first-child { width: clamp(22px, 10cqi, 40px); height: auto; aspect-ratio: 200 / 240; }
.tvdiamond__wave { width: 70%; height: clamp(22px, 10cqi, 40px); margin-top: 2px; opacity: .75; }

.prolog-intro {
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end;
}
.prolog-intro .display--m { line-height: .92; }
.prolog-intro__text { display: grid; gap: 28px; }
.prolog-intro__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative; padding: 22px 0;
}
.marquee__label {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2;
  background: var(--bg); padding: 6px 22px 6px var(--gutter);
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
}
.marquee__track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--f-display); font-size: clamp(30px, 3vw, 48px); text-transform: uppercase;
  white-space: nowrap; padding-left: 280px;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track span::after { content: ""; width: 9px; height: 14px; background: var(--ink-3); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes marquee { to { transform: translateX(-50%); } }

.doors { padding: clamp(80px, 12vh, 140px) 0; }
.doors__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.doors__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.door {
  position: relative; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 24px 26px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; isolation: isolate; container-type: inline-size;
  transition: color .5s var(--ease);
}
.door::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path .7s var(--ease-io);
}
.door:hover { color: var(--bg); }
.door:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.door__n { font-family: var(--f-ui); font-size: 12px; letter-spacing: .3em; }
/* 21.2cqi: „Soundscapes“ (4.716em breit) füllt die Kachel bis auf den Innenabstand, links und rechts gleich */
.door__t { font-family: var(--f-display); font-size: 21.2cqi; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.door__d { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 8cqi, 24px); line-height: 1.3; opacity: .85; margin-top: 12px; min-height: 2.6em; }
.door__glyph { width: 54px; height: 54px; opacity: .9; }
.door__glyph * { stroke: currentColor; fill: none; stroke-width: 1.2; }

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 18px 0; margin-bottom: 8px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  appearance: none; cursor: pointer; border: 1px solid var(--line-2); background: transparent;
  font-family: var(--f-ui); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-2); padding: 9px 14px 8px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-size: 9px; margin-left: 4px; opacity: .7; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.archive-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.toggle { display: inline-flex; gap: 10px; align-items: center; cursor: pointer;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle i { width: 34px; height: 16px; border: 1px solid var(--line-2); position: relative; transition: background .3s; }
.toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; background: var(--ink-3);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: left .35s var(--ease), background .3s; }
.toggle input:checked + i { background: var(--ink); }
.toggle input:checked + i::after { left: 20px; background: var(--bg); }
.toggle input:focus-visible + i { outline: 1px solid var(--ink); outline-offset: 3px; }
.search {
  border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-family: var(--f-ui); font-size: 14px; letter-spacing: .12em; padding: 8px 2px; width: 180px;
}
.search::placeholder { color: var(--ink-3); text-transform: uppercase; letter-spacing: .2em; font-size: 11.5px; }
.search:focus { outline: none; border-color: var(--ink); }

.tracks { list-style: none; margin: 0; padding: 0 0 120px; }
.track {
  display: grid; grid-template-columns: 44px 64px minmax(160px, 1.2fr) minmax(200px, 2fr) auto;
  gap: 22px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.track::before {
  content: ""; position: absolute; inset: 0 -14px; z-index: -1;
  background: var(--bg-2); opacity: 0; transition: opacity .3s;
}
.track:hover::before, .track.is-playing::before { opacity: 1; }
.track__n { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.track__cover { width: 64px; height: 64px; position: relative; overflow: hidden; background: var(--bg-2); }
.track__cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.gencover { width: 100%; height: 100%; position: relative; display: grid; place-items: center;
  background: var(--sheen-soft); background-size: 200% 200%; }
.gencover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 40%, rgba(0,0,0,.18)); }
.gencover svg { width: 46%; height: auto; position: relative; z-index: 1; }
.gencover svg path { fill: var(--ink); }
.gencover--big svg { width: 34%; }
.track__play {
  position: absolute; inset: 0; z-index: 3; appearance: none; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--black) 55%, transparent); color: #fff;
  display: grid; place-items: center; opacity: 0; transition: opacity .3s;
}
.track__play svg { width: 16px; height: 18px; fill: currentColor; }
.track:hover .track__play, .track.is-playing .track__play, .track__play:focus-visible { opacity: 1; }
.track__title { display: grid; gap: 4px; min-width: 0; }
.track__title strong {
  font-family: var(--f-bodoni); font-weight: 500; text-transform: uppercase;
  font-size: clamp(20px, 1.8vw, 27px); line-height: 1.05; letter-spacing: .06em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.track__meta { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.onair {
  display: inline-flex; align-items: center; gap: 6px; color: var(--ink);
  border: 1px solid var(--line-2); padding: 2px 7px 1px; font-size: 10px; letter-spacing: .22em;
}
.onair::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.wave { width: 100%; height: 44px; cursor: pointer; position: relative; }
.wave svg { width: 100%; height: 100%; }
.wave rect { fill: var(--ink-3); opacity: .5; }
.wave .wave__fg rect { fill: var(--ink); opacity: 1; }
.wave__fg { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.wave--none {
  font-family: var(--f-serif); font-style: italic; color: var(--ink-3); font-size: 17px;
  display: flex; align-items: center; gap: 12px; cursor: default;
}
.wave--none::before { content: ""; flex: 1; max-width: 120px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.track__actions { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.track__dur { font-family: var(--f-ui); font-size: 13px; letter-spacing: .12em; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.track__details {
  grid-column: 3 / -1; display: none;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 30px;
  padding: 10px 0 6px;
}
.track.is-open .track__details { display: grid; }
.dl { display: grid; gap: 2px; }
.dl dt { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.dl dd { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.45; }
.dl--wide { grid-column: 1 / -1; }
.empty {
  padding: 60px 0 140px; display: grid; gap: 24px; justify-items: start; max-width: 620px;
}
.empty .lead { max-width: 34ch; }

/* ============================================================
   SYNCS
   ============================================================ */
.syncs-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; padding-bottom: 40px; }
.matrix-wrap { padding: 40px 0 30px; }
.matrix-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.matrix-head small { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--ink-3); }
.matrix { width: 100%; height: auto; overflow: visible; }
.matrix .m-line { fill: none; stroke: var(--ink-3); stroke-width: 1; opacity: .35; transition: opacity .3s, stroke .3s, stroke-width .3s; }
.matrix .m-line.hot { stroke: var(--ink); opacity: 1; stroke-width: 1.6; }
.matrix .m-line.dim { opacity: .06; }
.matrix .m-node text { font-family: var(--f-ui); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-2); }
.matrix .m-node.t text { font-family: var(--f-bodoni); font-weight: 500; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.matrix .m-node path { fill: var(--ink); }
.matrix .m-node { cursor: pointer; }
.matrix .m-node.dim text { opacity: .25; }
.matrix .m-node.hot text { fill: var(--ink); }

.wall { padding: 60px 0; }
.wall__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 24px; }
.wall__cell {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--f-ui); font-weight: 600; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: .12em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.wall__cell small { font-weight: 400; font-size: 10px; letter-spacing: .28em; color: var(--ink-3); }
.wall__cell::after {
  content: ""; position: absolute; right: 14px; top: 14px; width: 8px; height: 12px; background: var(--ink-3);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: .5;
}
.record { padding: 40px 0 140px; }
.year {
  display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 30px;
  border-top: 1px solid var(--line-2); padding: 34px 0;
}
.year__n { font-family: var(--f-display); font-size: clamp(56px, 7vw, 110px); line-height: .8; position: sticky; top: 30px; align-self: start; }
.year__list { list-style: none; margin: 0; padding: 0; }
.year__list li {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.year__list li:last-child { border-bottom: 0; }
.show { font-size: 17px; color: var(--ink); line-height: 1.35; }
.chs { font-family: var(--f-ui); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); grid-column: 1; }
.tk { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tk button, .tk span {
  appearance: none; border: 1px solid var(--line-2); background: none; cursor: default;
  font-family: var(--f-bodoni); font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 11px 6px; color: var(--ink); line-height: 1;
}
.tk button { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tk button svg { width: 7px; height: 8px; fill: currentColor; }
.tk button:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   COMPOSER
   ============================================================ */
.composer-hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px);
  align-items: center; padding: clamp(100px, 14vh, 150px) 0 60px;
}
.composer-hero__name .display { font-size: clamp(54px, 7.4vw, 128px); }
.composer-hero__name { display: grid; gap: 26px; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  width: 100%; max-height: 84vh; justify-self: end; max-width: calc(84vh * .8);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 100%, 0 100%);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
  background: var(--bar); color: var(--bar-ink); padding: 6px 10px 5px;
}
.movement { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 70px 0; border-top: 1px solid var(--line); }
.movement__n { font-family: var(--f-display); font-size: 64px; line-height: .8; color: var(--ink-3); }
.movement__b { display: grid; gap: 22px; max-width: 760px; }
.movement__b h3 { margin: 0; }
.pull {
  margin: 0; padding: 70px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 120px 1fr; gap: 30px;
}
.pull blockquote {
  margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 3.6vw, 56px); line-height: 1.14; max-width: 22ch; text-wrap: balance;
}
.pull blockquote::before { content: "„"; }
.pull blockquote::after { content: "“"; }
html[lang="en"] .pull blockquote::before { content: "“"; }
html[lang="en"] .pull blockquote::after { content: "”"; }
.pull cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--f-ui); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 30px 0 0; }
.facts div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 20px 26px; display: grid; gap: 10px; align-content: start; }
.facts dt { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.45; }
.vision {
  margin: 100px 0 140px; padding: clamp(40px, 6vw, 90px);
  position: relative; isolation: isolate; overflow: hidden;
  color: #0E0F12;
}
.vision::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nacre); background-size: 220% 220%; animation: sheen2 16s ease-in-out infinite alternate; }
.vision .eyebrow { color: #44464C; }
.vision .eyebrow::before { background: #0E0F12; }
.vision blockquote { margin: 26px 0 0; font-family: var(--f-bodoni); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.6vw, 58px); line-height: 1.12; max-width: 22ch; text-wrap: balance; }
.vision cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--f-ui); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
.vision__sigil { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .16; z-index: -1; }

/* ============================================================
   LICENSE
   ============================================================ */
.lic-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 46px; }
.lic-facts > span {
  border: 1px solid var(--line-2); padding: 10px 16px 9px;
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.lic-facts b { color: var(--ink); font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.tiles[hidden] { display: none; }
.tile {
  appearance: none; cursor: pointer; text-align: left; background: transparent;
  border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 26px; min-height: 210px; position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; color: var(--ink);
  transition: color .5s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  clip-path: circle(0% at 100% 0%); transition: clip-path .8s var(--ease-io); }
.tile:hover, .tile:focus-visible { color: var(--bg); }
.tile:hover::before, .tile:focus-visible::before { clip-path: circle(150% at 100% 0%); }
.tile__n { font-family: var(--f-display); font-size: 44px; line-height: .8; }
.tile__i { position: absolute; right: 24px; top: 26px; width: 30px; height: 30px; }
.tile__i * { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tile__t { font-family: var(--f-ui); font-weight: 600; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.panel { border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: clamp(22px, 3vw, 44px); margin-top: 0; }
.panel[hidden] { display: none; }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.panel__head h3 { margin: 6px 0 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.fsec { grid-column: 1 / -1; font-family: var(--f-ui); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3);
  padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.fsec:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field .req { color: var(--ink); }
.field .opt { color: var(--ink-3); text-transform: none; letter-spacing: .05em; font-size: 12px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 2px; font-family: var(--f-body); font-size: 16px;
  transition: border-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.field select option { background: var(--bg); color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; border: 1px solid var(--line-2); padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #8b2b2b; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks label {
  border: 1px solid var(--line-2); padding: 8px 12px 7px; cursor: pointer;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.checks input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.checks input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 2px; }
.consent { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 6px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: currentColor; width: 15px; height: 15px; flex: none; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.status { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lic-lower { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin: 70px 0 0; }
.contact-card { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 40px); background: var(--bar); color: var(--bar-ink); container-type: inline-size; }
.contact-card .eyebrow { color: var(--bar-ink); opacity: .7; }
.contact-card .eyebrow::before { background: var(--bar-ink); }
.bodoni-head { font-family: var(--f-bodoni); font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: .04em; line-height: 1.1; }
.contact-card a { font-family: var(--f-bodoni); font-weight: 400; font-size: min(34px, 8.7cqi); text-decoration: none; line-height: 1.1; white-space: nowrap; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-card p { margin: 0; font-size: 15px; opacity: .8; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line); padding: 34px 0 120px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3);
}
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__k { color: var(--ink-2); }
.listen { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; margin: 18px 0 0;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.listen a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.listen a:hover { border-color: var(--ink); }

/* ============================================================
   PLAYER
   ============================================================ */
.player {
  position: fixed; left: calc(var(--rail) + 24px); right: 24px; bottom: 18px; z-index: 50;
  display: grid; grid-template-columns: auto auto 1fr auto auto; gap: 18px; align-items: center;
  padding: 12px 16px 12px 12px;
  background: color-mix(in srgb, var(--black) 88%, transparent);
  color: #EEECE7; border: 1px solid rgba(238,236,231,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(140%); transition: transform .7s var(--ease);
}
html[data-tone="dark"] .player { background: color-mix(in srgb, #F2F0EB 92%, transparent); color: #0E0F12; border-color: rgba(14,15,18,.16); }
body.has-player .player { transform: none; }
.player__btn { appearance: none; border: 0; background: currentColor; cursor: pointer;
  width: 46px; height: 46px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform .3s var(--ease); }
.player__btn svg { width: 13px; height: 14px; fill: #0A0B0D; }
html[data-tone="dark"] .player__btn svg { fill: #F2F0EB; }
.player__btn:hover { transform: scale(1.08); }
.player__info { display: grid; gap: 2px; min-width: 0; }
.player__info small { font-family: var(--f-ui); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.player__info strong { font-family: var(--f-bodoni); font-weight: 500; font-size: 21px; letter-spacing: .06em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.player__wave { height: 34px; cursor: pointer; position: relative; }
.player__wave svg { width: 100%; height: 100%; }
.player__wave rect { fill: currentColor; opacity: .3; }
.player__wave .wave__fg rect { opacity: 1; }
.player__time { font-family: var(--f-ui); font-size: 12px; letter-spacing: .14em; font-variant-numeric: tabular-nums; opacity: .8; }
.player__actions { display: flex; gap: 10px; align-items: center; }
.player__lic { appearance: none; cursor: pointer; border: 1px solid currentColor; background: none; color: inherit;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding: 9px 12px 8px; }
.player__lic:hover { background: currentColor; }
.player__lic:hover span { color: #0A0B0D; }
html[data-tone="dark"] .player__lic:hover span { color: #F2F0EB; }
.player__x { appearance: none; border: 0; background: none; color: inherit; cursor: pointer; opacity: .6; padding: 6px; }
.player__x:hover { opacity: 1; }
.player__x svg { width: 12px; height: 12px; stroke: currentColor; }

/* ============================================================
   INDEX OVERLAY (the weird menu)
   ============================================================ */
.index {
  position: fixed; inset: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr; align-content: center;
  padding: 90px var(--gutter) 60px calc(var(--rail) + var(--gutter));
  background: color-mix(in srgb, var(--black) 78%, transparent);
  color: #EEECE7;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s;
}
.index.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.index__close {
  position: absolute; top: 24px; right: 28px; appearance: none; cursor: pointer;
  border: 1px solid rgba(238,236,231,.4); background: none; color: inherit;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; padding: 9px 14px 8px;
}
.index__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.index__item a {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid rgba(238,236,231,.12);
  text-decoration: none; color: inherit;
}
.index__n { font-family: var(--f-ui); font-size: 12px; letter-spacing: .3em; opacity: .5; }
.index__t {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(42px, 7.6vh, 96px); line-height: .9;
  display: inline-block; transition: opacity .4s var(--ease);
}
.index__list:hover .index__t { opacity: .38; }
.index__list .index__item a:hover .index__t, .index__list .index__item a:focus-visible .index__t { opacity: 1; }
.index__s { font-family: var(--f-ui); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: 0; transition: opacity .4s; text-align: right; }
.index__item a:hover .index__s, .index__item a:focus-visible .index__s { opacity: .7; }
.index__item.current .index__n::after { content: " ●"; }
.index__foot { margin-top: 34px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; }
@media (min-width: 1024px) { body.index-open .rail { z-index: 75; } }
body.index-open #shards { z-index: 72; }
body.index-open .hud--tr { z-index: 74; }
@media (min-width: 1024px) { .index__close { display: none; } }
.index { background: color-mix(in srgb, var(--black) 94%, transparent); }

/* ============================================================
   INTRO SEQUENCE (first load)
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #0A0B0D; color: #EEECE7;
  display: grid; place-items: center; text-align: center;
  transition: opacity 1s var(--ease), visibility 0s 1s;
}
.intro.done { opacity: 0; visibility: hidden; }
.intro__logo {
  display: block; width: min(640px, 78vw); height: auto; margin: 0 auto;
  opacity: 0; filter: blur(10px); transform: scale(1.06);
  animation: introLogo 2.6s var(--ease) .15s forwards;
}
.intro__by {
  margin-top: clamp(18px, 2.4vw, 30px);
  font-family: var(--f-ui); font-weight: 500; text-transform: uppercase;
  font-size: clamp(11px, 1vw, 14px); letter-spacing: .5em; padding-left: .5em;
  color: rgba(238,236,231,.72);
  opacity: 0; animation: introBy 1.6s var(--ease) 1.1s forwards;
}
.intro__bar { width: min(260px, 60vw); height: 1px; background: rgba(238,236,231,.18); margin: 34px auto 0; position: relative; overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: #EEECE7; transform: scaleX(0); transform-origin: left; animation: introBar 2.2s var(--ease-io) .3s forwards; }
@keyframes introLogo {
  0%   { opacity: 0; filter: blur(10px); transform: scale(1.06); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes introBy {
  from { opacity: 0; letter-spacing: .9em; padding-left: .9em; }
  to   { opacity: 1; letter-spacing: .5em; padding-left: .5em; }
}
@keyframes introBar { to { transform: scaleX(1); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .tvdiamond { display: none; }
  .doors__grid { grid-template-columns: repeat(2, 1fr); }
  .door { min-height: 260px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  :root { --rail: 0px; }
  .rail {
    top: 0; bottom: auto; right: 0; width: 100%; height: 64px;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 16px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .rail__brand { display: flex; align-items: center; gap: 12px; }
  .rail__sigil { width: 26px; height: 31px; margin: 0; }
  .rail__word { width: 118px; }
  .rail__tag, .rail__manifest, .rail__nav, .rail__foot .tc { display: none; }
  .rail__foot { margin: 0; display: flex; align-items: center; gap: 12px; }
  .rail__foot .lang button { padding: 9px 11px 8px; min-width: 36px; min-height: 36px; }
  .hud--tr { top: 13px; right: 16px; z-index: 45; }
  .hud--tr .hud__badge { display: none; }
  .hud__index { padding: 10px 14px 9px; min-height: 38px; }
  .rail__foot { margin-right: 100px; }
  .hud--br { display: none; }
  .edge { display: none; }
  .stage { padding-top: 64px; }
  .player { left: 10px; right: 10px; bottom: 10px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .player__wave { grid-column: 1 / -1; grid-row: 2; height: 26px; }
  .player__time { display: none; }
  .index { padding: 90px 16px 40px; z-index: 80; }
  .index__item a { grid-template-columns: 34px 1fr; }
  .index__r { display: none; }
  body.index-open #shards { opacity: .28 !important; }
  .index__s { display: none; }
}
@media (max-width: 860px) {
  .prolog-intro, .syncs-intro, .composer-hero, .lic-lower { grid-template-columns: 1fr; }
  .composer-hero { min-height: 0; }
  .track { grid-template-columns: 52px 1fr auto; gap: 12px 14px; }
  .track__n { display: none; }
  .track__cover { width: 52px; height: 52px; }
  .track .wave { grid-column: 1 / -1; grid-row: 2; height: 34px; }
  .track__details { grid-column: 1 / -1; }
  .wall__grid { grid-template-columns: repeat(2, 1fr); }
  .year { grid-template-columns: 1fr; gap: 10px; }
  .year__n { position: static; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .movement, .pull { grid-template-columns: 1fr; gap: 14px; }
  .movement__n { font-size: 44px; }
  .archive-bar { position: static; }
  .search { width: 100%; }
  .archive-tools { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
  .doors__grid, .tiles, .facts { grid-template-columns: 1fr; }
  .door { min-height: 200px; }
  .tile { min-height: 150px; }
  .wall__grid { grid-template-columns: 1fr 1fr; }
  .wall__cell { padding: 18px 14px; min-height: 92px; }
  .year__list li { grid-template-columns: 1fr; }
  .track__actions { grid-column: 1 / -1; justify-content: flex-start; gap: 20px; }
  .track__dur { text-align: left; min-width: 0; }
  .tk { grid-row: auto; grid-column: 1; justify-content: flex-start; }
  .marquee__track { padding-left: 200px; }
  .prolog-hero__mark { width: 92%; }
  .rail__word { width: 100px; }
  .rail__foot { margin-right: 92px; }
  .player__info strong { max-width: 150px; font-size: 18px; }
  .player__lic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .marquee__track { animation: none; }
}

/* ============================================================
   Lesbarkeit pro Bildschirmgröße (06.10.2026)
   ============================================================ */
@media (min-width: 1600px) {
  .eyebrow { font-size: 13px; }
  .navlink { font-size: 14px; }
  .navlink__s, .navlink__n { font-size: 11px; }
  .hud, .tc { font-size: 11.5px; }
  .door__n { font-size: 13px; }
  .lead { font-size: clamp(24px, 1.9vw, 34px); }
}
@media (max-width: 1023px) {
  /* Prolog mobil: kein Scroll-Hinweis, Aufzählung mittig ohne Raute */
  .scrollcue { display: none; }
  .prolog-hero__base { justify-content: center; padding-bottom: 28px; }
  .prolog-hero__base .eyebrow { display: block; text-align: center; line-height: 2; font-size: 12.5px; }
  .prolog-hero__base .eyebrow::before { display: none; }
}
@media (max-width: 860px) {
  /* Vier Kapitel mobil: ohne römische Zahl, größere Schrift */
  .door__n { display: none; }
  .door { min-height: 0; gap: 22px; padding: 30px 24px 32px; }
  .door__d { min-height: 0; font-size: clamp(19px, 6.4cqi, 24px); }
  .player__info strong { font-size: 18px; }
}
/* Schriftzug im Prolog weicht der Legends-Raute aus (Abstand auf jeder Breite) */
@media (min-width: 1181px) { .prolog-hero__mark { width: min(620px, calc(59.2vw - 296px)); } }
@media (min-width: 1700px) { .prolog-hero__mark { width: min(620px, calc(53.2vw - 296px)); } }
