/* ============================================================
   AUSKLANG — Feierabend in Leipzig
   Die Seite durchläuft beim Scrollen die Dämmerung: hell (Grund)
   zu dunkel (Tinte). Ein visueller Kosmos, kein Dark-Mode-Toggle.
   ============================================================ */

/* --- 1. Fonts (selbst gehostet, kein Google-Fonts-Link) --- */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bodoni-moda-500.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

/* --- 2. Tokens (aus Designsystem/tokens.css, vollständig) --- */

:root {
  --grund: #DCE1E1;
  --tinte: #18293A;
  --akzent: #C88F42;
  --akzent-grafik: #9E6E2E;
  --akzent-text: #7E5825;
  --zeit-ende: #8A949B;
  --zeit-strich: #7A858E;
  --zeit-einheit: #707C85;
  --neutral-10: #C8CFD0;
  --neutral-20: #B5BCC0;
  --neutral-30: #A1AAAF;
  --neutral-40: #8E979E;
  --neutral-60: #66737D;
  --neutral-80: #3F4E5B;
  --neutral-90: #2C3B4B;
  --schrift-display: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --schrift-funktional: Jost, Futura, "Century Gothic", "Avenir Next", sans-serif;
  --sperrung-wortmarke: 0.24em;
  --sperrung-label: 0.08em;

  /* Dämmerung: die einzigen zwei Variablen, die beim Scrollen laufen */
  --bg: var(--grund);
  --fg: var(--tinte);
}

/* --- 3. Reset --- */

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

html { -webkit-text-size-adjust: 100%; }

body, h1, h2, p, figure { margin: 0; }

ul, ol { margin: 0; padding: 0; }

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

button, input { font: inherit; color: inherit; }

a { color: inherit; }

/* --- 4. Basis --- */

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip statt hidden: verhindert horizontales Scrollen, ohne einen
     Scroll-Container zu erzeugen (hidden würde position:sticky in
     .manifest__pin/.uebergang__pin relativ zum body statt zum
     Viewport verankern und damit die Pins brechen). */
  overflow-x: clip;
}

main { display: block; }

/* Ohne JS: alles sichtbar. Nur unter html.js entstehen Anfangszustände,
   die main.js dann animiert (siehe Abschnitt 12 unten). */

/* --- 5. Utilities --- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 20;
  padding: 0.75em 1.25em;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--akzent-grafik);
  outline-offset: 2px;
}

.welt-dunkel :focus-visible {
  outline-color: var(--akzent);
}

/* --- 6. Nav --- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5;
  color: var(--tinte);
  transition: color 0.4s ease;
  font-family: var(--schrift-funktional);
}

body.ist-dunkel .nav {
  color: var(--grund);
}

/* Das Flex-Layout sitzt auf dem <nav>-Landmark selbst (nicht mehr auf
   dem äußeren <header>), damit die Landmark-Umschließung keinen
   visuellen Unterschied macht. */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.nav__brand,
.nav__link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--sperrung-label);
  text-transform: uppercase;
  /* Trefferfläche ≥44px: Padding vergrößert die Klick-/Tap-Fläche,
     die exakt gleich große negative Margin holt die sichtbare
     Position zurück — visuell keine Veränderung. */
  padding: 0.75rem;
  margin: -0.75rem;
}

/* --- 7. Wortmarke --- */

