/*
 * ONZA — Kartenetui als Kurzfilm.
 * Gestaltung nach Onoma (onoma.life): fast schwarzer Grund, warmes Off-White, Neue Haas Grotesk / Helvetica Neue
 * fett in Versalien mit enger Zeilenhöhe, Haarlinien statt Karten, asymmetrisch. Keine Eyebrows über Überschriften:
 * kleine Versalzeilen nur für echte Angaben (Preis, Maße, Formularfelder).
 * Farben, Größen und Kurven nur aus den Tokens unten.
 */
@font-face { font-family: "Hanken Grotesk"; src: url(../assets/fonts/HankenGrotesk-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../assets/fonts/HankenGrotesk-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../assets/fonts/HankenGrotesk-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --bg-raised: #111110;
  --fg: #f1f0ec;
  --fg-muted: #9a9994;
  --fg-faint: #4a4946;
  --line: #292929;
  --accent: #c8c0b3;
  --paper: #efece4;
  --ink: #141413;

  --sans: "Neue Haas Grotesk Display", "Neue Haas Grotesk Text", "Helvetica Neue", "Hanken Grotesk", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, "Cascadia Mono", Consolas, monospace;

  --text-hero: clamp(2.6rem, 0.6rem + 8.2vw, 8.25rem);
  --text-display: clamp(2.1rem, 1rem + 4.4vw, 5.25rem);
  --text-title: clamp(2.5rem, 0.6rem + 5.4vw, 6.25rem);
  --text-heading: clamp(1.5rem, 1.3rem + 1vw, 2.125rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  --text-small: 0.9375rem;
  --text-label: 0.75rem;

  --leading-tight: 0.92;
  --leading-body: 1.55;
  --tracking-tight: -0.028em;
  --tracking-label: 0.14em;

  --gutter: 20px;
  --section-y: 96px;
  --radius: 2px;
  --tap: 52px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --kopf-h: 56px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 128px; --text-label: 0.6875rem; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --section-y: 160px; } }

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: var(--text-body);
  line-height: var(--leading-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }

.h-hero, .h-display, .h-title {
  margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-tight); line-height: var(--leading-tight);
  text-wrap: balance;
}
.h-hero { font-size: var(--text-hero); }
.h-display { font-size: var(--text-display); }
.h-title { font-size: var(--text-title); letter-spacing: -0.035em; }
.lead { font-size: var(--text-lead); color: var(--fg); max-width: 30em; margin: 0; text-wrap: pretty; }
.muted { color: var(--fg-muted); }
.label { font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 500; color: var(--fg-muted); }
.wrap { padding-inline: var(--gutter); }

/* Filmkorn über allem: leise, ohne Mischmodus (billig für die GPU) */
.korn {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: korn 1.1s steps(6) infinite;
}
@keyframes korn {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: var(--tap); padding: 0 26px;
  background: var(--fg); color: var(--bg); border-radius: var(--radius); font-weight: 500; font-size: 1rem; letter-spacing: -0.005em;
  transition: background var(--dur, .3s) var(--ease), transform .2s var(--ease);
}
.knopf:hover { background: #fff; }
.knopf:active { transform: translateY(1px); }
.knopf .pfeil { width: 18px; height: 18px; flex: none; }
.knopf--leise { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.knopf--leise:hover { background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--fg-faint); }
.knopf--breit { width: 100%; }

/* Kopf: eine durchgehende, deckende Leiste */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--kopf-h); display: flex; align-items: center;
  justify-content: space-between; padding-inline: var(--gutter); background: rgba(10, 10, 10, .92);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
