/* =========================================================
   SchauSchau – schauschau.show
   Farbwelt direkt aus dem Logo (Bernstein/Glühbirne) und
   der Himmel-Illustration (Nachtblau) abgeleitet.
   ========================================================= */

:root {
  /* Nacht */
  --nacht-900: #080c14;
  --nacht-800: #0d1320;
  --nacht-700: #131c2d;
  --nacht-600: #1b283e;
  --nacht-500: #26364f;

  /* Leuchtreklame */
  --gold:      #f5b014;
  --gold-hell: #ffd863;
  --gold-glut: #ff8a1f;
  --gold-tief: #8a4a0c;

  /* Himmel */
  --himmel:      #2d4161;
  --himmel-hell: #6d8fbd;

  /* Text */
  --text:       #f4efe4;
  --text-leise: #a3b0c4;
  --text-still: #7b8aa1;

  --linie: color-mix(in srgb, var(--himmel-hell) 22%, transparent);

  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 28px;

  --schatten: 0 18px 50px -20px rgb(0 0 0 / 0.75);
  --glow: 0 0 34px -6px color-mix(in srgb, var(--gold) 55%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--nacht-800);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Sternenstaub über der ganzen Seite, sehr dezent */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1.5px 1.5px at 18% 22%, rgb(255 255 255 / .25), transparent 60%),
    radial-gradient(1.5px 1.5px at 72% 12%, rgb(255 255 255 / .18), transparent 60%),
    radial-gradient(1.5px 1.5px at 41% 68%, rgb(255 255 255 / .14), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 54%, rgb(255 255 255 / .2), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 78%, rgb(255 255 255 / .16), transparent 60%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-hell); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 3px solid var(--gold-hell);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }

.wrap {
  width: min(100% - (2 * var(--gutter)), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--gold); color: var(--nacht-900);
  padding: .7rem 1.2rem; border-radius: 0 0 12px 0; font-weight: 700; z-index: 200;
}
.skip:focus { left: 0; top: 0; }

main { position: relative; z-index: 1; }

/* ---------- Glühbirnen-Leiste, das Hausmotiv ---------- */
.bulbs {
  height: 14px;
  background-image: radial-gradient(circle, var(--gold-hell) 0 22%, color-mix(in srgb, var(--gold) 45%, transparent) 38%, transparent 62%);
  background-size: 34px 14px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: .85;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold) 60%, transparent));
}
@media (prefers-reduced-motion: no-preference) {
  .bulbs { animation: flimmer 3.4s ease-in-out infinite; }
  @keyframes flimmer { 0%, 100% { opacity: .85 } 47% { opacity: .55 } 52% { opacity: .95 } }
}

