/* ==========================================================================
   Offkey.Studio — „Vom Rauschen zum Signal“
   Bildsprache: Tontechnik & Messinstrumente. Farbwelt unverändert:
   Anthrazit, Off-White, Creme. Keine externen Requests.
   ========================================================================== */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/space-grotesk-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/space-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-mono-700.woff2') format('woff2'); }

:root {
  --ink: #1A1D20;
  --ink-2: #15171A;
  --panel: #23272B;
  --panel-2: #2A2F34;
  --line: #343A3E;
  --hair: rgba(245, 244, 241, .09);
  --bone: #F5F4F1;
  --muted: #A0A6AC;
  --faint: #8F959B;
  --cream: #F1EDE5;
  --paper: #F9F6F0;
  --cream-line: #DBD5C9;
  --cream-muted: #545A60;

  --sans: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --text: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --snap: cubic-bezier(.5, 0, .1, 1);

  --maxw: 1360px;
  --pad: clamp(16px, 3.6vw, 48px);
  --bar-h: 68px;
  --r: 10px;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--bone); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.on-cream :focus-visible, .paper :focus-visible, .lcd :focus-visible, .screen :focus-visible { outline-color: var(--ink); }
main { overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip { position: fixed; z-index: 300; left: 12px; top: 12px; padding: .7rem 1rem; background: var(--bone); color: var(--ink); font-family: var(--mono); font-size: .8rem; border-radius: 6px; transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* Konsolen-Raster im Hintergrund */
.guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; }
@media (min-width: 1000px) {
  .guides { display: block; }
  .guides::before { content: ''; position: absolute; top: 0; bottom: 0; left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); right: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); background: repeating-linear-gradient(90deg, rgba(245,244,241,.03) 0 1px, transparent 1px calc(100% / 12)); border-right: 1px solid rgba(245,244,241,.03); }
}
main, .bar, .foot { position: relative; z-index: 1; }
.bar { position: fixed; }

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.mono--s { font-size: .68rem; }
.t-mega { font-size: clamp(2.9rem, 9.4vw, 9rem); line-height: .9; letter-spacing: -.055em; font-weight: 700; }
.t-xl { font-size: clamp(2.5rem, 6.6vw, 6.2rem); line-height: .94; letter-spacing: -.05em; font-weight: 700; }
.t-l { font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.t-m { font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.t-s { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.4rem); line-height: 1.5; letter-spacing: -.012em; }
.copy { color: var(--muted); line-height: 1.7; }
.copy p + p { margin-top: .9em; }
.copy b, .copy strong { color: var(--bone); font-weight: 600; }
.dim { color: var(--faint); }
.mut { color: var(--muted); }
.on-cream .copy, .paper .copy, .lcd .copy, .screen .copy { color: var(--cream-muted); }
.on-cream .copy b, .lcd .copy b, .on-cream .copy strong { color: var(--ink); }
.on-cream .dim, .paper .dim, .lcd .dim { color: #6a7076; }
.balance { text-wrap: balance; }

/* Verstimmte Buchstaben, die sich einstimmen */
.tw { display: inline-block; white-space: nowrap; }
.tl { display: inline-block; transition: transform 1s var(--ease), opacity .6s ease; transition-delay: calc(var(--i, 0) * 16ms); }
.js [data-tune]:not(.is-tuned) .tl { transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg)); opacity: .5; }

/* Wellen-Unterstreichung */
.wlink { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding-bottom: 7px; font-weight: 500; }
.wlink::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; opacity: .45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6'%3E%3Cpath d='M0 3 Q 6 0 12 3 T 24 3' fill='none' stroke='%23F5F4F1' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 6px;
  transition: opacity .3s;
}
.wlink:hover::after, .wlink:focus-visible::after { opacity: 1; animation: wave .6s linear infinite; }
.on-cream .wlink::after, .paper .wlink::after, .lcd .wlink::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6'%3E%3Cpath d='M0 3 Q 6 0 12 3 T 24 3' fill='none' stroke='%231A1D20' stroke-width='1.2'/%3E%3C/svg%3E"); }
@keyframes wave { to { background-position: 24px 0; } }
.wlink svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Reveal: „Signal rastet ein“
   -------------------------------------------------------------------------- */
.js [data-in] { opacity: 0; }
.js [data-in].is-in { animation: lock .7s linear both, settle .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes lock { 0% { opacity: 0; } 12% { opacity: .55; } 22% { opacity: .15; } 34% { opacity: .85; } 46% { opacity: .5; } 58%, 100% { opacity: 1; } }
@keyframes settle { 0% { transform: translateX(-10px); } 20% { transform: translateX(7px); } 40% { transform: translateX(-3px); } 60%, 100% { transform: none; } }

/* --------------------------------------------------------------------------
   Tasten (Buttons)
   -------------------------------------------------------------------------- */
.key {
  --k-bg: var(--bone); --k-fg: var(--ink); --k-edge: #b9b5ab;
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  min-height: 54px; padding: 0 1rem 0 1.3rem; border-radius: var(--r);
  background: var(--k-bg); color: var(--k-fg);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 5px 0 var(--k-edge), 0 14px 24px -12px rgba(0,0,0,.6);
  transition: transform .12s ease, box-shadow .12s ease, background .25s;
}
.key:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--k-edge), 0 18px 28px -12px rgba(0,0,0,.6); }
.key:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--k-edge), 0 6px 12px -8px rgba(0,0,0,.6); }
.key__hint { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px currentColor; font-family: var(--mono); font-size: .72rem; opacity: .55; }
.key--dark { --k-bg: var(--panel-2); --k-fg: var(--bone); --k-edge: #0e1012; }
.key--line { --k-bg: transparent; --k-fg: var(--bone); box-shadow: inset 0 0 0 1px rgba(245,244,241,.28); }
.key--line:hover { box-shadow: inset 0 0 0 1px var(--bone); }
.key--line:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px var(--bone); }
.key--sm { min-height: 42px; font-size: .9rem; padding: 0 .8rem 0 1rem; gap: .6rem; }
.key--sm .key__hint { min-width: 22px; height: 22px; font-size: .64rem; }
.key--xl { min-height: 72px; font-size: 1.15rem; padding: 0 1.3rem 0 1.8rem; }
.key[disabled] { opacity: .6; pointer-events: none; }
.on-cream .key:not(.key--line), .lcd .key:not(.key--line), .screen .key:not(.key--line) { --k-bg: var(--ink); --k-fg: var(--bone); --k-edge: #000; }
.on-cream .key--line { --k-fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(26,29,32,.3); }
.keys { display: flex; flex-wrap: wrap; gap: 16px 16px; align-items: center; }

/* --------------------------------------------------------------------------
   Kopfleiste mit Senderskala
   -------------------------------------------------------------------------- */
.bar { inset: 0 0 auto; z-index: 60; height: var(--bar-h); background: rgba(26,29,32,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.bar__in { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.32rem; flex: none; }
.brand__mark { width: 24px; height: 24px; flex: none; transition: transform .6s var(--snap); }
.brand:hover .brand__mark { transform: rotate(-35deg); }
.brand__mark circle, .brand__mark line { fill: none; stroke: currentColor; stroke-linecap: round; }
.wm { display: inline-flex; align-items: baseline; gap: .05em; white-space: nowrap; line-height: 1; }
.wm b { font-weight: 700; letter-spacing: -.03em; }
.wm span { font-weight: 400; font-size: .62em; opacity: .7; }

.dial { position: relative; flex: 1; height: 100%; display: flex; align-items: center; justify-content: space-between; padding-inline: 22px; min-width: 0; }
.dial::before { content: ''; position: absolute; left: 0; right: 0; bottom: 11px; height: 7px; background: repeating-linear-gradient(90deg, rgba(245,244,241,.2) 0 1px, transparent 1px 9px); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dial::after { content: ''; position: absolute; left: 0; right: 0; bottom: 11px; height: 13px; background: repeating-linear-gradient(90deg, rgba(245,244,241,.35) 0 1px, transparent 1px 54px); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.dial__item { position: relative; z-index: 1; padding: 0 2px 14px; font-size: .88rem; color: var(--muted); transition: color .25s; white-space: nowrap; line-height: 1.2; }
.dial__item small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; color: var(--faint); margin-bottom: 2px; }
.dial__item:hover, .dial__item[aria-current="page"] { color: var(--bone); }
.dial__needle { position: absolute; z-index: 2; bottom: 4px; left: 0; width: 2px; height: 34px; background: var(--bone); border-radius: 2px; transform: translateX(var(--nx, -20px)); transition: transform .6s var(--snap), opacity .3s; opacity: 0; box-shadow: 0 0 12px rgba(245,244,241,.7); pointer-events: none; }
.dial.has-needle .dial__needle { opacity: 1; }
.dial__needle::after { content: ''; position: absolute; left: -3px; bottom: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--bone); }

.lang { display: inline-flex; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(245,244,241,.2); padding: 3px; gap: 2px; flex: none; }
.lang a { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; padding: .4rem .55rem; border-radius: 6px; color: var(--faint); line-height: 1; }
.lang a[aria-current="true"] { background: var(--bone); color: var(--ink); }
.lang a:not([aria-current="true"]):hover { color: var(--bone); }
.bar__cta, .bar__menu { flex: none; }
.bar__menu { display: none; }
@media (max-width: 1180px) {
  .dial { display: none; }
  .bar__in > .lang { margin-left: auto; }
  .bar__menu { display: inline-flex; }
}
@media (max-width: 640px) { .bar__cta { display: none; } }

/* Mobiles Menü: Senderliste als Schublade */
.sheet { position: fixed; z-index: 70; inset: auto 0 0 0; max-height: 88svh; overflow: auto; background: var(--panel); border-top: 1px solid var(--hair); border-radius: 18px 18px 0 0; padding: 12px var(--pad) 26px; transform: translateY(105%); transition: transform .5s var(--snap), visibility 0s .5s; visibility: hidden; }
.sheet.is-open { transform: none; visibility: visible; transition: transform .5s var(--snap); }
.sheet__grip { width: 44px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); padding-bottom: 8px; }
.sheet__list a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--hair); font-size: clamp(1.25rem, 5vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; }
.sheet__list a small { font-family: var(--mono); font-size: .68rem; color: var(--faint); font-weight: 400; letter-spacing: .06em; }
.sheet__list a[aria-current="page"]::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 10px var(--bone); }
.sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 20px; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(10,11,13,.6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }

