/* Werner Charles – Stylesheet */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --nacht: #000000;
  --buehne: #0e0d0b;
  --linie: #2b2823;
  --linie-hell: #4a453d;
  --elfenbein: #ece5d8;
  --grau: #a8a296;
  --messing: #c8a24e;
  --messing-hell: #e2c27a;
  --fehler: #ef9a85;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --spalte: 38rem;
  --breit: 75rem;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--elfenbein);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

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

.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;
}

.springen {
  position: absolute; left: var(--rand); top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--messing); color: var(--nacht); border-radius: 3px;
}
.springen:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,0));
  transition: transform .35s ease;
}
.nav.versteckt { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--breit); margin: 0 auto;
  padding: 1rem var(--rand);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
}
.nav__marke {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  color: var(--elfenbein); text-decoration: none; white-space: nowrap;
}
.nav__links { display: flex; gap: clamp(.9rem, 3vw, 2rem); margin: 0; padding: 0; list-style: none; }
.nav__links a {
  color: var(--elfenbein); text-decoration: none; font-size: .95rem;
  padding-bottom: .15rem; border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav__links a:hover { color: var(--messing-hell); border-color: var(--messing); }
.nav__sprache { padding-left: clamp(.9rem, 3vw, 2rem); border-left: 1px solid var(--linie-hell); }
.nav__sprache a { color: var(--grau); letter-spacing: .04em; }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: var(--breit); margin: 0 auto; }
.hero__bild {
  position: relative; margin: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%),
                      linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, #000 60%, transparent 100%),
                      linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-composite: intersect;
}
.hero__bild picture img {
  width: 100%; max-height: 86vh; min-height: 26rem;
  object-fit: cover; object-position: 30% 15%;
}
.hero__unterschrift {
  position: absolute; right: 5%; bottom: 22%;
  width: min(40%, 30rem);
  pointer-events: none;
  opacity: 0; transform: translateY(.75rem);
  animation: auftritt 1.6s .4s ease-out forwards;
}
@keyframes auftritt { to { opacity: .95; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__unterschrift { animation: none; opacity: .95; transform: none; }
}

.hero__text {
  position: relative;
  margin: clamp(-9rem, -12vw, -3rem) 0 0;
  padding: 0 var(--rand);
}
.hero__zeile { margin: 0 0 .25rem; color: var(--grau); font-size: 1rem; }
.hero__titel {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: .95; letter-spacing: -.01em;
  color: var(--messing-hell);
}
.hero__lead { max-width: var(--spalte); margin: 2rem 0 0; }
.hero__lead p { margin: 0 0 .6rem; }
.hero__motto {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.45rem, 2.6vw, 1.75rem); line-height: 1.35;
}
.hero__rolle { color: var(--grau); font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 2rem; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem;
  font: inherit; font-weight: 500; line-height: 1.2; text-decoration: none;
  color: var(--nacht); background: var(--messing);
  border: 1px solid var(--messing); border-radius: 3px; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.knopf:hover { background: var(--messing-hell); border-color: var(--messing-hell); color: var(--nacht); }
.knopf--leise { background: transparent; color: var(--elfenbein); border-color: var(--linie-hell); }
.knopf--leise:hover { background: transparent; color: var(--messing-hell); border-color: var(--messing); }
.knopf[disabled] { opacity: .6; cursor: progress; }
.knopf svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Abschnitte ---------- */
.abschnitt {
  --abstand: clamp(4.5rem, 10vw, 8rem);
  max-width: var(--breit); margin: 0 auto;
  padding: var(--abstand) var(--rand) 0;
  /* Beim Anspringen landet der Titel oben im Bild, nicht tief im Bildschirm */
  scroll-margin-top: calc(-1 * var(--abstand) - 5rem + 3rem);
}
.hoerprobe { scroll-margin-top: -4rem; }
.abschnitt__titel {
  margin: 0 0 2rem; padding-bottom: 1rem;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.05; color: var(--messing-hell);
  border-bottom: 1px solid var(--linie);
}
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 52rem) {
  .zweispaltig { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; }
  .zweispaltig--kontakt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.fliesstext { max-width: var(--spalte); }
.fliesstext p { margin: 0 0 1.1rem; }
.fliesstext p { font-size: 1.2rem; line-height: 1.65; }

/* ---------- Programm ---------- */
.programm__text { max-width: 46rem; }
.programm__text p { margin: 0 0 1.1rem; font-size: 1.15rem; line-height: 1.7; color: var(--grau); }
.programm__text .programm__lead {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.3;
  color: var(--elfenbein); margin-bottom: 1.5rem;
}
/* Eckdaten wie ein Programmzettel: auf breiten Bildschirmen in einer Reihe */
.eckdaten {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.eckdaten div { padding: 1.25rem 1.25rem 1.25rem 0; }
.eckdaten div:nth-child(n+3) { border-top: 1px solid var(--linie); }
.eckdaten div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--linie); }
@media (min-width: 52rem) {
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
  .eckdaten div { padding: 1.5rem 1.5rem; border-top: none !important; }
  .eckdaten div:first-child { padding-left: 0; }
  .eckdaten div + div { border-left: 1px solid var(--linie); }
}
.eckdaten dt { font-size: .875rem; color: var(--grau); margin-bottom: .2rem; }
.eckdaten dd { margin: 0; font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; }
.eckdaten dd em { color: var(--messing-hell); }
@media (max-width: 26rem) {
  .eckdaten { grid-template-columns: minmax(0, 1fr); }
  .eckdaten div, .eckdaten div:nth-child(even) { padding: 1.1rem 0; border-left: none; }
  .eckdaten div + div { border-top: 1px solid var(--linie); }
}

