/* Flimz testen (öffentlich) – Kino-dunkel wie die Screens, Tomate und Papier aus dem App-Icon. */
:root {
  --nacht: #12100D; --karte: #1D1A16; --rand: #332D26;
  --papier: #F4EEE3; --grau: #B9AFA1; --leise: #8F8679;
  --tomate: #E0532F; --tomate-hell: #FF8A66; --senf: #E3A92B;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nacht); color: var(--papier); font: 17px/1.5 var(--sans); }
main { max-width: 680px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 22px max(44px, env(safe-area-inset-bottom)); }
a { color: var(--tomate-hell); text-underline-offset: 2px; }
a:focus-visible, summary:focus-visible, .galerie:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; border-radius: 8px; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 11.5vw, 3.7rem); margin: 22px 0 14px; }
h2 { font-size: clamp(1.55rem, 6.4vw, 2rem); margin-bottom: 14px; }
p { margin: 0 0 14px; color: var(--grau); }
b { color: var(--papier); }
em { font-style: normal; color: var(--papier); box-shadow: inset 0 -.38em 0 rgba(224, 83, 47, .55); }

.marke { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--sans); color: var(--papier); margin: 0; }
.marke img { border-radius: 11px; }
.pille { margin-left: auto; font: 600 .78rem var(--sans); color: var(--senf); border: 1px solid var(--rand); border-radius: 99px; padding: 5px 11px; white-space: nowrap; }
.unter { font-size: 1.15rem; line-height: 1.42; margin-bottom: 22px; }
.knopf { display: block; text-align: center; background: var(--tomate); color: #fff; font: 700 1.12rem var(--sans); text-decoration: none; padding: 17px 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(224, 83, 47, .32); }
.knopf:active { transform: scale(.985); }
.knopf-info { font-size: .86rem; color: var(--leise); text-align: center; margin: 10px 0 0; }
.luecke { border: 2px dashed var(--senf); border-radius: 16px; padding: 14px 16px; color: var(--papier); }
.fakten { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; padding: 0; margin: 16px 0 0; font-size: .92rem; color: var(--grau); }
.fakten li::before { content: "✓ "; color: var(--senf); font-weight: 700; }

section { margin-top: 52px; }
.kicker { font: italic 1.05rem var(--serif); color: var(--senf); margin-bottom: 12px; }
.kurz ol, .schritte { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.kurz li, .schritte li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--karte); border: 1px solid var(--rand); border-radius: 16px; margin-bottom: 10px; color: var(--grau); }
.kurz li::before, .schritte li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 30px; height: 30px; border-radius: 15px; background: var(--tomate); color: #fff; font: 700 1rem/30px var(--sans); text-align: center; }
.schritte { margin-bottom: 20px; }

.galerie { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -22px; padding: 4px 22px 14px; -webkit-overflow-scrolling: touch; }
.galerie figure { flex: 0 0 68%; max-width: 290px; margin: 0; scroll-snap-align: center; }
.galerie img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--rand); background: #000; }
.galerie figcaption { padding: 12px 4px 0; font-size: .93rem; color: var(--grau); }
.galerie figcaption strong { display: block; font: 700 1.08rem var(--serif); color: var(--papier); margin-bottom: 2px; }
.hinweis { font-size: .88rem; color: var(--leise); margin-top: 6px; }

.liste { list-style: none; padding: 0; margin: 18px 0 0; }
.liste li { padding: 12px 0 12px 30px; border-top: 1px solid var(--rand); position: relative; color: var(--grau); }
.liste li::before { content: "🍿"; position: absolute; left: 0; top: 11px; font-size: .95rem; }

.qr { display: none; }
details { border-top: 1px solid var(--rand); }
details:last-of-type { border-bottom: 1px solid var(--rand); }
summary { cursor: pointer; padding: 15px 28px 15px 0; font-weight: 600; color: var(--papier); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 1.4rem; color: var(--senf); }
details[open] summary::after { content: "–"; }
details p { font-size: .95rem; }

footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rand); }
footer p:first-child { font: italic 1.15rem var(--serif); color: var(--papier); }
.klein { font-size: .8rem; color: var(--leise); }

@media (min-width: 760px) {
  main { padding-top: 48px; }
  .galerie { margin: 0; padding: 4px 0 14px; }
  .galerie figure { flex: 0 0 240px; }
  .kopf .knopf, section .knopf { max-width: 420px; }
  .knopf-info, .fakten { justify-content: flex-start; text-align: left; }
  .qr { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--grau); font-size: .95rem; }
  .qr svg { width: 132px; height: 132px; background: var(--papier); border-radius: 12px; padding: 8px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .knopf:active { transform: none; } }
