/* Sperr- und Rauhnächte 2026 · Rosa Schaf
   Werte und Prinzipien: siehe DESIGN-RAUHNAECHTE.md */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Raum */
  --nacht: #0a0c11;
  --nachtblau: #111624;
  --anthrazit: #17191f;
  --kante: #2a2d36;
  /* Licht */
  --papier: #f3ead8;
  --papier-2: #c8bea9;
  --papier-3: #8d8676;
  --bernstein: #f2a541;
  --glut: #ffcf7a;
  /* Band */
  --band-dunkel: #3a2116;
  --band: #9a5a35;
  --band-hell: #d58d5a;
  /* Einzige Akzentfarbe */
  --rosa: #ec82a6;
  --rosa-puder: #f4c4d2;
  --rosa-tief: #d65f8a;
  --tinte: #2b1a22;

  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --grotesk: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --rand: 16px;
  --takt: 72px;
  --deck-h: 58px;
  --langsam: cubic-bezier(.65, 0, .25, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-bottom: calc(var(--deck-h) + 24px);
  background: var(--nacht);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--nacht);
  color: var(--papier);
  font-family: var(--grotesk);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Kerzenschein im Raum: warm oben rechts, Nachtblau unten links */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 88% 4%, rgba(242, 165, 65, .13), transparent 62%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(30, 42, 74, .55), transparent 70%),
    var(--nacht);
  animation: kerzenschein 7s ease-in-out infinite alternate;
}
@keyframes kerzenschein {
  0% { opacity: .82; }
  45% { opacity: 1; }
  70% { opacity: .9; }
  100% { opacity: .97; }
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

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

.sprung {
  position: absolute; left: var(--rand); top: -60px; z-index: 50;
  background: var(--rosa); color: var(--tinte);
  padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 12px; }

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

/* ---------- Typo ---------- */
h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h2 {
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -.005em;
}
h3 { font-size: clamp(22px, 5.6vw, 26px); line-height: 1.25; }
p { margin: 0 0 1em; }

.kicker {
  font-family: var(--grotesk);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bernstein);
  margin: 0 0 20px;
  line-height: 1.4;
}
h2.kicker { font-size: 13px; }

.gross {
  font-family: var(--serif);
  font-size: clamp(21px, 5.6vw, 27px);
  line-height: 1.38;
  color: var(--papier);
}

/* Etikett: Handschrift auf rosa Kassettenpapier */
.etikett {
  display: inline-block;
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(25px, 6.6vw, 30px);
  line-height: 1.15;
  color: var(--tinte);
  background:
    repeating-linear-gradient(to bottom, transparent 0 25px, rgba(43, 26, 34, .14) 25px 26px),
    linear-gradient(180deg, var(--rosa-puder), var(--rosa));
  padding: 8px 14px 9px;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 30px -12px rgba(236, 130, 166, .55);
  margin-bottom: 18px;
}
.etikett .pfeil { font-family: var(--grotesk); font-size: .7em; vertical-align: .08em; margin-right: .15em; }

