/* learn.openrcv.eu · Papercut wie in den Videos: Bögen, Riss-Kanten, Etiketten, Stempel */
:root {
  --ink: #3B2A20; --cream: #FBF2E1; --white: #FFF8EC; --kraft: #E4CBA2; --sun: #F3C866; --ochre: #E6A63C;
  --terra: #C4553A; --rust: #9E3F2B; --teal: #2F6B66; --blue: #2C4C8C; --plum: #6A4A5A; --navy: #16295A;
  --schatten: 0 1.5px 1.5px rgba(42, 26, 16, .34), 0 9px 16px -6px rgba(42, 26, 16, .38);
  --schatten-hoch: 0 3px 3px rgba(42, 26, 16, .3), 0 18px 26px -8px rgba(42, 26, 16, .42);
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-ui: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', sans-serif;
  --rand: clamp(16px, 4.2vw, 64px);
  --kopf: 68px;
  --pop: cubic-bezier(.3, 1.55, .5, 1);
  --raus: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--navy);
  scrollbar-color: var(--ink) var(--kraft);
  scroll-padding-top: calc(var(--kopf) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-ui);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--sun); color: var(--ink); }
.ton-hell ::selection { background: var(--ink); color: var(--cream); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; flex: none; }

/* Fokus: Tinte auf hellem, Sonne auf dunklem Papier */
:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 3px; border-radius: 4px; }
.ton-dunkel { --focus: var(--sun); }
.sprung {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: .6em 1em;
  background: var(--ink); color: var(--cream); font-weight: 800; text-decoration: none;
}
.sprung:focus { top: 12px; }

/* --- Papierteile: Hintergrund als eigene Ebene mit Schnittkante (#rand) und Schatten -------- */
.papier, .marke, .heim, .sprache a, .etikett, .blase, .ticket, .knopf, .formatwahl, .pl-rahmen, .merke, .recht-kurz, .stempel--gesehen, .runter span {
  position: relative;
  isolation: isolate;
}
.marke::before, .heim::before, .sprache a::before, .etikett::before, .blase::before, .ticket::before, .knopf::before,
.formatwahl::before, .pl-rahmen::before, .merke::before, .recht-kurz::before, .runter span::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pc, var(--cream));
  box-shadow: var(--schatten);
  transition: box-shadow .25s var(--raus);
}

/* --- Kopf ---------------------------------------------------------------------------------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--kopf); padding: 12px var(--rand) 0;
  pointer-events: none;
  transition: transform .35s var(--raus);
}
.kopf > * { pointer-events: auto; }
.kopf > .kopf-links, .kopf > .sprache { transition: transform .35s var(--raus), opacity .25s; }
.kopf.weg > .kopf-links, .kopf.weg > .sprache { transform: translateY(-130%); opacity: 0; pointer-events: none; }
.kopf.weg:focus-within > .kopf-links, .kopf.weg:focus-within > .sprache { transform: none; opacity: 1; pointer-events: auto; }
.kopf-links { display: flex; align-items: center; gap: 10px; }
/* Home-Zettel: zurück zur Startseite (das Logo führt nach openrcv.eu) */
.heim {
  --pc: var(--cream);
  display: inline-flex; align-items: center; gap: .4em; height: 40px; padding: 0 13px 0 10px;
  font: 800 .95rem/1 var(--f-ui); color: var(--ink); text-decoration: none;
  rotate: 2.5deg; transition: rotate .3s var(--pop), translate .3s var(--pop);
}
.heim .ic { width: 20px; height: 20px; }
.heim:hover { rotate: -1deg; translate: 0 -2px; }
.heim:hover::before { box-shadow: var(--schatten-hoch); }
@media (max-width: 359px) { .heim span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .heim { padding: 0 8px; } .kopf { column-gap: 10px; } }
.marke { display: inline-flex; align-items: center; padding: 9px 13px; rotate: -1.5deg; transition: rotate .3s var(--pop), translate .3s var(--pop); }
.marke .logo { height: 24px; width: auto; }
.marke:hover { rotate: -3deg; translate: 0 -2px; }
.marke:hover::before { box-shadow: var(--schatten-hoch); }
.leiste { display: flex; gap: 7px; transition: transform .35s var(--raus); }
.leiste a {
  --pc: var(--c);
  display: grid; place-items: center; width: 36px; height: 36px;
  font: 800 1rem/1 var(--f-display); text-decoration: none; color: var(--cream);
  background: var(--c); box-shadow: var(--schatten);
  transition: transform .3s var(--pop), opacity .2s;
}
.leiste a[data-ton="hell"] { color: var(--ink); }
.leiste a:nth-child(odd) { transform: rotate(-2deg); }
.leiste a:nth-child(even) { transform: rotate(2deg); }
.leiste a[data-bald] { opacity: .62; }
.leiste a:hover { transform: translateY(-3px) rotate(-5deg) scale(1.06); opacity: 1; }
.leiste a[aria-current] { transform: translateY(3px) rotate(-4deg) scale(1.16); opacity: 1; box-shadow: var(--schatten-hoch); outline: 3px solid var(--cream); outline-offset: 0; }
@media (max-width: 899px) {
  :root { --kopf: 112px; }
  .kopf { flex-wrap: wrap; height: auto; row-gap: 12px; }
  .leiste { order: 3; flex: 1 0 100%; justify-content: space-between; gap: 4px; }
  .leiste a { flex: 1 1 0; width: auto; max-width: 38px; height: 34px; }
  .kopf.weg .leiste { transform: translateY(var(--leiste-hoch, -54px)); }
}
.sprache { display: flex; gap: 6px; }
.sprache a {
  display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px;
  font: 800 .95rem/1 var(--f-ui); letter-spacing: .04em; text-decoration: none;
  transition: transform .25s var(--pop);
}
.sprache a:first-child { rotate: -2deg; }
.sprache a:last-child { rotate: 2deg; }
.sprache a[aria-current] { --pc: var(--ink); color: var(--cream); }
.sprache a:hover { transform: translateY(-2px); }

