/* Løcødinhø42 — Mixing & Mastering
   Studio-Schwarz mit Bernstein. Bewusst nur dunkel: alle Farben explizit. */

:root {
  --bg:        #0b0908;
  --bg-2:      #100d0b;
  --panel:     #151110;
  --panel-2:   #1c1715;
  --line:      rgba(255, 226, 190, .10);
  --line-2:    rgba(255, 226, 190, .18);
  --text:      #f4efe8;
  --muted:     #a1968c;
  --muted-2:   #8a7f76;   /* 5,09:1 gegen --bg, 4,55:1 gegen --panel-2 — WCAG AA (4,5:1) auch bei 10-13 px. Vorher #6f665f: 3,54:1, durchgefallen. */
  --amber:     #e79a3c;
  --amber-hi:  #ffc477;
  --amber-dim: rgba(231, 154, 60, .14);
  --amber-glow: rgba(231, 154, 60, .30);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1080px;
  --r: 14px;
  --player-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
}
/* Vor dem ersten Ton gibt es keinen Player: die Leiste steht unter dem Rand,
   der Platz dafuer wird nicht freigehalten. Sobald ein Track geladen ist,
   setzt app.js has-player — dann faehrt sie herein und der Platz entsteht. */
body.has-player {
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(var(--player-h) + 24px);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.03em; margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--amber); color: #17110a; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { left: 24px; }

/* ---------------------------------------------------------------- topbar */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              padding .3s var(--ease);
}
/* Beim Scrollen rückt die Leiste zusammen und setzt sich ab — so bleibt oben
   Platz für den Inhalt, ohne dass die Leiste verschwindet. */
.topbar.scrolled {
  padding-block: 9px;
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

/* Wie weit man auf der Seite ist — eine Haarlinie, die mitläuft. */
.topbar::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px;
  width: calc(var(--fortschritt, 0) * 100%);
  background: linear-gradient(90deg, var(--amber), var(--amber-hi));
  opacity: .85; pointer-events: none;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 15.5px; letter-spacing: -.015em; }
.brand-role {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-2);
}

.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(160deg, #1a1512, #0d0a09);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 6px 16px -10px #000;
}
.brand-mark span {
  width: 3px; border-radius: 2px; background: var(--amber);
  transform-origin: center;
}
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 17px; background: var(--amber-hi); }
.brand-mark span:nth-child(3) { height: 13px; }
/* Läuft ein Track, schlagen die Balken mit — sonst stehen sie still. */
/* Anzeige, kein Zappeln. Ursprünglich .9/.62/1.1 s mit alternate — ein volles
   Auf und Ab in 1,8/1,24/2,2 s, das las sich als Zittern. Am 13.09.2026
   nachgemessen: lief exakt wie eingestellt, war also nicht kaputt, nur zu
   schnell. Dritter Anlauf, 13.09.2026: jetzt 5,2/4,2/6,4 s je Zyklus und noch
   kleinerer Ausschlag. Ein Atmen, das man nur bemerkt, wenn man hinsieht. */
body.is-playing .brand-mark span { animation: brandeq 2.6s ease-in-out infinite alternate; }
body.is-playing .brand-mark span:nth-child(2) { animation-duration: 2.1s; }
body.is-playing .brand-mark span:nth-child(3) { animation-duration: 3.2s; }
@keyframes brandeq { from { transform: scaleY(.74); } to { transform: scaleY(1.06); } }

/* Laeuft die echte Pegelmessung (app.js, AnalyserNode), treten die Zeitwerte
   oben ausser Kraft: die Balken stehen dann auf dem, was gerade klingt —
   --p1 tief, --p2 mittig, --p3 hoch. Ohne Messung bleibt die Animation. */
body.hat-pegel.is-playing .brand-mark span {
  animation: none;
  transition: transform .07s linear;
}
body.hat-pegel.is-playing .brand-mark span:nth-child(1) { transform: scaleY(var(--p1, .8)); }
body.hat-pegel.is-playing .brand-mark span:nth-child(2) { transform: scaleY(var(--p2, .9)); }
body.hat-pegel.is-playing .brand-mark span:nth-child(3) { transform: scaleY(var(--p3, .7)); }