/* --------------------------------------------------------------------------
   Kanal-Kopf (Sektionsmarke) mit VU-Anzeige
   -------------------------------------------------------------------------- */
.ch { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: clamp(28px, 4vw, 56px); }
.ch__id { color: var(--bone); }
.ch__name { flex: 1; }
.vu { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.vu i { width: 3px; height: 100%; background: currentColor; transform-origin: bottom; transform: scaleY(.2); opacity: .8; }
.is-live .vu i { animation: vu 1.1s ease-in-out infinite alternate; }
.vu i:nth-child(2) { animation-delay: -.3s !important; } .vu i:nth-child(3) { animation-delay: -.6s !important; } .vu i:nth-child(4) { animation-delay: -.15s !important; } .vu i:nth-child(5) { animation-delay: -.8s !important; }
@keyframes vu { 0% { transform: scaleY(.2); } 40% { transform: scaleY(.9); } 70% { transform: scaleY(.45); } 100% { transform: scaleY(.75); } }
.on-cream .ch { border-color: var(--cream-line); color: #6a7076; }
.on-cream .ch__id { color: var(--ink); }

.sec { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.sec--tight { padding-block: clamp(56px, 7vw, 100px); }
.sec--deep { background: var(--ink-2); }
.on-cream { background: var(--cream); color: var(--ink); }
.split { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 980px) { .split { grid-template-columns: 5fr 7fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev { grid-template-columns: 7fr 5fr; } .split--end { align-items: end; } .split--center { align-items: center; } }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.25rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: clamp(36px, 4.5vw, 60px); } .mt-5 { margin-top: clamp(56px, 7vw, 100px); }
.mw-s { max-width: 34rem; } .mw-m { max-width: 46rem; } .mw-l { max-width: 62rem; }

/* --------------------------------------------------------------------------
   HERO mit Oszilloskop
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--bar-h) + clamp(24px, 4vh, 56px)); padding-bottom: clamp(24px, 4vh, 44px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.scope { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__grid { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(rgba(245,244,241,.04) 1px, transparent 1px) 0 0 / 100% 12.5%,
  linear-gradient(90deg, rgba(245,244,241,.04) 1px, transparent 1px) 0 0 / 6.25% 100%;
  -webkit-mask: radial-gradient(ellipse 85% 70% at 60% 58%, #000 30%, transparent 85%); mask: radial-gradient(ellipse 85% 70% at 60% 58%, #000 30%, transparent 85%); }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; }
.hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); }
.hero__top .live { display: inline-flex; align-items: center; gap: .6rem; color: var(--bone); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 4px rgba(245,244,241,.12); animation: blink 1.6s steps(2, start) infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }
.hero__title { margin-top: clamp(24px, 5vh, 64px); max-width: 13ch; }
.hero__foot { margin-top: auto; padding-top: clamp(28px, 5vh, 56px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 980px) { .hero__foot { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__sub { max-width: 30ch; font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.32; letter-spacing: -.02em; font-weight: 500; }
.hero__text { margin-top: .9rem; max-width: 46ch; color: var(--muted); }

/* Regler „Rauschen ↔ Signal“ */
.tuner { padding: 16px 18px 14px; border-radius: 14px; background: rgba(21,23,26,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--hair); }
.tuner__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--faint); }
.tuner__val { color: var(--bone); font-variant-numeric: tabular-nums; }
.tuner__scale { position: relative; height: 36px; margin-top: 10px; }
.tuner__scale::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(245,244,241,.35) 0 1px, transparent 1px 10%) 0 0 / 100% 12px no-repeat, repeating-linear-gradient(90deg, rgba(245,244,241,.15) 0 1px, transparent 1px 2%) 0 6px / 100% 6px no-repeat; }
.tuner input { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 24px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: ew-resize; }
.tuner input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--bone) var(--v, 100%), var(--line) var(--v, 100%)); }
.tuner input::-moz-range-track { height: 2px; background: var(--line); }
.tuner input::-moz-range-progress { height: 2px; background: var(--bone); }
.tuner input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -12px; border-radius: 4px; background: var(--bone); box-shadow: 0 0 0 4px rgba(245,244,241,.15), 0 0 14px rgba(245,244,241,.5); }
.tuner input::-moz-range-thumb { width: 14px; height: 26px; border: 0; border-radius: 4px; background: var(--bone); box-shadow: 0 0 14px rgba(245,244,241,.5); }
.tuner__ends { display: flex; justify-content: space-between; margin-top: 8px; color: var(--faint); }
.hero__keys { margin-top: 0; }
@media (min-width: 980px) { .hero__keys { justify-content: flex-end; } }