/* --- Blätter: Sticky-Stapel, das nächste schiebt sich mit Riss-Kante darüber ---------------- */
main { display: block; }
.blatt {
  --fg: var(--ink); --fg2: color-mix(in srgb, var(--ink) 88%, var(--c));
  position: sticky;
  top: var(--klebe, 0px);
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--kopf) + clamp(20px, 5vh, 56px)) var(--rand) clamp(40px, 8vh, 96px);
  color: var(--fg);
  background-color: var(--c);
  background-image: url(/assets/papier.jpg);
  background-size: 400px;
  background-blend-mode: multiply;
  overflow-x: clip;
}
.ton-dunkel { --fg: var(--cream); --fg2: var(--cream); }
.blatt-innen { width: 100%; max-width: 1380px; margin: 0 auto; position: relative; z-index: 1; }
/* Horizont: gerissene Bänder in Tönen des Bogens, Motive stehen darauf */
.blatt--folge { --boden: clamp(120px, 26vh, 250px); padding-bottom: max(clamp(40px, 8vh, 96px), calc(var(--boden) * .45)); }
.boden { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--boden); max-width: none; object-fit: cover; object-position: 50% 100%; pointer-events: none; }
@media (max-width: 899px) { .blatt--folge { --boden: clamp(64px, 10svh, 100px); } }
.riss {
  position: absolute; left: 0; top: -22px; width: 100%; height: 24px;
  fill: var(--c);
  filter: drop-shadow(0 -4px 5px rgba(42, 26, 16, .2));
  pointer-events: none;
}
.blatt:has(> .riss)::before {
  content: ''; position: absolute; left: 0; right: 0; top: -80px; height: 70px;
  background: linear-gradient(to top, rgba(42, 26, 16, .2), rgba(42, 26, 16, 0));
  pointer-events: none;
}
.raster, .blatt--start, .blatt--lesen {
  background-image: url(/assets/papier.jpg), radial-gradient(circle, rgba(122, 61, 28, .15) 3.1px, transparent 3.6px);
  background-size: 400px, 22px 22px;
}

/* --- Etiketten, Blasen, Tickets, Stempel ------------------------------------------------------- */
.etikett {
  display: inline-block; padding: .38em .7em .42em;
  font: 800 1.2rem/1.2 var(--f-ui); color: var(--ink);
  rotate: -2deg;
}
.blase {
  --pc: var(--white);
  position: relative; max-width: 36ch; padding: 1em 1.25em 1.05em;
  font: 700 clamp(1.05rem, 1.25vw, 1.22rem)/1.4 var(--f-ui); color: var(--ink);
  rotate: -1deg;
}
.blase::before { border-radius: 26px; }
.blase::after {
  content: ''; position: absolute; right: 12%; bottom: -21px; width: 30px; height: 24px;
  background: var(--white); clip-path: polygon(0 0, 100% 0, 34% 100%); rotate: -8deg;
}
.blatt--rechts .blase::after { right: auto; left: 12%; clip-path: polygon(0 0, 100% 0, 66% 100%); rotate: 8deg; }
.ticket {
  --pc: var(--cream);
  display: inline-flex; align-items: center; gap: .65em;
  padding: .78em 1.05em .78em 1.2em; min-height: 52px;
  font: 800 1.12rem/1 var(--f-ui); color: var(--ink); text-decoration: none;
  transition: transform .3s var(--pop);
}
.ton-hell .ticket { --pc: var(--ink); color: var(--cream); }
.ticket-dauer { font: 700 1rem/1 var(--f-display); font-variant-numeric: tabular-nums; padding-left: .7em; border-left: 2px dashed currentColor; opacity: .85; }
.ticket .ic { transition: transform .3s var(--pop); }
.ticket:hover { transform: translateY(-3px) rotate(-1.5deg); }
.ticket:hover::before { box-shadow: var(--schatten-hoch); }
.ticket:hover .ic { transform: translateX(4px); }
.ticket:active { transform: translateY(1px) rotate(0); transition-duration: .08s; }
.ticket--hell { --pc: var(--sun); color: var(--ink); }
.stempel {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .18em .55em .22em; border: 4px solid currentColor; border-radius: 9px;
  font: 800 1.2rem/1.1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase;
  rotate: -8deg; opacity: .92;
}
.stempel-bald { display: block; width: clamp(150px, 14vw, 200px); height: auto; overflow: visible; color: var(--fg); opacity: .9; }
.ton-hell .stempel-bald { color: var(--rust); opacity: 1; }
.stempel--gesehen { border-color: transparent; padding: .3em .7em; font-size: .95rem; letter-spacing: .06em; --pc: var(--sun); color: var(--ink); rotate: 5deg; }
.stempel--gesehen::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sun); box-shadow: var(--schatten); }
.stempel--gesehen .ic { width: 18px; height: 18px; }