.kopf.ist-gescrollt { border-bottom-color: var(--line); }
.marke { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.32em; text-decoration: none; text-transform: uppercase; }
.kopf-rechts { display: flex; align-items: center; gap: 6px; }
.kopf-knopf {
  height: 36px; padding: 0 12px; font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
  font-weight: 500; color: var(--fg-muted); border-radius: var(--radius); transition: color .3s var(--ease), background .3s var(--ease);
}
.kopf-knopf:hover { color: var(--fg); }
.kopf-knopf[aria-pressed="true"] { color: var(--fg); }
.kopf-knopf--rechnung { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.kopf-knopf--rechnung [data-anzahl] { display: inline-block; min-width: 1.4em; text-align: right; font-variant-numeric: tabular-nums; }
.ton-welle { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; margin-right: 8px; vertical-align: -1px; }
.ton-welle i { width: 2px; height: 4px; background: currentColor; transition: height .3s var(--ease); }
.ton-welle i:nth-child(2) { height: 8px; } .ton-welle i:nth-child(3) { height: 6px; }
[aria-pressed="true"] .ton-welle i { animation: welle 1s var(--ease) infinite alternate; }
[aria-pressed="true"] .ton-welle i:nth-child(2) { animation-delay: -.4s; }
[aria-pressed="true"] .ton-welle i:nth-child(3) { animation-delay: -.7s; }
@keyframes welle { from { height: 3px; } to { height: 10px; } }

/* ── Kaufen (oben) ────────────────────────────────────────── */
.kauf {
  position: relative; display: grid; gap: 18px; padding: calc(var(--kopf-h) + 14px) var(--gutter) 40px; min-height: 100svh;
  align-content: start;
}
.kauf-bild { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.kauf-bild .etui-bild { height: min(25svh, 520px); opacity: 0; transform: translateY(14px) scale(.98); animation: auftritt 1.2s var(--ease-out) .05s forwards; }
@keyframes auftritt { to { opacity: 1; transform: none; } }
.etui-bild { position: relative; aspect-ratio: 511 / 838; }
.etui-bild img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .65)); transition: opacity .35s var(--ease), transform .6s var(--ease-out); }
.etui-bild img.ist-weg { opacity: 0; transform: translateY(8px) scale(.985); }
.glanz {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--maske) center / contain no-repeat; mask: var(--maske) center / contain no-repeat;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 255, 255, .5) 47%, rgba(255, 255, 255, .08) 53%, transparent 60%);
  background-size: 320% 100%; background-position: 130% 0; mix-blend-mode: soft-light;
  animation: glanz 2.6s var(--ease) .8s both;
}
@keyframes glanz { from { background-position: 130% 0; } to { background-position: -40% 0; } }
.kauf-motive {
  list-style: none; margin: 0; padding: 2px 0 4px; display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.kauf-motive::-webkit-scrollbar { display: none; }
.kauf-motive button { display: block; padding: 5px 4px 7px; border-radius: var(--radius); opacity: .55; transition: opacity .25s var(--ease); position: relative; }
.kauf-motive button img { height: 38px; width: auto; }
.kauf-motive button:hover { opacity: .85; }
.kauf-motive button[aria-pressed="true"] { opacity: 1; }
.kauf-motive button[aria-pressed="true"]::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 1px; height: 1px; background: var(--fg); }
.kauf-box { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 900px) { .kauf-box { gap: 18px; } }
.h-kauf { margin: 0; font-size: clamp(1.75rem, 1.05rem + 3.3vw, 4rem); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); text-wrap: balance; }
.kauf-sub { margin: 0; color: var(--fg-muted); max-width: 32em; font-size: var(--text-body); }
.pakete { display: grid; gap: 8px; margin-top: 2px; }
@media (min-width: 900px) { .paket { padding: 14px 16px; } .pakete { gap: 10px; } }
.paket {
  position: relative; display: grid; grid-template-columns: 16px 1fr auto; align-items: baseline; gap: 2px 14px; text-align: left;
  padding: 12px 14px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-muted);
  transition: box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.paket:hover { box-shadow: inset 0 0 0 1px var(--fg-faint); color: var(--fg); }