.topnav { display: flex; align-items: center; gap: 26px; }
.topnav > a {
  position: relative; font-size: 14px; color: var(--muted);
  transition: color .2s var(--ease);
}
.topnav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; opacity: .9;
  transition: transform .25s var(--ease);
}
.topnav > a:hover { color: var(--text); }
.topnav > a:hover:not(.btn)::after,
.topnav > a.is-active:not(.btn)::after { transform: scaleX(1); }
.topnav > a.is-active:not(.btn) { color: var(--text); }
/* Der Anfrage-Knopf steht auch in .topnav: ".topnav > a" ist spezifischer als
   ".btn-primary" und hat seine Schrift grau gefaerbt (beim Ueberfahren sogar
   hell). Hier bekommt er dieselbe dunkle Schrift wie "Referenzen anhoeren". */
.topnav > a.btn-primary, .topnav > a.btn-primary:hover { color: #1a1208; }

/* Sprache ist ein Verweis, kein Knopf: / ist deutsch, /en/ englisch. */
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang a {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--muted-2); padding: 6px 9px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--amber-dim); color: var(--amber-hi); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 15px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #1a1208; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px -12px var(--amber-glow);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 30px -12px var(--amber-glow); }

.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-hi); }

/* -------------------------------------------------------------------- hero */

.hero { padding: clamp(64px, 12vw, 132px) 0 clamp(52px, 8vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% 20% auto -10%; height: 460px;
  background: radial-gradient(60% 60% at 30% 40%, rgba(231, 154, 60, .16), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr); }
.hero-visual { display: none; }

/* Ab hier wird die rechte Hälfte sonst zur toten Fläche. */
@media (min-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: center; gap: 72px; }
  .hero-visual { display: block; }
  #hero-wave { display: block; width: 100%; height: 300px; }
}

.eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 7.2vw, 68px); max-width: 15ch; font-weight: 600; }
.lede { margin-top: 22px; max-width: 56ch; font-size: clamp(16px, 2vw, 18px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.scale { margin-top: 56px; height: 22px; }
.scale-ticks {
  height: 100%;
  background-image: repeating-linear-gradient(90deg,
    var(--line-2) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

/* Zwei Spalten statt einer Reihe: die beiden Stundensätze stehen dadurch
   untereinander, ebenso die beiden Angebote daneben. */
.hero-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 18px 54px; margin-top: 24px;
}
.hero-meta li { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num {
  font-family: var(--ff-mono); font-size: 22px; color: var(--amber-hi); letter-spacing: -.02em;
}
.hero-meta li span:last-child { font-size: 13px; color: var(--muted-2); }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(56px, 9vw, 104px) 0; }

/* Nicht jeder Abschnitt wiegt gleich viel. Die Referenzen sind das Produkt,
   die Geräteliste ist eine Fußnote — das muss man sehen, bevor man liest. */
.section--feature { padding: clamp(76px, 13vw, 148px) 0; position: relative; overflow: hidden; }
.section--feature::before {
  content: ""; position: absolute; inset: -20% 40% auto -15%; height: 420px;
  background: radial-gradient(55% 55% at 35% 45%, rgba(231, 154, 60, .10), transparent 70%);
  filter: blur(26px); pointer-events: none;
}
.section--feature .wrap { position: relative; }
.section--feature .section-head { margin-bottom: 52px; }
.section--feature .section-head h2 { font-size: clamp(34px, 6vw, 54px); }
.section--feature .section-head p { font-size: 16px; max-width: 54ch; }

.section--quiet { padding: clamp(44px, 7vw, 74px) 0; }
.section--quiet .section-head { margin-bottom: 26px; }
.section--quiet .section-head h2 { font-size: clamp(21px, 2.6vw, 26px); }
.section--quiet .section-head p { font-size: 14px; }
/* Früher wechselten sich helle und dunkle Bänder ab. Beim Scrollen sah das
   fleckig aus, vor allem weil zwei "alt"-Abschnitte aufeinander folgten und die
   Trennlinie dazwischen mitten im gleichen Grau stand. Jetzt liegt die ganze
   Seite auf einem Grund; Tiefe kommt aus den Kacheln und aus dem Licht. */
.section-alt { background: transparent; border-block: 0; }

/* Übergang zwischen zwei Abschnitten: eine Linie, die zu den Rändern hin
   verschwindet — eine durchgezogene Kante wirkt wie ein Schnitt. */
.section + .section { position: relative; }
.section + .section::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 48px, var(--wrap)); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
  pointer-events: none;
}

/* Licht statt Bänder: ein weicher Schein, der auf dem Weg nach unten die Seite
   wechselt. Sehr schwach — er soll auffallen, ohne dass man ihn benennen kann. */
.lit { position: relative; overflow: hidden; }
.lit::before {
  content: ""; position: absolute; top: -18%; left: var(--lit-x, 72%);
  width: min(52vw, 680px); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(231, 154, 60, .085), transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.lit > .wrap { position: relative; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { margin-top: 14px; max-width: 62ch; color: var(--muted); font-size: 15px; }

/* -------------------------------------------------------------- tracklist */

.tracklist { border-top: 1px solid var(--line); }

.track {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto auto;
  align-items: center; gap: 18px;
  padding: 17px 12px; margin: 0 -12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer; border-radius: 10px;
  transition: background .2s var(--ease);
}
/* Verworfen am 13.09.2026: die eigene Wellenform jeder Zeile als Hintergrund,
   beim Überfahren hereingewischt (14 % Deckkraft, an der aktiven Zeile 9 %).
   Hinter dem Text las sich das als Schmutz, nicht als Detail — abgelehnt als
   "hässlich". Nicht wieder einbauen. */

/* Die Zeilen kommen versetzt herein, 45 ms auseinander. */
.track.auf { opacity: 0; transform: none; transition: background .2s var(--ease); }
.track.auf.da {
  animation: zeileHerein .55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes zeileHerein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .track.auf { opacity: 1; }
  .track.auf.da { animation: none; }
}
.track:hover { background: var(--panel); }
.track.is-active { background: var(--panel-2); }

.t-index {
  font-family: var(--ff-mono); font-size: 13px; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  display: grid; place-items: center; height: 20px;
}
.t-index > * { grid-area: 1 / 1; }
/* Beim Überfahren wird aus der Nummer das, was die Zeile tut. */
.t-play { width: 13px; height: 13px; fill: var(--amber); display: none; }
.track:hover .t-play, .track:focus-visible .t-play { display: block; }
.track:hover .t-index-num, .track:focus-visible .t-index-num { visibility: hidden; }
.track.is-active .t-index { color: var(--amber); }

.t-main { min-width: 0; }
.t-title {
  display: block; font-weight: 500; font-size: 16.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track.is-active .t-title { color: var(--amber-hi); }
.t-sub { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.t-artist, .t-note {
  font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-note { color: var(--muted-2); flex: none; }
.t-note:empty { display: none; }
.t-artist:not(:empty) + .t-note::before { content: "· "; }


.badge {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-dim);
  border: 1px solid rgba(231, 154, 60, .22);
  padding: 5px 9px; border-radius: 999px; white-space: nowrap;
}
.t-dur {
  font-family: var(--ff-mono); font-size: 13px; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.eq { display: none; gap: 2px; align-items: flex-end; height: 13px; }
.track.is-playing .eq { display: flex; }
.track.is-playing .t-index-num, .track.is-playing .t-play { display: none; visibility: hidden; }
/* Gleiche Rechnung wie beim Zeichen oben: .9 s war ein volles Auf und Ab je
   Sekunde, zu hektisch neben einer ruhigen Zeile. Jetzt 2,6 s, die Versätze
   im selben Verhältnis mitgezogen, damit die drei Balken versetzt bleiben. */
.eq i { width: 2px; background: var(--amber); animation: eq 2.6s ease-in-out infinite; }
.eq i:nth-child(1) { height: 60%; animation-delay: -.58s; }
.eq i:nth-child(2) { height: 100%; animation-delay: -1.45s; }
.eq i:nth-child(3) { height: 40%; }
@keyframes eq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* Dieselbe Messung wie beim Zeichen oben, von unten gewachsen wie ein Meter. */
body.hat-pegel .track.is-playing .eq i {
  animation: none; transform-origin: bottom;
  transition: transform .07s linear;
}
body.hat-pegel .track.is-playing .eq i:nth-child(1) { transform: scaleY(var(--p1, .6)); }
body.hat-pegel .track.is-playing .eq i:nth-child(2) { transform: scaleY(var(--p2, .8)); }
body.hat-pegel .track.is-playing .eq i:nth-child(3) { transform: scaleY(var(--p3, .5)); }

/* ------------------------------------------------------------------ about */

.about { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: start; }
.portrait { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); position: relative; }
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 9, 8, .55));
  pointer-events: none;
}
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait[hidden] { display: none; }
/* Ohne Foto soll der Text nicht in der schmalen Bildspalte kleben. */
.about.no-portrait { grid-template-columns: minmax(0, 1fr); }
.about-text h2 { font-size: clamp(26px, 4vw, 38px); margin-top: 16px; }
.about-text p + p { margin-top: 16px; }
.about-text p:not(.eyebrow) { color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.about-text > p:nth-of-type(2) { margin-top: 22px; }

@media (max-width: 800px) {
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portrait { max-width: 240px; }
}

/* ----------------------------------------------------------------- voices */
/* Gezeigt wird das Bildschirmfoto selbst, darunter Name und Song. */

.voices-layout { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.voices-intro h2 { font-size: clamp(26px, 4vw, 38px); }

/* Karussell: alle Belege liegen nebeneinander in einem Band, sichtbar ist
   immer einer. Das Wischen macht der Browser selbst (scroll-snap), damit es
   auf dem Handy genauso laeuft wie mit den Pfeilen. */
/* Die Belege liegen in Retina-Aufloesung vor (Chatschrift 32 px). Bei 440 px
   Anzeigebreite erscheint sie rund 17 px hoch — knapp ueber der Schrift der
   Seite, also lesbar, ohne den Abschnitt zu dominieren. */
.voices-stage { display: grid; gap: 20px; max-width: 440px; }
.voices {
  display: flex; align-items: start;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  transition: height .45s var(--ease);
}
.voices::-webkit-scrollbar { display: none; }

.voice {
  flex: 0 0 100%; min-width: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; gap: 10px; align-content: start;
}

.voices-nav { display: flex; align-items: center; gap: 14px; }
.v-arrow {
  appearance: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font: 400 18px/1 var(--ff); display: grid; place-items: center;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.v-arrow:hover { color: var(--amber-hi); border-color: var(--amber); }

.v-dots { display: flex; gap: 8px; }
.v-dot {
  appearance: none; border: 0; cursor: pointer; padding: 0;
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--line-2);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.v-dot:hover { background: var(--muted); }
.v-dot[aria-current="true"] { background: var(--amber); width: 40px; }
.voice blockquote {
  margin: 0; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.42;
  letter-spacing: -.015em; color: var(--text);
}
.v-by {
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber);
}

/* Uebersetzung unter dem Beleg (nur auf der englischen Seite). Kleiner als
   ein Zitat, groesser als eine Fussnote: sie ersetzt den Beleg nicht. */
.v-trans {
  margin: 0; max-width: 62ch;
  font-size: 15px; line-height: 1.6; color: var(--muted);
}
.v-trans-note {
  display: block; margin-top: 6px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2);
}

.v-proof { margin: 0; }
/* Alle Bildschirmfotos sind im selben Massstab gespeichert (Retina halbiert).
   renderVoices() setzt die Breite je Bild als Prozentsatz des breitesten —
   dadurch ist die Schrift in allen Belegen gleich gross, auf jeder Fensterbreite. */
.v-proof img {
  display: block; width: 100%; max-width: 100%; height: auto;
}

/* ------------------------------------------------------------------ cards */

/* Zwei Stundensätze groß nebeneinander, Sonderfälle darunter als schmale
   Zeilen — damit sieht man sofort, was der Normalfall ist. */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 680px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.extras { margin-top: 18px; border-top: 1px solid var(--line); }
.extras li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 8px 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.x-tag {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber-hi);
  background: var(--amber-dim); border: 1px solid rgba(231, 154, 60, .3);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.extras li > .x-main:first-child { grid-column: 1 / 3; }
.x-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.x-name { font-size: 15.5px; font-weight: 500; }
.x-sub { font-size: 13.5px; color: var(--muted); }
.x-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.x-price strong { font-size: 22px; font-weight: 600; color: var(--amber-hi); letter-spacing: -.02em; }
.x-price .per { font-size: 13px; color: var(--muted); }
/* Kein Betrag, also auch nicht so laut wie einer. */
.x-price.is-text strong { font-size: 16px; font-weight: 500; color: var(--amber); }

@media (max-width: 640px) {
  .extras li { grid-template-columns: minmax(0, 1fr); }
  .extras li > .x-main:first-child { grid-column: 1; }
  /* Sonst zieht sich das Label über die ganze Zeilenbreite. */
  .x-tag { justify-self: start; }
  .x-price { margin-top: 4px; }
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 28px 32px;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-glow), transparent);
}
.card-offer { border-color: rgba(231, 154, 60, .30); }
.card-tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber-hi);
  background: var(--amber-dim); border: 1px solid rgba(231, 154, 60, .3);
  padding: 5px 10px; border-radius: 999px;
}
.card-kind {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2);
}
.card-price { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price .was {
  font-family: var(--ff-mono); font-size: 19px; color: var(--muted-2);
  text-decoration-color: var(--amber); order: -1;
}
.card-price .was s { text-decoration-thickness: 1.5px; }

/* Nur für Screenreader — "statt 70 €" muss vorgelesen werden, der
   Durchstrich allein trägt die Information nicht. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.card-price .amount { font-size: 40px; font-weight: 600; letter-spacing: -.03em; color: var(--amber-hi); }
.card-price .per { font-size: 14px; color: var(--muted); }
.card-price.is-text .amount { font-size: 26px; }
.card-for { margin-top: 4px; font-size: 14px; color: var(--muted); }
.card ul { margin-top: 22px; display: grid; gap: 11px; }
.card li { font-size: 14.5px; color: var(--text); padding-left: 24px; position: relative; line-height: 1.5; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--amber); background: var(--amber-dim);
}

/* ------------------------------------------------------------------ steps */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 22px; border-top: 1px solid var(--line); position: relative; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; top: -11px; left: 0;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--amber); background: var(--bg); padding-right: 10px;
}
.section-alt .steps li::before { background: var(--bg-2); }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { margin-top: 9px; font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------------- gear */

.gear { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gear li { background: var(--bg-2); padding: 22px 24px; display: flex; flex-direction: column; gap: 7px; }
/* Letzte Zelle zieht sich über die Restbreite, damit keine leere Kachel bleibt. */
.gear li:last-child:nth-child(3n - 1) { grid-column: span 2; }
.gear li:last-child:nth-child(3n - 2) { grid-column: span 3; }
.gear-kind { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.gear-item { font-size: 15px; }
.gear-num { font-family: var(--ff-mono); font-size: 19px; color: var(--amber-hi); letter-spacing: -.02em; }

.vendors {
  margin-top: 18px; display: grid; gap: 10px 18px;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
}
.vendors li {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line);
}
.v-name { font-size: 14px; color: var(--muted); }
.v-count {
  margin-left: auto; font-family: var(--ff-mono); font-size: 13px;
  color: var(--amber); font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- contact */

.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contact-intro h2 { font-size: clamp(26px, 4vw, 38px); }
.contact-intro p { margin-top: 14px; color: var(--muted); font-size: 15px; }

.direct { margin-top: 26px; display: grid; gap: 10px; }
.direct a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px;
  font-size: 14.5px; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.direct a:hover { border-color: var(--amber); background: var(--panel); }
/* Die Mail ist die Alternative zum Formular: die Frage steht als eigene Zeile
   ueber der Adresse. Als kleines Grossbuchstaben-Label neben der Adresse passte
   "Lieber direkt per Mail?" am Handy nicht mehr in eine Zeile. */
.direct .k { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 13px; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 12px 14px; width: 100%;
  /* Kein Ziehgriff: das Feld waechst beim Tippen von selbst mit. */
  resize: none; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(231, 154, 60, .15);
}
.form .btn { margin-top: 4px; }
.form-hint { font-size: 12.5px; color: var(--muted-2); }
.hp { position: absolute; left: -9999px; }

/* ----------------------------------------------------------------- footer */

.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.footer a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.footer a:hover { color: var(--amber-hi); }

/* ----------------------------------------------------------------- player */

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(100%);
  transition: transform .55s var(--ease);
}
body.has-player .player { transform: none; }
.player-inner {
  max-width: var(--wrap); margin: 0 auto; height: var(--player-h);
  padding: 0 24px; display: grid; align-items: center; gap: 22px;
  grid-template-columns: minmax(150px, 220px) auto minmax(0, 1fr) 130px;
}

.player-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-meta { display: flex; flex-direction: column; min-width: 0; }
.p-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.p-title { min-width: 0; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Jeder Track ist nur ein Ausschnitt — das soll auch am Handy sichtbar bleiben.
   Vorher stand es am Ende der Unterzeile und wurde dort als Erstes abgeschnitten. */
.p-tag {
  flex: none; font-family: var(--ff-mono); font-size: 9px; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2);
  border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 5px 2px;
}
.p-artist { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player-controls { display: flex; align-items: center; gap: 6px; }
.icon {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
}
.icon:hover { color: var(--text); background: rgba(255, 236, 208, .06); }
.icon:active { transform: scale(.94); }
.icon svg { width: 17px; height: 17px; fill: currentColor; }
.icon-sm { width: 30px; height: 30px; }
.icon-sm svg { width: 15px; height: 15px; }

.icon-main {
  width: 42px; height: 42px; color: #1a1208;
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  box-shadow: 0 6px 18px -8px var(--amber-glow);
}
.icon-main:hover { color: #1a1208; background: linear-gradient(180deg, #ffd39a, var(--amber-hi)); }
.icon-main svg { width: 19px; height: 19px; }
.icon-main .i-pause, .player.is-playing .icon-main .i-play { display: none; }
.player.is-playing .icon-main .i-pause { display: block; }

.i-loud .w1, .i-loud .w2, .i-muted .w1 {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
}
.i-muted, .player.is-muted .i-loud { display: none; }
.player.is-muted .i-muted { display: block; }

.player-wave { display: flex; align-items: center; gap: 12px; min-width: 0; }
.t { font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted-2); font-variant-numeric: tabular-nums; flex: none; }

.wave-box { position: relative; flex: 1; height: 40px; min-width: 0; }
#wave { width: 100%; height: 100%; display: block; }
.wave-seek { position: absolute; inset: -6px 0; cursor: pointer; }
.wave-tip {
  position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%);
  font-family: var(--ff-mono); font-size: 10.5px; color: var(--text);
  background: var(--panel-2); border: 1px solid var(--line-2);
  padding: 3px 7px; border-radius: 6px; pointer-events: none; white-space: nowrap;
}

.player-vol { display: flex; align-items: center; gap: 8px; }
#p-vol {
  appearance: none; -webkit-appearance: none; width: 84px; height: 3px;
  background: var(--line-2); border-radius: 2px; cursor: pointer;
}
#p-vol::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%;
  background: var(--text); border: 0; cursor: pointer;
}
#p-vol::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--text); cursor: pointer; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .steps, .gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 34px; }
  .player-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .player-vol { display: none; }
}