/* ---------- Kopf ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--nacht-900) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--linie);
}
.site-head__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
  flex-wrap: wrap;
}
.site-head__logo { flex: 0 0 auto; margin-right: auto; display: block; }
.site-head__logo img {
  width: clamp(150px, 20vw, 210px);
  filter: drop-shadow(0 3px 14px color-mix(in srgb, var(--gold-glut) 35%, transparent));
  transition: filter .3s ease, transform .3s ease;
}
.site-head__logo:hover img { filter: drop-shadow(0 3px 22px color-mix(in srgb, var(--gold) 55%, transparent)); transform: translateY(-1px); }

.nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .45rem .1rem;
  color: var(--text); text-decoration: none;
  font-weight: 500; letter-spacing: .01em;
  position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-hell); }

.burger { display: none; }

@media (max-width: 760px) {
  .site-head__in { min-height: 62px; }
  .burger {
    display: inline-flex; align-items: center; gap: .55rem;
    background: none; border: 1px solid var(--linie); border-radius: 999px;
    color: var(--text); font: inherit; font-weight: 600; font-size: .9rem;
    padding: .45rem .9rem; cursor: pointer;
  }
  .burger__box { width: 16px; height: 10px; position: relative; display: block; }
  .burger__box, .burger__box span, .burger__box::before, .burger__box::after { }
  .burger__box span, .burger__box::before, .burger__box::after {
    content: ''; position: absolute; left: 0; right: 0; height: 2px;
    background: var(--gold); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
  }
  .burger__box::before { top: 0; }
  .burger__box span { top: 4px; }
  .burger__box::after { bottom: 0; }
  .burger[aria-expanded="true"] .burger__box::before { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__box span { opacity: 0; }
  .burger[aria-expanded="true"] .burger__box::after { transform: translateY(-4px) rotate(-45deg); }

  .nav { flex-basis: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-bottom: .8rem; }
  .nav li { border-top: 1px solid var(--linie); }
  .nav a { padding: .85rem .2rem; }
  .nav a::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.btn--gold {
  background: linear-gradient(165deg, var(--gold-hell), var(--gold) 48%, var(--gold-glut));
  color: #2a1403;
  box-shadow: 0 10px 28px -12px var(--gold-glut), inset 0 1px 0 rgb(255 255 255 / .45);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--gold-glut), inset 0 1px 0 rgb(255 255 255 / .55); color: #2a1403; }
.btn--geist {
  background: color-mix(in srgb, var(--nacht-600) 70%, transparent);
  color: var(--text); border: 1px solid var(--linie);
}
.btn--geist:hover { border-color: var(--gold); color: var(--gold-hell); transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 8%, transparent 20%, color-mix(in srgb, var(--nacht-900) 72%, transparent) 72%),
    linear-gradient(to bottom, color-mix(in srgb, var(--nacht-900) 55%, transparent) 0%, color-mix(in srgb, var(--nacht-800) 92%, transparent) 78%, var(--nacht-800) 100%);
}
.hero__in { position: relative; text-align: center; }
.hero__logo {
  width: min(88%, 640px); margin: 0 auto clamp(1.2rem, 3vw, 2rem);
  filter: drop-shadow(0 10px 40px color-mix(in srgb, var(--gold-glut) 45%, transparent));
}
.hero__claim {
  font-family: var(--display);
  font-size: clamp(1.25rem, .9rem + 1.7vw, 2.15rem);
  line-height: 1.15;
  margin: 0 auto .8rem;
  max-width: 18ch;
  color: var(--text);
  text-shadow: 0 2px 20px rgb(0 0 0 / .6);
}
.hero__sub {
  max-width: 54ch; margin: 0 auto clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-leise); font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  text-shadow: 0 1px 12px rgb(0 0 0 / .7);
}
.hero__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sektionen ---------- */
.sektion { padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.sektion--dunkel { background: var(--nacht-900); }
.sektion__kopf { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.sektion__kopf--mitte { margin-inline: auto; text-align: center; }
.sektion__kicker {
  display: inline-block;
  font-family: var(--display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.sektion__kopf p { color: var(--text-leise); margin-bottom: 0; }

/* ---------- Aktuelle Folge, groß ---------- */
.neueste {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(150deg, var(--nacht-700), var(--nacht-800) 65%);
  border: 1px solid var(--linie);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  box-shadow: var(--schatten);
}
@media (max-width: 720px) { .neueste { grid-template-columns: 1fr; text-align: center; } }
.neueste__cover {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--linie);
  box-shadow: 0 20px 45px -22px #000;
}
.neueste__meta { color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; }
.neueste h3 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: .6rem; }
.neueste p { color: var(--text-leise); }
.neueste__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 720px) { .neueste__actions { justify-content: center; } }

/* ---------- Folgenliste ---------- */
.folgen { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.folge {
  display: grid; gap: clamp(.9rem, 2.5vw, 1.6rem);
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(.9rem, 2vw, 1.3rem);
  background: var(--nacht-700);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.folge:hover { border-color: color-mix(in srgb, var(--gold) 55%, transparent); transform: translateY(-2px); background: var(--nacht-600); }
.folge__cover { width: 92px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.folge__meta { color: var(--text-still); font-size: .85rem; letter-spacing: .04em; margin-bottom: .3rem; }
.folge__meta b { color: var(--gold); font-weight: 700; }
.folge h3 { margin-bottom: .35rem; font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); }
.folge h3 a { color: var(--text); text-decoration: none; }
.folge h3 a:hover { color: var(--gold-hell); }
.folge p { color: var(--text-leise); font-size: .95rem; margin: 0; }
@media (max-width: 620px) {
  /* Knopf bleibt in der Reihe, sonst entsteht eine halbleere Zeile darunter */
  .folge { grid-template-columns: 60px minmax(0, 1fr) auto; gap: .8rem; }
  .folge__cover { width: 60px; }
  .folge__play { --size: 44px; }
  .folge h3 { font-size: 1.02rem; }
  .folge__anriss { display: none; }
}

/* Abspiel-Knopf */
.playbtn {
  --size: 54px;
  width: var(--size); height: var(--size);
  display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(165deg, var(--gold-hell), var(--gold) 50%, var(--gold-glut));
  color: #2a1403;
  box-shadow: 0 8px 22px -10px var(--gold-glut), inset 0 1px 0 rgb(255 255 255 / .5);
  transition: transform .2s ease, box-shadow .25s ease;
  flex: 0 0 auto;
}
.playbtn:hover { transform: scale(1.07); box-shadow: 0 12px 28px -10px var(--gold-glut), inset 0 1px 0 rgb(255 255 255 / .6); }
.playbtn svg { width: 55%; height: 55%; fill: currentColor; }
.playbtn--lg { --size: 60px; }

/* Icon-Wechsel gilt für jedes Abspielelement: runder Knopf, breiter Button, Playerleiste */
[data-audio] .i-pause,
#pl-play .i-pause,
[data-audio].is-playing .i-play,
#pl-play.is-playing .i-play { display: none; }
[data-audio].is-playing .i-pause,
#pl-play.is-playing .i-pause { display: block; }

/* ---------- Personen ---------- */
.leute { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.person {
  background: linear-gradient(170deg, var(--nacht-700), var(--nacht-800));
  border: 1px solid var(--linie);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s ease, transform .3s ease;
}
.person:hover { border-color: color-mix(in srgb, var(--gold) 45%, transparent); transform: translateY(-3px); }
.person__bild { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--nacht-600); }
/* --fokus bestimmt, welcher Teil des Hochformats im Ausschnitt landet. */
.person__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--fokus, 20%); filter: saturate(.92) contrast(1.05); }
.person__bild--ingo { --fokus: 22%; }
.person__bild--lars { --fokus: 22%; }
.person__bild::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, color-mix(in srgb, var(--nacht-800) 92%, transparent) 100%),
              linear-gradient(115deg, color-mix(in srgb, var(--gold-glut) 16%, transparent), transparent 55%);
}
.person__rolle {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  font-family: var(--display); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--nacht-900); background: var(--gold);
  padding: .35rem .8rem; border-radius: 999px;
}
.person__text { padding: clamp(1.2rem, 3vw, 1.8rem); display: flex; flex-direction: column; flex: 1; }
.person__text h3 { margin-bottom: .5rem; }
.person__text p { color: var(--text-leise); }
.person__text .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; max-width: 680px; }
.feld { display: grid; gap: .45rem; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld .hinweis { color: var(--text-still); font-size: .85rem; }
.feld input, .feld textarea, .feld select {
  width: 100%;
  font: inherit; color: var(--text);
  background: var(--nacht-700);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: .8rem 1rem;
  transition: border-color .2s ease, background .2s ease;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--gold); background: var(--nacht-600); }