.paket[aria-checked="true"] { box-shadow: inset 0 0 0 1px var(--fg); background: var(--bg-raised); color: var(--fg); }
.paket-punkt { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--fg-faint); align-self: center; transition: box-shadow .25s var(--ease); }
.paket[aria-checked="true"] .paket-punkt { box-shadow: inset 0 0 0 4px var(--fg); }
.paket-titel { font-weight: 700; text-transform: uppercase; font-size: 1.0625rem; letter-spacing: 0; color: var(--fg); }
.paket-preis { font-weight: 500; font-size: 1.0625rem; font-variant-numeric: tabular-nums; color: var(--fg); white-space: nowrap; }
.paket-preis s { color: var(--fg-muted); font-weight: 400; font-size: .875rem; margin-left: 4px; }
.paket-info { grid-column: 2 / 4; font-size: .875rem; }
.paket-marke {
  position: absolute; top: -8px; right: 14px; padding: 0 8px; background: var(--bg); line-height: 16px;
  font-size: 10.5px; letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 500; color: var(--fg);
}
.paket[aria-checked="true"] .paket-marke { background: var(--bg); }
.slots-kopf { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.slots-reihe { display: flex; gap: 6px; flex-wrap: wrap; }
.slot-knopf { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 6px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--fg); }
.slot-knopf img { height: 34px; width: auto; }
.slot-knopf:hover, .slot-knopf[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--fg-faint); background: var(--bg-raised); }
.kauf-slots .waehler { margin-top: 10px; border-top: 1px solid var(--line); }
.kauf-aktion { display: grid; gap: 10px; }
.kauf-aktion .kasse-hinweis { margin: 0; }
.vorspann-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.preis-gross { font-size: var(--text-heading); font-weight: 500; }
@media (min-width: 900px) {
  .kauf { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 56px; padding-bottom: 56px; }
  .kauf-bild .etui-bild { height: min(68svh, 740px); }
  .kauf-box { max-width: 520px; }
}