.platzhalter {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .85em;
  color: var(--glut);
  background: rgba(242, 165, 65, .12);
  outline: 1px dashed rgba(242, 165, 65, .6);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ---------- Schaf-Notizen: Zettel auf dem Etikett ---------- */
.schaf {
  position: relative;
  max-width: 300px;
  margin: 30px 0 0 6px;
  padding: 14px 18px 12px 46px;
  font-family: var(--hand);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--tinte);
  background:
    repeating-linear-gradient(to bottom, transparent 0 28px, rgba(43, 26, 34, .13) 28px 29px),
    var(--rosa-puder);
  border-radius: 2px;
  transform: rotate(-1.6deg);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .8);
}
.schaf p { margin: 0; }
/* Klebestreifen */
.schaf::before {
  content: "";
  position: absolute; top: -9px; left: 50%;
  width: 64px; height: 18px; margin-left: -32px;
  background: rgba(243, 234, 216, .22);
  transform: rotate(2deg);
}
/* Kleines gezeichnetes Schaf */
.schaf::after {
  content: "";
  position: absolute; left: 12px; top: 14px;
  width: 26px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 22'%3E%3Cg fill='none' stroke='%232b1a22' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M5 12c-2-1-2-5 1-5 0-3 4-4 6-2 1-2 5-2 6 0 3-1 5 2 4 4 2 1 1 5-2 5-1 2-4 2-5 0-2 2-6 2-7 0-2 1-4 0-3-2z' fill='%23ec82a6'/%3E%3Cpath d='M8 15v4M17 15v4'/%3E%3Ccircle cx='21' cy='9' r='.6' fill='%232b1a22'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.schaf-rechts { margin-left: auto; margin-right: 6px; transform: rotate(1.4deg); }
.schaf-mitte { margin: 34px auto 0; transform: rotate(-1deg); }

/* ---------- Layout ---------- */
.abschnitt { padding: var(--takt) var(--rand); }
.spalte { max-width: 640px; margin: 0 auto; }
.spalte.breit { max-width: 1040px; }

/* ---------- Hero ---------- */
.hero { padding: 0 0 var(--takt); }
.hero-kicker {
  text-align: center;
  padding: 18px var(--rand) 0;
  margin: 0 0 -38px;
  position: relative; z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}
.hero-bild img {
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
  background: #120e0b;
}
.hero-text {
  max-width: 560px;
  margin: -64px auto 0;
  padding: 0 var(--rand);
  position: relative;
  text-align: center;
}
.unterzeile {
  font-family: var(--serif);
  font-size: clamp(21px, 5.8vw, 26px);
  line-height: 1.3;
  margin-bottom: 22px;
}

/* ---------- Kaufknöpfe ---------- */
.kauf { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid var(--rosa);
  background: transparent;
  color: var(--rosa-puder);
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color .5s var(--langsam), box-shadow .8s var(--langsam), color .5s var(--langsam);
}
.knopf-haupt {
  background: linear-gradient(180deg, var(--rosa-puder) 0%, var(--rosa) 70%);
  color: var(--tinte);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 16px 40px -16px rgba(236, 130, 166, .7);
}
.kauf .knopf { width: 100%; max-width: 380px; }
.knopf .rec {
  flex: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
  transition: opacity .8s var(--langsam), box-shadow .8s var(--langsam);
}
a.knopf[href]:hover .rec, a.knopf[href]:focus-visible .rec {
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(214, 95, 138, .25), 0 0 12px 2px rgba(214, 95, 138, .6);
}
.knopf-haupt .rec { background: var(--rosa-tief); opacity: .9; }
a.knopf:not(.knopf-haupt)[href]:hover { background: rgba(236, 130, 166, .1); }

.knopf.ist-aus, .knopf.ist-aus:hover {
  background: transparent;
  color: var(--papier-3);
  border: 1px dashed var(--kante);
  box-shadow: none;
  cursor: default;
}
.knopf.ist-aus .rec { display: none; }

.kauf-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0 0;
  font-size: 16px;
}
.kauf-links a {
  display: inline-block;
  padding: 10px 6px;
  color: var(--papier-2);
  text-decoration-color: rgba(236, 130, 166, .55);
  text-underline-offset: 4px;
}
.kauf-links a[href]:hover { color: var(--papier); }
.kauf-links a.ist-aus { color: var(--papier-3); text-decoration: none; }
.kauf-links .trenner { display: none; }
.kauf-status, .weg-status {
  margin: 6px 0 0;
  font-family: var(--hand);
  font-size: 23px;
  font-weight: 700;
  color: var(--rosa-puder);
  line-height: 1.2;
}

/* ---------- Seite A / Leerband / Seite B ---------- */
.idee .spalte + .seite { margin-top: 48px; }
.seite { max-width: 1040px; margin: 0 auto; }
.seite-bild img {
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(242, 165, 65, .35), 0 0 0 1px rgba(255, 255, 255, .04);
}
.seite-text { padding: 28px 0 0; }
.seite-text p { color: var(--papier-2); font-size: 18px; }