@media (max-width: 720px) {
  :root { --player-h: 112px; }
  /* Auf schmalen Geräten bricht "Mixing & Mastering" um und drückt die Leiste
     auseinander — dort reichen Zeichen und Name. */
  .brand-role { display: none; }

  /* Am Handy fallen die Sprungmarken weg, der Anfrage-Knopf bleibt: sonst
     fuehrt von oben kein Weg zum Formular ausser durch die ganze Seite. */
  .topnav > a:not(.btn) { display: none; }
  .topnav > a.btn { padding: 8px 13px; font-size: 13px; }
  .topnav { gap: 12px; }

  .track {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 13px; padding: 12px 10px;
  }
  .track .badge { display: none; }
  /* Am Handy lieber zweizeilig als den Künstlernamen abschneiden. */
  .t-sub { flex-wrap: wrap; gap: 2px 8px; }
  .t-sub .t-artist, .t-sub .t-note { white-space: normal; overflow: visible; }
  .t-sub .t-note { flex: 0 1 auto; }

  .player-inner {
    height: var(--player-h); gap: 8px 14px; padding: 10px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "track controls" "wave wave";
    align-content: center;
  }
  .player-track { grid-area: track; }
  .player-controls { grid-area: controls; }
  .player-wave { grid-area: wave; }
  .wave-box { height: 32px; }
  .form { padding: 22px 18px; }
  .form .row { grid-template-columns: 1fr; }
  .steps, .gear { grid-template-columns: minmax(0, 1fr); }
  /* Einspaltig darf nichts mehr über zwei Spalten laufen. */
  .gear li:last-child { grid-column: auto; }
  .hero-meta { gap: 14px 32px; }
}


/* ------------------------------------------------------------- Bewegung */

/* Inhalte kommen beim ersten Sichtwerden herein. Die Klasse setzt erst das
   Skript — ohne JavaScript ist nichts versteckt. Wer "weniger Bewegung"
   eingestellt hat, bekommt gar keine. */
.auf { opacity: 0; transform: translateY(16px); will-change: opacity, transform; }
.auf.da {
  opacity: 1; transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--verzug, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .auf, .auf.da { opacity: 1; transform: none; transition: none; }
}

/* Der Einstieg baut sich beim Laden einmal auf, von oben nach unten. */
.hero-text > * { animation: herein .7s var(--ease) both; }
.hero-text > *:nth-child(2) { animation-delay: .06s; }
.hero-text > *:nth-child(3) { animation-delay: .12s; }
.hero-text > *:nth-child(4) { animation-delay: .18s; }
.hero-text > *:nth-child(5) { animation-delay: .24s; }
.hero-text > *:nth-child(6) { animation-delay: .3s; }
@keyframes herein { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero-text > * { animation: none; } }

/* Kacheln heben sich beim Draufzeigen leicht an. */
.card, .extras li {
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.card:hover, .extras li:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px -28px #000;
}