/* ---------- Hörprobe (eigenes Band) ---------- */
.hoerprobe {
  margin-top: clamp(4.5rem, 10vw, 8rem);
  background: var(--buehne);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.hoerprobe__inner {
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--rand);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 52rem) {
  .hoerprobe__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
}
.hoerprobe__titel {
  margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--messing-hell);
}
.hoerprobe__text { margin: .75rem 0 0; color: var(--grau); }

.player { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.25rem; --fortschritt: 0%; }
.player[hidden] { display: none; }
.player__knopf {
  width: 4.25rem; height: 4.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--messing); color: var(--nacht);
  border: none; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.player__knopf:hover { background: var(--messing-hell); }
.player__knopf:active { transform: scale(.96); }
.player__knopf svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.player__knopf .icon-pause, .player__knopf .icon-laden { display: none; }
.player.spielt .icon-play { display: none; }
.player.spielt .icon-pause { display: block; }
.player.laedt .icon-play, .player.laedt .icon-pause { display: none; }
.player.laedt .icon-laden { display: block; animation: drehen 1s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .player.laedt .icon-laden { animation-duration: 3s; } }

.player__spur { position: relative; display: grid; gap: .5rem; }
.welle { position: relative; height: clamp(3.5rem, 8vw, 5rem); }
.welle__balken { position: absolute; inset: 0; }
.welle__balken svg { display: block; width: 100%; height: 100%; fill: var(--linie-hell); }
.welle__balken--voll { clip-path: inset(0 calc(100% - var(--fortschritt)) 0 0); }
.welle__balken--voll svg { fill: var(--messing); }
.player input[type="range"] {
  -webkit-appearance: none; appearance: none;
  position: absolute; top: 0; left: 0; width: 100%;
  height: clamp(3.5rem, 8vw, 5rem); margin: 0;
  background: transparent; cursor: pointer; opacity: 0;
}
.player__spur:has(input:focus-visible) .welle { outline: 2px solid var(--messing-hell); outline-offset: 4px; border-radius: 2px; }
.player__zeit {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .875rem; color: var(--grau); font-variant-numeric: tabular-nums;
}
.player__info { color: var(--messing-hell); }
.welle__zeiger {
  position: absolute; top: -.35rem; bottom: -.35rem; left: var(--hover, 0%);
  width: 1px; background: var(--elfenbein); opacity: 0; pointer-events: none;
  transition: opacity .15s ease;
}
.welle__zeiger span {
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -.3rem);
  padding: .1rem .4rem; border-radius: 2px;
  font-size: .75rem; font-variant-numeric: tabular-nums;
  background: var(--elfenbein); color: var(--nacht); white-space: nowrap;
}
.player.zeigt .welle__zeiger { opacity: .85; }
@media (hover: none) { .welle__zeiger { display: none; } }
.player-nativ { width: 100%; }

/* ---------- Kontakt ---------- */
.kontakt__text { margin: 0; max-width: 24rem; font-size: 1.2rem; line-height: 1.6; }