.leerband { margin: 64px calc(var(--rand) * -1); text-align: center; }
.band-streifen {
  height: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 40%, rgba(0, 0, 0, .3)),
    linear-gradient(90deg, var(--band-dunkel), var(--band) 30%, var(--band-hell) 50%, var(--band) 70%, var(--band-dunkel));
  opacity: .85;
}
.leer-bild { width: min(70vw, 360px); margin: 44px auto 26px; }
.leer-bild img { border-radius: 4px; opacity: .92; }
.pause-text {
  max-width: 420px;
  margin: 0 auto 44px;
  padding: 0 var(--rand);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  color: var(--papier-2);
}
.seite-b + .spalte { margin-top: 56px; }

/* Mini-Kassette: nur in der Ruhig-Fassung sichtbar */
.mini-kassette { display: none; }

/* ---------- Hörprobe ---------- */
.probe { margin: 0 0 32px; }
.probe p { color: var(--papier-2); }
.probe strong { color: var(--papier); font-weight: 600; }
.probe audio { width: 100%; margin-top: 4px; }

/* ---------- Was drin ist: Kassetten-Einleger ---------- */
.einleger-paar { display: grid; gap: 28px; }
.einleger {
  background: linear-gradient(180deg, var(--anthrazit), #121318);
  border: 1px solid var(--kante);
  border-radius: 6px;
  padding: 22px 18px 10px;
  counter-reset: track;
}
.einleger .etikett { font-size: clamp(22px, 6vw, 26px); }
.trackliste { list-style: none; margin: 0; padding: 0; }
.trackliste li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px dotted rgba(243, 234, 216, .16);
  color: var(--papier-2);
  counter-increment: track;
}
.trackliste li::before {
  position: absolute; left: 0; top: 13px;
  font-family: var(--grotesk);
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  color: var(--bernstein);
  font-variant-numeric: tabular-nums;
}
.einleger-a .trackliste li::before { content: "A" counter(track, decimal-leading-zero); }
.einleger-b .trackliste li::before { content: "B" counter(track, decimal-leading-zero); color: var(--rosa); }

/* ---------- Drei Wege ---------- */
.wege-zu {
  font-family: var(--serif);
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.3;
  margin-bottom: 32px;
}
.wege-liste { display: grid; gap: 20px; }
.weg {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--anthrazit), #111217);
  border: 1px solid var(--kante);
  border-radius: 8px;
  padding: 26px 20px 22px;
  transition: opacity .8s var(--langsam), border-color .8s var(--langsam);
}
.weg h3 { margin-bottom: 12px; }
.weg-preis { white-space: nowrap; color: var(--rosa); }
.weg p { color: var(--papier-2); }
.weg .frist { font-size: 15px; color: var(--papier-3); margin-top: auto; }
.weg .knopf { width: 100%; margin-top: 8px; }
.weg-badge {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(236, 130, 166, .14);
  color: var(--rosa-puder) !important;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.weg.ist-haupt {
  border-color: rgba(236, 130, 166, .6);
  box-shadow: 0 30px 70px -40px rgba(236, 130, 166, .55);
}
.weg.ist-zu { opacity: .55; }
.weg.ist-zu .weg-preis { color: var(--papier-3); }
.wege-hinweis { margin: 28px 0 0; color: var(--papier-2); max-width: 640px; }
html[data-zustand="a"] .weg-rauh { order: -1; }
html[data-zustand="a"] .weg-rauh .knopf {
  background: linear-gradient(180deg, var(--rosa-puder) 0%, var(--rosa) 70%);
  color: var(--tinte);
  border-color: transparent;
}

/* ---------- Ehrlich gesagt ---------- */
.nicht-liste { margin: 0; }
.nicht-liste > div { padding: 18px 0; border-top: 1px solid var(--kante); }
.nicht-liste dt { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin-bottom: 6px; }
.nicht-liste dd { margin: 0; color: var(--papier-2); }

/* ---------- Räuchern: ein Hauch Rauch, keine Pflicht ---------- */
.raeuchern { padding-top: 0; }
.rauch-karte {
  position: relative;
  overflow: hidden;
  padding: 30px 22px 24px;
  border: 1px solid var(--kante);
  border-radius: 8px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(242, 165, 65, .10), transparent 70%),
    linear-gradient(180deg, var(--anthrazit), #111217);
}
/* Rauchfaden oben rechts, steht still */
.rauch-karte::before {
  content: "";
  position: absolute; right: 22px; top: -10px;
  width: 46px; height: 110px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 110'%3E%3Cpath d='M30 110c-14-14 10-22-2-38S8 52 22 34 34 10 20 0' fill='none' stroke='%23f3ead8' stroke-opacity='.22' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M36 104c-8-12 8-18 0-30' fill='none' stroke='%23f2a541' stroke-opacity='.25' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.rauch-karte h2 { font-size: clamp(26px, 7vw, 36px); margin-bottom: 18px; padding-right: 40px; }
.rauch-karte p:not(.kicker) { color: var(--papier-2); }
.rauch-code { color: var(--papier) !important; }
.rauch-code strong {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  color: var(--rosa-puder);
  background: rgba(236, 130, 166, .1);
  padding: 2px 8px; border-radius: 3px;
}
.rauch-link { margin: 6px 0 14px; }
.werbehinweis { font-size: 14px; color: var(--papier-3) !important; margin: 0; }

/* ---------- Für wen ---------- */
.fuerwen-raster { display: grid; gap: 36px; }
.schaf-bild { width: min(64vw, 320px); margin: 0 auto; }
.schaf-bild img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 30px 80px -30px rgba(242, 165, 65, .45); }
.fuerwen h3 { margin: 6px 0 12px; }
.liste { list-style: none; margin: 0 0 32px; padding: 0; }
.liste li { position: relative; padding: 6px 0 6px 26px; color: var(--papier-2); }
.liste li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rosa);
}
.liste-nicht li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--papier-3); }

