/* ZISCH Feuerwerk. Seitenstil. Engine-Klassen bleiben unangetastet.
   Grammatik: harte Schnitte. Jeder Schnitt malt seinen eigenen Grund,
   nichts wird überblendet. */
:root {
  --sc-canvas:     #09080B;
  --sc-surface:    #141118;
  --sc-ink:        #F6EFF4;
  --sc-ink-soft:   #B9AEBA;
  --sc-accent:     #FF3DA8;
  --sc-accent-ink: #14050D;
  --sc-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --sc-font-text:    "Familjen Grotesk", system-ui, sans-serif;
  --sc-font-mono:    "IBM Plex Mono", ui-monospace, monospace;
  --sc-shadow-color: 320 30% 3%;
  --papier: #F4EFE6;
  --papier-ink: #1A1416;
  color-scheme: dark;
}
html { background: var(--sc-canvas); scrollbar-color: #4a2a3d var(--sc-canvas); }
body { font-family: var(--sc-font-text); color: var(--sc-ink); background: transparent; overflow-x: clip; }
::selection { background: var(--sc-accent); color: var(--sc-accent-ink); }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 3px; }
input, select { caret-color: var(--sc-accent); }

/* ---------- Himmel und Dächer (fest hinter allem) ---------- */
.himmel { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: #08070A; }
.daecher {
  filter: brightness(calc(1 + var(--blitz, 0) * 1.6)) saturate(calc(1 + var(--blitz, 0)));
  position: fixed; left: 50%; bottom: 0; z-index: 1; translate: -50% 0;
  width: max(100vw, 1100px); height: auto; max-width: none; pointer-events: none;
}
main { position: relative; z-index: 2; }
.leiste, .folge { z-index: var(--sc-z-chrome); }

/* ---------- Schrift ---------- */
.riese, .gross, .zahl__ziffer, .marke {
  font-family: var(--sc-font-display);
  font-variation-settings: "opsz" 96, "wdth" 75;
  font-weight: 800; letter-spacing: -0.02em; line-height: .92;
}
.riese { font-size: clamp(3rem, 1.2rem + 7.4vw, 8.6rem); text-wrap: balance; }
.gross { font-size: clamp(2.6rem, 1.4rem + 5vw, 6.4rem); }
@media (max-width: 700px) { .riese { font-size: clamp(2.7rem, 1.4rem + 7vw, 3.8rem); } }

/* ---------- Leiste ---------- */
.leiste {
  position: fixed; inset: 0 0 auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 12px var(--sc-gutter);
  background: #09080B; border-bottom: 2px solid var(--sc-accent);
}
.marke { font-size: 30px; color: var(--sc-ink); text-decoration: none; letter-spacing: .01em; }
.leiste__rechts { display: flex; align-items: center; gap: 10px; }
.leiste__folge {
  height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 600 var(--sc-t-sm) var(--sc-font-text); color: var(--sc-ink);
  background: transparent; border: 1.5px solid rgb(246 239 244 / .3);
  transition: border-color 160ms var(--sc-ease-out);
}
.leiste__folge b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 999px; background: var(--sc-accent); color: var(--sc-accent-ink); font-variant-numeric: tabular-nums; }
.leiste__folge.ist-neu { animation: stoss 420ms var(--sc-ease-out); }
@keyframes stoss { 40% { transform: scale(1.08); } }
@media (hover: hover) and (pointer: fine) { .leiste__folge:hover { border-color: var(--sc-accent); } }