.formular { display: grid; gap: 1.25rem; }
.formular__reihe { display: grid; gap: 1.25rem; }
@media (min-width: 36rem) { .formular__reihe { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: .35rem; align-content: start; }
.feld label { font-size: .95rem; }
.feld label span { color: var(--grau); }
.feld input, .feld textarea {
  width: 100%; padding: .8rem .9rem;
  font: inherit; color: var(--elfenbein);
  background: var(--buehne);
  border: 1px solid var(--linie); border-radius: 3px;
  transition: border-color .2s ease;
}
.feld textarea { resize: vertical; min-height: 9rem; }
.feld input:hover, .feld textarea:hover { border-color: var(--linie-hell); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--messing); }
.feld input[aria-invalid="true"], .feld textarea[aria-invalid="true"] { border-color: var(--fehler); }
.feld__fehler { margin: 0; font-size: .875rem; color: var(--fehler); }
.feld__fehler:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.status { margin: 0; font-size: .95rem; }
.status.ok { color: var(--messing-hell); }
.status.fehler { color: var(--fehler); }

/* ---------- Footer ---------- */
.fuss {
  max-width: var(--breit);
  margin: clamp(4.5rem, 10vw, 8rem) auto 0;
  padding: 1.5rem var(--rand) 2.5rem;
  border-top: 1px solid var(--linie);
  font-size: .875rem; color: var(--grau);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem 2rem;
}
.fuss p { margin: 0; }
.fuss__unterschrift { grid-column: 1 / -1; width: 8.5rem; opacity: .55; margin: 0 0 1rem -.4rem; }
.fuss ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--elfenbein); }

/* ---------- Rechtliche Seiten ---------- */
.recht {
  max-width: 44rem; margin: 0 auto;
  padding: clamp(7rem, 14vw, 9rem) var(--rand) 0;
}
.recht h1 {
  margin: 0 0 2.5rem;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 4.5rem); line-height: 1; color: var(--messing-hell);
}
.recht h2 {
  margin: 2.75rem 0 .75rem;
  font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.2;
}
.recht h3 { margin: 1.75rem 0 .5rem; font-size: 1.05rem; font-weight: 500; }
.recht p, .recht ul { margin: 0 0 1rem; }
.recht ul { padding-left: 1.2rem; }
.recht li { margin-bottom: .35rem; }
.recht address { font-style: normal; margin: 0 0 1rem; }
.recht .stand { color: var(--grau); font-size: .9rem; margin-top: 2.5rem; }
.hinweis-sprache { color: var(--grau); font-size: .95rem; margin-top: -1.5rem !important; }
.aktionen-404 { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem !important; }

/* ---------- Mobil: ruhiger Vollbild-Einstieg ---------- */
.hero__name, .hero__rolle-kurz, .hero__runter { display: none; }

@media (max-width: 40rem) {
  /* Navigation: nur Sprachwahl, alles andere ist mit Scrollen erreichbar */
  .nav { background: none; }
  .nav__marke { display: none; }
  .nav__inner { justify-content: flex-end; padding-top: .9rem; }
  .nav__links li:not(.nav__sprache) { display: none; }
  .nav__sprache { border-left: none; padding-left: 0; }
  .nav__sprache a { color: var(--elfenbein); opacity: .8; font-size: .9rem; }

  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .hero__bild {
    position: absolute; inset: 0; overflow: hidden;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__bild picture img {
    width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto;
    object-fit: cover; object-position: 16% 0%;
  }
  /* Dunkler Verlauf: oben leicht für die Navigation, unten kräftig für den Text */
  .hero__bild::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom,
      rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 14%,
      rgba(0,0,0,0) 38%, rgba(0,0,0,.82) 62%, #000 82%);
  }
  .hero__unterschrift { display: none; }

  .hero__text {
    position: relative;
    margin: 0;
    padding: 0 var(--rand) calc(2.25rem + env(safe-area-inset-bottom, 0px));
  }
  .hero__name { display: block; width: 58%; max-width: 15rem; margin: 0 0 1.1rem -.35rem; }
  .hero__zeile, .hero__motto { display: none; }
  .hero__titel { font-size: clamp(2.4rem, 11vw, 3rem); line-height: 1; }
  .hero__lead { margin-top: .6rem; }
  .hero__rolle { display: none; }
  .hero__rolle-kurz { display: block; margin: 0; color: var(--grau); font-size: 1rem; }
  .hero__aktionen { display: none; }

  /* Runter-Pfeil statt Knopf: zeigt, dass es unten weitergeht */
  .hero__runter {
    position: relative;
    display: grid; place-items: center;
    width: 3.75rem; height: 3.75rem; margin: 2rem auto 0;
    border-radius: 50%;
    border: 1.5px solid var(--messing-hell);
    background: rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--messing-hell);
    -webkit-tap-highlight-color: transparent;
    transition: opacity .4s ease, transform .4s ease, visibility .4s, background-color .2s ease;
  }
  .hero__runter svg { width: 2.6rem; height: 2.6rem; stroke-width: 2.6; animation: wippen 2.4s ease-in-out 2s infinite; }
  .hero__runter::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px solid var(--messing-hell); opacity: 0; pointer-events: none;
    animation: welle-aus 2.8s ease-out 2s infinite;
  }
  .hero__runter:active { transform: scale(.94); background: rgba(200, 162, 78, .25); }
  .hero__runter.weg { opacity: 0; visibility: hidden; transform: translateY(.5rem); pointer-events: none; }
}