/* --------------------------------------------------------------------------
   01 · Rauschen → Ordnung
   -------------------------------------------------------------------------- */
.noise__stage { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.noise__frags { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; max-width: 900px; margin: 0 auto 48px; }
.frag { white-space: nowrap; font-weight: 600; letter-spacing: -.02em; color: var(--muted); font-size: clamp(1rem, 2vw, 1.55rem); }
.frag--mono { font-family: var(--mono); font-weight: 400; font-size: clamp(.7rem, 1vw, .86rem); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.noise__out { text-align: center; }
.noise__out h2 { max-width: 15ch; margin-inline: auto; }
.noise__meta { display: flex; justify-content: center; gap: 16px; align-items: center; margin-top: 22px; color: var(--faint); }
.noise__meter { width: 140px; height: 2px; background: var(--line); position: relative; }
.noise__meter i { position: absolute; inset: 0; background: var(--bone); transform-origin: left; transform: scaleX(var(--np, 1)); }
/* aktive Szene (nur mit JS und Bewegung) */
.has-scene .noise { height: 280vh; }
.has-scene .noise__stage { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.has-scene .noise__frags { position: absolute; inset: 0; display: block; max-width: none; margin: 0; }
.has-scene .frag { position: absolute; left: 0; top: 0; will-change: transform, opacity, filter; }
.has-scene .noise__out { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 var(--pad); pointer-events: none; }
.has-scene .noise__meta { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0; }

/* --------------------------------------------------------------------------
   02 · Equalizer
   -------------------------------------------------------------------------- */
.eq { display: grid; gap: 14px; }
@media (min-width: 900px) { .eq { grid-template-columns: repeat(3, 1fr); } }
.eq__col { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 22px; padding: 26px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); transition: background .4s; }
.eq__col:hover { background: var(--panel-2); }
.leds { display: flex; flex-direction: column-reverse; gap: 4px; min-height: 220px; }
.led { flex: 1; min-height: 8px; border-radius: 2px; background: rgba(245,244,241,.07); transition: background .2s, box-shadow .2s; }
.led.on { background: var(--bone); box-shadow: 0 0 8px rgba(245,244,241,.4); }
.led.on.pk { background: var(--cream); box-shadow: 0 0 14px rgba(241,237,229,.8); }
.eq__band { color: var(--faint); }
.eq__title { margin-top: .6rem; }
.eq__text { margin-top: .9rem; color: var(--muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Messprotokoll (Papier)
   -------------------------------------------------------------------------- */
.desk { display: grid; gap: 34px; align-items: start; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 1040px) { .desk { grid-template-columns: 1fr 1.12fr; gap: 40px; } }
.paper {
  position: relative; background: var(--paper); color: var(--ink); padding: 34px clamp(20px, 3vw, 38px) 26px;
  border-radius: 3px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85), 0 2px 0 rgba(0,0,0,.25);
  transform: rotate(var(--tilt, -1deg)); transition: transform .6s var(--ease);
  font-family: var(--mono);
}
.paper::before { content: ''; position: absolute; left: 0; right: 0; top: -7px; height: 14px; background: radial-gradient(circle at 9px 7px, var(--ink-2) 4px, transparent 4.5px) 0 0 / 18px 14px repeat-x; }
.paper:hover { transform: rotate(0deg) translateY(-4px); }
.paper--b { --tilt: .9deg; }
.paper__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.paper__head b { font-size: .92rem; }
.prow { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #cfc8ba; font-size: .8rem; }
.prow__k { color: var(--cream-muted); }
.prow__dots { flex: 1; border-bottom: 1px dotted #b3ac9e; transform: translateY(-4px); min-width: 16px; }
.prow__v { font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prow__d { font-size: .68rem; padding: 2px 6px; border-radius: 3px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.prow--big .prow__v { font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }
.prow--group { border-bottom: 0; padding: 18px 0 2px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-muted); }
.paper__bars { display: flex; align-items: flex-end; gap: 3px; height: 56px; margin: 16px 0 6px; }
.paper__bars i { flex: 1; background: var(--ink); height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.paper.is-in .paper__bars i, .no-motion .paper__bars i { transform: scaleY(1); }
.paper__foot { margin-top: 14px; font-size: .68rem; line-height: 1.55; color: var(--cream-muted); }
.paper__sig { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: #8a8f94; }
.caret::after { content: '▍'; animation: blink .9s steps(2, start) infinite; margin-left: 1px; }

/* --------------------------------------------------------------------------
   03 · Schablonen-Raster
   -------------------------------------------------------------------------- */
.tpl { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 640px) { .tpl { grid-template-columns: repeat(4, 1fr); } .tpl__c:nth-child(n+17):not(.tpl__c--you) { display: none; } }
.tpl__c { aspect-ratio: 3 / 4; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(26,29,32,.16); padding: 11%; display: flex; flex-direction: column; gap: 9%; transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform .6s var(--ease); }
.tpl__c i { display: block; border-radius: 3px; background: rgba(26,29,32,.1); }
.tpl__c i:nth-child(1) { width: 36%; aspect-ratio: 1; border-radius: 50%; }
.tpl__c i:nth-child(2) { height: 6%; width: 80%; }
.tpl__c i:nth-child(3) { height: 6%; width: 52%; }
.tpl__c span { margin-top: auto; font-family: var(--mono); font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(26,29,32,.32); }
.tpl__c--you { background: var(--ink); box-shadow: 0 22px 40px -18px rgba(0,0,0,.7); transform: translate(var(--ux, 0px), var(--uy, 0px)) rotate(-8deg) scale(1.1); z-index: 1; }
.tpl__c--you i { background: rgba(245,244,241,.25); }
.tpl__c--you i:nth-child(1) { background: var(--bone); }
.tpl__c--you span { color: var(--bone); }

/* --------------------------------------------------------------------------
   04 · A/B-Vergleich
   -------------------------------------------------------------------------- */
.abx { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-bottom: 26px; }
.abx__sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair), inset 0 2px 6px rgba(0,0,0,.5); }
.abx__sw button { position: relative; z-index: 1; display: grid; gap: 2px; padding: 10px 18px; text-align: left; color: var(--faint); transition: color .3s; min-width: min(46vw, 190px); }
.abx__sw button b { font-family: var(--mono); font-size: 1rem; }
.abx__sw button span { font-size: .82rem; line-height: 1.25; }
.abx__sw button[aria-pressed="true"] { color: var(--ink); }
.abx__knob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 8px; background: var(--bone); box-shadow: 0 3px 0 #b9b5ab; transition: transform .45s var(--snap); }
[data-state="b"] .abx__knob { transform: translateX(100%); }
.abx__hint { color: var(--faint); }
.abl { border-top: 1px solid var(--hair); }
.abl__row { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: clamp(16px, 2vw, 22px) 0; border-bottom: 1px solid var(--hair); }
.abl__no { font-family: var(--mono); font-size: .72rem; color: var(--faint); padding-top: .5em; }
.abl__cell { display: grid; }
.abl__a, .abl__b { font-size: clamp(1.08rem, 2vw, 1.55rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; transition: opacity .35s ease, filter .35s ease, transform .45s var(--ease); }
.abl__a { color: var(--faint); }
.abl__a::before, .abl__b::before { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; font-weight: 400; margin-bottom: .35rem; }
.abl__a::before { content: 'A · ' attr(data-l); }
.abl__b::before { content: 'B · ' attr(data-l); color: var(--faint); }
.abx-wrap[data-state="b"] .abl__a, .abx-wrap[data-state="a"] .abl__b { opacity: 0; filter: blur(6px); transform: translateY(6px); pointer-events: none; }
.abx-wrap:not([data-state]) .abl__cell { gap: 12px; }
.abx-wrap[data-state] .abl__a, .abx-wrap[data-state] .abl__b { grid-area: 1 / 1; }

/* --------------------------------------------------------------------------
   05 · Signalfluss
   -------------------------------------------------------------------------- */
.flow { position: relative; display: grid; gap: 22px; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 980px) { .flow { grid-template-columns: repeat(5, 1fr); gap: 30px; } }
.flow__cables { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.flow__cables path { fill: none; stroke-linecap: round; }
.flow__cables .c-base { stroke: rgba(245,244,241,.2); stroke-width: 2; }
.flow__cables .c-pulse { stroke: var(--bone); stroke-width: 2.5; stroke-dasharray: 14 240; animation: pulse 2.4s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 254; } to { stroke-dashoffset: 0; } }
.mod { position: relative; z-index: 1; padding: 18px 18px 18px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair), 0 10px 20px -14px rgba(0,0,0,.7); }
.mod__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); }
.mod__knobs { display: flex; gap: 8px; margin: 16px 0 14px; }
.knob { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #3a4046, #1e2124); box-shadow: inset 0 0 0 1px rgba(245,244,241,.12); position: relative; transform: rotate(-120deg); transition: transform 1.4s var(--ease); }
.knob::after { content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--bone); }
.is-in .knob, .no-motion .knob { transform: rotate(var(--kk, 40deg)); }
.mod__t { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.mod__d { margin-top: .4rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.jack { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); box-shadow: inset 0 0 0 2px #4a5157, 0 0 0 3px var(--panel); }
.jack--in { left: -7px; top: 50%; margin-top: -7px; } .jack--out { right: -7px; top: 50%; margin-top: -7px; }
@media (max-width: 979px) { .jack--in { left: 50%; top: -7px; margin: 0 0 0 -7px; } .jack--out { right: auto; left: 50%; top: auto; bottom: -7px; margin: 0 0 0 -7px; } }
.mod--out { background: var(--bone); color: var(--ink); }
.mod--out .mod__top, .mod--out .mod__d { color: var(--cream-muted); }
.mod--out .jack { box-shadow: inset 0 0 0 2px var(--cream-muted), 0 0 0 3px var(--bone); }

.outs { display: grid; gap: 14px; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) { .outs { grid-template-columns: repeat(3, 1fr); } }
.out { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 230px; padding: 24px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hair); transition: background .35s, box-shadow .35s; }
.out:hover, .out:focus-visible { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(245,244,241,.25); }
.out__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); }
.out__port { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; transition: box-shadow .3s; }
.out__port::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, box-shadow .3s; }
.out:hover .out__port { box-shadow: inset 0 0 0 2px var(--bone); }
.out:hover .out__port::after { background: var(--bone); box-shadow: 0 0 10px var(--bone); }
.out__t { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin-top: auto; }
.out__d { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   06 · Soundcheck
   -------------------------------------------------------------------------- */
.sc { display: grid; gap: 8px; }
.sc__item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair); cursor: pointer; transition: background .3s, box-shadow .3s; font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.35; letter-spacing: -.01em; }
.sc__item:hover { background: rgba(245,244,241,.03); }
.sc__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw { position: relative; width: 50px; height: 28px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); flex: none; transition: background .3s; }
.sw::after { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--faint); transition: transform .35s var(--snap), background .3s; }
.sc__item input:checked ~ .sw { background: var(--bone); }
.sc__item input:checked ~ .sw::after { transform: translateX(22px); background: var(--ink); }
.sc__item.is-on { box-shadow: inset 0 0 0 1px rgba(245,244,241,.42); }
.sc__item input:focus-visible ~ .sw { outline: 2px solid var(--bone); outline-offset: 3px; }
.sc__panel { padding: 26px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); }
@media (min-width: 980px) { .sc__panel { position: sticky; top: calc(var(--bar-h) + 30px); } }
.sc__meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 10px; }
.sc__meter i { height: 34px; border-radius: 4px; background: rgba(245,244,241,.07); transition: background .3s, box-shadow .3s; }
.sc__meter i.on { background: var(--bone); box-shadow: 0 0 12px rgba(245,244,241,.35); }
.sc__count { font-variant-numeric: tabular-nums; color: var(--bone); }
.sc__msg { margin-top: 12px; min-height: 3em; color: var(--muted); }

