/* ═══════════════════════════════════════════════════════════════
   RADIO FOR SKELETONS — site-next.css  (Design-Stufe „next“, 09.11.2026)
   Wird NACH site.css geladen (gen-site.py: nxt(t), Schalter NEXT_LIVE) und enthält
   nur Ergänzungen und Überschreibungen. Zusammenführen = ans Ende von site.css hängen.
   Inhalt: eigener Player (UI_SCRIPT), Station-ID im Kopf, Hero-Knöpfe, Kopfzeile und
   Bandmitglieder fürs Handy, Lesbarkeit/Kontrast, Effekte (alle nur bei
   prefers-reduced-motion: no-preference, scroll-getriebene nur mit @supports).
   ═══════════════════════════════════════════════════════════════ */

/* ─── Lesbarkeit und Kontrast ─────────────────────────────────── */
.sec-head .meta, .shows-label, .member .role, .band-photo figcaption, .studio figcaption,
.sponsor .num, .partners > .meta, .earlier .meta, .teaser-tag { font-size: .78rem; letter-spacing: .2em }
.member p { font-size: .95rem; color: var(--fg-soft) }
.show .extra { color: var(--fg-soft) }
.light .hint { color: var(--l-meta) }                 /* #666 auf Weiß = 5,7:1 (vorher 2,8:1) */
.foot p, .foot nav { font-size: .74rem; letter-spacing: .2em }

/* Unterseiten (Presse, Impressum, Datenschutz, AGB …): die padding-Kurzform von .page-head/.epk/.legal
   überschrieb den Seitenrand von .wrap – der Text klebte bis 1360 px Breite am linken Bildschirmrand */
.wrap.page-head, .wrap.epk, .wrap.legal { padding-left: var(--gut); padding-right: var(--gut) }
/* Presse-Hörprobe (/demos/<slug>/): das Raster des Hörauszug-Blocks der Startseite (.listen) griff auch hier –
   die Titelliste stand zweispaltig neben der Gesamtspielzeit und nicht in der Flucht von Kopf und Überschrift */
.wrap.listen { display: block; max-width: var(--max); margin: 0 auto }
.wrap.listen > * { max-width: 56rem }