.feld input::placeholder, .feld textarea::placeholder { color: var(--text-still); }
.feld--fehler input, .feld--fehler textarea, .feld--fehler select { border-color: #ff6b6b; }
.fehlertext { color: #ff9c9c; font-size: .88rem; }

/* Empfängerauswahl als Kacheln */
.empfaenger { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.empfaenger input { position: absolute; opacity: 0; pointer-events: none; }
.empfaenger label {
  display: block; cursor: pointer; text-align: center;
  padding: .9rem .8rem;
  background: var(--nacht-700); border: 1px solid var(--linie); border-radius: 14px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.empfaenger label:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.empfaenger input:checked + label {
  border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--nacht-700));
  box-shadow: inset 0 0 0 1px var(--gold);
}
.empfaenger input:focus-visible + label { outline: 3px solid var(--gold-hell); outline-offset: 3px; }

.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; border: 1px solid; }
.meldung--gut { background: color-mix(in srgb, #2fbf71 14%, var(--nacht-700)); border-color: #2fbf71; }
.meldung--schlecht { background: color-mix(in srgb, #ff6b6b 12%, var(--nacht-700)); border-color: #ff6b6b; }
.meldung p:last-child { margin-bottom: 0; }

/* ---------- Fließtext (Rechtstexte, Folgentext) ---------- */
.prosa { max-width: 72ch; }
.prosa h2 { margin-top: 2.2em; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }
.prosa h3 { margin-top: 1.8em; }
.prosa ul, .prosa ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prosa li { margin-bottom: .45em; }
.prosa a { color: var(--gold-hell); }
.prosa--leise { color: var(--text-leise); }
.prosa--leise h2, .prosa--leise h3 { color: var(--text); }

/* ---------- Plattform-Links ---------- */
.plattformen { display: flex; gap: .7rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.plattformen a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem; border-radius: 999px;
  background: var(--nacht-700); border: 1px solid var(--linie);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.plattformen a:hover { border-color: var(--gold); color: var(--gold-hell); transform: translateY(-2px); }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(to bottom, var(--nacht-900), var(--nacht-800));
  border-bottom: 1px solid var(--linie);
}
.seitenkopf p { color: var(--text-leise); max-width: 58ch; margin-bottom: 0; }
.zurueck { display: inline-flex; align-items: center; gap: .4rem; color: var(--text-leise); text-decoration: none; font-size: .92rem; margin-bottom: 1rem; }
.zurueck:hover { color: var(--gold-hell); }

/* ---------- Fuß ---------- */
.site-foot { background: var(--nacht-900); border-top: 1px solid var(--linie); padding-top: clamp(2.5rem, 6vw, 4rem); position: relative; z-index: 1; }
.site-foot__in { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); padding-bottom: 2.5rem; }
@media (max-width: 720px) { .site-foot__in { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
.site-foot__brand img { width: 170px; margin-bottom: 1rem; }
.site-foot__brand p { color: var(--text-leise); font-size: .95rem; max-width: 34ch; }
.site-foot__nav h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.site-foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-foot__nav a { color: var(--text-leise); text-decoration: none; font-size: .95rem; }
.site-foot__nav a:hover { color: var(--gold-hell); }
.site-foot__legal {
  border-top: 1px solid var(--linie); padding-block: 1.3rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-still); font-size: .85rem;
}
.site-foot__legal p { margin: 0; }
.site-foot__note { color: var(--text-still); }

/* ---------- Player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: color-mix(in srgb, var(--nacht-900) 94%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
  box-shadow: 0 -16px 40px -22px #000;
  padding-block: .7rem;
  padding-bottom: max(.7rem, env(safe-area-inset-bottom));
}
.player[hidden] { display: none; }
body.hat-player { padding-bottom: 120px; }
.player__in { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.3rem); }
.player__cover { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.player__meta { flex: 1; min-width: 0; }
.player__title {
  margin: 0 0 .3rem; font-weight: 700; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__bar { display: flex; align-items: center; gap: .7rem; }
.player__time { font-variant-numeric: tabular-nums; font-size: .78rem; color: var(--text-still); flex: 0 0 auto; }
.player__seek {
  flex: 1; min-width: 60px; height: 6px; -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, var(--gold) var(--fortschritt, 0%), var(--nacht-500) var(--fortschritt, 0%));
  border-radius: 999px; cursor: pointer;
}
.player__seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-hell); border: 0; box-shadow: 0 0 10px color-mix(in srgb, var(--gold) 70%, transparent); cursor: pointer;
}
.player__seek::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; border: 0;
  background: var(--gold-hell); box-shadow: 0 0 10px color-mix(in srgb, var(--gold) 70%, transparent); cursor: pointer;
}
.player__ctrl { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.iconbtn {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 1px solid var(--linie); border-radius: 50%;
  color: var(--text-leise); cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.iconbtn:hover { color: var(--gold-hell); border-color: var(--gold); }
.iconbtn svg { width: 20px; height: 20px; fill: currentColor; }
.ratebtn {
  min-width: 44px; height: 40px; padding: 0 .6rem;
  background: none; border: 1px solid var(--linie); border-radius: 999px;
  color: var(--text-leise); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: color .2s ease, border-color .2s ease;
}
.ratebtn:hover { color: var(--gold-hell); border-color: var(--gold); }

@media (max-width: 720px) {
  .player__cover { width: 44px; height: 44px; }
  #pl-back, #pl-fwd, #pl-rate { display: none; }
  body.hat-player { padding-bottom: 104px; }
}

/* ---------- Auftritt beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .auftritt { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .auftritt.ist-da { opacity: 1; transform: none; }
}

/* ---------- Kleine Hilfsklassen (halten das Markup frei von Inline-Styles,
   damit die Content-Security-Policy ohne 'unsafe-inline' auskommt) ---------- */
.abstand-oben { margin-top: clamp(2.5rem, 6vw, 4rem); }
.abstand-oben-klein { margin-top: 1.6rem; }
.abstand-unten-klein { margin-bottom: 1.4rem; }
.schlicht { color: inherit; text-decoration: none; }
.schlicht:hover { color: var(--gold-hell); }
.mitte { text-align: center; }
.prosa--mitte { margin-inline: auto; text-align: center; max-width: 64ch; }
.plattformen--mitte { justify-content: center; }
.rhythmus {
  font-family: var(--display);
  color: var(--gold-hell);
  font-size: 1.15rem;
  margin-top: 2rem;
}
.feldgruppe { border: 0; padding: 0; margin: 0; }
.feldgruppe > legend { font-weight: 600; font-size: .95rem; margin-bottom: .6rem; padding: 0; }
.kleingedrucktes { color: var(--text-still); font-size: .88rem; margin: 0; }
.hero__actions--links { justify-content: flex-start; }

/* ---------- Doppelporträt auf der Startseite ----------
   Bewusst anders gebaut als die Karten auf /wir: runde Köpfe, ein Satz
   statt Biografie, direkter Maillink. Die Seite /wir bleibt der Ort für
   die ausführlichen Texte. */
.duo {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
}
/* Spalte, damit der Maillink bei beiden auf derselben Linie sitzt,
   auch wenn der eine Satz eine Zeile länger läuft. */
.kopf { flex: 0 1 300px; text-align: center; display: flex; flex-direction: column; }

.kopf__bild {
  display: block;
  width: min(100%, 230px);
  margin: 0 auto 1.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 9%, transparent),
              0 20px 45px -22px #000;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.kopf__bild img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: saturate(.95) contrast(1.04);
}
.kopf__bild::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(150deg, color-mix(in srgb, var(--gold-glut) 20%, transparent), transparent 55%);
}
.kopf__bild:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 16%, transparent),
              0 26px 55px -22px #000;
}

.kopf__rolle {
  font-family: var(--display);
  font-size: .7rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .35rem;
}
.kopf__name { margin: 0 0 .6rem; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }
.kopf__satz { color: var(--text-leise); font-size: .97rem; margin: 0 0 1.1rem; }
.kopf__mail { margin-top: auto; align-self: center; }

.kopf__mail {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  padding: .5rem .3rem;
  border-bottom: 2px solid color-mix(in srgb, var(--gold) 45%, transparent);
  transition: color .2s ease, border-color .2s ease;
}
.kopf__mail svg { width: 1.1em; height: 1.1em; fill: var(--gold); }
.kopf__mail:hover { color: var(--gold-hell); border-color: var(--gold); }

.duo__und {
  font-family: var(--display);
  font-size: clamp(.8rem, .6rem + .7vw, 1.05rem);
  letter-spacing: .2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--gold) 70%, transparent);
  align-self: flex-start;
  margin-top: clamp(70px, 9vw, 105px);
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .duo { flex-direction: column; align-items: center; gap: 1.2rem; }
  .duo__und { margin: 0; align-self: center; }
  .kopf { flex: 1 1 auto; max-width: 320px; }
  .kopf__bild { width: 180px; margin-bottom: .9rem; }
}