.wortmarke {
  display: inline-block;
  font-family: var(--schrift-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: var(--sperrung-wortmarke);
  margin-right: calc(var(--sperrung-wortmarke) * -1);
  white-space: nowrap;
  color: inherit;
}

/* Präfixform WOCHENAUSKLANG: WOCHEN (40% V) über AUSKLANG (V),
   Abstand Grundlinie WOCHEN -> Oberkante AUSKLANG ~18% V.
   Der Bezugsrahmen (font-size = V) sitzt auf dieser Wrapper-Klasse;
   .wortmarke__gross und .wortmarke__klein rechnen relativ dazu. */

.wortmarke--praefix {
  display: block;
  text-align: center;
  line-height: 1;
}

.wortmarke--praefix .wortmarke__gross,
.wortmarke--praefix .wortmarke__klein {
  display: block;
  font-family: var(--schrift-display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: var(--sperrung-wortmarke);
  margin-right: calc(var(--sperrung-wortmarke) * -1);
  color: inherit;
}

.wortmarke--praefix .wortmarke__gross {
  font-size: 1em;
}

.wortmarke--praefix .wortmarke__klein {
  font-size: 0.4em;
  /* 0.14em der großen Größe, umgerechnet auf die eigene (0.4x) Schriftgröße: 0.14 / 0.4 */
  margin-bottom: 0.35em;
}

/* Notiz für die Rückkehr von WOCHENAUSKLANG: Unter 480px unterschreitet
   diese Präfixform die 32-px-Versalhöhe des Systems zwangsläufig —
   dafür sieht das System die Instanz „Kompensiert" vor: bei
   Kleinstgrößen opsz 18 setzen (font-variation-settings: "opsz" 18
   auf .wortmarke__gross/.wortmarke__klein), kräftigere Haarlinien,
   kein Zerfall. Die wght-Achse ist in der ausgelieferten Datei fest
   auf 500. Aktuell keine aktive Regel, da die Präfixform im HTML
   nirgends verwendet wird (nur Mittwochsformat live). */

/* --- 8. Zeitmotiv (Bauplan Abschnitt 4, exakt) ---
   Basisgröße = font-size des .zeitmotiv-Containers = Z.
   Deckkräfte laufen über opacity, Grundfarbe über currentColor,
   damit sie in jeder Welt (hell/dunkel) stimmen. */

.zeitmotiv {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--schrift-display);
  font-weight: 500;
  font-variant-numeric: lining-nums proportional-nums;
  line-height: 1;
  color: inherit;
}

.zm-start {
  font-size: 1em;
  opacity: 1;
}

.zm-strich {
  font-size: 0.7em;
  opacity: 0.5;
  /* 0.15em(Z) umgerechnet auf 0.7em Kindgröße: 0.15 / 0.7 */
  margin-left: 0.2143em;
  transform: translateY(-0.09em);
}

.zm-ende {
  font-size: 1em;
  opacity: 0.42;
  /* Kindgröße = 1em = Z, keine Umrechnung nötig */
  margin-left: 0.15em;
}

.zm-einheit {
  font-family: var(--schrift-funktional);
  font-weight: 300;
  font-size: 0.45em;
  opacity: 0.55;
  /* 0.25em(Z) umgerechnet auf 0.45em Kindgröße: 0.25 / 0.45 */
  margin-left: 0.5556em;
}

.zm-plus {
  font-family: var(--schrift-display);
  font-weight: 500;
  font-size: 0.5em;
  opacity: 1;
  color: var(--akzent);
  /* 0.12em(Z) umgerechnet auf 0.5em Kindgröße: 0.12 / 0.5 */
  margin-left: 0.24em;
  transform: translateY(-0.05em);
}

/* --- 9. Sektionsrhythmus --- */

.manifest,
.uebergang,
.musik-bar,
.naechste,
.newsletter,
.footer {
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* .hero bewusst NICHT in der Liste oben: die Sektion selbst trägt kein
   Seitenpadding — .hero__inner bringt sein eigenes mit (Abschnitt 10). */

.musik-bar,
.naechste,
.newsletter,
.footer {
  padding-block: clamp(6rem, 16vh, 12rem);
}

/* --- 10. Hero --- */

.hero {
  min-height: 100vh; /* Fallback für Browser ohne dvh-Unterstützung */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* .hero selbst trägt kein Seitenpadding (s.o.) — hero__inner bringt
     sein eigenes mit, konstant über alle Breakpoints. */
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.hero__meta {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: var(--sperrung-label);
  text-transform: none;
  color: var(--tinte);
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.hero__wortmarke {
  /* Floor von 2.6rem auf 2.2rem gesenkt (QA 8.7 erlaubt das ausdrücklich):
     "AUSKLANG" in Bodoni Moda 500 mit 0.24em Sperrung misst geglyphed
     ~7.25em Gesamtbreite; bei 2.6rem Floor wären das ~303px, mehr als
     die ~280px Inhaltsbreite bei 320px Viewport (Nav-/Sektionspadding
     20px je Seite) – hätte umgebrochen. Bei 2.2rem sind es ~255px,
     mit sicherem Abstand. Ab ~320px skaliert 11vw wieder frei nach oben.
     Glyphbreiten aus fonttools gegen bodoni-moda-500.woff2 gemessen. */
  font-size: clamp(2.2rem, 11vw, 7.5rem);
  color: var(--tinte);
  margin-bottom: clamp(2rem, 5.5vh, 3.5rem);
}

.hero__zeit {
  margin-bottom: clamp(2rem, 5.5vh, 3.5rem);
}

.hero .zeitmotiv {
  font-size: clamp(2.2rem, 7.5vw, 5rem);
  color: var(--tinte);
}

.hero__datum {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--tinte);
}

/* --- 11. Manifest (Pin-Szene, CSS-sticky) --- */

.manifest {
  height: 320vh;
  padding-inline: 0;
}

.manifest__pin {
  position: sticky;
  top: 0;
  height: 100vh; /* Fallback für Browser ohne dvh-Unterstützung */
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grundzustand: normaler Block-Stapel (ohne JS/Motion vollständig
   lesbar, nichts überlagert sich). Erst .js.motion schaltet auf die
   Grid-Überlagerung um, die main.js für den Crossfade braucht. */

.manifest__lines {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 7vh, 4.5rem);
  width: 100%;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.manifest__line {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--schrift-funktional);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  color: var(--tinte);
}

.js.motion .manifest__lines {
  display: grid;
  gap: 0;
}

.js.motion .manifest__line {
  grid-area: 1 / 1;
  place-self: center;
  margin: 0;
}

/* --- 12. Bildbänder --- */

.bildband {
  position: relative;
  height: clamp(420px, 72vh, 820px);
  overflow: hidden;
}

.bildband__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: saturate(0.88) contrast(0.98);
}

/* will-change nur, wenn GSAP den Parallax-Scrub tatsächlich fährt —
   ohne Motion gibt es nichts zu compositen, dafür unnötig eine
   GPU-Ebene zu reservieren. */
.js.motion .bildband__img {
  will-change: transform;
}

/* --- 13. (entfernt: "Die zwei Termine" gab es nur mit Samstagsformat;
   Sektion aktuell aus dem HTML raus, WOCHENAUSKLANG-Präfixform-CSS
   bleibt in Abschnitt 7 erhalten, wird gebraucht sobald es zurückkommt.) --- */

/* --- 14. Übergang (Pin-Szene, Dämmerung kippt) --- */

.uebergang {
  height: 350vh;
  padding-inline: 0;
  background: var(--tinte);
}

.uebergang__pin {
  position: sticky;
  top: 0;
  height: 100vh; /* Fallback für Browser ohne dvh-Unterstützung */
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Gleiches Prinzip wie beim Manifest: Grundzustand ist ein normaler
   Stapel, die Grid-Überlagerung für den Polaritäts-Crossfade kommt
   erst mit .js.motion dazu. */

.uebergang__zeilen {
  position: relative;
  width: 100%;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.uebergang__zeile {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-family: var(--schrift-funktional);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.3;
}

.js.motion .uebergang__zeilen {
  display: grid;
}

.js.motion .uebergang__zeile {
  grid-area: 1 / 1;
  place-self: center;
  margin: 0;
}

.uebergang__zeile--tinte {
  color: var(--tinte);
  opacity: 0;
}

.uebergang__zeile--grund {
  color: var(--grund);
  opacity: 1;
}

/* --- 15. Musik & Bar --- */

.laufband {
  overflow: hidden;
  width: 100%;
  margin-bottom: clamp(4rem, 12vh, 7rem);
}

.laufband__track {
  display: flex;
  width: max-content;
  animation: laufband-loop 70s linear infinite;
}

.laufband:hover .laufband__track {
  animation-play-state: paused;
}

/* Pause auch ohne Maus: Klick/Tap auf .laufband selbst togglet diese
   Klasse (main.js). Sitzt bewusst nicht auf dem aria-hidden Track. */
.laufband--pausiert .laufband__track {
  animation-play-state: paused;
}

.laufband__stueck {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--schrift-funktional);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--grund);
}

@keyframes laufband-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.musik-bar__bloecke {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 8vh, 5rem);
}

.musik-bar__block {
  text-align: center;
  max-width: 34rem;
}

.musik-bar__label {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--sperrung-label);
  color: var(--grund);
  margin: 0 0 0.75rem;
}

