/* =========================================================
   Historienfilm.at – Stylesheet
   Sachliche, institutionelle Gestaltung. Keine externen
   Abhängigkeiten, System-Schriften (DSGVO-freundlich).
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f3f4f6;
  --bg-deep: #1d2833;
  --text: #1b2128;
  --text-2: #4a535d;
  --text-3: #6b737d;
  --rule: #d9dde2;
  --rule-strong: #b9c0c8;
  --accent: #1f3b57;        /* gedecktes Dunkelblau */
  --accent-hover: #2b5278;
  --accent-soft: #e7edf3;
  --red: #c8102e;           /* Österreich-Rot, sparsam als Akzent */
  --red-light: #f08a98;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.5em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.serif { font-family: var(--sans); }

/* Handy: Silbentrennung im Fließtext, etwas kompaktere Einleitungen */
@media (max-width: 640px) {
  p, li, dd, .lead { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
  .lead { font-size: 1.02rem; line-height: 1.6; }
  .film-body .facts { flex-direction: column; gap: 2px; }
  .film-body .facts li + li::before { content: none; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 0.9em;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 40em; }

.todo {
  background: #fff4cc; border: 1px dashed #c9a227; color: #6b5300;
  padding: 0 0.35em; font-style: normal; font-size: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.3em; border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font: 600 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- Header ---------- */
.topbar { background: var(--bg-deep); color: #c9d1d9; font-size: 0.8rem; border-bottom: 3px solid var(--red); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #e6ebf0; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 640px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { text-decoration: none; display: flex; align-items: center; gap: 14px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 44px; height: 44px; flex: none; display: block; }
.brand-logo .lg-bg { fill: var(--accent); }
.brand-logo .lg-fg { fill: #fff; }

/* Rechtstexte (Impressum, Datenschutz) */
.legal .wrap { max-width: 800px; }
.legal h1 { margin-bottom: .3em; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.2em; }
.legal-facts { margin: 24px 0; }
.legal-facts div { grid-template-columns: 13em 1fr; }
@media (max-width: 560px) { .legal-facts div { grid-template-columns: 1fr; gap: 2px; } }
.legal-toc { margin: 28px 0 8px; padding: 18px 22px; background: var(--bg-alt); border-left: 3px solid var(--accent); }
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.legal-date { margin-top: 3em; font-size: .88rem; color: var(--text-3); }

/* Logo-Animation: zwei Filmstreifen laufen durch und rasten ein, dann schließt der Querbalken das H */
.brand-logo-anim.play .reel-l { animation: reelDown 1.9s cubic-bezier(.12,.55,.22,1.02) both; }
.brand-logo-anim.play .reel-r { animation: reelUp 2.2s cubic-bezier(.12,.55,.22,1.02) both; }
.brand-logo-anim.play .bar { transform-box: fill-box; transform-origin: center; animation: barIn .45s cubic-bezier(.3,1.5,.5,1) 2.1s both; }
@keyframes reelDown { from { transform: translateY(-69.2px); } to { transform: translateY(0); } }
@keyframes reelUp { from { transform: translateY(69.2px); } to { transform: translateY(0); } }
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .brand-logo-anim.play .reel-l, .brand-logo-anim.play .reel-r, .brand-logo-anim.play .bar { animation: none; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.brand-name span { font-weight: 400; }
.brand-sub { white-space: nowrap; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.68rem !important; margin-top: 3px; }
.brand-sub { font-size: 0.78rem; color: var(--text-3); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; text-decoration: none; font-size: 0.95rem; color: var(--text); padding: 8px 12px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.nav .nav-cta a { background: var(--accent); color: #fff; margin-left: 12px; border: 0; padding: 10px 16px; font-weight: 600; }
.nav .nav-cta a:hover { background: var(--accent-hover); color: #fff; }

.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle summary {
    list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--rule-strong);
    font-size: 0.9rem; font-weight: 600;
  }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle[open] summary { background: var(--accent-soft); }
  .nav-toggle .nav { position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
  .nav-toggle .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 16px; }
  .nav-toggle .nav li a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-toggle .nav .nav-cta a { margin: 14px 0 0; text-align: center; padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--rule); padding: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 6fr 5fr; gap: 64px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: 0.82rem; color: var(--text-3); margin-top: 10px; }

.facts-bar { border-top: 1px solid var(--rule); background: #fff; }
.facts-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .facts-bar ul { grid-template-columns: repeat(3, 1fr); } }
.facts-bar li { padding: 18px 0; font-size: 0.92rem; color: var(--text-2); border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) {
  .facts-bar li { border-bottom: 0; padding: 20px 24px; border-left: 1px solid var(--rule); }
  .facts-bar li:first-child { border-left: 0; padding-left: 0; }
}
.facts-bar strong { display: block; color: var(--text); font-size: 1rem; }

/* ---------- Sektionen ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--rule); }
.hero, section:first-child { border-top: 0; }
.hero.hero-video { padding: 0; }
.light { background: var(--bg-alt); }
.ink-2 { background: var(--bg); }

.section-head { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 5fr 6fr; gap: 56px; align-items: end; }
  .section-head.split .lead { margin-bottom: 0.5em; }
}

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--rule); transition: border-color .15s, box-shadow .15s;
}
a.service:hover { color: var(--text); border-color: var(--accent); box-shadow: 0 6px 18px rgba(31,59,87,.08); }
.service-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service .kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.service h3 { margin: 0; }
.service p { color: var(--text-2); margin: 0; font-size: 0.97rem; }
.service ul { display: none; }
.service .more { margin-top: auto; padding-top: 12px; color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.service.featured { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .service.featured { flex-direction: row; }
  .service.featured .poster { width: 55%; flex: none; }
  .service.featured .service-body { padding: 36px 40px; justify-content: center; }
  .service.featured h3 { font-size: 1.7rem; }
}

/* ---------- Bildflächen / Platzhalter ---------- */
.poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #d7dce1; display: flex; align-items: flex-end; }
.poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #c9d0d7, #e4e8ec); }
.poster-label { position: relative; z-index: 1; margin: 12px; padding: 3px 8px; font-size: 0.75rem; color: var(--text-2); background: rgba(255,255,255,.85); }
.poster .play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(27,33,40,.75);
  display: grid; place-items: center; transition: background .15s;
}
.poster .play::before { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
a:hover .poster .play { background: var(--accent); }
.poster.unreleased .play { display: none; }

/* ---------- Qualitäten ---------- */
.qualities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 40px; counter-reset: q; }
@media (min-width: 700px) { .qualities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .qualities { grid-template-columns: repeat(3, 1fr); } }
.qualities li { counter-increment: q; border-top: 3px solid var(--accent); padding: 22px 0 32px; }
.qualities li::before { content: counter(q, decimal-leading-zero); display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.qualities p { color: var(--text-2); margin: 0; }

/* ---------- Zeitleiste ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.epochs { display: none; }

.tl-item { position: relative; padding: 0 0 24px 26px; border-left: 2px solid var(--rule); }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.tl-item[data-status="released"]::before { background: var(--accent); }
.tl-item a { text-decoration: none; display: block; color: var(--text); }
.tl-when { font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.tl-title { font-size: 1.08rem; font-weight: 600; line-height: 1.3; display: block; margin: 2px 0 6px; }
.tl-item a:hover .tl-title { color: var(--accent); text-decoration: underline; }

.status {
  display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: .04em;
  padding: 0.2em 0.6em; border: 1px solid var(--rule-strong); color: var(--text-2); background: #fff; white-space: nowrap;
}
.status.released { background: var(--accent); border-color: var(--accent); color: #fff; }
.status.finishing { background: var(--accent-soft); border-color: #b8c8d8; color: var(--accent); }
.status.production { color: var(--text-2); }

@media (min-width: 900px) {
  .timeline { height: 410px; border-bottom: 2px solid var(--rule-strong); }
  .epochs { display: block; position: relative; height: 40px; list-style: none; margin: 0; padding: 0; }
  .epochs li {
    font-size: 0.72rem !important;
    position: absolute; top: 0; left: var(--x);
    font-size: 0.75rem; color: var(--text-3); padding: 8px 0 0 8px; border-left: 1px solid var(--rule-strong); height: 32px; white-space: nowrap;
  }
  .epochs li:last-child { transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--rule-strong); padding: 8px 8px 0 0; }

  .tl-item {
    position: absolute; bottom: 0; padding: 0; border-left: 0;
    left: var(--l);
    width: max(14px, var(--w));
    height: var(--h, 120px);
  }
  .tl-item::before { display: none; }
  .tl-item .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--accent); }
  .tl-item[data-status="finishing"] .bar { background: #8ea7bf; }
  .tl-item[data-status="production"] .bar { background: repeating-linear-gradient(90deg, var(--rule-strong) 0 6px, transparent 6px 10px); }
  .tl-item .stem { position: absolute; left: 0; bottom: 8px; width: 1px; height: calc(var(--h, 120px) - 8px); background: var(--rule-strong); }
  .tl-item a { position: absolute; left: 0; bottom: calc(var(--h, 120px) - 8px); padding-left: 12px; width: 240px; transform: translateY(100%); }
  .tl-item.flip a { left: auto; right: 100%; text-align: right; padding: 0 12px 0 0; }
  .tl-item.flip .stem { left: auto; right: 100%; margin-right: -1px; }

  .tl-item.multi { left: 0; width: 100%; }
  .tl-item.multi .windows { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; }
  .tl-item.multi .windows i { position: absolute; bottom: 0; height: 8px; width: 1.6%; left: var(--x); background: var(--rule-strong); }
  .tl-item.multi .stem { left: var(--anchor); }
  .tl-item.multi a { left: var(--anchor); }
}
@media (max-width: 899px) { .tl-item .bar, .tl-item .stem, .tl-item .windows { display: none; } }
.timeline-note { margin-top: 24px; color: var(--text-3); font-size: 0.88rem; }

/* ---------- Filme ---------- */
.films { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.film { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--rule); align-items: start; }
@media (min-width: 900px) { .film { grid-template-columns: 5fr 7fr; gap: 48px; } }
.film-media a { display: block; }
.film-body .status { margin-bottom: 12px; }
.film-body h3 { font-size: 1.5rem; margin-bottom: 0.2em; }
.film-body h3 a { color: var(--text); text-decoration: none; }
.film-body h3 a:hover { color: var(--accent); text-decoration: underline; }
.film-sub { color: var(--text-2); font-size: 1.05rem; margin-bottom: 0.6em; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 16px; padding: 0; list-style: none; font-size: 0.88rem; color: var(--text-3); }
.facts li + li::before { content: "·"; margin: 0 10px; }
.facts li strong { color: var(--text-2); font-weight: 600; }
.film-body p { color: var(--text-2); }
.text-link { color: var(--accent); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Kleinere Arbeiten ---------- */
/* Eine Zeile, seitlich durchblättern (Scroll-Snap; Pfeile per JS) */
.works {
  --per: 1.25; --gap: 20px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px;
}
.works::-webkit-scrollbar { display: none; }
.works > .work { scroll-snap-align: start; min-width: 0; }
.works:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: 4px; }
@media (min-width: 700px) { .works { --per: 2.2; } }
@media (min-width: 1050px) { .works { --per: 4; --gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .works { scroll-behavior: auto; } }
.works-nav { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 16px; margin-top: 22px; }
.works-nav[hidden] { display: none; }
.works-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--accent); border: 1px solid var(--rule-strong); font-size: 1.5rem; line-height: 1;
  transition: background .15s, color .15s, border-color .15s;
}
.works-btn:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.works-btn:disabled { opacity: .35; cursor: default; }
/* Fortschrittsleiste über die ganze Breite: ein Abschnitt pro Seite, füllt sich langsam */
.works-dots { display: flex; gap: 6px; min-width: 0; }
.works-dots .seg { flex: 1; min-width: 0; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.works-dots .seg span { position: relative; display: block; width: 100%; height: 4px; background: var(--rule-strong); overflow: hidden; transition: height .2s; }
.works-dots .seg:hover span { height: 6px; }
.works-dots .seg span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.works-dots .seg.done span::after, .works-dots .seg.on span::after { transform: scaleX(1); }
.works-dots .seg.on.run span::after { animation: segFill var(--works-dur, 9s) linear forwards; }
.works-nav.paused .seg.run span::after { animation-play-state: paused; }
@keyframes segFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.work h4 { font-size: 1.02rem; margin: 12px 0 2px; }
.work-play { width: 100%; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.work-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.work-play:hover img, .work-play:focus-visible img { transform: scale(1.04); filter: brightness(.85); }
.work-play .poster-label, .work-play .play { z-index: 2; }
.work-play:hover .play, .work-play:focus-visible .play { background: var(--accent); }
.work-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
/* Abschlusskarte "Weitere Arbeiten" */
.more-link { text-decoration: none; align-items: center; justify-content: center; }
.more-link::before { background: var(--bg-deep); transition: background .2s; }
.more-link:hover::before, .more-link:focus-visible::before { background: var(--accent); }
.more-inner { position: relative; z-index: 1; display: grid; gap: 4px; text-align: center; color: #fff; }
.more-title { font-size: 1.15rem; font-weight: 600; }
.more-sub { font-size: .88rem; color: #c9d6e3; }
.work-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.works-note { margin-top: 24px; font-size: 0.88rem; color: var(--text-3); }

/* Festivals, Vorführungen (Filmseite) */
.awards { margin: 0 0 8px; border-top: 1px solid var(--rule); }
.awards div { display: grid; grid-template-columns: 11em 1fr; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.awards dt { font-weight: 600; color: var(--text); }
.awards dd { margin: 0; color: var(--text-2); }
@media (max-width: 640px) { .awards div { grid-template-columns: 1fr; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.hero-badges span { font-size: 0.82rem; font-weight: 600; padding: 4px 10px; background: #fff; border: 1px solid var(--rule-strong); color: var(--accent); }
.work p { margin: 0; font-size: 0.88rem; color: var(--text-3); }

/* ---------- Arbeitsweise ---------- */
.network-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .network-grid { grid-template-columns: repeat(3, 1fr); } }
.node { background: #fff; border: 1px solid var(--rule); padding: 28px 26px; }
.node .icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 16px; }
.node p { color: var(--text-2); margin: 0; }
.network-statement { margin-top: 32px; color: var(--text-2); max-width: 48em; }

/* ---------- Zielgruppen ---------- */
.audiences { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
@media (min-width: 700px) { .audiences { grid-template-columns: repeat(2, 1fr); gap: 0 40px; } }
@media (min-width: 1100px) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audience { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.audience h3 { font-size: 1.08rem; }
.audience p { color: var(--text-2); font-size: 0.95rem; margin: 0; }

/* ---------- Fußnoten ---------- */
.fn-ref { font-size: 0.7em; vertical-align: super; line-height: 0; }
.fn-ref a { text-decoration: none; padding: 0 2px; font-weight: 600; color: var(--accent); }
.fn-ref a::before { content: "["; } .fn-ref a::after { content: "]"; }
.footnotes h2 { font-size: 1rem; margin-bottom: 1em; }
.footnotes ol { margin: 0; padding-left: 1.4em; display: grid; gap: 8px; color: var(--text-2); font-size: 0.9rem; max-width: 56em; }
.footnotes li:target { background: var(--accent-soft); }
.footnotes .back { text-decoration: none; margin-left: 6px; }
.fn-pop {
  position: absolute; z-index: 60; max-width: 340px; background: #fff; color: var(--text);
  padding: 12px 14px; font-size: 0.88rem; line-height: 1.5; border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.fn-pop[hidden] { display: none; }

/* ---------- Anfrage ---------- */
.inquiry { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 980px) { .inquiry { grid-template-columns: 4fr 7fr; gap: 64px; } }
.contact-direct dt { font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 18px; color: var(--text-3); }
.contact-direct dd { margin: 2px 0 0; color: var(--text); }

form.inquiry-form { display: grid; gap: 20px; background: #fff; border: 1px solid var(--rule); padding: clamp(20px, 3vw, 36px); }
.row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row.two { grid-template-columns: 1fr 1fr; } }
.field label, fieldset legend { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--text-3); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid var(--rule-strong); border-radius: 0; padding: 0.7em 0.8em;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); outline-offset: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 0.5em 0.9em; border: 1px solid var(--rule-strong); font-size: 0.92rem; cursor: pointer; background: #fff; }
.chip input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-hover); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-2); }
.consent input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-submit .note { font-size: 0.9rem; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: #c3ccd5; padding: 56px 0 32px; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #dfe6ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.footer-festival { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); max-width: 26em; font-size: .88rem; color: #aab4be; }
.footer-festival a { color: #fff; font-weight: 600; }
.site-footer .brand-sub { color: #aab4be; }
.site-footer .brand-logo .lg-bg { fill: #fff; }
.site-footer .brand-logo .lg-fg { fill: var(--bg-deep); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* ---------- Projektseite ---------- */
.project-hero { background: var(--bg-alt); padding: 40px 0 clamp(48px, 6vw, 72px); border-top: 0; }
.crumbs { font-size: 0.85rem; color: var(--text-3); margin-bottom: 24px; }
.crumbs a { color: var(--accent); }
.project-hero h1 { margin-top: 14px; }
.player { margin-top: 32px; position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-facade {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  color: #fff; font: inherit; background: linear-gradient(135deg, #3b4652, #1d2833); display: grid; place-items: center; text-align: center;
}
.player-facade .inner { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; padding: 24px; }
.player-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .3s; }
.player-facade:hover img { opacity: .62; }
.player-facade .play-lg { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.15); border: 2px solid #fff; display: grid; place-items: center; }
.player-facade .play-lg::before { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.player-facade:hover .play-lg { background: var(--accent-hover); }
.player-facade .privacy { font-size: 0.82rem; color: #d5dde5; max-width: 36em; }

.project-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 980px) { .project-layout { grid-template-columns: 7fr 4fr; gap: 64px; } }
.prose p { color: var(--text-2); }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.factsheet { margin: 0; border-top: 3px solid var(--accent); }
.factsheet div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.factsheet dt { color: var(--text-3); font-weight: 600; }
.factsheet dd { margin: 0; }

.credits { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .credits { grid-template-columns: repeat(2, 1fr); } }
.credits h3 { font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.credits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.credits small { color: var(--text-3); }

.stills { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stills { grid-template-columns: repeat(4, 1fr); } }
.stills div { aspect-ratio: 3 / 2; background: linear-gradient(135deg, #c9d0d7, #e4e8ec); display: grid; place-items: end start; padding: 8px 10px; font-size: 0.75rem; color: var(--text-2); }

.cta-band { background: var(--accent-soft); }
.cta-band .wrap { display: grid; gap: 20px; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 2fr 1fr; align-items: center; } .cta-band .hero-actions { justify-content: flex-end; margin: 0; } }
.cta-band h2 { margin: 0 0 0.3em; }
.cta-band p { margin: 0; color: var(--text-2); }

/* ---------- Einstieg mit Hintergrundvideo ---------- */
.hero-video { position: relative; overflow: hidden; background: #18222c; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: #18222c; }
.hero-bg iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100%, 1700px); aspect-ratio: 16 / 9; height: auto; border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg iframe.loaded, .hero-bg video.loaded { opacity: 1; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,26,34,.9) 0%, rgba(18,26,34,.72) 45%, rgba(18,26,34,.35) 100%);
}
.hero-video .hero-grid { position: relative; z-index: 1; grid-template-columns: 1fr; min-height: clamp(440px, 62vh, 600px); padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-video .hero-text { max-width: 40rem; }
.hero-video h1 { color: #fff; }
.hero-video .lead { color: #dbe2e9; }
.hero-video .eyebrow { color: #c9d6e3; }
.hero-video h1::after { content: ""; display: block; width: 64px; height: 4px; background: var(--red); margin-top: 22px; }
.btn.light-btn { background: #fff; color: var(--accent); border-color: #fff; }
.btn.light-btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.hero-video .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-video .btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-video .facts-bar { position: relative; z-index: 2; }
.video-toggle {
  position: absolute; z-index: 2; top: 16px; right: var(--gutter);
  background: rgba(18,26,34,.6); color: #fff; border: 1px solid rgba(255,255,255,.5);
  font: 600 0.8rem/1 var(--sans); padding: 8px 12px; cursor: pointer;
}
.video-toggle:hover { background: rgba(18,26,34,.85); }

/* ---------- Zeitleiste interaktiv ---------- */
.timeline.is-interactive .tl-item a { cursor: pointer; }
.timeline.is-interactive .tl-item { transition: opacity .2s; }
.timeline.has-active .tl-item:not(.is-active) { opacity: .55; }
.timeline.has-active .tl-item:not(.is-active):hover,
.timeline.has-active .tl-item:not(.is-active):focus-within { opacity: 1; }
.timeline .tl-item.is-dim { opacity: .18 !important; }
.tl-item.is-active .tl-title { color: var(--accent); }
.tl-item.is-active .tl-title::after { content: " ●"; font-size: .6em; vertical-align: middle; color: var(--red); }
@media (min-width: 900px) {
  /* Bewegung: Balken wachsen beim Darüberfahren, die übrigen werden schmäler */
  .timeline-scroller { position: relative; }
  .tl-item .bar, .tl-item.multi .windows i {
    transition: height .38s cubic-bezier(.2,.8,.2,1), background-color .3s, transform .9s cubic-bezier(.2,.8,.2,1);
  }
  .tl-item .stem { transform-origin: bottom; transition: background-color .3s, width .2s, transform .9s cubic-bezier(.2,.8,.2,1); }
  .tl-item a { transition: translate .3s ease, opacity .6s ease; }
  .tl-item.multi { pointer-events: none; }
  .tl-item.multi a, .tl-item.multi .windows { pointer-events: auto; }

  .timeline:hover .tl-item:not(:hover):not(.is-active) .bar,
  .timeline:hover .tl-item.multi:not(:hover):not(.is-active) .windows i { height: 4px; }
  .tl-item:hover .bar { height: 18px; }
  .tl-item:hover .stem { background-color: var(--accent); width: 2px; }
  .tl-item:hover a { translate: 0 -6px; }
  .tl-item.multi:hover .windows i { height: 18px; background-color: var(--accent); transition-delay: calc(var(--k, 0) * 55ms); }

  .tl-item.is-active .bar { height: 14px; }
  .tl-item.is-active .stem { background-color: var(--red); width: 2px; }
  .tl-item.multi.is-active .windows i { background-color: var(--accent); height: 12px; }

  /* Einstieg: Balken laufen von links ein, Linien wachsen nach oben */
  .timeline.tl-pending .bar, .timeline.tl-pending .windows i { transform: scaleX(0); transform-origin: left; }
  .timeline.tl-pending .stem { transform: scaleY(0); }
  .timeline.tl-pending .tl-item a { opacity: 0; translate: 0 10px; }
  .timeline .tl-item { --d: calc(var(--i, 0) * 140ms); }
  .timeline.tl-intro .bar, .timeline.tl-intro .windows i { transition-delay: var(--d); }
  .timeline.tl-intro .stem { transition-delay: calc(var(--d) + 250ms); }
  .timeline.tl-intro .tl-item a { transition-delay: calc(var(--d) + 450ms); }

  /* Jahres-Cursor, folgt der Maus */
  .tl-cursor {
    position: absolute; top: 0; height: 410px; width: 1px; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(31,59,87,.45) 30%, rgba(31,59,87,.45));
    opacity: 0; transition: opacity .2s;
  }
  .tl-cursor.on { opacity: 1; }
  .tl-cursor span {
    position: absolute; top: -6px; left: 0; translate: -50% -100%;
    background: var(--bg-deep); color: #fff; font-size: 0.72rem; font-weight: 600;
    padding: 3px 7px; white-space: nowrap; font-variant-numeric: tabular-nums;
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .tl-item .bar, .tl-item .stem, .tl-item a, .tl-item.multi .windows i { transition: none; }
  .timeline.tl-pending .bar, .timeline.tl-pending .windows i, .timeline.tl-pending .stem { transform: none; }
  .timeline.tl-pending .tl-item a { opacity: 1; translate: none; }
}
@media (max-width: 899px) { .tl-item.is-active { border-left-color: var(--red); } }

.tl-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tl-controls[hidden] { display: none; }
.tl-filter, .tl-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tl-controls button {
  font: 600 0.88rem/1 var(--sans); padding: 9px 14px; cursor: pointer;
  background: #fff; color: var(--text); border: 1px solid var(--rule-strong);
}
.tl-controls button:hover { border-color: var(--accent); color: var(--accent); }
.tl-controls button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.tl-controls .tl-step { width: 40px; padding: 7px 0; font-size: 1.2rem; }
.tl-count { min-width: 4.5em; text-align: center; font-size: 0.9rem; color: var(--text-2); }
.films.js-single .film:not(.is-active) { display: none; }
.films.js-single { border-top: 0; }
.film[hidden] { display: none; }
.films.js-single .film { border-bottom: 0; animation: filmIn .35s ease; }
@keyframes filmIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .films.js-single .film { animation: none; } }

/* Dezentes Einblenden (nur mit JS) */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Sprachumschalter ---------- */
.topbar-right { display: flex; gap: 16px; align-items: center; }
.lang { display: flex; gap: 6px; align-items: center; }
.lang a, .lang strong { font-weight: 600; padding: 0 2px; }
.lang strong { color: #fff; border-bottom: 2px solid var(--red); }
.lang .sep { color: #6f7b87; }
.brand-logo .lg-frame { fill: #dfe7ef; }
.site-footer .brand-logo .lg-frame { fill: #3a4a5a; }

/* =========================================================
   Anfrage in Schritten (ohne JS: normales Formular)
   ========================================================= */
.wz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wz-step + .wz-step { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.wz-title { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 6px; font-size: 1.3rem; font-weight: 600; color: var(--text); }
.wz-num {
  flex: none; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 0.95rem; font-weight: 700;
}
.wz-intro { color: var(--text-2); margin-bottom: 20px; }
.wz-step .field + .field, .wz-step .row + .row, .wz-step .field + .row { margin-top: 18px; }
.wz-step fieldset.field { border: 0; padding: 0; margin: 18px 0 0; }

/* Auswahlkarten */
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body {
  position: relative; display: block; height: 100%;
  padding: 14px 16px 14px 46px; background: #fff; border: 1px solid var(--rule-strong);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice-body::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px;
  border: 2px solid var(--rule-strong); border-radius: 50%; background: #fff; transition: all .15s;
}
.choice-body strong { display: block; font-size: 1rem; }
.choice-body small { display: block; color: var(--text-2); font-size: 0.88rem; line-height: 1.45; margin-top: 2px; }
.choice:hover .choice-body { border-color: var(--accent); }
/* Im geführten Modus: Beschreibung erst beim Darüberfahren, ruhig unter den Karten */
.wz-on .choice-body small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wz-on .choice-body { padding-top: 13px; padding-bottom: 13px; }
.wz-on .choice-body::before { top: 14px; }
.choice-info { min-height: 1.5em; margin: 12px 0 0; font-size: 0.92rem; color: var(--text-2); transition: opacity .2s; }
.choice-info:empty { opacity: 0; }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--accent-hover); outline-offset: 2px; }
.choice input:checked + .choice-body { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.choice input:checked + .choice-body::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Fortschritt als Filmstreifen */
.wz-progress { margin-bottom: 26px; }
.wz-progress[hidden] { display: none; }
.wz-count { margin: 0 0 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.wz-strip {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
}
.wz-strip li {
  background: #eef0f3; color: var(--text-3); text-align: center;
  font-size: 0.74rem; font-weight: 600; padding: 9px 4px; line-height: 1.2;
  transition: background .4s ease, color .4s ease;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wz-strip li.is-done { background: #d9dfe6; color: var(--text); animation: frameLit .5s ease; }
.wz-strip li.is-done span::before { content: "✓ "; }
.wz-strip li.is-current { background: var(--bg-deep); color: #fff; }
@keyframes frameLit { 0% { background: #f7f9fb; } 100% { background: #d9dfe6; } }
@media (max-width: 480px) { .wz-strip li { font-size: 0.64rem; padding: 9px 2px; } }

/* Schritte im geführten Modus */
.wz-on .wz-step { display: none; margin: 0; padding: 0; border: 0; }
.wz-on .wz-step.is-current { display: block; animation: stepIn .35s ease; }
.wz-on .wz-step.is-current.from-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.wz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.wz-nav .btn[hidden] { display: none; }
.wz-feedback { margin: 8px 0 0; font-size: 0.88rem; color: var(--text-3); min-height: 1.4em; }
.wz-feedback.is-good { color: var(--accent); font-weight: 600; }
.wz-feedback.is-good::before { content: "✓ "; }
.wz-chosen { display: inline-block; margin-bottom: 14px; padding: 4px 10px; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 600; }
.wz-chosen::before { content: "✓ "; }

/* Zusammenfassung als Filmklappe */
.wz-summary { margin: 4px 0 22px; border: 2px solid var(--bg-deep); background: #fff; }
.wz-summary[hidden] { display: none; }
.clap-top {
  height: 22px; border-bottom: 2px solid var(--bg-deep); transform-origin: left bottom;
  background: repeating-linear-gradient(-45deg, var(--bg-deep) 0 14px, #fff 14px 28px);
}
.wz-step.is-current .clap-top { animation: clap .7s cubic-bezier(.3,1.4,.5,1) .15s both; }
@keyframes clap { from { transform: rotate(-14deg); } to { transform: rotate(0); } }
.clap-head { display: flex; justify-content: space-between; gap: 12px; background: var(--bg-deep); color: #fff; padding: 8px 14px; font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.clap-body { margin: 0; padding: 4px 14px; }
.clap-row { display: grid; grid-template-columns: 9em 1fr auto; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.clap-row:last-child { border-bottom: 0; }
.clap-row dt { font-size: 0.78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.clap-row dd { margin: 0; overflow-wrap: anywhere; }
.clap-row button { background: none; border: 0; color: var(--accent); font: 600 0.85rem var(--sans); cursor: pointer; padding: 0; text-decoration: underline; }
@media (max-width: 560px) {
  .clap-row { grid-template-columns: 1fr auto; }
  .clap-row dd { grid-column: 1 / -1; grid-row: 2; }
}

/* Abschluss */
.wz-done { text-align: center; padding: 28px 8px 12px; }
.wz-done[hidden] { display: none; }
.wz-done:focus { outline: none; }
.wz-done-icon { width: 76px; height: 76px; margin: 0 auto 18px; display: block; }
.wz-done-icon circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .8s ease forwards; }
.wz-done-icon path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .45s ease .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.wz-done h3 { font-size: 1.5rem; }
.wz-done-note { color: var(--text-3); font-size: 0.88rem; }
.wz-done-note:empty { display: none; }
.wz-next { list-style: none; margin: 22px auto 0; padding: 0; max-width: 26em; text-align: left; display: grid; gap: 10px; counter-reset: n; }
.wz-next li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; color: var(--text-2); }
.wz-next li::before { content: counter(n); width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .wz-on .wz-step.is-current, .wz-strip li.is-done, .wz-step.is-current .clap-top { animation: none; }
  .wz-done-icon circle, .wz-done-icon path { animation: none; stroke-dashoffset: 0; }
}