/* ---------- Leuchtender Schriftzug im Hero ----------
   Die Birnen im Schriftzug sind bereits fast weiß gezeichnet — aufhellen
   bringt dort nichts. Die Lichtebene regelt sie deshalb herunter und lässt
   nur die laufende Welle voll leuchten. logo-schauschau.webp bleibt
   unverändert. Erzeugt mit werkzeug/birnen.py. */
.marquee {
  position: relative;
  width: min(88%, 640px);
  margin: 0 auto clamp(1.2rem, 3vw, 2rem);
}
.marquee .hero__logo { width: 100%; margin: 0; }

.marquee__licht {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Auf die Buchstabenform beschränken: Der Alphakanal des Schriftzugs dient
     als Maske. Sonst läge der Lichthof auch über dem Himmel dahinter. */
  -webkit-mask-image: url('/assets/img/logo-schauschau-hero.webp');
  mask-image: url('/assets/img/logo-schauschau-hero.webp');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.birne__aus,
.birne__schein {
  animation-duration: 2.4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: opacity;
}

/* Dimmer über der Birne: gedämpft, solange die Welle woanders steht */
.birne__aus {
  opacity: .5;
  animation-name: birne-aus;
}
@keyframes birne-aus {
  0%        { opacity: .5; }
  6%, 17%   { opacity: 0; }
  42%       { opacity: .4; }
  100%      { opacity: .5; }
}

/* Lichthof, wenn die Welle die Birne erreicht */
.birne__schein {
  opacity: 0;
  animation-name: birne-schein;
}
@keyframes birne-schein {
  0%        { opacity: 0; }
  6%, 17%   { opacity: .85; }
  42%       { opacity: .1; }
  100%      { opacity: 0; }
}

/* Zwölf Stufen nach Position: das Licht läuft durch den Schriftzug.
   Die Verzögerung steht ausdrücklich an den Kreisen, nicht vererbt an der
   Gruppe — das ist unabhängig davon, wie ein Browser `inherit` behandelt. */
.birne--0 .birne__aus,
.birne--0 .birne__schein { animation-delay: 0s; }
.birne--1 .birne__aus,
.birne--1 .birne__schein { animation-delay: -2.2s; }
.birne--2 .birne__aus,
.birne--2 .birne__schein { animation-delay: -2.0s; }
.birne--3 .birne__aus,
.birne--3 .birne__schein { animation-delay: -1.8s; }
.birne--4 .birne__aus,
.birne--4 .birne__schein { animation-delay: -1.6s; }
.birne--5 .birne__aus,
.birne--5 .birne__schein { animation-delay: -1.4s; }
.birne--6 .birne__aus,
.birne--6 .birne__schein { animation-delay: -1.2s; }
.birne--7 .birne__aus,
.birne--7 .birne__schein { animation-delay: -1.0s; }
.birne--8 .birne__aus,
.birne--8 .birne__schein { animation-delay: -0.8s; }
.birne--9 .birne__aus,
.birne--9 .birne__schein { animation-delay: -0.6s; }
.birne--10 .birne__aus,
.birne--10 .birne__schein { animation-delay: -0.4s; }
.birne--11 .birne__aus,
.birne--11 .birne__schein { animation-delay: -0.2s; }

/* Wer keine Bewegung möchte, bekommt den Schriftzug ohne Lichtebene —
   er leuchtet ja von sich aus schon. */
@media (prefers-reduced-motion: reduce) {
  .marquee__licht { display: none; }
}