.musik-bar__lead {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 20px);
  line-height: 1.45;
  color: var(--grund);
  margin: 0 0 0.75rem;
}

.musik-bar__text {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grund);
  margin: 0;
}

/* --- 16. Nächste Ausgabe --- */

.naechste {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.naechste__nummer {
  font-family: var(--schrift-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--sperrung-wortmarke);
  margin-right: calc(var(--sperrung-wortmarke) * -1);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--grund);
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.naechste__termin {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 20px;
  color: var(--grund);
  margin: 0 0 1rem;
}

.naechste__ort {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 17px;
  color: var(--neutral-20);
  max-width: 30rem;
  margin: 0 0 2rem;
}

.naechste__hinweis {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 17px;
  color: var(--grund);
  max-width: 30rem;
  margin: 0;
}

/* --- 17. Newsletter --- */

.newsletter {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter__zeit { margin: 0 0 1.5rem; }

.newsletter .zeitmotiv {
  font-size: clamp(2.6rem, 9vw, 6rem);
  color: var(--grund);
}

.newsletter__zeile {
  font-family: var(--schrift-funktional);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--grund);
  margin: 0 0 clamp(3rem, 8vh, 4.5rem);
}

.newsletter__form-wrap {
  width: 100%;
  max-width: 26rem;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
}

/* Honigtopf: für Menschen unsichtbar, Bots füllen es trotzdem aus.
   Bewusst nicht display:none, damit einfache Bots es ernst nehmen. */
.honigtopf {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}

.newsletter__field {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 1rem;
}

.newsletter__field label {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: var(--sperrung-label);
  color: var(--grund);
  margin-bottom: 0.6rem;
}

.newsletter__field input {
  height: 52px;
  padding-inline: 1rem;
  background: var(--neutral-90);
  color: var(--grund);
  font-family: var(--schrift-funktional);
  font-size: 16px;
  border: 0;
  border-radius: 0;
}

.newsletter__field input::placeholder { color: transparent; }

.newsletter__field input:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: 2px;
}