/* --- Startblatt -------------------------------------------------------------------------------- */
.blatt--start { overflow: clip; }
.strahlen-halter { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.strahlen {
  position: absolute; left: 66%; top: 54%; width: 170vmax; height: 170vmax; max-width: none;
  transform: translate(-50%, -50%);
  animation: kreisen 160s linear infinite;
  will-change: transform;
}
@keyframes kreisen { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
/* Eigene Ebenen: Animationen und Text-Updates lösen kein Neuberechnen der Papierfilter darunter aus (Safari rechnet SVG-Filter auf der CPU) */
.motiv-svg, .pl-buehne, .pl-ut, .pl-leiste { will-change: transform; }
.ruht .strahlen, .ruht .motiv-sterne { animation-play-state: paused; }
@keyframes drehen { to { rotate: 360deg; } }
.start-innen { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .start-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.start-h {
  font: 900 clamp(2.75rem, 6.2vw, 6rem)/.94 var(--f-display);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.start-h .w { display: inline-block; }
.start-h .w--akzent { color: var(--rust); }
.etikett--claim { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.start-stand { margin-top: 18px; max-width: 34ch; font-weight: 600; color: var(--fg2); }
.start-weiter { margin-top: 18px; }
.start-weiter .ticket { --pc: var(--ink); color: var(--cream); }
.runter {
  position: absolute; left: 50%; bottom: -6px; translate: -50% 0; z-index: 2;
  display: none; text-decoration: none; color: var(--ink);
  transition: transform .3s var(--pop);
}
.runter span { --pc: #E39F8A; display: inline-flex; align-items: center; gap: .45em; padding: .7em 1.2em 1.1em; font: 800 1rem/1 var(--f-ui); rotate: -1.5deg; }
.runter .ic { width: 20px; height: 20px; }
.runter:hover { transform: translateY(-5px); }
@media (min-width: 900px) and (min-height: 760px) { .runter { display: block; } }

/* --- Player ---------------------------------------------------------------------------------------- */
.player { margin: 0; min-width: 0; }
.pl-rahmen { --pc: var(--white); padding: clamp(7px, .8vw, 11px); }
.tesa {
  position: absolute; z-index: 3; width: clamp(64px, 8vw, 104px); height: 28px;
  background: rgba(244, 232, 205, .74);
  box-shadow: 0 1px 2px rgba(42, 26, 16, .16);
  pointer-events: none;
}
.tesa--l { left: -22px; top: -8px; rotate: -36deg; }
.tesa--r { right: -24px; top: -6px; rotate: 33deg; }
.pl-buehne {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #1E1510; container-type: inline-size;
  -webkit-tap-highlight-color: transparent;
}
.player[data-fmt="hoch"] .pl-rahmen { width: fit-content; margin-inline: auto; }
.player[data-fmt="hoch"] .pl-buehne {
  aspect-ratio: 9 / 16;
  height: min(76svh, 820px, calc((100vw - 2 * var(--rand) - 22px) * 16 / 9));
  width: auto;
}
.pl-buehne video { width: 100%; height: 100%; object-fit: contain; background: #1E1510; }
.player.bereit .pl-buehne video { cursor: pointer; }
.pl-buehne:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; }
.pl-buehne:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; }

/* Bedienung erst mit JS; ohne JS bleibt das native Video */
.pl-gross, .pl-leiste, .pl-ut, .pl-laedt, .pl-hinweis { display: none; }
.player.bereit .pl-gross, .player.bereit .pl-leiste, .player.bereit .pl-ut, .player.bereit .pl-hinweis { display: flex; }
.player.bereit .pl-laedt { display: block; }

.pl-gross {
  position: absolute; left: 50%; top: 77%; z-index: 4; translate: -50% -50%;
  align-items: center; gap: .55em; padding: .62em 1em .62em .8em;
  border: 0; cursor: pointer; white-space: nowrap;
  background: var(--sun); color: var(--ink);
  font: 800 clamp(1rem, 2.3cqi, 1.3rem)/1 var(--f-ui);
  box-shadow: 0 3px 3px rgba(20, 12, 8, .35), 0 16px 30px -8px rgba(20, 12, 8, .55);
  rotate: -2deg;
  transition: transform .35s var(--pop), opacity .2s, scale .35s var(--pop);
}
.pl-gross { width: max-content; }   /* Safari misst sonst nur die rechte Bühnenhälfte (left: 50%) */
.pl-gross > * { flex: none; }
.pl-gross .ic { width: 1.45em; height: 1.45em; }
.pl-gross-dauer { padding-left: .6em; border-left: 2px dashed currentColor; font: 700 .9em/1 var(--f-display); font-variant-numeric: tabular-nums; opacity: .85; }
.player[data-fmt="hoch"] .pl-gross { top: 75%; font-size: clamp(1rem, 4.6cqi, 1.25rem); }
@container (max-width: 560px) { .player[data-fmt="quer"] .pl-gross { top: 22%; } }
.pl-gross:hover { transform: rotate(-3deg) scale(1.05); }
.pl-gross:active { scale: .94; }
.player.spielt .pl-gross { opacity: 0; scale: .5; pointer-events: none; }

.pl-leiste {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5;
  align-items: center; gap: 2px; padding: 4px 8px;
  background: rgba(46, 32, 24, .93); color: var(--cream);
  box-shadow: 0 2px 2px rgba(10, 6, 4, .3), 0 10px 20px -6px rgba(10, 6, 4, .5);
  transition: opacity .25s var(--raus), transform .3s var(--raus);
}
.player.ruhig .pl-leiste { opacity: 0; transform: translateY(14px); pointer-events: none; }
.player.ruhig .pl-buehne { cursor: none; }
.pl-k {
  display: grid; place-items: center; flex: none;
  min-width: 42px; height: 42px; padding: 0 6px;
  border: 0; border-radius: 6px; background: transparent; cursor: pointer;
  transition: background-color .15s, color .15s, transform .2s var(--pop);
}
.pl-k:hover { background: rgba(251, 242, 225, .13); }
.pl-k:active { transform: scale(.9); }
.pl-k[aria-pressed="true"] { color: var(--sun); }
.pl-tempo { font: 800 .95rem/1 var(--f-ui); font-variant-numeric: tabular-nums; min-width: 50px; }
.pl-zeit { flex: none; padding: 0 8px 0 4px; font: 650 .9rem/1 var(--f-ui); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-trenn { margin: 0 .3em; opacity: .55; }
.pl-spur { position: relative; flex: 1; min-width: 60px; height: 40px; margin: 0 8px; cursor: pointer; touch-action: none; border-radius: 4px; }
.pl-schiene { position: absolute; left: 0; right: 0; top: 50%; height: 8px; translate: 0 -50%; background: rgba(251, 242, 225, .2); scale: 1 .75; transition: scale .2s var(--raus); }
.pl-spur:hover .pl-schiene, .pl-spur.zieht .pl-schiene { scale: 1 1.25; }
.pl-puffer, .pl-fort { position: absolute; left: 0; top: 0; bottom: 0; }
.pl-puffer, .pl-fort { width: 100%; transform-origin: 0 50%; }
.pl-puffer { transform: scaleX(var(--pp, 0)); background: rgba(251, 242, 225, .28); }
.pl-fort { transform: scaleX(var(--p, 0)); background: var(--sun); }
.pl-knauf {
  position: absolute; left: calc(var(--p, 0) * 100%); top: 50%; width: 18px; height: 18px;
  translate: -50% -50%; border-radius: 50%; background: var(--sun);
  box-shadow: 0 2px 3px rgba(10, 6, 4, .45);
  transition: scale .2s var(--pop);
}
.pl-spur:hover .pl-knauf, .pl-spur.zieht .pl-knauf { scale: 1.25; }
.pl-tipp {
  position: absolute; bottom: calc(100% + 6px); left: var(--tipp, 0%); translate: -50% 0;
  padding: .3em .5em; background: var(--cream); color: var(--ink);
  font: 800 .85rem/1 var(--f-ui); font-variant-numeric: tabular-nums;
  box-shadow: var(--schatten); rotate: -3deg;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.pl-spur:hover .pl-tipp, .pl-spur.zieht .pl-tipp { opacity: 1; }
@container (max-width: 560px) {
  .pl-leiste { flex-wrap: wrap; padding: 2px 6px 4px; }
  .pl-spur { order: -1; flex-basis: 100%; height: 30px; margin: 0 6px; }
  .pl-zeit { margin-right: auto; }
  .pl-k { min-width: 36px; height: 40px; padding: 0 4px; }
  .pl-tempo { min-width: 42px; }
  .pl-zeit { padding: 0 4px 0 2px; font-size: .85rem; }
}

.pl-ut {
  position: absolute; left: 50%; bottom: 9%; z-index: 4; width: 88%;
  translate: -50% 0; justify-content: center; text-align: center;
  pointer-events: none; transition: bottom .3s var(--raus);
}
.pl-ut span {
  display: inline; padding: .1em .45em .14em;
  background: rgba(40, 28, 21, .9); color: var(--cream);
  font: 650 clamp(15px, 3cqi, 32px)/1.42 var(--f-ui);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  box-shadow: 0 2px 3px rgba(20, 12, 8, .35);
}
.pl-ut span:empty { display: none; }
.player[data-fmt="hoch"] .pl-ut span { font-size: clamp(14px, 4.4cqi, 26px); }
.player:not(.ruhig).spielt .pl-ut, .player:not(.spielt) .pl-ut { bottom: calc(9% + 52px); }
@container (max-width: 560px) { .player:not(.ruhig).spielt .pl-ut, .player:not(.spielt) .pl-ut { bottom: calc(6% + 84px); } }
.player[data-fmt="hoch"] .pl-ut { bottom: 3%; width: 92%; }
.player[data-fmt="hoch"]:not(.ruhig).spielt .pl-ut, .player[data-fmt="hoch"]:not(.spielt) .pl-ut { bottom: auto; top: 9%; }

.pl-laedt {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: 64px; height: 64px; translate: -50% -50%;
  background: repeating-conic-gradient(var(--sun) 0 11deg, transparent 11deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 36%, #000 38%, #000 68%, transparent 70%);
  mask: radial-gradient(circle, transparent 36%, #000 38%, #000 68%, transparent 70%);
  opacity: 0; transition: opacity .2s; pointer-events: none;
  animation: drehen 1.6s linear infinite;
}
.player.laedt .pl-laedt { opacity: 1; }
.pl-hinweis {
  position: absolute; right: 16px; top: 16px; z-index: 6; pointer-events: none;
}
.pl-hinweis span {
  display: inline-block; padding: .4em .7em; background: var(--cream); color: var(--ink);
  font: 800 .95rem/1 var(--f-ui); box-shadow: var(--schatten); rotate: -3deg;
  animation: hinweis 2.2s var(--raus) both;
}
@keyframes hinweis {
  0% { opacity: 0; transform: translateY(-8px) scale(.8); }
  12%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
.pl-ende {
  position: absolute; inset: 0; z-index: 7;
  display: grid; place-content: center; justify-items: center; gap: 18px; padding: 20px;
  background: rgba(30, 21, 16, .82); color: var(--cream); text-align: center;
}
.pl-ende[hidden] { display: none; }
.pl-ende p { font: 900 clamp(1.3rem, 4.4cqi, 2.4rem)/1.1 var(--f-display); text-wrap: balance; }
.pl-ende .ticket { --pc: var(--next, var(--sun)); color: var(--next-fg, var(--ink)); animation: aufkleben .6s var(--pop) .15s backwards; }
.pl-ende .pl-nochmal { display: inline-flex; align-items: center; gap: .45em; padding: .5em .8em; border: 0; background: transparent; color: var(--cream); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@keyframes aufkleben { from { opacity: 0; transform: scale(.6) rotate(-10deg); } to { opacity: 1; transform: none; } }
.pl-fehler { display: grid; justify-items: center; gap: 12px; }

.pl-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin-top: 18px; }
.player[data-fmt="hoch"] .pl-fuss { justify-content: center; }
.formatwahl { --pc: var(--white); display: inline-flex; padding: 4px; gap: 2px; rotate: -1deg; }
.formatwahl button {
  display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: 0 .85em 0 .7em;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  font: 750 .95rem/1 var(--f-ui);
  transition: background-color .2s, color .2s;
}
.formatwahl button .ic { width: 20px; height: 20px; }
.formatwahl button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.formatwahl button:not([aria-pressed="true"]):hover { background: rgba(59, 42, 32, .08); }
.nojs .formatwahl { display: none; }
.pl-titel {
  display: inline-flex; align-items: center; gap: .4em;
  font: 800 1.05rem/1.2 var(--f-ui); text-decoration: none; color: var(--fg);
}
.pl-titel .ic { width: 20px; height: 20px; transition: transform .25s var(--pop); }
.pl-titel:hover { text-decoration: underline; }
.pl-titel:hover .ic { transform: translateX(4px); }

/* --- Folgenblätter ----------------------------------------------------------------------------- */
.blatt--folge .blatt-innen {
  display: grid; gap: clamp(20px, 4vw, 72px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .blatt--folge .blatt-innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .blatt--rechts .blatt-innen { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .blatt--rechts .folge-text { order: 2; }
  .folge-motiv { align-self: end; }
}
.folge-text {
  display: grid; align-content: start; justify-items: start;
  grid-template-columns: auto minmax(0, 1fr); column-gap: 18px;
  grid-template-areas: "nr titel" "nr unter" "blase blase" "aktion aktion";
}
@media (min-width: 900px) {
  .folge-text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nr" "titel" "unter" "blase" "aktion"; }
}
.nummer {
  grid-area: nr; align-self: center;
  font: 900 clamp(5.4rem, 15vw, 13.5rem)/1.05 var(--f-display);
  letter-spacing: -.04em; color: var(--z);
  text-shadow: 0 2px 1px rgba(42, 26, 16, .35), 0 12px 20px rgba(42, 26, 16, .28);
  rotate: -4deg; margin: -.14em 0 -.08em -.04em; padding: 0 .08em 0 .02em;
}
.folge-titel {
  grid-area: titel; align-self: end;
  font: 900 clamp(2.1rem, 4.6vw, 4.5rem)/.98 var(--f-display);
  letter-spacing: -.02em; text-wrap: balance;
}
@media (min-width: 900px) { .folge-titel { margin-top: clamp(10px, 2vh, 22px); } }
.folge-unter { grid-area: unter; margin-top: .55em; max-width: 38ch; font: 650 clamp(1.02rem, 1.35vw, 1.28rem)/1.35 var(--f-ui); color: var(--fg2); }
.blase { grid-area: blase; margin-top: clamp(22px, 4vh, 40px); }
.folge-aktion { grid-area: aktion; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: clamp(32px, 5vh, 50px); }
.folge-motiv { position: relative; isolation: isolate; display: grid; place-items: center; min-width: 0; }
.motiv-svg { width: 100%; max-width: 700px; height: auto; max-height: 64vh; overflow: visible; }
/* Motiv aus vorgerechneten Bild-Ebenen (raster.mjs); bewegte Teile verschiebt CSS in viewBox-Einheiten (--ux, --uy) */
.motiv { display: grid; position: relative; width: min(100%, 700px, calc(64vh * var(--ar))); aspect-ratio: var(--ar); margin-inline: auto; }
.motiv > .ebene { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; max-width: none; }
.motiv > .motiv-svg { grid-area: 1 / 1; width: 100%; height: 100%; max-width: none; max-height: none; }
.teil { will-change: transform; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
.ruht .teil { animation-play-state: paused; }
.t-becher-l { animation-name: becherL; animation-duration: 8s; }
.t-becher-r { animation-name: becherR; animation-duration: 8s; }
.t-becher-m { animation-name: becherM; animation-duration: 8s; }
@keyframes becherL { 0%, 18% { transform: none; } 34%, 42% { transform: translate(calc(140 * var(--ux)), 0); } 58%, 66% { transform: translate(calc(280 * var(--ux)), 0); } 74% { transform: translate(calc(140 * var(--ux)), calc(-175 * var(--uy))); } 82%, 100% { transform: none; } }
@keyframes becherR { 0%, 18% { transform: none; } 26% { transform: translate(calc(-140 * var(--ux)), calc(-175 * var(--uy))); } 34%, 42% { transform: translate(calc(-280 * var(--ux)), 0); } 58%, 66% { transform: translate(calc(-140 * var(--ux)), 0); } 82%, 100% { transform: none; } }
@keyframes becherM { 0% { transform: none; } 7% { transform: translate(0, calc(-84 * var(--uy))); } 14%, 18% { transform: none; } 34%, 42% { transform: translate(calc(140 * var(--ux)), 0); } 50% { transform: translate(0, calc(-175 * var(--uy))); } 58%, 66% { transform: translate(calc(-140 * var(--ux)), 0); } 82%, 100% { transform: none; } }
/* Folge 3: der Laster pendelt Brüssel → Straßburg und zurück; gewendet wird außerhalb des Rahmens */
.motiv--rahmen { clip-path: inset(-20% 0 -20% 0); }
.t-laster { animation-name: laster; animation-duration: 14s; animation-timing-function: linear; }
@keyframes laster {
  0% { transform: translateX(calc(-360 * var(--ux))); }
  44% { transform: translateX(calc(450 * var(--ux))); }
  50% { transform: translateX(calc(450 * var(--ux))) scaleX(-1); }
  94% { transform: translateX(calc(-360 * var(--ux))) scaleX(-1); }
  100% { transform: translateX(calc(-360 * var(--ux))); }
}
.t-stempel { animation-name: stempeln-schleife; animation-duration: 3.4s; }
@keyframes stempeln-schleife { 0% { transform: translate(calc(40 * var(--ux)), calc(-120 * var(--uy))); } 18% { transform: translate(calc(40 * var(--ux)), calc(-120 * var(--uy))); animation-timing-function: cubic-bezier(.6, 0, 1, .6); } 34%, 46% { transform: translate(0, calc(6 * var(--uy))); animation-timing-function: cubic-bezier(.3, 0, .3, 1); } 100% { transform: translate(calc(40 * var(--ux)), calc(-120 * var(--uy))); } }
.t-abdruck { animation-name: abdruck; animation-duration: 3.4s; animation-timing-function: linear; }
@keyframes abdruck { 0%, 34% { opacity: 0; } 36%, 90% { opacity: 1; } 100% { opacity: 0; } }
.t-glocke { animation-name: glocke; animation-duration: 3s; }
@keyframes glocke { 0% { transform: none; } 8% { transform: rotate(16deg); } 16% { transform: rotate(-12deg); } 24% { transform: rotate(8deg); } 32%, 100% { transform: none; } }
.t-akku { animation-name: akku; animation-duration: 4.2s; }
@keyframes akku { 0%, 30% { transform: scaleX(.185); } 82%, 92% { transform: none; } 100% { transform: scaleX(.185); } }
.t-blitz { animation-name: blitz; animation-duration: 4.2s; animation-timing-function: linear; }
@keyframes blitz { 0%, 30% { opacity: 0; } 34%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
.t-stecker { animation-name: stecker; animation-duration: 4.2s; }
@keyframes stecker { 0%, 12% { transform: translateY(calc(26 * var(--uy))); } 30%, 90% { transform: none; } 100% { transform: translateY(calc(26 * var(--uy))); } }
.t-balken { animation-name: balken; animation-duration: 4s; }
@keyframes balken { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.t-schale-l { animation-name: schaleL; animation-duration: 4s; }
.t-schale-r { animation-name: schaleR; animation-duration: 4s; }
@keyframes schaleL { 0%, 100% { transform: translateY(calc(18 * var(--uy))); } 50% { transform: translateY(calc(-18 * var(--uy))); } }
@keyframes schaleR { 0%, 100% { transform: translateY(calc(-18 * var(--uy))); } 50% { transform: translateY(calc(18 * var(--uy))); } }
.t-muenze { animation-name: muenze; animation-duration: 2.6s; animation-timing-function: linear; }
@keyframes muenze { 0% { transform: translateY(calc(-180 * var(--uy))); opacity: 0; } 15% { transform: translateY(calc(-180 * var(--uy))); opacity: 1; animation-timing-function: cubic-bezier(.55, 0, 1, .45); } 50%, 80% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.t-zettel { animation-name: zettel; animation-duration: 3.4s; animation-timing-function: linear; }
@keyframes zettel { 0% { transform: translateY(calc(-72 * var(--uy))); opacity: 0; } 12% { transform: translateY(calc(-72 * var(--uy))); opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .2, 1); } 45% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, 1, 1); } 70% { transform: translateY(calc(150 * var(--uy))); opacity: 1; } 71%, 100% { transform: translateY(calc(150 * var(--uy))); opacity: 0; } }
.t-rauch { animation-name: rauch; animation-duration: 7s; animation-timing-function: linear; }
@keyframes rauch { 0% { transform: none; opacity: 0; } 20%, 70% { opacity: .95; } 100% { transform: translate(-.875%, -8.5%); opacity: 0; } }
.buehnenlicht { position: absolute; inset: -18% -8%; z-index: -1; pointer-events: none; }
.buehnenlicht .strahlen { width: 125%; height: auto; aspect-ratio: 1; left: 50%; top: 50%; animation-duration: 120s; }
/* Folge 1: Ruinen über die ganze Breite statt Motiv im Kasten */
.blatt--band { --band: 52vh; padding-bottom: 21vh; }
.blatt--band .blatt-innen { grid-template-columns: minmax(0, 640px); }
.ruinen-halter { position: absolute; left: 0; right: 0; bottom: 0; height: var(--band); pointer-events: none; }
/* Unten verankert, mindestens bandhoch und bildschirmbreit; Himmel (Sonne, Rauch) darf nach oben über das Band hinausragen statt beschnitten zu werden */
.ruinen-halter > img { position: absolute; left: 50%; bottom: 0; width: max(100%, calc(var(--band) * 1600 / 540)); height: auto; aspect-ratio: 1600 / 540; max-width: none; translate: -50% 0; }
@media (max-width: 899px) { .blatt--band { --band: 34svh; padding-bottom: 28svh; } }
@media (max-width: 899px) {
  .folge-motiv { order: -1; }
  .motiv-svg { max-width: min(76vw, 420px); max-height: 30svh; }
  .motiv { width: min(100%, 76vw, 420px, calc(30svh * var(--ar))); }
}
.m-text { font-family: var(--f-ui); font-weight: 800; }
.m-zahl { font-family: var(--f-display); font-weight: 900; }

/* Auftritt: erst mit JS versteckt, Notfall-Klasse zeigt alles */
.js:not(.alles-da) .blatt--folge:not(.ist-da) :is(.nummer, .folge-titel, .folge-unter, .blase, .folge-aktion),
.js:not(.alles-da) .blatt--folge:not(.ist-da) :is(.m-pop, .m-stempel, .m-sonne),
.js:not(.alles-da) .blatt--schluss:not(.ist-da) .m-pop { opacity: 0; }
.js .blatt--folge.ist-da .nummer { animation: zahlPop .8s var(--pop) backwards; }
.js .blatt--folge.ist-da .folge-titel { animation: hoch .6s var(--raus) .08s backwards; }
.js .blatt--folge.ist-da .folge-unter { animation: hoch .6s var(--raus) .16s backwards; }
.js .blatt--folge.ist-da .blase { animation: blasePop .6s var(--pop) .3s backwards; transform-origin: 80% 110%; }
.js .blatt--folge.blatt--rechts.ist-da .blase { transform-origin: 20% 110%; }
.js .blatt--folge.ist-da .folge-aktion { animation: aufkleben .55s var(--pop) .48s backwards; transform-origin: 20% 50%; }
.js .blatt--folge.ist-da .m-pop { animation: aufkleben .45s var(--pop) backwards; animation-delay: calc(var(--i) * 28ms + .2s); transform-box: fill-box; transform-origin: center; }
.js .blatt--schluss.ist-da .m-pop { animation: aufkleben .4s var(--pop) backwards; animation-delay: calc(var(--i) * 14ms + .15s); transform-box: fill-box; transform-origin: center; }
.js .blatt--folge.ist-da .m-stempel { animation: stempeln .5s cubic-bezier(.5, 0, .75, 0) .7s backwards; transform-box: fill-box; transform-origin: center; }
.js .blatt--folge.ist-da .m-sonne { animation: aufgehen 1.4s var(--raus) .1s backwards; }
@keyframes zahlPop { from { opacity: 0; transform: translateY(.3em) rotate(-16deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes hoch { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes blasePop { from { opacity: 0; transform: scale(.5) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes stempeln { 0% { opacity: 0; transform: scale(1.9) rotate(-10deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes aufgehen { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

/* Startblatt-Auftritt: Wörter fallen wie die Titelkarte der Videos */
.start-h .w { animation: wortPop .7s var(--pop) backwards; animation-delay: calc(var(--i) * 75ms + .1s); }
.blatt--start .etikett--claim { animation: aufkleben .6s var(--pop) .7s backwards; }
.blatt--start .player { animation: hinlegen .8s var(--raus) .25s backwards; }
.blatt--start .tesa { animation: kleben .4s var(--raus) 1s backwards; }
@keyframes wortPop { from { opacity: 0; transform: translateY(.45em) rotate(-9deg) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes hinlegen { from { opacity: 0; transform: translateY(40px) rotate(3.5deg) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes kleben { from { opacity: 0; scale: .2 1; } to { opacity: 1; scale: 1 1; } }

/* --- Folgenseite: Playerblatt und Leseblatt ------------------------------------------------- */
.player-innen { display: grid; gap: clamp(18px, 3vh, 32px); }
.pl-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(14px, 2vw, 26px); align-items: center; }
.nummer--kopf { grid-area: auto; grid-row: 1 / span 2; font-size: clamp(4.4rem, 10vw, 8rem); margin: -.14em 0 -.1em; }
.pl-kopf .folge-titel { grid-area: auto; align-self: end; font-size: clamp(2.1rem, 5vw, 4.2rem); }
.pl-kopf .folge-unter { grid-area: auto; grid-column: 2; align-self: start; margin-top: .35em; }
.blatt--player .player { width: 100%; justify-self: center; }
.blatt--player .pl-fuss { justify-content: center; }
@media (min-width: 1100px) {
  .player-innen { grid-template-columns: minmax(240px, 310px) minmax(0, 1fr); align-items: center; column-gap: clamp(40px, 4vw, 72px); }
  .pl-kopf { display: block; }
  .nummer--kopf { display: block; font-size: clamp(7rem, 11vw, 10.5rem); margin: -.16em 0 -.06em -.04em; }
  .pl-kopf .folge-titel { font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
  .pl-kopf .folge-unter { margin-top: .6em; }
  .blatt--player .player { max-width: min(1100px, calc((100svh - var(--kopf) - 230px) * 16 / 9 + 22px)); }
  .blatt--player .player[data-fmt="hoch"] { max-width: none; }
}

.blatt--lesen { --c: #FBF2E1; align-items: start; }
.lesen-innen { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 960px) {
  .lesen-innen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .lesen-seite { position: sticky; top: calc(var(--kopf) + 28px); }
}
.merke { --pc: var(--sun); padding: clamp(24px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px); rotate: -1.2deg; }
.merke strong { font-weight: 900; color: var(--rust); }
.merke p { font: 750 clamp(1.3rem, 2vw, 1.7rem)/1.28 var(--f-display); text-wrap: pretty; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.knopf {
  --pc: var(--white);
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .6em 1em;
  border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--ink);
  font: 800 1rem/1.15 var(--f-ui); text-align: left;
  transition: transform .25s var(--pop);
}
.knopf:hover { transform: translateY(-2px) rotate(-1deg); }
.knopf:hover::before { box-shadow: var(--schatten-hoch); }
.knopf:active { transform: none; }
.knopf--laden { --pc: var(--ink); color: var(--cream); flex-basis: 100%; }
.knopf--laden small { display: block; margin-top: .2em; font: 600 .85rem/1.3 var(--f-ui); opacity: .82; }
.knopf.ok { --pc: var(--sun); }
.mitlesen h2 { font: 900 clamp(1.9rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.015em; }
.mitlesen-hilfe { margin-top: .5em; color: var(--fg2); font-weight: 600; }
.mitlesen-text { margin-top: 26px; max-width: 66ch; font: 450 1.12rem/1.7 var(--f-ui); }
.mitlesen-text p + p { margin-top: 1.1em; }
.cue {
  padding: .05em .1em; margin: 0 -.05em; border-radius: 3px; cursor: pointer;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-color .2s;
}
.cue:hover { background: rgba(230, 166, 60, .32); }
.cue.jetzt { background: linear-gradient(transparent 10%, var(--sun) 10%, var(--sun) 92%, transparent 92%); }
.cue-zeit {
  display: inline-block; margin-right: .35em; padding: .16em .45em; translate: 0 -.1em; border: 0; cursor: pointer;
  background: var(--kraft); font: 800 .8rem/1.2 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--ink);
  box-shadow: 0 1px 1px rgba(42, 26, 16, .25); transition: background-color .2s, transform .2s var(--pop);
}
.cue-zeit:hover { background: var(--sun); transform: rotate(-3deg); }

/* --- Schlussblatt ---------------------------------------------------------------------------- */
.blatt--schluss { align-items: start; padding-bottom: 32px; }
.blatt--schluss .blatt-innen { display: grid; gap: clamp(48px, 7vw, 110px); align-items: center; }
@media (min-width: 960px) { .blatt--schluss .blatt-innen:has(.schluss-liste) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.schluss-h { font: 900 clamp(2rem, 4vw, 3.5rem)/1.02 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.schluss-openrcv { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(40px, 8vh, 90px) 0; }
.schluss-openrcv p { max-width: 50ch; color: var(--fg2); font-weight: 550; font-size: 1.12rem; }
.schluss-halbrund { width: clamp(260px, 30vw, 440px); margin-bottom: 6px; }
.schluss-halbrund .motiv-svg { max-height: none; }
.folgenliste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.folgenliste a, .fl-bald { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 6px 4px; text-decoration: none; border-radius: 6px; transition: transform .25s var(--pop), background-color .2s; }
.folgenliste a:hover { transform: translateX(6px); background: rgba(251, 242, 225, .07); }
.fl-nr { display: grid; place-items: center; width: 44px; height: 44px; background: var(--c); color: var(--cream); font: 900 1.25rem/1 var(--f-display); box-shadow: var(--schatten); rotate: -3deg; transition: rotate .3s var(--pop); }
.folgenliste li:nth-child(even) .fl-nr { rotate: 3deg; }
.folgenliste a:hover .fl-nr { rotate: -10deg; }
.fl-nr[data-ton="hell"] { color: var(--ink); }
.fl-titel { font: 750 1.15rem/1.2 var(--f-ui); }
.fl-meta { font: 700 .95rem/1 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--fg2); }
.fl-bald { opacity: .6; }
.folgenliste li[aria-current] .fl-titel { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: .25em; }
.fuss {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  max-width: 1380px; width: 100%; margin: clamp(30px, 6vh, 64px) auto 0; padding-top: 22px;
  border-top: 2px dashed rgba(251, 242, 225, .28);
  font-size: .95rem; color: var(--fg2);
}
.marke--fuss { padding: 7px 11px; }
.marke--fuss .logo { height: 20px; }
.fuss p:last-child { margin-left: auto; }
.fuss a { font-weight: 700; }

/* --- Abriss: Papierstreifen nach oben ---------------------------------------------------------- */
.abriss {
  --riss: polygon(0 0, 100% 0, 100% 91%, 86% 96%, 72% 92%, 58% 99%, 44% 93%, 30% 98%, 15% 92%, 0 96%);
  position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  isolation: isolate; display: grid; justify-items: center; gap: 8px;
  width: 44px; padding: 18px 0 20px;
  color: var(--ink); text-decoration: none;
  rotate: 4deg; transform-origin: 50% 0;
  transition: translate .45s var(--pop), rotate .3s var(--pop), opacity .2s;
}
.abriss::before, .abriss::after { content: ''; position: absolute; inset: 0; clip-path: var(--riss); }
.abriss::before { z-index: -2; background: rgba(42, 26, 16, .32); translate: 2px 4px; }
.abriss::after {
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(59, 42, 32, .45) 0 5px, transparent 5px 9px) 0 8px / 100% 2px no-repeat, url(/assets/papier.jpg) 0 0 / 400px, var(--cream);
  background-blend-mode: normal, multiply, normal;
}
.abriss .ic { width: 20px; height: 20px; rotate: 180deg; }
.abriss span { writing-mode: vertical-rl; rotate: 180deg; font: 800 .78rem/1 var(--f-ui); letter-spacing: .05em; }
.abriss:hover { rotate: 0deg; translate: 0 -4px; }
.abriss:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.js .abriss:not(.da) { translate: 0 150%; opacity: 0; pointer-events: none; }
#inhalt:focus { outline: none; }

/* --- Impressum und Datenschutz ------------------------------------------------------------------ */
.recht-h { font: 900 clamp(2.3rem, 4.6vw, 3.9rem)/.98 var(--f-display); letter-spacing: -.02em; text-wrap: balance; hyphens: manual; }
.recht-vorab { margin-top: .9em; max-width: 36ch; font: 650 1.12rem/1.45 var(--f-ui); color: var(--fg2); }
.recht-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.recht-hinweis { margin-top: 26px; max-width: 40ch; font-size: .95rem; color: var(--fg2); }
.recht-text { max-width: 68ch; font: 450 1.06rem/1.65 var(--f-ui); overflow-wrap: break-word; }
.recht-text section { scroll-margin-top: calc(var(--kopf) + 24px); }
.recht-text section + section { margin-top: clamp(56px, 7vw, 88px); }
.recht-text h2 { margin-bottom: .6em; font: 900 clamp(1.9rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.015em; }
.recht-text h3 { margin: 1.8em 0 .45em; font: 800 1.15rem/1.3 var(--f-ui); }
.recht-text :is(p, ul, address) + :is(p, ul, address) { margin-top: .85em; }
.recht-text ul { padding-left: 1.2em; }
.recht-text li + li { margin-top: .3em; }
.recht-text a { color: inherit; font-weight: 700; text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.recht-text code { font: 700 .95em/1 var(--f-ui); background: var(--kraft); padding: .1em .35em; }
.recht-adresse { font-style: normal; }
.recht-credits li { font-weight: 600; }
.recht-kurz { --pc: var(--sun); margin: 1.5em 0 .6em; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 32px); rotate: -.8deg; }
.recht-kurz h3 { margin-top: 0; font-family: var(--f-display); font-weight: 900; font-size: 1.35rem; }
.recht-kurz ul { font-weight: 650; }
.recht-knopf { margin-top: 1.2em; }
.nojs .recht-knopf { display: none; }
.recht-stand { margin-top: 2em; font-weight: 700; color: var(--fg2); }

/* --- 404 --------------------------------------------------------------------------------------- */
.blatt--404 .start-innen { grid-template-columns: 1fr; }
.blatt--404 .ticket { margin-top: 34px; }

/* --- Weniger Bewegung ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .strahlen, .pl-laedt, .teil { animation: none !important; }
  .js .blatt--folge.ist-da :is(.nummer, .folge-titel, .folge-unter, .blase, .folge-aktion, .m-pop, .m-stempel, .m-sonne) { animation: einblenden .3s ease both !important; }
  @keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
  .ticket:hover, .knopf:hover, .marke:hover, .leiste a:hover { transform: none; rotate: 0deg; }
}