/* ─── Knöpfe: Fläche schiebt sich von links herein ────────────── */
.btn { background-image: linear-gradient(#fff, #fff); background-repeat: no-repeat; background-size: 0% 100%;
       transition: background-size .45s var(--ease), color .25s, border-color .25s }
.btn:hover, .btn:focus-visible { background: linear-gradient(#fff, #fff) no-repeat 0 0 / 100% 100% transparent; color: var(--ink) }
.btn-primary { color: #000 }                           /* Schwarz auf Signal-Blau = 6,3:1 (Weiß: 3,3:1) */
.btn-primary:hover, .btn-primary:focus-visible { background: linear-gradient(#fff, #fff) no-repeat 0 0 / 100% 100% var(--signal); border-color: #fff; color: var(--ink) }
.light .btn { background-image: linear-gradient(var(--ink), var(--ink)) }
.light .btn:hover, .light .btn:focus-visible { background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 100% transparent; color: #fff }
button.btn { cursor: pointer; font-family: inherit }

/* ─── Kopf: Fortschrittslinie der Station-ID, Glas ab Tablet ──── */
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--signal);
              transform-origin: left; scale: var(--sp, 0) 1; pointer-events: none }
.nav-tools { display: contents }
@media (min-width: 861px) {
  .top { background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(14px) brightness(.7); backdrop-filter: blur(14px) brightness(.7) }   /* über der hellen Kontakt-Sektion bleibt der Kopf dunkel */
}

/* Station-ID als Knopf im Kopf (baut UI_SCRIPT, der feste Kasten .bgm verschwindet dann) */
.bgm.enh { display: none }
.bgm:not(.enh) ~ .foot { padding-bottom: 8.5rem }      /* ohne JS bleibt der Kasten unten rechts: Fuß freihalten */
.sid { display: flex; align-items: center; gap: .65rem; height: 2.1rem; margin: 0 auto 0 1.4rem; padding-right: .8rem;
       border: 1px solid var(--line); color: var(--fg-soft); transition: border-color .3s, color .3s }
.sid:hover { border-color: var(--line-strong); color: #fff }
.sid.on { border-color: var(--signal); color: #fff }
.sid .pl-btn { width: 2.1rem; height: 100%; border: 0; border-right: 1px solid var(--line) }
.sid.on .pl-btn { border-right-color: var(--signal) }
.sid-label { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; padding-top: .22em }
.sid .pl-eq, .sid .pl-time { display: none }
.sid.on .pl-eq { display: inline-flex }
.sid.on .pl-time, .sid.err .pl-time { display: inline; min-width: 0; padding-top: .22em }

/* ─── Eigener Player (Hörauszüge + Station-ID) ────────────────── */
.pl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; column-gap: .85rem }
.pl-btn { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; flex: 0 0 auto; cursor: pointer;
          background: transparent; color: #fff; border: 1px solid var(--line-strong); border-radius: 0;
          transition: background .25s, color .25s, border-color .25s }
.pl-btn svg { width: 1.05rem; height: 1.05rem; fill: currentColor }
.pl-i-pause { display: none }
.pl-host.on .pl-i-play { display: none }
.pl-host.on .pl-i-pause { display: inline }
.pl-btn:hover { background: #fff; color: #000; border-color: #fff }
.pl-host.on .pl-btn { background: var(--signal); color: #000; border-color: var(--signal) }
.pl-host.on .pl-btn:hover { background: #fff; border-color: #fff }
.pl-host.buf .pl-btn { animation: pulse 1s ease-in-out infinite }
.pl-time { font-size: .72rem; letter-spacing: .1em; color: var(--meta); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 6.2em; text-align: right; padding-top: .2em }
.pl-host.on .pl-time { color: #fff }
.pl-host.err .pl-time { color: var(--signal); letter-spacing: .04em }
.pl-eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 14px; height: .85rem; opacity: 0; transition: opacity .3s }
.pl-eq i { display: block; flex: 1; height: 100%; background: var(--signal); transform-origin: bottom; scale: 1 .25 }
.pl-eq i:nth-child(2) { scale: 1 .7 }
.pl-eq i:nth-child(3) { scale: 1 .45 }
.pl-eq i:nth-child(4) { scale: 1 .9 }
.pl-host.on .pl-eq { opacity: 1 }
.pl-bar { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2.6rem; margin: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 0 }
.pl-bar::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to right, var(--signal) calc(var(--p, 0) * 100%), var(--line-strong) 0) }
.pl-bar::-moz-range-track { height: 1px; background: var(--line-strong) }
.pl-bar::-moz-range-progress { height: 1px; background: var(--signal) }
.pl-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 3px; height: 13px; margin-top: -6px; background: #fff; border: 0; border-radius: 0; opacity: 0; transition: opacity .2s }
.pl-bar::-moz-range-thumb { width: 3px; height: 13px; background: #fff; border: 0; border-radius: 0; opacity: 0; transition: opacity .2s }
.pl-host.on .pl-bar::-webkit-slider-thumb, .pl:hover .pl-bar::-webkit-slider-thumb, .pl-bar:focus-visible::-webkit-slider-thumb { opacity: 1 }
.pl-host.on .pl-bar::-moz-range-thumb, .pl:hover .pl-bar::-moz-range-thumb, .pl-bar:focus-visible::-moz-range-thumb { opacity: 1 }
.pl-bar:focus-visible { outline: 2px solid var(--signal); outline-offset: -8px }

/* Hörauszüge als Liste mit Linien (statt zweier Spalten mit Browser-Reglern) */
.teaser .listen { padding: 0; max-width: none }        /* .listen der Presse-Hörprobe (site.css) vergab hier ungewollt Rand und Breite */
.teaser .listen { scroll-margin-top: calc(var(--head-h) + 2rem) }
@media (min-width: 961px) { .teaser .listen { grid-template-columns: minmax(0, 420px) minmax(0, 1fr) } }
.snips { grid-template-columns: 1fr; gap: 0; max-width: none; border-bottom: 1px solid var(--line) }
/* Seit 01.12.2026 volle Stücke mit Songtiteln: Titel über dem Player (vorher Spalte 8.2rem daneben – „Bioluminescence“ lief in den
   Knopf), dadurch volle Breite für die Spulleiste. */
.js .snip { display: grid; grid-template-columns: 1fr; align-items: center; row-gap: .1rem; padding: .7rem 0 .3rem }
.js .snip-label { margin-bottom: 0; padding-top: .2em; transition: color .3s }
.snip.on .snip-label { color: var(--signal) }
.veil { transition: box-shadow 1.8s ease }
html.snd .veil { box-shadow: 0 30px 120px -18px rgba(0, 150, 214, .72) }

/* Welle: fließt (zwei Perioden nebeneinander), flach im Ruhezustand, voll wenn Ton läuft */
.wave-flow g { transform-origin: 0 60px; scale: 1 .5; transition: scale 1.8s var(--ease) }
html.snd .wave-flow g { scale: 1 1 }

/* ─── Hero: zwei Knöpfe, auf dem Desktop rechts neben dem Text ── */
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem }
.hero-cta .btn { padding: .95rem 1.4rem .72rem }
.hero-links { margin-top: 1.5rem }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
                     background: url('/media/grain.webp') 0 0 / 180px 180px; opacity: .11; mix-blend-mode: overlay }
@media (min-width: 961px) {
  .hero-stage .wrap { padding-top: clamp(3rem, 7vw, 5.5rem) }
  .hero-foot { max-width: none; display: grid; grid-template-columns: minmax(0, 40rem) auto; column-gap: 3rem;
               justify-content: space-between; align-items: end; padding-bottom: clamp(1.8rem, 3.2vw, 2.6rem) }
  .hero-release { grid-column: 1; grid-row: 1; justify-self: start }
  .hero-tag { grid-column: 1; grid-row: 2 }
  .hero-line { grid-column: 1; grid-row: 3 }
  .hero-cta { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 1.3rem; justify-content: flex-end }
  .hero-links { grid-column: 2; grid-row: 3; justify-self: end; align-self: end; margin-top: 0; padding-bottom: .35rem }
  .hero-stage { min-height: 17rem }
}
/* niedrige Bildschirme (Laptop): Lockup kleiner, damit Knöpfe ohne Scrollen sichtbar sind */
@media (min-width: 961px) and (max-height: 840px) { .hero-lockup img { width: min(100%, 30rem) } .hero-stage .wrap { padding-top: 3rem } }
@media (min-width: 961px) and (max-height: 740px) { .hero-lockup img { width: min(100%, 25rem) } }

/* ─── Live: Zeile rückt beim Überfahren ein ───────────────────── */
.show:not(.tba) { transition: padding-left .4s var(--ease), box-shadow .4s }
.linklist a::after { transition: translate .35s var(--ease) }
@media (hover: hover) {
  .show:not(.tba):hover { padding-left: .9rem; box-shadow: inset 2px 0 0 var(--signal) }
  .linklist a:hover::after { translate: .35rem 0 }
}

/* ─── Kopf und Inhalte auf schmalen Bildschirmen ──────────────── */
@media (max-width: 860px) {
  :root { --head-h: 5.3rem }                            /* zweizeiliger Kopf: Sprungziele und Hero rechnen damit */
  .top { height: auto }
  .top .wrap { position: relative; flex-wrap: wrap; padding-top: .9rem; padding-bottom: .6rem; row-gap: .45rem }
  .nav { width: 100%; justify-content: flex-start; gap: clamp(1.2rem, 4vw, 2.2rem) }
  .nav-split > a { font-size: .7rem; letter-spacing: .12em }
  .nav-split .nav-tools { display: flex; align-items: center; gap: 1rem; position: absolute; right: var(--gut); top: .72rem }
  .nav-split .nav-tools .lang { font-size: .66rem }
  .sid { margin-left: .1rem; height: 1.9rem }
}
@media (max-width: 640px) {
  .nav { justify-content: space-between; gap: .4rem }
  .sid .pl-time { display: none !important }
  .sid { padding-right: .6rem; gap: .5rem }
  .sid-label { letter-spacing: .16em }
  .js .snip { grid-template-columns: 1fr; padding: .75rem 0 .3rem }
  .pl { column-gap: .7rem }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; padding: .95rem 1rem .72rem; letter-spacing: .16em }
  /* Handy: Knöpfe direkt unter der Release-Zeile, damit sie ohne Scrollen sichtbar sind */
  .hero-stage { min-height: 17rem }
  .hero-foot { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2.8rem }
  .hero-cta { order: 1; width: 100%; margin: .1rem 0 1.6rem }
  .hero-tag { order: 2 }
  .hero-line { order: 3 }
  .hero-links { order: 4 }
  /* Bandmitglieder zum Wischen statt zweier schmaler Spalten */
  .members { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut);
             margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut) .4rem;
             scrollbar-width: none; overscroll-behavior-x: contain }
  .members::-webkit-scrollbar { display: none }
  .member { flex: 0 0 76%; scroll-snap-align: start }
  .member:nth-child(even) { margin-top: 0 }
  .member.reveal, .member img { animation: none }
}

/* ─── Effekte ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Hero: die Röhren des Lichtrasters springen an (zwei kurze Aussetzer), danach treibt das Bild langsam */
  .hero-bg img { animation: tubes 1.8s linear both, drift 28s ease-in-out 1.8s infinite alternate }
  @keyframes tubes { 0% { opacity: 0 } 7% { opacity: .42 } 11% { opacity: .07 } 31% { opacity: .1 } 35% { opacity: .62 } 40% { opacity: .32 } 53%, 100% { opacity: .62 } }
  @keyframes drift { from { scale: 1.06; translate: 0 0 } to { scale: 1.115; translate: -1.2% -1% } }
  .hero-lockup img { animation: wipe 1.3s var(--ease) .5s both }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0) } to { clip-path: inset(0 0 0 0) } }
  .hero-stage::after { animation: grain .9s steps(1) infinite }
  @keyframes grain { 0% { background-position: 0 0 } 25% { background-position: -37px 53px } 50% { background-position: 61px -29px } 75% { background-position: -83px -71px } }
  /* Pegel-Balken, Welle, Cover */
  .pl-host.on .pl-eq i { animation: eq .9s ease-in-out infinite alternate }
  .pl-host.on .pl-eq i:nth-child(2) { animation-duration: .65s; animation-delay: -.3s }
  .pl-host.on .pl-eq i:nth-child(3) { animation-duration: 1.15s; animation-delay: -.6s }
  .pl-host.on .pl-eq i:nth-child(4) { animation-duration: .75s; animation-delay: -.15s }
  @keyframes eq { from { scale: 1 .15 } to { scale: 1 1 } }
  .wave-flow g { animation: flow 44s linear infinite }
  @keyframes flow { to { translate: -1200px 0 } }
  html.snd .veil img { animation: breathe 7s ease-in-out infinite alternate }
  @keyframes breathe { from { transform: scale(1.04) } to { transform: scale(1.1) } }
  @supports (animation-timeline: view()) {
    /* Überschriften stellen sich scharf, Fotos bekommen Licht, der Hero sinkt beim Wegscrollen ab */
    .sec-head h2 { animation: focus-in linear both; animation-timeline: view(); animation-range: entry 5% entry 75% }
    @keyframes focus-in { from { opacity: 0; filter: blur(10px); translate: 0 .25em } to { opacity: 1; filter: blur(0); translate: 0 0 } }
    .studio img, .member img { animation: lights linear both; animation-timeline: view(); animation-range: entry 0% cover 32% }
    @keyframes lights { from { filter: brightness(.3) } to { filter: brightness(1) } }
    .teaser .listen.reveal { animation-name: reveal-soft }   /* ohne clip-path: der schnitt den Schein des Covers ab */
    @keyframes reveal-soft { from { opacity: 0; translate: 0 1.5rem } to { opacity: 1; translate: 0 0 } }
    .hero-bg { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 90vh }
    @keyframes hero-out { to { translate: 0 9%; opacity: .4 } }
  }
}
@media (max-width: 380px) { .sid.on .pl-eq { display: none } .sid { gap: .4rem } .sid-label { letter-spacing: .1em } .nav-split .nav-tools { gap: .7rem } }
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .member.reveal, .member img { animation: none }       /* im Wisch-Streifen keine Scroll-Effekte */
}