/* Nach dem Film: drei direkte Knöpfe */
.angebot-kurz { display: grid; gap: 34px; }
.direkt { display: grid; gap: 10px; }
.direkt-knopf {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 14px; text-align: left; padding: 18px 20px;
  border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.direkt-knopf span { font-weight: 700; text-transform: uppercase; font-size: 1.125rem; }
.direkt-knopf b { font-weight: 500; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.direkt-knopf small { grid-column: 1 / 3; color: var(--fg-muted); font-size: .875rem; }
.direkt-knopf:hover { box-shadow: inset 0 0 0 1px var(--fg); background: var(--bg-raised); }
.direkt-knopf--bestes { box-shadow: inset 0 0 0 1px var(--fg-faint); }
@media (min-width: 900px) { .direkt { grid-template-columns: repeat(3, 1fr); } }

/* Mitlaufende Kaufleiste */
.leiste {
  position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: var(--radius);
  background: rgba(17, 17, 16, .97); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, .55);
  transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease-out); pointer-events: none;
}
.leiste.ist-da { transform: none; pointer-events: auto; }
.leiste img { height: 40px; width: auto; flex: none; }
.leiste-text { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.leiste-text b { font-weight: 700; font-size: 14px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste-text span { font-size: 13px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste .knopf { min-height: 44px; padding: 0 16px; font-size: .9375rem; flex: none; }
@media (min-width: 900px) { .leiste { left: 50%; right: auto; width: 560px; margin-left: -280px; } }

/* ── Film ─────────────────────────────────────────────────── */
.film { position: relative; height: 520svh; }
.buehne {
  position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center;
  perspective: 1500px; perspective-origin: 50% 45%;
}
.buehne::before, .buehne::after { /* Kinobalken: schließen sich am Anfang der Sequenz */
  content: ""; position: absolute; left: 0; right: 0; height: 9svh; background: #000; z-index: 5;
  transform: scaleY(var(--balken, 0)); transition: none;
}
.buehne::before { top: 0; transform-origin: top; }
.buehne::after { bottom: 0; transform-origin: bottom; }
.film-titel {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(9svh + var(--kopf-h) * .4);
  pointer-events: none;
}
.film-titel .h-title { position: absolute; top: 0; left: 0; max-width: 100%; opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
@media (min-width: 900px) {
  .film-titel { top: 26svh; right: auto; width: 40vw; }
}
.untertitel {
  position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); bottom: calc(9svh + 22px); text-align: center;
  pointer-events: none; min-height: 3.2em;
}
.untertitel p {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 30em; font-size: var(--text-lead); line-height: 1.35;
  color: var(--fg); opacity: 0; text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
}
.etui3d {
  position: relative; z-index: 2; height: min(40svh, 620px); aspect-ratio: 511 / 838; transform-style: preserve-3d;
  will-change: transform;
}
@media (min-width: 900px) { .etui3d { height: min(58svh, 640px); } }
.etui3d .teil { position: absolute; inset: 0; transform-style: preserve-3d; }
.etui3d .boden { transform: translateZ(-2px); }
.etui3d .deckel { transform-origin: 3.2% 50%; will-change: transform; }
.etui3d .seite { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.etui3d .seite img, .etui3d .seite svg { width: 100%; height: 100%; display: block; }
.etui3d .innen { transform: rotateY(180deg); }
.etui3d .vorne img { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.etui3d .kante {
  position: absolute; top: 3.5%; bottom: 3.5%; right: 1.4%; width: 14px; transform-origin: 100% 50%; transform: rotateY(90deg);
  background: linear-gradient(90deg, #6d6d6d, #e9e9e9 30%, #8c8c8c 55%, #f4f4f4 75%, #777);
  border-radius: 6px; backface-visibility: hidden;
}
.etui3d .karte {
  position: absolute; left: 15.3%; top: 15.8%; width: 71%; height: 68.6%; border-radius: 6% / 3.8%;
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, .13), transparent 55%),
    linear-gradient(160deg, #1d1d1c, #0b0b0b 60%, #161615);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 12px 30px rgba(0, 0, 0, .45);
  will-change: transform;
}
.etui3d .karte::after { /* geprägte Kante, keine Logos */
  content: ""; position: absolute; inset: 6%; border-radius: 3%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.etui3d .buegel { position: absolute; inset: 0; pointer-events: none; }
.etui3d .glanz { animation: none; }
.film .fallback-hinweis { display: none; }

/* ── Abschnitte allgemein ─────────────────────────────────── */
.abschnitt { padding: var(--section-y) var(--gutter); border-top: 1px solid var(--line); position: relative; }
.abschnitt-kopf { display: grid; gap: 22px; margin-bottom: 56px; }
@media (min-width: 900px) {
  .zweispaltig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .abschnitt-kopf--klebt { position: sticky; top: calc(var(--kopf-h) + 40px); }
  .zweispaltig .h-display { font-size: clamp(2.1rem, 0.9rem + 2.9vw, 4rem); }
}

/* ── Motive ───────────────────────────────────────────────── */
.motiv-buehne { display: grid; gap: 28px; }
.motiv-gross { position: relative; display: grid; place-items: center; padding: 20px 0 8px; }
.motiv-gross .etui-bild { height: min(56svh, 600px); }
.motiv-gross img { transition: opacity .45s var(--ease), transform .7s var(--ease-out); }
.motiv-gross img.ist-weg { opacity: 0; transform: translateY(10px) scale(.985); }
.motiv-info { display: grid; gap: 10px; }
.motiv-info .h-name { margin: 0; font-size: var(--text-heading); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; }
.motiv-info p { margin: 0; color: var(--fg-muted); max-width: 32em; min-height: 3.1em; }
.motiv-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.motiv-liste {
  list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.motiv-liste::-webkit-scrollbar { display: none; }
.motiv-liste li { scroll-snap-align: start; flex: none; }
.motiv-wahl {
  display: grid; justify-items: center; gap: 8px; width: 74px; padding: 10px 0 8px; border-radius: var(--radius);
  color: var(--fg-muted); transition: color .3s var(--ease), background .3s var(--ease);
}
.motiv-wahl img { height: 84px; width: auto; opacity: .62; transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.motiv-wahl span { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.motiv-wahl:hover img { opacity: .9; }
.motiv-wahl[aria-pressed="true"] { color: var(--fg); background: var(--bg-raised); }
.motiv-wahl[aria-pressed="true"] img { opacity: 1; transform: translateY(-2px); }
@media (min-width: 900px) {
  .motiv-buehne { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "gross info" "liste liste"; align-items: center; gap: 40px 48px; }
  .motiv-gross { grid-area: gross; }
  .motiv-info { grid-area: info; align-self: center; }
  .motiv-liste { grid-area: liste; margin: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; border-top: 1px solid var(--line); padding-top: 22px; }
}

/* ── Angebot ──────────────────────────────────────────────── */
.staffel { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.staffel li { border-bottom: 1px solid var(--line); }
.staffel button {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 18px; text-align: left;
  padding: 22px 0; color: var(--fg-muted); transition: color .3s var(--ease);
}
.staffel .punkt { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--fg-faint); align-self: center; transition: box-shadow .3s var(--ease); }
.staffel .menge { font-size: var(--text-heading); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; color: inherit; }
.staffel .preis { font-size: var(--text-heading); font-weight: 500; font-variant-numeric: tabular-nums; color: inherit; }
.staffel .fuer { grid-column: 2 / 4; font-size: var(--text-small); }
.staffel button[aria-pressed="true"] { color: var(--fg); }
.staffel button[aria-pressed="true"] .punkt { box-shadow: inset 0 0 0 4px var(--fg); }
.staffel button:hover { color: var(--fg); }
.slots { display: grid; gap: 0; margin-top: 30px; }
.slot { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.slot img { height: 56px; width: auto; justify-self: center; }
.slot .slot-name { font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; }
.slot .slot-nr { display: block; font-size: var(--text-label); letter-spacing: var(--tracking-label); color: var(--fg-muted); text-transform: uppercase; }
.slot button { font-size: var(--text-small); color: var(--fg-muted); text-decoration: underline; text-underline-offset: 4px; }
.slot button:hover { color: var(--fg); }
.waehler { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.waehler[hidden] { display: none; }
.waehler button { display: grid; justify-items: center; gap: 6px; padding: 8px 0; border-radius: var(--radius); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
.waehler button img { height: 64px; width: auto; }
.waehler button:hover, .waehler button[aria-current="true"] { background: var(--bg-raised); color: var(--fg); }
.angebot-aktion { display: grid; gap: 16px; margin-top: 30px; }
.hinweise { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--fg-muted); font-size: var(--text-small); }
.hinweise li { display: inline-flex; align-items: center; gap: 8px; }
.hinweise li::before { content: ""; width: 4px; height: 4px; background: var(--fg-faint); border-radius: 50%; }
.stichtag { color: var(--fg); font-size: var(--text-small); }

/* ── Details ──────────────────────────────────────────────── */
.daten { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--line); }
.daten div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.daten dt { margin: 0; }
.daten dd { margin: 0; color: var(--fg); }
@media (min-width: 900px) { .daten { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.hersteller { margin-top: 28px; font-size: var(--text-small); color: var(--fg-muted); max-width: 46em; }
.hersteller summary { cursor: pointer; list-style: none; color: var(--fg-muted); }
.hersteller summary::-webkit-details-marker { display: none; }
.hersteller summary::after { content: " +"; }
.hersteller[open] summary::after { content: " –"; }
.hersteller p { margin: 12px 0 0; }

/* ── Fragen ───────────────────────────────────────────────── */
.fragen-liste { border-top: 1px solid var(--line); }
.frage { border-bottom: 1px solid var(--line); }
.frage summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 22px 0; font-weight: 500; font-size: var(--text-lead); line-height: 1.3; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; width: 12px; height: 12px; margin-top: .45em; background: linear-gradient(var(--fg), var(--fg)) center / 12px 1px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1px 12px no-repeat; transition: transform .35s var(--ease); }
.frage[open] summary::after { transform: rotate(45deg); }
.frage p { margin: 0 0 24px; color: var(--fg-muted); max-width: 40em; }

/* ── Schluss & Abspann ────────────────────────────────────── */
.schluss { padding-block: calc(var(--section-y) * 1.1); display: grid; gap: 30px; }
.abspann { padding: 56px var(--gutter) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 26px; color: var(--fg-muted); font-size: var(--text-small); }
.abspann .marke { color: var(--fg); }
.abspann nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.abspann nav a { text-decoration: none; font-size: var(--text-label); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.abspann nav a:hover { color: var(--fg); }
.abspann p { margin: 0; max-width: 46em; }
@media (min-width: 900px) { .abspann { grid-template-columns: 1fr 2fr; align-items: start; } .abspann .rechts { display: grid; gap: 18px; } }

/* ── Rechnung (Warenkorb als Kassenbon) ───────────────────── */
.rechnung { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.rechnung-schleier { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .45s var(--ease); }
.rechnung-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .6s var(--ease-out); display: flex; flex-direction: column;
}
.rechnung.ist-offen { pointer-events: auto; }
.rechnung.ist-offen .rechnung-schleier { opacity: 1; }
.rechnung.ist-offen .rechnung-panel { transform: none; }
.rechnung-kopf { height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; padding-inline: 20px; border-bottom: 1px solid var(--line); flex: none; }
.rechnung-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px 28px; }
.bon {
  position: relative; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12.5px; line-height: 1.55;
  padding: 26px 22px 34px; transform-origin: top center;
  -webkit-mask: radial-gradient(7px 7px at 7px 100%, #0000 98%, #000) -7px 0 / 14px 100% repeat-x;
          mask: radial-gradient(7px 7px at 7px 100%, #0000 98%, #000) -7px 0 / 14px 100% repeat-x;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.rechnung.ist-offen .bon.druckt { animation: drucken .9s var(--ease-out) both; }
@keyframes drucken { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.bon .mitte { text-align: center; }
.bon .marke-bon { font-family: var(--sans); font-weight: 700; font-size: 20px; letter-spacing: .34em; margin-left: .34em; }
.bon hr { border: 0; border-top: 1px dashed rgba(20, 20, 19, .45); margin: 12px 0; }
.bon .zeile { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.bon .zeile b { font-weight: 700; }
.bon .posten { padding: 8px 0; border-bottom: 1px dotted rgba(20, 20, 19, .25); }
.bon .posten:last-of-type { border-bottom: 0; }
.bon .posten-steuer { display: flex; gap: 6px; margin-top: 6px; }
.bon .posten-steuer button {
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(20, 20, 19, .35);
  font-family: var(--mono); font-size: 13px; color: var(--ink);
}
.bon .posten-steuer button:hover { background: rgba(20, 20, 19, .08); }
.bon .summe { font-size: 15px; }
.bon .leer { text-align: center; padding: 18px 0 6px; }
.bon .runde { padding-top: 4px; }
.bon .runde-titel { font-weight: 700; letter-spacing: .04em; }
.bon .runde--gratis { background: rgba(20, 20, 19, .07); margin: 0 -10px; padding: 10px; border-radius: 2px; }
.bon .runde-liste { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.bon .runde-liste::-webkit-scrollbar { display: none; }
.bon .runde-liste button { flex: none; display: grid; justify-items: center; gap: 4px; width: 58px; padding: 6px 0; border-radius: 2px; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.bon .runde-liste button:hover { background: rgba(20, 20, 19, .08); }
.bon .runde-liste img { height: 58px; width: auto; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25)); }
.bon .klein { font-size: 11px; opacity: .72; }
.rechnung-fuss { flex: none; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.rechnung-fuss .knopf { width: 100%; }
.rechnung-fuss .klein { font-size: 12px; color: var(--fg-muted); text-align: center; margin: 0; }
.kasse-hinweis { font-size: 13px; color: var(--accent); text-align: center; margin: 0; }
.kasse-hinweis[hidden] { display: none; }

/* Rechtsseiten */
.recht { max-width: 760px; padding: calc(var(--kopf-h) + 56px) var(--gutter) 96px; }
.recht h1 { font-size: clamp(1.75rem, 0.9rem + 4.4vw, 4rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; margin: 0 0 40px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-tight); line-height: var(--leading-tight); }
.recht h2 { font-size: 1.125rem; margin: 40px 0 10px; font-weight: 700; }
.recht p, .recht li { color: var(--fg-muted); }
.recht strong { color: var(--fg); font-weight: 500; }
.recht a { color: var(--fg); }
.recht .rahmen { border: 1px solid var(--line); padding: 18px 20px; border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .korn { display: none; }
}