/* --------------------------------------------------------------------------
   Stimmen (Empfangsliste)
   -------------------------------------------------------------------------- */
.voices { display: grid; gap: 24px; }
@media (min-width: 980px) { .voices { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.vlist { display: grid; border-top: 1px solid var(--hair); }
.vtab { display: grid; grid-template-columns: 54px 1fr 22px; gap: 12px; align-items: center; text-align: left; padding: 16px 0; border-bottom: 1px solid var(--hair); color: var(--muted); transition: color .3s, padding .4s var(--ease); }
.vtab small { font-family: var(--mono); font-size: .68rem; color: var(--faint); }
.vtab span { font-weight: 500; line-height: 1.3; }
.vtab .vu { color: var(--bone); opacity: 0; transition: opacity .3s; }
.vtab:hover { color: var(--bone); }
.vtab[aria-selected="true"] { color: var(--bone); padding-left: 8px; }
.vtab[aria-selected="true"] .vu { opacity: 1; }
.vtab[aria-selected="true"] .vu i { animation: vu 1s ease-in-out infinite alternate; }
.vpanel { padding: clamp(24px, 3vw, 40px); border-radius: 14px; background: var(--cream); color: var(--ink); min-height: 360px; display: grid; }
.vpanel > div { grid-area: 1 / 1; display: flex; flex-direction: column; }
.vpanel__head { display: flex; justify-content: space-between; align-items: center; color: #6a7076; }
.vpanel__q { margin-top: 22px; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.vpanel__t { margin-top: 16px; color: var(--cream-muted); line-height: 1.65; }
.vpanel__by { margin-top: auto; padding-top: 22px; color: #6a7076; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 13px; height: 13px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Offkey Notes — Notenlinien
   -------------------------------------------------------------------------- */
.notes { position: relative; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); padding: clamp(24px, 4vw, 56px); overflow: hidden; }
.notes__grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .notes__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: end; } }
.staff { position: relative; height: 90px; margin: 0 0 18px; }
.staff::before { content: ''; position: absolute; inset: 9px 0; background: repeating-linear-gradient(transparent 0 17px, rgba(245,244,241,.3) 17px 18px); }
.staff__clef { position: absolute; left: 0; top: 0; width: 34px; height: 90px; }
.staff__clef path { fill: none; stroke: rgba(245,244,241,.6); stroke-width: 2; stroke-linecap: round; }
.staff__notes { position: absolute; left: 50px; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-start; gap: 9px; overflow: hidden; }
.note { flex: none; width: 13px; height: 90px; position: relative; animation: noteIn .45s var(--ease) both; }
.note svg { position: absolute; left: 0; top: var(--ny); width: 13px; height: 42px; overflow: visible; }
.note ellipse { fill: var(--bone); }
.note line { stroke: var(--bone); stroke-width: 1.4; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-14px); } }
.nform { display: flex; gap: 12px 12px; flex-wrap: wrap; align-items: center; }
.nform input[type="email"] { flex: 1 1 240px; min-height: 54px; padding: 0 16px; border-radius: var(--r); border: 0; background: var(--ink-2); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: .95rem; }
.nform input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 1px var(--bone); }
.nform input::placeholder { color: var(--faint); }
.fmsg { min-height: 1.4em; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.fmsg.is-err { color: #E9B8A8; }
.done-box { display: none; }
[data-notes-root].is-done .notes-form-area { display: none; }
[data-notes-root].is-done .done-box { display: block; animation: qIn .5s var(--ease) both; }
.demo { margin-top: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: var(--faint); }

dialog.notes-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; background: transparent; color: var(--bone); overflow: visible; }
dialog.notes-dialog::backdrop { background: rgba(10,11,13,.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.notes-dialog[open] .notes { animation: dlg .45s var(--snap) both; max-height: calc(100svh - 24px); overflow: auto; }
dialog.notes-dialog .notes__grid { grid-template-columns: 1fr; gap: 20px; }
@keyframes dlg { from { opacity: 0; transform: translateY(24px); } }
.dlg-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; z-index: 2; }
.dlg-close:hover { box-shadow: inset 0 0 0 1px var(--bone); }
.dlg-close svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Finale
   -------------------------------------------------------------------------- */
.finale__row { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); align-items: end; }
@media (min-width: 980px) { .finale__row { grid-template-columns: 1fr auto; } }
.finale__note { display: flex; gap: 12px; align-items: center; color: var(--faint); margin-top: 16px; }

/* --------------------------------------------------------------------------
   Fußleiste
   -------------------------------------------------------------------------- */
.foot { background: var(--ink-2); border-top: 1px solid var(--hair); padding-top: clamp(48px, 6vw, 80px); }
.foot__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.foot .brand { font-size: 1.7rem; }
.foot__claim { margin-top: 16px; color: var(--muted); max-width: 30ch; }
.foot h3 { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 400; margin-bottom: 14px; }
.foot ul { display: grid; gap: .5rem; }
.foot ul a, .foot ul button { color: var(--muted); transition: color .2s; text-align: left; }
.foot ul a:hover, .foot ul button:hover { color: var(--bone); }
.ruler { position: relative; height: 44px; margin-top: clamp(40px, 5vw, 64px); }
.ruler::before { content: ''; position: absolute; inset: 0 0 auto; height: 16px; background: repeating-linear-gradient(90deg, rgba(245,244,241,.45) 0 1px, transparent 1px 10%) 0 0 / 100% 16px no-repeat, repeating-linear-gradient(90deg, rgba(245,244,241,.2) 0 1px, transparent 1px 1%) 0 8px / 100% 8px no-repeat; }
.ruler__line { position: absolute; left: 0; bottom: 0; height: 24px; width: 100%; }
.ruler__line path { fill: none; stroke: var(--bone); stroke-width: 1.2; opacity: .5; vector-effect: non-scaling-stroke; }
.foot__base { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding: 18px 0 26px; border-top: 1px solid var(--hair); color: var(--faint); }
.foot__base a:hover { color: var(--bone); }

/* --------------------------------------------------------------------------
   Unterseiten-Kopf
   -------------------------------------------------------------------------- */
.phead { position: relative; padding-top: calc(var(--bar-h) + clamp(36px, 6vw, 90px)); padding-bottom: clamp(40px, 6vw, 80px); }
.crumbs { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .55rem; }
.crumbs a:hover { color: var(--bone); }
.phead__grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1000px) { .phead__grid { grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; } }
.phead__scale { margin-top: clamp(32px, 4vw, 56px); height: 54px; position: relative; color: var(--faint); }
.phead__scale::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, rgba(245,244,241,.35) 0 1px, transparent 1px 5%) 0 0 / 100% 12px no-repeat, repeating-linear-gradient(90deg, rgba(245,244,241,.14) 0 1px, transparent 1px 1%) 0 6px / 100% 6px no-repeat; }
.phead__scale span { position: absolute; top: 22px; left: var(--x); transform: translateX(-50%); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; }
.phead__scale i { position: absolute; top: -6px; left: var(--x); width: 2px; height: 24px; margin-left: -1px; background: var(--bone); box-shadow: 0 0 10px var(--bone); }