/* ---------- Knöpfe (alle Pillen) ---------- */
.knopf {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px; border-radius: 999px; white-space: nowrap;
  font: 700 1.05rem/1 var(--sc-font-text); text-decoration: none;
  color: var(--sc-accent-ink); background: var(--sc-accent); border: 0; cursor: pointer;
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.knopf::before { /* feines Mosaik mit wanderndem Lichtstreif */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .45) 50%, transparent 62%) -200% 0 / 200% 100% no-repeat,
    radial-gradient(rgb(0 0 0 / .14) 1px, transparent 1.3px) 0 0 / 6px 6px;
  animation: streif 4.4s var(--sc-ease-in-out) infinite;
}
@keyframes streif { 0%, 55% { background-position: -200% 0, 0 0; } 100% { background-position: 200% 0, 0 0; } }
.knopf:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .knopf:hover { background-color: #FF5FB7; } }
.knopf--klein { min-height: 40px; padding: 0 18px; font-size: var(--sc-t-sm); }
.knopf--schwarz { color: var(--sc-ink); background: #120A10; width: 100%; }
.knopf--schwarz::before { background: linear-gradient(105deg, transparent 38%, rgb(255 61 168 / .4) 50%, transparent 62%) -200% 0 / 200% 100% no-repeat, radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1.3px) 0 0 / 6px 6px; }
@media (hover: hover) and (pointer: fine) { .knopf--schwarz:hover { background-color: #2A1322; } }

/* ---------- Schnitte ---------- */
.schnitt { position: relative; }
.schnitt--himmel { background: transparent; }

/* Start */
.start { min-height: 100svh; display: flex; align-items: center; padding: 6rem var(--sc-gutter) 30vh; cursor: crosshair; }
.start__text { position: relative; max-width: 62rem; }
.start__text::before { /* Abschirmung nur hinter dem Text, damit Explosionen ihn nicht überstrahlen */
  content: ""; position: absolute; inset: -18% -20% -22% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(9 8 11 / .82), rgb(9 8 11 / .55) 60%, transparent);
}
.start h1 { max-width: 11ch; }
.start__sub { margin: var(--sc-5) 0 var(--sc-6); max-width: 40ch; font-size: var(--sc-t-lg); line-height: 1.55; color: var(--sc-ink-soft); }
.auftritt { animation: auftritt 900ms var(--sc-ease-out) both; }
.auftritt--2 { animation-delay: 120ms; } .auftritt--3 { animation-delay: 220ms; }
@keyframes auftritt { from { opacity: 0; transform: translateY(18px); } }

/* Band */
.band { position: relative; z-index: 3; overflow: hidden; background: var(--sc-accent); color: var(--sc-accent-ink); transform: rotate(-1.6deg) scale(1.04); padding: 14px 0; }
.band__lauf { display: flex; align-items: center; gap: 28px; width: max-content; animation: lauf 26s linear infinite; }
.band__lauf span { font: 800 clamp(1.1rem, .9rem + 1vw, 1.7rem)/1 var(--sc-font-display); font-variation-settings: "opsz" 48, "wdth" 75; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.band__lauf i { width: 14px; height: 14px; background: var(--sc-accent-ink); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); flex: none; }
@keyframes lauf { to { transform: translateX(-50%); } }

/* Lunte */
.lunte { height: 190svh; }
.lunte__text { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: .1em; padding: 0 var(--sc-gutter); pointer-events: none; }
.lunte__zeile { margin: 0; font: 800 clamp(2.4rem, 1.2rem + 5vw, 6rem)/1 var(--sc-font-display); font-variation-settings: "opsz" 96, "wdth" 75; letter-spacing: -.02em; text-shadow: 0 2px 30px rgb(9 8 11 / .9); }
.lunte__zeile:nth-child(2) { color: var(--sc-ink-soft); }
.lunte__zeile--knall { color: var(--sc-accent); }

/* Dach */
.dach { background: #0B090D; display: grid; }
.dach__bild { margin: 0; grid-area: 1 / 1; }
.dach__bild img { display: block; width: 100%; height: min(100svh, 62vw); object-fit: cover; }
.dach__text { grid-area: 1 / 1; align-self: end; position: relative; padding: 0 var(--sc-gutter) clamp(2rem, 6vw, 5rem); }
.dach__text::before { content: ""; position: absolute; inset: -60% 0 0 0; z-index: -1; background: linear-gradient(to top, rgb(11 9 13 / .92), rgb(11 9 13 / .6) 55%, transparent); }
.dach__satz { margin: 0; max-width: 24ch; font: 700 clamp(1.7rem, 1rem + 2.6vw, 3.4rem)/1.08 var(--sc-font-display); font-variation-settings: "opsz" 72, "wdth" 85; letter-spacing: -.015em; }
@media (max-width: 700px) {
  .dach__bild img { height: 70svh; object-position: 40% 50%; }
}

/* Produkte: halbdurchsichtiger Grund, der Himmel glimmt durch */
.produkt {
  min-height: 92svh; display: grid; align-items: center; gap: clamp(1.5rem, 5vw, 6rem);
  padding: clamp(4rem, 9vw, 8rem) var(--sc-gutter);
  background: rgb(9 8 11 / .74);
  border-top: 1px solid rgb(255 61 168 / .25);
}
.produkt--links  { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.produkt--rechts { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.produkt--rechts .produkt__bild { order: 2; }
.produkt--breit  { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.produkt__bild { margin: 0; overflow: hidden; border-radius: 4px; box-shadow: var(--sc-e3); }
.produkt__bild img { display: block; width: 100%; height: auto; scale: 1.08; }
.produkt--breit .produkt__bild img { aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 40%; }
.produkt--voll { grid-template-columns: 1fr; padding: 0; min-height: 0; background: #070609; }
.produkt--voll .produkt__bild { grid-area: 1 / 1; border-radius: 0; box-shadow: none; }
.produkt--voll .produkt__bild img { height: 100svh; width: 100%; object-fit: cover; object-position: 50% 30%; scale: 1; }
.produkt--voll .produkt__text { grid-area: 1 / 1; align-self: end; justify-self: end; position: relative; margin: 0 var(--sc-gutter) clamp(2rem, 6vw, 5rem); max-width: 34rem; }
.produkt--voll .produkt__text::before { content: ""; position: absolute; inset: -30% -40% -30% -30%; z-index: -1; background: radial-gradient(closest-side, rgb(7 6 9 / .9), rgb(7 6 9 / .6) 60%, transparent); }
.produkt__art { margin: 0 0 var(--sc-3); font: 600 var(--sc-t-sm)/1 var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent); }
.produkt__etikett { margin: var(--sc-5) 0 var(--sc-6); max-width: 34ch; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); }
.waehle, .probe {
  min-height: 52px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font: 700 1rem/1 var(--sc-font-text);
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 140ms var(--sc-ease-out);
}
.waehle { color: var(--sc-ink); background: transparent; border: 2px solid var(--sc-accent); margin-right: 8px; }
.waehle::before { content: "+"; margin-right: 10px; font-size: 1.2em; }
.waehle[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); }
.waehle[aria-pressed="true"]::before { content: "✓"; }
.probe { color: var(--sc-ink-soft); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(255 61 168 / .6); padding: 0 8px; }
.waehle:active, .probe:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .probe:hover { color: var(--sc-ink); } .waehle:hover { background: rgb(255 61 168 / .14); } .waehle[aria-pressed="true"]:hover { background: #FF5FB7; } }
@media (max-width: 860px) {
  .produkt--links, .produkt--rechts, .produkt--breit { grid-template-columns: 1fr; }
  .produkt--rechts .produkt__bild { order: 0; }
  .produkt__bild { max-height: 52svh; }
  .produkt__bild img { height: 52svh; object-fit: cover; }
  .produkt--voll .produkt__bild img { height: 92svh; }
  .produkt--voll .produkt__text { justify-self: stretch; }
}

/* Beipackzettel: das einzige helle Blatt der Seite */
.zettel { background: #0D0B0F; padding: clamp(4rem, 9vw, 8rem) var(--sc-gutter); display: grid; place-items: center; }
.zettel__blatt {
  max-width: 44rem; padding: clamp(1.6rem, 4vw, 3rem); color: var(--papier-ink);
  background: var(--papier); border-radius: 2px; transform: rotate(-1.4deg);
  box-shadow: 0 2px 0 #d9d1c3, 0 30px 60px -20px rgb(0 0 0 / .7);
  background-image: repeating-linear-gradient(transparent 0 31px, rgb(26 20 22 / .07) 31px 32px);
}
.zettel h2 { margin: 0 0 var(--sc-5); font: 800 clamp(1.8rem, 1.2rem + 2vw, 2.8rem)/1 var(--sc-font-display); font-variation-settings: "opsz" 72, "wdth" 75; }
.zettel ol { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; font-size: var(--sc-t-lg); line-height: 1.45; }
.zettel li::marker { font-weight: 800; color: #C2156F; }

/* Countdown */
.zahl { min-height: 72svh; display: grid; place-items: center; background: transparent; }
.zahl__ziffer {
  margin: 0; font-size: clamp(14rem, 8rem + 30vw, 34rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 3px var(--sc-accent);
  text-shadow: 0 0 0 transparent;
}
.zahl[data-zahl="2"] { background: #09080B; }
.zahl[data-zahl="2"] .zahl__ziffer { color: var(--sc-accent); -webkit-text-stroke: 0; }

/* Null (Höhepunkt) */
.null { min-height: 230svh; }
.null__text { position: sticky; top: 0; height: 100svh; display: grid; align-content: end; justify-items: start; padding: 0 var(--sc-gutter) 30svh; }
.null__ziffer { position: absolute; right: var(--sc-gutter); top: 12svh; font-size: clamp(10rem, 6rem + 18vw, 22rem); -webkit-text-stroke-width: 2px; opacity: .55; }
.null h2 { text-shadow: 0 2px 40px rgb(9 8 11 / .95); }
.null__sub { margin: var(--sc-5) 0 var(--sc-5); max-width: 38ch; font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink); text-shadow: 0 1px 18px rgb(9 8 11 / .95); }
.null__text::before { content: ""; position: absolute; left: 0; bottom: 0; width: min(54rem, 100%); height: 70%; z-index: -1; pointer-events: none; background: radial-gradient(80% 70% at 0% 100%, rgb(9 8 11 / .86), rgb(9 8 11 / .5) 55%, transparent 80%); }
.probe--hell { color: var(--sc-ink); padding-left: 0; }

/* Schluss: Magenta-Schnitt mit Kassenbon */
.schluss { background: var(--sc-accent); color: var(--sc-accent-ink); min-height: 100svh; padding: clamp(6rem, 10vw, 8rem) var(--sc-gutter) 3rem; display: grid; align-content: space-between; }
.schluss__innen { display: grid; grid-template-columns: 1fr minmax(19rem, 25rem); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.schluss__titel { max-width: 12ch; color: var(--sc-accent-ink); }
.bon {
  position: relative; padding: 1.6rem 1.4rem 1.4rem; color: var(--papier-ink); background: var(--papier);
  font-family: var(--sc-font-mono); font-size: .92rem; transform: rotate(1.2deg);
  box-shadow: 0 30px 60px -24px rgb(20 5 13 / .6);
  -webkit-mask: radial-gradient(7px at 50% 100%, #0000 98%, #000) 50% / 18px 100% repeat-x;
  mask: radial-gradient(7px at 50% 100%, #0000 98%, #000) 0 100% / 18px 100% repeat-x;
  padding-bottom: 2rem;
}
.bon__kopf { margin: 0 0 12px; padding-bottom: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1.5px dashed rgb(26 20 22 / .4); }
.bon__liste { list-style: none; margin: 0 0 14px; padding: 0 0 10px; border-bottom: 1.5px dashed rgb(26 20 22 / .4); display: grid; gap: 6px; }
.bon__liste li { display: flex; justify-content: space-between; gap: 1rem; }
.bon__leer { color: #5E5157; }
.bon__feld { display: grid; gap: 5px; margin-bottom: 10px; }
.bon__feld label { font-weight: 600; font-size: .82rem; }
.bon__feld input, .bon__feld select { height: 42px; padding: 0 10px; border-radius: 2px; font: 500 .95rem var(--sc-font-mono); color: var(--papier-ink); background: #fff; border: 1.5px solid #6E6268; }
.bon__feld input:focus, .bon__feld select:focus { outline: none; border-color: #C2156F; box-shadow: 0 0 0 3px rgb(194 21 111 / .25); }
.bon__fehler { color: #A1003F; font-size: .8rem; }
.bon__haken { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font-size: .85rem; }
.bon__haken input { width: 20px; height: 20px; accent-color: #C2156F; }
.bon__hinweis { margin: 12px 0 0; font-size: .78rem; color: #5E5157; }
.bon.ist-gesendet .bon__hinweis { color: #A1003F; font-weight: 600; }
.fuss { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; font-size: var(--sc-t-xs); }
.fuss span:first-child { font: 800 16px/1 var(--sc-font-display); font-variation-settings: "opsz" 48, "wdth" 75; }
@media (max-width: 860px) {
  .schluss__innen { grid-template-columns: 1fr; }
  .bon { transform: none; }
  .fuss { flex-direction: column; }
}

/* Zündfolge-Panel */
.folge {
  position: fixed; right: var(--sc-gutter); bottom: 18px; width: min(17rem, calc(100vw - 2 * var(--sc-gutter)));
  padding: 14px 16px; border-radius: 10px; color: var(--sc-ink);
  background: rgb(20 17 24 / .94); border: 2px solid var(--sc-accent);
  box-shadow: var(--sc-e2); backdrop-filter: blur(8px);
  animation: auftritt 360ms var(--sc-ease-out) both;
}
.folge__kopf { margin: 0 0 8px; font: 600 var(--sc-t-xs)/1 var(--sc-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent); }
.folge__liste { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-weight: 600; font-size: var(--sc-t-sm); }
.folge__liste li::marker { color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
.folge__fuss { margin: 10px 0 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.folge.ist-weg { display: none; }

@media (max-width: 560px) {
  .leiste { padding: 10px var(--sc-gutter); }
  .marke { font-size: 24px; }
  .leiste__folge { height: 36px; padding: 0 10px; font-size: 13px; }
  .knopf--klein { min-height: 36px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 380px) { .leiste__folge span, .leiste__folge { font-size: 0; } .leiste__folge b { font-size: 13px; margin: 0; } }

@media (prefers-reduced-motion: reduce) {
  .band__lauf { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--sc-gutter); }
  .band__lauf span:nth-of-type(n+5), .band__lauf i:nth-of-type(n+5) { display: none; }
  .knopf::before, .auftritt, .folge { animation: none; }
  .produkt__bild img { scale: 1; }
}