/* ---------- So läuft's: das Zeitband ---------- */
.zeitband { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitband li {
  position: relative;
  padding: 12px 0 18px 40px;
  color: var(--papier-2);
}
.zeitband li strong { color: var(--papier); font-weight: 600; }
/* das Band */
.zeitband li::before {
  content: "";
  position: absolute; left: 9px; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(90deg, var(--band-dunkel), var(--band-hell) 50%, var(--band-dunkel));
  opacity: .8;
}
.zeitband li:first-child::before { top: 18px; }
.zeitband li:last-child::before { bottom: auto; height: 22px; }
/* der Punkt */
.zeitband li::after {
  content: "";
  position: absolute; left: 5px; top: 18px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--nacht);
  box-shadow: inset 0 0 0 2px var(--papier-3);
}
.zeitband li.a::after { box-shadow: inset 0 0 0 2px var(--bernstein); }
.zeitband li.b::after { box-shadow: inset 0 0 0 2px var(--rosa); background: rgba(236, 130, 166, .25); }
/* Leerband: durchsichtig, nichts passiert */
.zeitband li.leer { color: var(--papier-3); }
.zeitband li.leer strong { color: var(--papier-3); }
.zeitband li.leer::before {
  background: repeating-linear-gradient(180deg, rgba(243, 234, 216, .16) 0 6px, transparent 6px 12px);
  opacity: 1;
}
.zeitband li.leer::after { box-shadow: inset 0 0 0 1px var(--papier-3); width: 10px; height: 10px; left: 8px; top: 21px; }

/* ---------- Fragen ---------- */
.faq { margin: 0; }
.faq > div { padding: 20px 0; border-top: 1px solid var(--kante); }
.faq dt { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--papier-2); }
.faq-hilfe { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--kante); color: var(--papier-2); }
.faq-hilfe a { color: inherit; }

/* ---------- Verschenken ---------- */
.verschenken { padding-top: 24px; }
.verschenken-knoepfe {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  max-width: 380px;
  margin-top: 20px;
}
.gutschein {
  display: inline-block;
  padding: 6px 0;
  color: var(--rosa);
  text-decoration-color: rgba(236, 130, 166, .5);
  text-underline-offset: 5px;
  white-space: nowrap;
}