/* ---------- Bewegung: dezent, nur wo sie Orientierung gibt ---------- */
@keyframes hochfahren { from { opacity: 0; transform: translateY(1rem); } }
@keyframes einzoomen  { from { transform: scale(1.06); } }
@keyframes wippen     { 0%, 100% { transform: translateY(-.1rem); } 50% { transform: translateY(.22rem); } }
@keyframes welle-aus  { 0% { opacity: .5; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
@keyframes aufzeichnen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Einstieg: Bild zoomt ruhig ein, Texte folgen nacheinander */
.hero__bild picture img { transform-origin: 30% 15%; animation: einzoomen 2.8s cubic-bezier(.2, .6, .2, 1) backwards; }
.hero__name     { animation: hochfahren 1s cubic-bezier(.2, .6, .2, 1) .15s backwards; }
.hero__zeile    { animation: hochfahren 1s cubic-bezier(.2, .6, .2, 1) .25s backwards; }
.hero__titel    { animation: hochfahren 1.1s cubic-bezier(.2, .6, .2, 1) .35s backwards; }
.hero__lead     { animation: hochfahren 1s cubic-bezier(.2, .6, .2, 1) .6s backwards; }
.hero__aktionen { animation: hochfahren 1s cubic-bezier(.2, .6, .2, 1) .8s backwards; }
.hero__runter   { animation: hochfahren 1s cubic-bezier(.2, .6, .2, 1) 1s backwards; }

/* Beim Scrollen: Inhalte blenden sanft ein (Klassen setzt main.js) */
.reveal {
  opacity: 0; transform: translateY(1.25rem);
  transition: opacity .9s cubic-bezier(.2, .6, .2, 1), transform .9s cubic-bezier(.2, .6, .2, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.reveal.sichtbar { opacity: 1; transform: none; }
/* Die Wellenform zeichnet sich einmal von links nach rechts */
.anim .hoerprobe .welle__balken:not(.welle__balken--voll) { animation: aufzeichnen 1.6s cubic-bezier(.4, 0, .2, 1) .2s backwards paused; }
.anim .hoerprobe.sichtbar .welle__balken:not(.welle__balken--voll) { animation-play-state: running; }

/* Feine Rückmeldung bei Knöpfen und Navigation */
.knopf:not([disabled]):hover { transform: translateY(-1px); }
.knopf:not([disabled]):active { transform: none; }
.knopf { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.player__knopf:hover { transform: scale(1.05); }
.player__knopf:active { transform: scale(.96); }
.nav__links a { transition: border-color .25s ease, color .25s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero__bild picture img, .hero__name, .hero__zeile, .hero__titel, .hero__lead,
  .hero__aktionen, .hero__runter, .hero__runter svg, .hero__runter::after,
  .hoerprobe .welle__balken { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .knopf:not([disabled]):hover, .player__knopf:hover { transform: none; }
}


/* ---------- Eckdaten: nur noch ein Eintrag ---------- */
.eckdaten, .eckdaten div, .eckdaten div:first-child { grid-template-columns: minmax(0, 1fr); }
.eckdaten div, .eckdaten div:nth-child(even), .eckdaten div:first-child { padding: 1.25rem 0; border-left: none; }
.eckdaten div + div { border-left: none; }

/* ---------- Mobil: Programm und Hörprobe zusammen auf einem Bildschirm ---------- */
@media (max-width: 40rem) {
  .abschnitt { --abstand: 2.5rem; }
  .programm__text .programm__lead { font-size: 1.5rem; }
  .abschnitt__titel { margin-bottom: 1.5rem; padding-bottom: .75rem; }
  .programm__text .programm__lead { margin-bottom: 1rem; }
  .programm__text p { font-size: 1.05rem; line-height: 1.6; margin-bottom: .9rem; }
  .eckdaten { margin-top: 1.25rem; }
  .eckdaten div, .eckdaten div:first-child { padding: .9rem 0; }
  .hoerprobe { margin-top: 1.5rem; }
  .hoerprobe__inner { padding: 1.5rem var(--rand) 1.75rem; gap: 1rem; }
  .hoerprobe__titel { font-size: 2.2rem; }
  .hoerprobe__text { margin-top: .4rem; }
  .fuss { margin-top: 3rem; }

  /* Programm + Hörprobe füllen genau einen Bildschirm: die Hörprobe sitzt am unteren
     Rand, Kontakt beginnt erst beim nächsten Scrollen */
  .kapitel {
    min-height: 100vh; min-height: 100svh;   /* svh bleibt stabil, wenn die Browserleiste ein-/ausfährt */
    display: flex; flex-direction: column;
  }
  .kapitel .programm {
    flex: 1 0 auto; width: 100%;
    padding-bottom: 1.5rem;
    scroll-margin-top: -5rem;   /* gleicht scroll-padding-top aus: Kapitel beginnt am oberen Rand */
  }
  .kapitel .hoerprobe { margin-top: 0; }
}


/* ---------- Mobil: Überschuss an Bildschirmhöhe sinnvoll verteilen ----------
   Reihenfolge: Hörprobe wächst mit, dann wachsen zwei ruhige Lücken (Titel → Text,
   Text → Musik), jeweils mit Obergrenze. Ein allfälliger Rest bleibt über der Hörprobe.
   Der Titel steht auf jedem Handy gleich weit oben. */
@media (max-width: 40rem) {
  .kapitel .programm { display: flex; flex-direction: column; justify-content: flex-start; }
  .kapitel .programm__text p:last-child { margin-bottom: 0; }
  .kapitel .abschnitt__titel { margin-bottom: clamp(1.5rem, calc(1.5rem + (100svh - 700px) * .2), 4.5rem); }
  .kapitel .eckdaten { margin-top: clamp(1.25rem, calc(1.25rem + (100svh - 700px) * .25), 6rem); }
  #kontakt { --abstand: 4rem; }

  .hoerprobe { background: #1d1a15; border-top: 1px solid var(--messing); border-bottom: none; }
  .hoerprobe__inner {
    padding-top: clamp(1.5rem, calc(1.5rem + (100svh - 700px) * .06), 3.25rem);
    padding-bottom: clamp(1.75rem, calc(1.75rem + (100svh - 700px) * .07), 3.5rem);
    gap: clamp(1rem, calc(1rem + (100svh - 700px) * .03), 1.75rem);
  }
  .hoerprobe__titel { font-size: clamp(2.2rem, calc(2.2rem + (100svh - 700px) * .03), 3rem); }
  .player__knopf { width: clamp(4.25rem, calc(4.25rem + (100svh - 700px) * .1), 5.5rem); height: clamp(4.25rem, calc(4.25rem + (100svh - 700px) * .1), 5.5rem); }
  .player__knopf svg { width: clamp(1.4rem, calc(1.4rem + (100svh - 700px) * .03), 1.8rem); height: clamp(1.4rem, calc(1.4rem + (100svh - 700px) * .03), 1.8rem); }
  .welle, .player input[type="range"] { height: clamp(3.5rem, calc(3.5rem + (100svh - 700px) * .12), 6rem); }
  .welle__balken:not(.welle__balken--voll) svg { fill: #4a453d; }
}


/* ---------- Desktop/Tablet: Einstieg passt komplett in den ersten Bildschirm ----------
   Titel, beide Untertitel und die Knöpfe sind ohne Scrollen sichtbar. */
@media (min-width: 40.01rem) {
  .hero__bild picture img {
    height: clamp(22rem, calc(100svh - 16rem), 60rem);
    max-height: none; min-height: 0;
  }
  .hero__text { margin-top: clamp(-6rem, -8vw, -3rem); padding-bottom: 2rem; }
  .hero__titel { font-size: clamp(3rem, min(6.4vw, 10.5svh), 6.25rem); }
  .hero__lead { max-width: none; margin-top: 1.1rem; }
  .hero__lead p { margin-bottom: .35rem; }
  .hero__aktionen { margin-top: 1.4rem; }
}
@media (min-width: 52rem) {
  .hero__motto { white-space: nowrap; }
}