.newsletter__error {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  font-family: var(--schrift-funktional);
  font-size: 14px;
  color: var(--akzent);
}

.newsletter__submit {
  height: 52px;
  background: var(--grund);
  color: var(--tinte);
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 16px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.newsletter__submit:hover { transform: translateY(-1px); }
.newsletter__submit:active { transform: scale(0.98); }

.newsletter__hint {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 14px;
  color: var(--neutral-20);
  max-width: 26rem;
  margin: 1.25rem auto 0;
}

.newsletter__danke {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 17px;
  color: var(--grund);
  margin: 0;
}

/* --- 18. Footer --- */

.footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__wortmarke {
  font-size: 26px;
  color: var(--grund);
  margin-bottom: 1.25rem;
}

.footer__zeile {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 15px;
  color: var(--neutral-20);
  margin: 0 0 2.5rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.footer__links a {
  font-family: var(--schrift-funktional);
  font-weight: 400;
  font-size: 14px;
  color: var(--grund);
  text-decoration: underline;
  text-underline-offset: 4px;
  /* Trefferfläche ≥44px, visuell unverändert (siehe .nav__brand). */
  padding: 0.75rem;
  margin: -0.75rem;
}

/* --- 19. Welt dunkel (ab Musik & Bar) ---
   Fest gesetzte Farben, damit die dunkle Welt auch ohne JS/Scrub
   dunkel ist. Der GSAP-Scrub in .uebergang animiert nur die
   Übergangs-Szene selbst. */

.welt-dunkel {
  background: var(--tinte);
  color: var(--grund);
}

/* --- 20. Grain (einziges Overlay über allem) --- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdHlwZT0nc2F0dXJhdGUnIHZhbHVlcz0nMCcvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNuKScvPjwvc3ZnPg==");
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* ============================================================
   21. Bewegung: Anfangszustände nur unter JS + erlaubter Motion.
   Verstecken erfolgt ausschließlich über html.js.motion, damit
   Inhalte ohne JS und bei reduzierter Bewegung sofort sichtbar
   sind (siehe main.js für die Animationen selbst).
   ============================================================ */

.js.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js.motion .manifest__line {
  opacity: 0;
  transform: translateY(24px);
}

.js.motion .hero__meta,
.js.motion .hero__wortmarke,
.js.motion .hero__datum {
  opacity: 0;
}

.js.motion .hero__wortmarke {
  letter-spacing: 0.32em;
}

.js.motion .hero .zm-start,
.js.motion .hero .zm-strich,
.js.motion .hero .zm-ende,
.js.motion .hero .zm-einheit {
  opacity: 0;
}

.js.motion .newsletter .zm-plus {
  opacity: 0;
  scale: 0.6;
}

.js.motion .uebergang__zeile--tinte {
  opacity: 1;
}

.js.motion .uebergang__zeile--grund {
  opacity: 0;
}

.js.motion .uebergang {
  background: var(--neutral-20);
}

/* --- 22. Reduced motion: gleiche Selektoren, später in der Kaskade,
   damit ohne erzwungene Deklarationen alles sofort sichtbar bleibt. --- */

@media (prefers-reduced-motion: reduce) {
  .js.motion .reveal,
  .js.motion .manifest__line,
  .js.motion .hero__meta,
  .js.motion .hero__wortmarke,
  .js.motion .hero__datum,
  .js.motion .hero .zm-start,
  .js.motion .hero .zm-strich,
  .js.motion .hero .zm-ende,
  .js.motion .hero .zm-einheit {
    opacity: 1;
  }

  .js.motion .hero__wortmarke {
    letter-spacing: var(--sperrung-wortmarke);
  }

  .js.motion .newsletter .zm-plus {
    opacity: 1;
    scale: 1;
  }

  .js.motion .uebergang__zeile--tinte {
    opacity: 0;
  }

  .js.motion .uebergang__zeile--grund {
    opacity: 1;
  }

  .js.motion .uebergang {
    background: var(--tinte);
  }

  .laufband__track {
    animation: none;
  }

  /* Pins wirken als normale Sektionen: keine 320vh/350vh Scrollstrecke,
     kein Sticky, Zeilen einfach untereinander. */

  .manifest,
  .uebergang {
    height: auto;
  }

  .manifest__pin,
  .uebergang__pin {
    position: static;
    height: auto;
    padding-block: clamp(6rem, 16vh, 12rem);
  }

  .manifest__lines {
    gap: clamp(3rem, 8vh, 5rem);
  }

  /* Ohne Scrub keine Parallax-Notwendigkeit: Bild ungezoomt zeigen.
     Ungescoped (nicht .js.motion), damit das auch ohne JS greift. */
  .bildband__img {
    transform: none;
  }
}

/* --- 23. Breakpoints --- */

@media (max-width: 767px) {
  .footer__links {
    gap: 1.25rem 2rem;
  }
}

/* --- 24. Rechtliche Seiten (Impressum, Datenschutz) ---
   Ruhige Lesetypografie auf Grund; Fließtext linksbündig — die im
   System dokumentierte Ausnahme für mehrsätzigen Text (Newsletter-
   Regel 4.5 analog). Keine Animationen, kein JS. */

.rechtliches {
  max-width: 38rem;
  margin-inline: auto;
  padding: calc(64px + clamp(3rem, 8vh, 5rem)) clamp(1.25rem, 5vw, 2rem) clamp(5rem, 12vh, 7rem);
}

.rechtliches h1 {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  margin: 0 0 2.5rem;
}

.rechtliches h2 {
  font-family: var(--schrift-funktional);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: var(--sperrung-label);
  text-transform: uppercase;
  margin: 2.5rem 0 0.75rem;
}

.rechtliches p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.rechtliches a {
  color: var(--akzent-text);
  text-underline-offset: 3px;
}

.rechtliches .zurueck {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 500;
  color: var(--tinte);
}