/* ---------- Schluss ---------- */
.schluss { padding: 24px 0 var(--takt); }
.schluss-bild img { width: 100%; aspect-ratio: 1122 / 1402; object-fit: cover; background: #0b0908; }
.schluss-text { max-width: 560px; margin: 32px auto 0; padding: 0 var(--rand); text-align: center; }

/* ---------- Fuß ---------- */
.fuss {
  padding: 32px var(--rand) calc(var(--deck-h) + 40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--kante);
  text-align: center;
  font-size: 15px;
}
.fuss nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.fuss a { color: var(--papier-3); padding: 10px 4px; display: inline-block; text-underline-offset: 4px; }
.fuss a:hover { color: var(--papier-2); }

/* =========================================================
   Das Deck: festes Kassettendeck am unteren Rand
   ========================================================= */
.deck { display: none; }
.js .deck {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  height: calc(var(--deck-h) + env(safe-area-inset-bottom));
  padding: 0 var(--rand) env(safe-area-inset-bottom);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(24, 25, 31, .96), rgba(10, 11, 14, .98));
  border-top: 1px solid rgba(243, 234, 216, .08);
  box-shadow: 0 -20px 40px -10px rgba(0, 0, 0, .7);
  --links: .08; --rechts: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Kerze, die herunterbrennt */
.deck-kerze { --brand: 0; position: relative; width: 12px; height: 42px; flex: none; }
.deck-kerze .wachs {
  position: absolute; left: 0; bottom: 4px;
  width: 12px;
  height: calc(28px * (1 - var(--brand) * .82));
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(90deg, #d9c9ac, #f6ecd8 45%, #cdbb9b);
}
.deck-kerze .flamme {
  position: absolute; left: 3px;
  bottom: calc(5px + 28px * (1 - var(--brand) * .82));
  width: 6px; height: 11px;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 75%, #fff6dc 0 25%, var(--glut) 45%, var(--bernstein) 75%, transparent 76%);
  box-shadow: 0 0 10px 3px rgba(242, 165, 65, .45);
  transform-origin: 50% 100%;
  animation: flackern 3.4s ease-in-out infinite alternate;
}
@keyframes flackern {
  0% { transform: scale(1, 1); opacity: .95; }
  40% { transform: scale(.94, 1.06); opacity: 1; }
  70% { transform: scale(1.03, .95); opacity: .9; }
  100% { transform: scale(.97, 1.03); opacity: 1; }
}

/* Kassettenschacht mit Wende */
.deck-schacht { width: 156px; height: 42px; perspective: 700px; flex: none; }
.deck-kassette {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.8s var(--langsam);
}
.deck-kassette.ist-b { transform: rotateY(180deg); }
.kseite {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(70, 58, 48, .9), rgba(38, 31, 26, .95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.kseite-b { transform: rotateY(180deg); }
.k-etikett {
  position: absolute; left: 6px; right: 6px; top: 3px;
  height: 14px;
  padding: 0 5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--rosa-puder), var(--rosa));
  color: var(--tinte);
  font-family: var(--hand); font-weight: 700; font-size: 13px; line-height: 15px;
  white-space: nowrap; overflow: hidden;
}
.k-fenster {
  position: absolute; left: 30px; right: 30px; bottom: 4px; height: 19px;
  border-radius: 10px;
  background: #0b0908;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.k-spule {
  position: absolute; top: 1.5px;
  width: 16px; height: 16px;
}
.k-spule.l { left: 4px; --menge: var(--links); }
.k-spule.r { right: 4px; --menge: var(--rechts); }
/* Bandwickel: wächst und schrumpft mit dem Spulen */
.k-spule::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: calc(9px + 26px * var(--menge));
  height: calc(9px + 26px * var(--menge));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #6a3b22 0 40%, var(--band-dunkel) 41% 100%);
}
.k-spule i {
  position: absolute; inset: 3px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b0908 0 22%, transparent 23%),
    repeating-conic-gradient(#efe4d2 0 22deg, #3b322b 22deg 60deg);
  will-change: transform;
}

.deck-zaehler span {
  display: inline-block;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 3px;
  background: #050506;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07);
  color: var(--papier);
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .18em;
  text-align: center;
}

.deck-rec .lampe {
  display: block;
  width: 11px; height: 11px; border-radius: 50%;
  background: #3b1c27;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: background-color 1.4s var(--langsam), box-shadow 1.4s var(--langsam);
}
.deck-rec.glimmt .lampe {
  background: var(--rosa-tief);
  box-shadow: 0 0 6px 1px rgba(214, 95, 138, .8), 0 0 18px 4px rgba(214, 95, 138, .35);
  animation: glimmen 3.6s ease-in-out infinite;
}
html[data-zustand="zu"] .deck-rec .lampe,
html[data-zustand="vor"] .deck-rec .lampe { background: #3b1c27; box-shadow: none; animation: none; }
@keyframes glimmen { 50% { opacity: .65; } }

/* =========================================================
   Breitere Bildschirme
   ========================================================= */
@media (min-width: 600px) {
  .kauf-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .kauf-links .trenner { display: inline; color: var(--papier-3); padding: 0 4px; }
  .einleger-paar { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 900px) {
  :root { --rand: 32px; --takt: 120px; }
  .hero-kicker { margin-bottom: 14px; padding-top: 22px; }
  .hero-bild img { aspect-ratio: 16 / 9; max-height: 74vh; object-position: 50% 0%; }
  .hero-text { margin-top: -40px; }
  .schluss-bild img { aspect-ratio: 16 / 9; height: auto; }

  .seite { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .seite-b .seite-bild { order: 2; }
  .seite-text { padding: 0; }
  .wege-liste { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .weg .knopf { padding: 12px 16px; font-size: 16px; }
  .fuerwen-raster { grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
  .schaf-bild { margin: 40px 0 0; }
}

/* =========================================================
   Ruhig-Fassung: prefers-reduced-motion
   Kein Deck, nichts dreht sich. Stattdessen liegen die Kassetten
   still auf dem Tisch, mit dem Band so, wie es gerade steht.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { scroll-padding-bottom: 0; }
  body::before { opacity: 1; }
  .js .deck { display: none !important; }
  .fuss { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

  /* Die stille Kassette unter jeder Seite */
  .mini-kassette {
    display: block;
    position: relative;
    width: 224px; height: 140px;
    margin: 30px 0 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(70, 58, 48, .9), rgba(32, 26, 22, .96));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 50px -24px rgba(242, 165, 65, .4);
  }
  .mk-etikett {
    position: absolute; left: 12px; right: 12px; top: 10px; height: 82px;
    padding: 6px 12px;
    border-radius: 3px;
    background:
      repeating-linear-gradient(to bottom, transparent 0 21px, rgba(43, 26, 34, .14) 21px 22px),
      linear-gradient(180deg, var(--rosa-puder), var(--rosa));
    color: var(--tinte);
    font-family: var(--hand); font-weight: 700; font-size: 21px; line-height: 22px;
  }
  .mini-kassette::after {
    content: "";
    position: absolute; left: 50px; right: 50px; top: 44px; height: 40px;
    border-radius: 20px;
    background: #0b0908;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .9);
  }
  .mk-spule {
    position: absolute; top: 51px; z-index: 1;
    width: 26px; height: 26px; border-radius: 50%;
    background:
      radial-gradient(circle, #0b0908 0 22%, transparent 23%),
      repeating-conic-gradient(#efe4d2 0 22deg, #3b322b 22deg 60deg);
    box-shadow: 0 0 0 calc(1px + 6px * var(--menge)) #4a2a1a;
  }
  .mk-spule.l { left: 60px; --menge: var(--links); }
  .mk-spule.r { right: 60px; --menge: var(--rechts); }
  .mini-kassette::before {
    content: "";
    position: absolute; left: 30px; right: 30px; bottom: 12px; height: 26px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  }

  .schaf, .schaf-rechts, .schaf-mitte { transform: none; }
}

/* Hero und Schluss laufen weich in den Raum aus */
.hero-bild, .schluss-bild { display: block; position: relative; }
.hero-bild::after, .schluss-bild::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(180deg, transparent, var(--nacht));
  pointer-events: none;
}
.schluss-bild::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3%; z-index: 1;
  background: linear-gradient(0deg, transparent, var(--nacht));
  pointer-events: none;
}