/* --------------------------------------------------------------------------
   Leistungen: Mischpult
   -------------------------------------------------------------------------- */
.mixer { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair), 0 40px 80px -40px rgba(0,0,0,.8); padding: clamp(10px, 1.6vw, 20px); }
.lcd { position: relative; border-radius: 10px; background: var(--cream); color: var(--ink); padding: clamp(22px, 3.4vw, 48px); min-height: 340px; box-shadow: inset 0 2px 10px rgba(0,0,0,.15); overflow: hidden; display: grid; }
.lcd::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(transparent 0 3px, rgba(26,29,32,.025) 3px 4px); }
.lcd__panel { grid-area: 1 / 1; display: grid; gap: 22px; align-content: start; }
@media (min-width: 980px) { .lcd__panel { grid-template-columns: 1.1fr 1fr; column-gap: 56px; } }
.lcd__meta { display: flex; justify-content: space-between; color: #6a7076; }
@media (min-width: 980px) { .lcd__meta { grid-column: 1 / -1; } }
.lcd .lede { font-weight: 500; }
.lcd__panel.is-new > * { animation: qIn .45s var(--ease) both; }
.strips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.strip { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; gap: 12px; padding: 14px 8px 12px; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); color: var(--faint); transition: background .3s, color .3s, box-shadow .3s; min-height: 270px; }
.strip:hover { color: var(--bone); }
.strip[aria-selected="true"] { color: var(--bone); box-shadow: inset 0 0 0 1px rgba(245,244,241,.4); background: #191c1f; }
.strip__no { font-family: var(--mono); font-size: .7rem; }
.strip__solo { font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; padding: 3px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.strip[aria-selected="true"] .strip__solo { background: var(--bone); color: var(--ink); box-shadow: 0 0 10px rgba(245,244,241,.5); }
.fader { position: relative; width: 6px; border-radius: 3px; background: #0d0f11; box-shadow: inset 0 0 0 1px var(--line); height: 100%; min-height: 120px; }
.fader::before { content: ''; position: absolute; left: -10px; right: -10px; top: 0; bottom: 0; background: repeating-linear-gradient(transparent 0 11px, rgba(245,244,241,.14) 11px 12px); -webkit-mask: linear-gradient(90deg, #000 6px, transparent 6px, transparent 20px, #000 20px); mask: linear-gradient(90deg, #000 6px, transparent 6px, transparent 20px, #000 20px); }
.fader__cap { position: absolute; left: 50%; width: 30px; height: 16px; margin-left: -15px; border-radius: 3px; background: linear-gradient(#4a5056, #2a2e33); box-shadow: 0 2px 0 #0b0c0e, inset 0 0 0 1px rgba(245,244,241,.15); top: var(--fy, 60%); transition: top .7s var(--snap); }
.fader__cap::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: var(--bone); }
.strip[aria-selected="true"] .fader__cap { top: 4%; background: linear-gradient(#f5f4f1, #c9c5bb); }
.strip[aria-selected="true"] .fader__cap::after { background: var(--ink); }
.strip__name { font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.2; }
@media (max-width: 760px) {
  .strips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .strip { flex: 0 0 100px; min-height: 210px; scroll-snap-align: start; }
}

/* Setup: Sequencer */
.seq { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); padding: clamp(10px, 1.6vw, 20px); }
.seq__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--faint); padding: 6px 6px 14px; }
.seq__time { font-variant-numeric: tabular-nums; color: var(--bone); }
.seq__pads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 700px) { .seq__pads { grid-template-columns: repeat(2, 1fr); } }
.pad { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 140px; padding: 16px; border-radius: 10px; text-align: left; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair), inset 0 -4px 0 rgba(0,0,0,.35); color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.pad b { font-family: var(--mono); font-size: .7rem; font-weight: 400; color: var(--faint); }
.pad span { font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; line-height: 1.15; }
.pad:hover { color: var(--bone); }
.pad[aria-selected="true"] { background: var(--bone); color: var(--ink); box-shadow: 0 0 26px -6px rgba(245,244,241,.5), inset 0 -4px 0 #c9c5bb; }
.pad[aria-selected="true"] b { color: var(--cream-muted); }
.seq__bar { height: 3px; margin: 12px 2px 0; background: var(--line); border-radius: 2px; overflow: hidden; }
.seq__bar i { display: block; height: 100%; width: 100%; background: var(--bone); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.seq__out { margin-top: 12px; border-radius: 10px; background: var(--cream); color: var(--ink); padding: clamp(22px, 3vw, 40px); min-height: 180px; display: grid; }
.seq__out > div { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .seq__out > div { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.seq__out > div.is-new > * { animation: qIn .45s var(--ease) both; }

/* Mensch / Maschine */
.hm { display: grid; gap: 14px; }
@media (min-width: 900px) { .hm { grid-template-columns: 1fr 1fr; } }
.hm__card { padding: clamp(24px, 3vw, 40px); border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; gap: 16px; }
.hm__card--human { background: var(--bone); color: var(--ink); box-shadow: none; }
.hm__card--human .copy { color: var(--cream-muted); }
.hm__top { display: flex; justify-content: space-between; color: var(--faint); }
.hm__card--human .hm__top { color: #6a7076; }
.stamp { display: inline-flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; padding: 18px 26px; border: 3px double currentColor; border-radius: 10px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; text-align: center; transform: rotate(-5deg); max-width: 520px; }
.stamp b { font-size: clamp(.95rem, 1.6vw, 1.15rem); letter-spacing: .02em; line-height: 1.35; }
.js .stamp[data-stamp] { opacity: 0; }
.js .stamp[data-stamp].is-in { animation: stamp .55s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(1.9); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-5deg) scale(1); } }
.stamp-row { display: flex; justify-content: center; padding-top: clamp(36px, 4vw, 56px); }

/* Hinter Offkey: Liner Notes */
.liner { border-top: 2px solid var(--ink); }
.liner__row { display: grid; gap: 12px; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--cream-line); }
@media (min-width: 900px) { .liner__row { grid-template-columns: 110px 1fr 1.3fr; gap: 40px; align-items: start; } }
.liner__no { font-family: var(--mono); font-size: .72rem; color: #6a7076; padding-top: .5em; }
.liner__row h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.035em; line-height: 1.08; }
.columns { columns: 1; column-gap: 48px; }
@media (min-width: 900px) { .columns { columns: 2; } }
.columns p { break-inside: avoid; margin-bottom: 1em; }

/* Ratgeber: Tracklist */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .6rem .85rem; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.filter:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--faint); }
.filter[aria-pressed="true"] { background: var(--bone); color: var(--ink); box-shadow: none; }
.tracks { border-top: 1px solid var(--hair); }
.tracks__head { display: none; }
@media (min-width: 900px) { .tracks__head { display: grid; grid-template-columns: 60px 170px 1fr 96px 28px; gap: 24px; padding: 10px 0; color: var(--faint); border-bottom: 1px solid var(--hair); } }
.track { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 6px 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) { .track { grid-template-columns: 60px 170px 1fr 96px 28px; gap: 24px; } }
.track::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--bone); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.track:hover::after, .track:focus-visible::after { transform: scaleX(1); }
.track__no { font-family: var(--mono); font-size: .76rem; color: var(--faint); }
.track__tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.track__t { font-size: clamp(1.08rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.22; }
.track__d { display: block; color: var(--muted); font-size: .93rem; font-weight: 400; letter-spacing: 0; margin-top: .45rem; line-height: 1.5; }
@media (min-width: 900px) { .track__d { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; } .track:hover .track__d, .track:focus-visible .track__d { max-height: 4em; opacity: 1; } }
.track__len { font-family: var(--mono); font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.track__go { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.track__go path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.track:hover .track__go { transform: translateX(4px); }
@media (max-width: 899px) { .track__tag { grid-column: 2; grid-row: 1; } .track__t { grid-column: 2 / -1; } .track__len { grid-column: 3; grid-row: 1; } .track__go { display: none; } }
.lang-note { display: inline-flex; gap: .6rem; align-items: center; padding: .55rem .85rem; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }

/* Artikel: Abspielleiste */
.playbar { position: fixed; z-index: 55; left: 0; right: 0; top: var(--bar-h); height: 30px; display: flex; align-items: center; gap: 14px; padding-inline: var(--pad); background: rgba(21,23,26,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: .66rem; color: var(--faint); letter-spacing: .06em; }
.playbar__t { color: var(--bone); font-variant-numeric: tabular-nums; }
.playbar__track { flex: 1; height: 2px; background: var(--line); position: relative; }
.playbar__track i { position: absolute; inset: 0; background: var(--bone); transform-origin: left; transform: scaleX(var(--rp, 0)); }
.playbar__track b { position: absolute; top: -4px; width: 2px; height: 10px; background: var(--bone); left: calc(var(--rp, 0) * 100%); box-shadow: 0 0 8px var(--bone); }
@media (max-width: 560px) { .playbar__label { display: none; } }
.art-wrap { padding-top: calc(var(--bar-h) + 30px + clamp(36px, 5vw, 72px)); padding-bottom: clamp(56px, 8vw, 110px); }
.art-wrap > .crumbs { margin-bottom: clamp(24px, 3vw, 40px); }
.article { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1080px) {
  .article { grid-template-columns: 250px minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); }
  .article > header, .article > section { grid-column: 1 / -1; }
  .article > nav.toc { grid-column: 1; grid-row: 2; position: sticky; top: calc(var(--bar-h) + 54px); align-self: start; }
  .article > div { grid-column: 2; grid-row: 2; }
}
.article > header { display: grid; gap: 1.2rem; max-width: 1000px; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--hair); }
.article > header > p:first-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.article > header h1 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.article > header > p:nth-of-type(2) { font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 62ch; line-height: 1.55; }
.article > header > p:last-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--faint); display: flex; flex-wrap: wrap; gap: .6rem; }
.toc p { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .9rem; }
.toc ol { display: grid; gap: 2px; }
.toc a { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: .5rem .45rem; border-radius: 6px; font-size: .86rem; line-height: 1.35; color: var(--faint); transition: color .2s, background .2s; }
.toc a::before { content: attr(data-tc); font-family: var(--mono); font-size: .66rem; padding-top: .2em; }
.toc a:hover { color: var(--bone); }
.toc a.is-active { color: var(--bone); background: rgba(245,244,241,.06); }
@media (max-width: 1079px) { .toc { padding: 18px; border-radius: 12px; background: var(--panel); } }
.article > div { font-family: var(--text); font-size: 1.08rem; line-height: 1.78; color: #C9CDD1; max-width: 72ch; }
.article > div section + section { margin-top: clamp(36px, 4vw, 56px); }
.article > div h2, .doc__body h2 { font-family: var(--sans); color: var(--bone); font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 1rem; text-wrap: balance; }
.article > div h3, .doc__body h3 { font-family: var(--sans); color: var(--bone); font-size: 1.18rem; letter-spacing: -.02em; margin: 1.6rem 0 .5rem; }
.article > div p + p { margin-top: 1.05em; }
.article > div a, .doc__body a { color: var(--bone); text-decoration: underline; text-decoration-color: rgba(245,244,241,.35); text-underline-offset: 4px; }
.article > div a:hover, .doc__body a:hover { text-decoration-color: var(--bone); }
.article > div ul, .doc__body ul { display: grid; gap: .6rem; margin: 1.1rem 0; }
.article > div li, .doc__body li { position: relative; padding-left: 1.6rem; }
.article > div li::before, .doc__body li::before { content: '~'; position: absolute; left: 0; top: 0; font-family: var(--mono); color: var(--faint); }
.article > div li p { margin: 0; }
.table-scroll { overflow-x: auto; }
.article table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .95rem; }
.article caption { caption-side: bottom; text-align: left; font-size: .8rem; color: var(--faint); padding-top: .7rem; }
.article th, .article td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article thead th { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 400; background: var(--panel); }
.article tbody th { color: var(--bone); }
.article > section { padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--hair); }
.article > section h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.03em; margin-bottom: 1.2rem; }
.article > section > div { display: grid; gap: 12px; }
@media (min-width: 760px) { .article > section > div { grid-template-columns: 1fr 1fr; } }
.article > section > div > a { display: block; padding: 22px 24px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair); transition: background .3s, box-shadow .3s; }
.article > section > div > a:hover { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(245,244,241,.25); }
.article > section > div > a p:first-child { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.article > section > div > a p + p { color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.article > section:last-of-type { border: 0; padding: clamp(28px, 4vw, 52px); border-radius: 16px; background: var(--cream); color: var(--ink); margin-top: 12px; }
.article > section:last-of-type p { color: var(--cream-muted); max-width: 60ch; margin-bottom: 1.4rem; }
.article > section:last-of-type > div { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.article > section:last-of-type > div > a { padding: 0; box-shadow: none; background: none; border-radius: 0; }
.article > section:last-of-type > div > a:hover { background: none; }
.article > section:last-of-type > div > a:first-child { display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.3rem; border-radius: var(--r); background: var(--ink); color: var(--bone); font-weight: 600; box-shadow: 0 5px 0 #000; transition: transform .12s, box-shadow .12s; }
.article > section:last-of-type > div > a:first-child:active { transform: translateY(4px); box-shadow: 0 1px 0 #000; }
.article > section:last-of-type > div > a + a { text-decoration: underline; text-underline-offset: 4px; }
.art-wrap > p:last-child { margin-top: 44px; }
.art-wrap > p:last-child a { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.art-wrap > p:last-child a::before { content: '← '; }
.art-wrap > p:last-child a:hover { color: var(--bone); }

/* FAQ: Frequenzliste */
.faq { display: grid; gap: 28px; }
@media (min-width: 1000px) { .faq.is-enhanced { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; } }
.qa { border-bottom: 1px solid var(--hair); }
.qa:first-child { border-top: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 20px; gap: 12px; align-items: center; padding: 20px 0; font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: var(--muted); transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary small { font-family: var(--mono); font-size: .68rem; color: var(--faint); font-weight: 400; }
.qa summary:hover, .qa[open] summary, .qa.is-active summary { color: var(--bone); }
.qa__ico { width: 16px; height: 16px; position: relative; }
.qa__ico::before, .qa__ico::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--snap); }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico::after { transform: rotate(0); }
.qa__a { padding: 0 0 22px 68px; color: var(--muted); line-height: 1.75; max-width: 62ch; }
@media (max-width: 640px) { .qa summary { grid-template-columns: 40px 1fr 16px; } .qa__a { padding-left: 52px; } }
.faq-screen { display: none; }
@media (min-width: 1000px) {
  .faq.is-enhanced .qa__a { display: none; }
  .faq.is-enhanced .qa__ico { display: none; }
  .faq.is-enhanced .faq-screen { display: block; position: sticky; top: calc(var(--bar-h) + 30px); }
  .faq.is-enhanced .qa summary { padding-left: 14px; box-shadow: inset 2px 0 0 transparent; transition: color .25s, box-shadow .25s; }
  .faq.is-enhanced .qa.is-active summary { box-shadow: inset 2px 0 0 var(--bone); }
}
.screen { border-radius: 14px; background: var(--cream); color: var(--ink); padding: clamp(24px, 3vw, 40px); min-height: 300px; }
.screen__top { display: flex; justify-content: space-between; color: #6a7076; }
.screen__q { margin-top: 18px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.screen__a { margin-top: 16px; color: var(--cream-muted); line-height: 1.7; font-size: 1.05rem; }
.screen.is-new > * { animation: qIn .4s var(--ease) both; }

/* Rezensionen: Transkripte */
.transcripts { display: grid; gap: 14px; }
@media (min-width: 900px) { .transcripts { grid-template-columns: 1fr 1fr; } }
.tcard { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); }
.tcard--light { background: var(--cream); color: var(--ink); box-shadow: none; }
.tcard--light .tcard__t, .tcard--light .tcard__top, .tcard--light .tcard__by { color: var(--cream-muted); }
.tcard__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); gap: 12px; }
.sig { display: flex; align-items: center; gap: 2px; height: 26px; }
.sig i { width: 2px; border-radius: 1px; background: currentColor; height: var(--h); opacity: .6; }
.tcard__q { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.tcard__t { color: var(--muted); line-height: 1.65; }
.tcard__by { margin-top: auto; color: var(--faint); }
.tcard--cta { justify-content: space-between; background: transparent; box-shadow: inset 0 0 0 1px rgba(245,244,241,.3); min-height: 220px; transition: box-shadow .3s, background .3s; }
.tcard--cta:hover { box-shadow: inset 0 0 0 1px var(--bone); background: var(--panel); }

/* Formulare */
.field { display: grid; gap: 8px; }
.field label, .lbl { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.req { color: var(--bone); }
.inp { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r); border: 0; background: var(--ink-2); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 1.02rem; transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
textarea.inp { min-height: 130px; resize: vertical; line-height: 1.55; }
select.inp { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A6AC' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.inp option { background: var(--ink); }
.inp:focus { outline: none; box-shadow: inset 0 0 0 1px var(--bone), 0 0 0 4px rgba(245,244,241,.06); }
.inp::placeholder { color: #6b7177; }
.is-invalid .inp { box-shadow: inset 0 0 0 1px #D99A86; }
.ferr { font-size: .82rem; color: #E9B8A8; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 700px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: .92rem; line-height: 1.55; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #F5F4F1; }
.consent a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid { color: #E9B8A8; }
.ferror { display: none; padding: .85rem 1rem; border-radius: 8px; background: rgba(217,154,134,.1); box-shadow: inset 0 0 0 1px rgba(217,154,134,.4); color: #EFC9BC; font-size: .92rem; }
.ferror.is-on { display: block; }
.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Anfrage: Gespräch */
.convo-wrap { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1080px) { .convo-wrap { grid-template-columns: 1fr 1.5fr; align-items: start; } .convo-side { position: sticky; top: calc(var(--bar-h) + 30px); } }
.signal { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.signal i { width: 5px; border-radius: 1px; background: var(--line); transition: background .3s, box-shadow .3s; }
.signal i:nth-child(1) { height: 20%; } .signal i:nth-child(2) { height: 40%; } .signal i:nth-child(3) { height: 60%; } .signal i:nth-child(4) { height: 80%; } .signal i:nth-child(5) { height: 100%; }
.signal i.on { background: var(--bone); box-shadow: 0 0 8px rgba(245,244,241,.4); }
.convo { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.convo__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--hair); color: var(--faint); }
.convo__head .live { display: inline-flex; align-items: center; gap: .55rem; color: var(--bone); }
.convo__body { padding: clamp(18px, 3vw, 32px); display: grid; gap: 22px; }
.thread { display: grid; gap: 16px; }
.thread:empty { display: none; }
.msg { max-width: 92%; }
.msg--us { justify-self: start; }
.msg__who { color: var(--faint); margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.msg__b { font-size: clamp(1.2rem, 2.1vw, 1.65rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.msg--past .msg__b { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.msg__h { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; font-size: 1rem; letter-spacing: 0; }
legend.msg .msg__b { display: block; }
.msg--you { justify-self: end; text-align: right; }
.msg--you .msg__b { display: inline-block; padding: 11px 15px; border-radius: 14px 14px 4px 14px; background: var(--bone); color: var(--ink); font-size: .98rem; font-weight: 500; letter-spacing: 0; line-height: 1.45; white-space: pre-line; text-align: left; overflow-wrap: anywhere; }
.msg__edit { display: block; margin: 6px 0 0 auto; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.msg__edit:hover { color: var(--bone); }
.qstep { display: grid; gap: 18px; }
.qstep legend { margin-bottom: 18px; }
.js .convo .qstep { display: none; }
.js .convo .qstep.is-current { display: grid; animation: qIn .5s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateY(12px); } }
.qstep__actions { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; justify-content: space-between; margin-top: 4px; }
.qstep__tip { color: var(--faint); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt span { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; font-weight: 500; }
.opt span::before { content: '+'; font-family: var(--mono); color: var(--faint); }
.opt:hover span { color: var(--bone); box-shadow: inset 0 0 0 1px var(--faint); }
.opt input:checked + span { background: var(--bone); color: var(--ink); box-shadow: none; }
.opt input:checked + span::before { content: '✓'; color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 2px; }
.recap { display: grid; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: .9rem; }
.recap div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: .7rem 1rem; border-bottom: 1px solid var(--hair); }
.recap div:last-child { border-bottom: 0; }
.recap dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding-top: .2em; }
.recap dd { overflow-wrap: anywhere; }
.recap dd:empty::before { content: '—'; color: var(--faint); }
@media (max-width: 520px) { .recap div { grid-template-columns: 1fr; gap: 2px; } }
.sent { display: none; padding: clamp(28px, 5vw, 64px) clamp(18px, 3vw, 32px); text-align: center; }
.sent.is-on { display: grid; justify-items: center; gap: 12px; animation: qIn .6s var(--ease) both; }
.sent__wave { width: min(320px, 80%); height: 60px; }
.sent__wave path { fill: none; stroke: var(--bone); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: drawW 1.8s var(--ease) forwards; }
@keyframes drawW { to { stroke-dashoffset: 0; } }
.steps-list { display: grid; margin-top: 16px; border-top: 1px solid var(--hair); }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.steps-list b { font-family: var(--mono); font-size: .7rem; font-weight: 400; color: var(--faint); padding-top: .25em; }
.steps-list strong { display: block; font-weight: 600; }
.steps-list span { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; line-height: 1.5; }
.fits { display: grid; gap: .55rem; margin-top: 14px; }
.fits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.fits li::before { content: '~'; font-family: var(--mono); color: var(--bone); }

/* Karriere */
.ticket { position: relative; display: grid; gap: 22px; border-radius: 14px; background: var(--cream); color: var(--ink); padding: clamp(24px, 3.4vw, 44px); }
@media (min-width: 900px) { .ticket { grid-template-columns: 1fr 240px; } }
.ticket__stub { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding-left: 26px; border-left: 2px dashed var(--cream-line); }
@media (max-width: 899px) { .ticket__stub { padding: 18px 0 0; border-left: 0; border-top: 2px dashed var(--cream-line); } }
.ticket .copy { color: var(--cream-muted); }
.ticket__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket__tags span { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(26,29,32,.25); }
.formbox { border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--hair); padding: clamp(20px, 3.4vw, 44px); }
.formbox form { display: grid; gap: 20px; }

/* Rechtstexte */
.doc { padding-top: calc(var(--bar-h) + clamp(40px, 6vw, 96px)); padding-bottom: clamp(56px, 8vw, 110px); display: grid; }
@media (min-width: 1080px) { .doc.has-toc { grid-template-columns: 250px minmax(0, 1fr); column-gap: 96px; } .doc.has-toc > h1, .doc.has-toc > p:first-of-type { grid-column: 1 / -1; } .doc .toc { grid-column: 1; position: sticky; top: calc(var(--bar-h) + 30px); align-self: start; } .doc.has-toc .doc__body { grid-column: 2; } }
.doc > h1 { font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: -.05em; }
.doc > p:first-of-type { margin: 1.1rem 0 clamp(36px, 5vw, 72px); font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--faint); }
.doc .toc { display: none; }
@media (min-width: 1080px) { .doc .toc { display: block; } }
.doc .toc a { grid-template-columns: 1fr; }
.doc .toc a::before { display: none; }
.doc__body { font-family: var(--text); color: #C9CDD1; line-height: 1.75; max-width: 76ch; }
.doc__body section { padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--hair); }
.doc__body section > div + div { margin-top: 1.8rem; }
.doc__body p + p { margin-top: .9em; }
.doc__body address { font-style: normal; color: var(--bone); line-height: 1.8; margin: .8rem 0; }
.doc__body dl { display: grid; margin-top: 1rem; }
.doc__body dl div { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--hair); }
.doc__body dt { color: var(--faint); }
.doc__body dd { color: var(--bone); }
@media (max-width: 560px) { .doc__body dl div { grid-template-columns: 1fr; gap: .2rem; } }

/* Kein Signal (404 / Bestätigung) */
.nosig { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--bar-h) + 40px) var(--pad) 60px; overflow: hidden; isolation: isolate; }
.nosig canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.nosig__box { padding: clamp(24px, 4vw, 48px); border-radius: 16px; background: rgba(21,23,26,.9); box-shadow: inset 0 0 0 1px var(--hair); max-width: 660px; }
.nosig__code { font-size: clamp(5rem, 17vw, 11rem); font-weight: 700; letter-spacing: -.07em; line-height: .9; }

/* Seitenwechsel: Abtastlinie (View Transitions, wo unterstützt) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .3s ease both; }
::view-transition-new(root) { animation: vt-in .55s var(--snap) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-in], .js .stamp[data-stamp] { opacity: 1; }
  .js [data-tune] .tl { transform: none !important; opacity: 1 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
