/* ============================================
   Design tokens — dunkel, kinohaft, sachlich
   ============================================ */
:root {
  --bg: #141311;
  --bg-elev: #1b1a17;
  --bg-elev-2: #22201c;
  --fg: #f4f1ec;
  --fg-muted: #8e8a82;
  --fg-dim: #5f5b53;
  --border: #2a2823;
  --border-strong: #39362f;
  --accent: #faf7f2;
  --accent-dim: #cfc9c0;

  --font-sans: "Geist", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Geist", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step-1: 12px;
  --step-2: 14px;
  --step-3: 16px;
  --step-4: 20px;
  --step-5: 28px;
  --step-6: 40px;
  --step-7: 64px;
  --step-8: 96px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --maxw: 1360px;
}

/* Light theme — milchiges, abgetoentes Cremeweiss, angenehm fuer die Augen */
:root[data-theme="light"] {
  --bg: #efebe3;
  --bg-elev: #e7e3da;
  --bg-elev-2: #ddd8ce;
  --fg: #14120f;
  --fg-muted: #5a564f;
  --fg-dim: #8a857e;
  --border: #d0cabe;
  --border-strong: #b2ac9f;
  --accent: #14120f;
  --accent-dim: #3a362f;
}

/* Light theme — subtle structural fixes for elements that assume dark */
:root[data-theme="light"] body {
  background: var(--bg);
}
/* Diagonal noise/pattern — invert opacity so it reads on light */
:root[data-theme="light"] body::before,
:root[data-theme="light"] .film-row-media::before,
:root[data-theme="light"] .hero-slide::before {
  opacity: 0.5;
  mix-blend-mode: multiply;
}
/* White pill (lang) becomes dark in light mode for contrast */
:root[data-theme="light"] .lang-pill {
  background: #14120f;
  color: #faf7f2;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.12),
    0 8px 24px rgba(0,0,0,0.16);
}
:root[data-theme="light"] .lang-pill-opt { color: rgba(250,247,242,0.55); }
:root[data-theme="light"] .lang-pill-opt:hover,
:root[data-theme="light"] .lang-pill-opt:focus-visible { color: #faf7f2; }
/* Selection — dark pill in light */
:root[data-theme="light"] ::selection {
  background: #14120f;
  color: #f6f3ee;
}
/* Slot placeholders — lighter background */
:root[data-theme="light"] .slot,
:root[data-theme="light"] .poster-ph {
  background: var(--bg-elev);
  border-color: var(--border);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-3);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Prevent horizontal scroll from full-bleed sections on mobile */
  overflow-x: hidden;
  max-width: 100vw;
}

body { min-height: 100vh; }
img, video { max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

::selection { background: var(--fg); color: var(--bg); }

/* ============================================
   Asset slots — labeled placeholder boxes that
   render real <img> when `src` is filled.
   ============================================ */
.slot {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
}
.slot-empty {
  border: 1px dashed var(--border-strong);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.015) 0,
      rgba(255,255,255,0.015) 2px,
      transparent 2px, transparent 12px
    ),
    var(--bg-elev);
}
.slot-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
}
.slot-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.5;
}
.slot-filled { border: none; }
.slot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Laurels strip — small, dezent */
.laurels-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
  max-width: 720px;
}
.laurel {
  max-width: 96px;
}
.laurel-fig {
  display: flex;
  align-items: center;
  justify-content: center;
}
.laurel-img {
  display: block;
  width: 100%;
  max-width: 96px;
  height: auto;
  opacity: 0.7;
  filter: saturate(0.85);
  transition: opacity 160ms ease;
}
.laurel-fig:hover .laurel-img {
  opacity: 1;
}

/* Logo strip — co-producer + funder logos */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.logo-slot {
  background: var(--bg-elev-2);
}

.asset-slot-block { margin-top: var(--space-5); }
.asset-slot-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 8px;
}

/* Film-accent driven tinting — each film page sets --film-accent */
.film-page .film-hero-vignette {
  background: none;
}
.film-page .link-btn.primary {
  background: var(--film-accent);
  border-color: var(--film-accent);
  color: #0a0a0a;
}
.film-page .film-hero-num {
  color: color-mix(in oklab, var(--film-accent) 70%, white 30%);
}
.film-page .detail-lede {
  color: color-mix(in oklab, var(--film-accent) 45%, var(--accent-dim) 55%);
}

.film-card {
  --film-accent: #f4f1ec;
}
.film-card .film-title .soon-badge {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
}
.film-card-soon .slot-empty {
  opacity: 0.55;
}

.link-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.inline-link {
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 140ms ease;
}
.inline-link:hover {
  border-bottom-color: var(--fg);
}

.film-section {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.film-section h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin: 0 0 var(--space-5);
}
.film-section.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}
@media (max-width: 820px) {
  .film-section.two-col { grid-template-columns: 1fr; }
}

.kv-list.kv-tight .kv-row {
  padding: var(--space-3) 0;
}

.meta-cell-wide {
  grid-column: 1 / -1;
  border-left: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.coming-soon-block {
  padding: var(--space-8) 0 var(--space-9);
  max-width: 640px;
}

/* Home hero banner uses Slot now */
.hero-banner-slot {
  width: 100%;
}


/* ============================================
   Press quotes
   ============================================ */
.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.press-item {
  border-left: 2px solid var(--border-strong);
  padding: 4px 0 4px var(--space-4);
}
.press-quote {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--fg);
  font-style: italic;
  font-weight: 400;
  text-wrap: pretty;
}
.press-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-style: normal;
}

/* Per-film Festivals & Awards */
.film-fa { margin-top: var(--space-6); }
.film-fa-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.film-fa-col {
  border-top: 1px solid var(--border-strong);
  padding-top: var(--space-4);
}
.film-fa-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-3);
}
.film-fa-list { list-style: none; margin: 0; padding: 0; }
.film-fa-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.film-fa-name {
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: balance;
}
.film-fa-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.film-fa-year.film-fa-fest {
  text-transform: none;
  letter-spacing: 0.04em;
  max-width: 240px;
  text-align: right;
  white-space: normal;
}

/* ============================================
   Stills lightbox
   ============================================ */
.still-cell { position: relative; }
.still-clickable .still { cursor: zoom-in; }
.still-clickable .still .slot-img { transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.still-clickable:hover .still .slot-img { transform: scale(1.02); }
.still-clickable:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.still-dl {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
  cursor: pointer;
}
.still-dl svg { width: 18px; height: 18px; }
.still-cell:hover .still-dl,
.still-dl:focus-visible {
  opacity: 1;
  transform: translateY(0);
}
.still-dl:hover { background: rgba(0,0,0,0.85); }

.slb-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}
.slb-dl:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}
.slb-dl svg { width: 13px; height: 13px; }

.slb-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  animation: lb-fade 200ms ease both;
}
.slb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
  opacity: 0.8;
  transition: opacity 180ms ease;
}
.slb-close:hover { opacity: 1; }
.slb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  padding: 16px 20px;
  opacity: 0.6;
  transition: opacity 180ms ease;
  user-select: none;
}
.slb-nav:hover { opacity: 1; }
.slb-prev { left: 16px; }
.slb-next { right: 16px; }
.slb-figure {
  margin: 0;
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.slb-figure img {
  max-width: 80vw;
  max-height: calc(80vh - 40px);
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.slb-caption {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.slb-caption-title { color: #fff; }
@media (max-width: 720px) {
  .slb-overlay { padding: 56px 8px; }
  .slb-nav { font-size: 36px; padding: 10px 12px; }
  .slb-prev { left: 4px; }
  .slb-next { right: 4px; }
}

/* ============================================
   Trailer lightbox
   ============================================ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  animation: lb-fade 220ms ease both;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease, border-color 140ms ease;
}
.lb-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.lb-box {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: lb-rise 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes lb-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lb-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lb-video-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  background:
    radial-gradient(ellipse at center, rgba(180,160,130,0.08), transparent 60%),
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.015) 0,
      rgba(255,255,255,0.015) 2px,
      transparent 2px, transparent 14px),
    #0a0a0a;
}
.lb-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
}
.lb-video-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.lb-consent {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: rgba(20, 19, 17, 0.92);
  color: #f4f1ec;
  box-sizing: border-box;
}
.lb-consent-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.lb-consent-body {
  max-width: 480px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 241, 236, 0.78);
  margin: 0 0 22px;
}
.lb-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.lb-consent-primary,
.lb-consent-ghost {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(244, 241, 236, 0.35);
  background: transparent;
  color: #f4f1ec;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lb-consent-primary {
  background: #f4f1ec;
  color: #141311;
  border-color: #f4f1ec;
}
.lb-consent-primary:hover { opacity: 0.85; }
.lb-consent-ghost:hover { background: rgba(244, 241, 236, 0.06); }
.lb-consent-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.45);
  margin: 0;
}
.lb-consent-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lb-consent-link a:hover { color: #f4f1ec; }
.lb-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.lb-caption-title {
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.08em;
}

/* ============================================
   Festivals & Awards page
   ============================================ */
.fa-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-7) 0 var(--space-9);
}
.fa-block {
  display: flex;
  flex-direction: column;
}
.fa-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: var(--space-2);
}
.fa-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
}
.fa-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.fa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fa-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}
.fa-thead {
  display: grid;
  gap: var(--space-5);
  align-items: baseline;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.fa-thead > span {
  padding-right: 8px;
}
.fa-tbody {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fa-trow {
  display: grid;
  gap: var(--space-5);
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 200ms ease, padding-left 260ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.fa-trow::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--fg);
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fa-trow:hover {
  padding-left: 4px;
}
.fa-trow:hover::before {
  transform: translateY(-50%) scaleX(1);
  transform-origin: left center;
}
.fa-table-awards .fa-thead,
.fa-table-awards .fa-trow {
  grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.5fr) minmax(0, 1.2fr);
}
.fa-table-festivals .fa-thead,
.fa-table-festivals .fa-trow {
  grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.5fr) 72px;
}
.fa-award {
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.fa-fest {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.005em;
}
.fa-film-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fa-trow:hover .fa-award,
.fa-trow:hover .fa-fest {
  color: var(--fg);
}
.fa-trow:hover .fa-film-cell {
  color: rgba(255,255,255,0.75);
}
.fa-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--space-5);
  align-items: baseline;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}
.fa-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.fa-name {
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--fg);
  text-wrap: balance;
}
.fa-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.fa-year.fa-fest {
  text-transform: none;
  letter-spacing: 0.04em;
  max-width: 320px;
  text-align: right;
  white-space: normal;
}
@media (max-width: 720px) {
  .fa-thead {
    display: none;
  }
  .fa-trow {
    grid-template-columns: 40px 1fr !important;
    row-gap: 6px;
    padding: 14px 0;
  }
  .fa-trow::before { display: none; }
  .fa-table-awards .fa-award {
    grid-column: 2;
    font-size: 15px;
  }
  .fa-table-awards .fa-fest {
    grid-column: 2;
    font-size: 13px;
  }
  .fa-table-awards .fa-film-cell,
  .fa-table-festivals .fa-film-cell {
    grid-column: 2;
    font-size: 10px;
  }
  .fa-table-festivals .fa-fest {
    grid-column: 2;
    font-size: 17px;
    font-weight: 500;
    color: var(--fg);
    letter-spacing: -0.01em;
  }
  .fa-table-festivals .fa-year {
    grid-column: 2;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .fa-row {
    grid-template-columns: 32px 1fr;
    row-gap: 6px;
  }
  .fa-year {
    grid-column: 2;
    text-align: left;
    max-width: none;
  }
}

/* On film detail + home pages, nav floats transparently over the hero */
body:has(.film-hero) .nav,
body:has(.hero-carousel) .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body:has(.film-hero) .nav-link,
body:has(.hero-carousel) .nav-link,
body:has(.film-hero) .nav-logo,
body:has(.hero-carousel) .nav-logo,
body:has(.film-hero) .nav-caret,
body:has(.hero-carousel) .nav-caret {
  color: #fff;
}
body:has(.film-hero) .nav-link:hover,
body:has(.hero-carousel) .nav-link:hover,
body:has(.film-hero) .nav-link.active,
body:has(.hero-carousel) .nav-link.active {
  color: #fff;
  opacity: 0.85;
}
.film-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* dynamic — passt sich an iOS Safari Browser-Chrome an, kein schwarzer Balken unten */
  min-height: 560px;
  /* Pull up under sticky nav so hero fills viewport from very top.
     Nutzt live gemessene Header-Hoehe via --header-h (siehe components.jsx). */
  margin-top: calc(-1 * var(--header-h, 73px));
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

html:has(.film-hero) {
  scroll-snap-type: y proximity;
}
.film-page > .shell {
  scroll-snap-align: start;
}
.film-hero-compact {
  position: relative;
  width: 100%;
  height: 572px;
  overflow: hidden;
  background: #000;
}
.film-hero-compact .film-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-hero-compact .slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-hero-compact-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}
@media (max-width: 768px) {
  .film-hero-compact { height: 416px; }
}
.film-hero-media {
  position: absolute;
  inset: 0;
}
.film-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-hero-ph {
  position: absolute;
  inset: 0;
  background: #0c0c0c;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(180, 160, 130, 0.08), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(80, 120, 160, 0.06), transparent 60%),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.015) 0,
      rgba(255,255,255,0.015) 2px,
      transparent 2px,
      transparent 16px
    );
}
.film-hero-ph-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-align: center;
  padding: 0 20px;
}
.film-hero-vignette {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
.film-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(72px + var(--space-6)) var(--space-6) var(--space-7);
  z-index: 2;
  will-change: opacity, transform;
  transition: opacity 120ms linear, transform 120ms linear;
}
.film-hero-back {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.film-hero-back:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.film-hero-meta {
  margin-top: auto;
  max-width: 900px;
}
.film-hero-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.film-hero-title {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-wrap: balance;
  position: relative;
}
.film-hero-title::after {
  content: "";
  display: block;
  width: clamp(48px, 5vw, 72px);
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin-top: clamp(14px, 1.2vw, 20px);
}
.film-hero-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: clamp(10px, 1vw, 14px);
}
.film-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.film-hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scroll-hint 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Hero banner (home)
   ============================================ */
.hero-banner {
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.hero-banner-ph {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 14px
    );
}
.hero-banner-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04), transparent 60%);
}
.hero-banner-label {
  position: absolute;
  left: var(--space-6);
  bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ============================================
   Layout scaffolding
   ============================================ */
.app { min-height: 100vh; display: flex; flex-direction: column; }

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(var(--space-6), env(safe-area-inset-left));
  padding-right: max(var(--space-6), env(safe-area-inset-right));
}

@media (max-width: 720px) {
  .shell {
    padding-left: max(var(--space-4), env(safe-area-inset-left));
    padding-right: max(var(--space-4), env(safe-area-inset-right));
  }
}

/* ============================================
   Top nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
/* Wenn das Mobil-Menü offen ist: backdrop-filter ausschalten.
   Sonst erzeugt der Header einen containing block fuer das position:fixed
   Drawer und der kollabiert auf die Header-Hoehe (57px). Da der Drawer eh
   den Header ueberdeckt, faellt das visuell nicht auf. */
.nav.nav-mobile-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-5);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Burger — hidden on desktop */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  margin-right: -10px; /* optical align with shell edge */
}

/* Theme toggle — minimal icon button, sits in nav-right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 999px;
  margin-right: 4px;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--fg);
  outline: none;
}
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { display: block; }
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.25px;
  background: currentColor;
  color: var(--fg);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
  transform-origin: center;
}
.nav-burger span:nth-child(3) { display: none; } /* two lines only */
.nav-burger.is-open span:nth-child(1) { transform: translateY(3.6px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { transform: translateY(-3.6px) rotate(-45deg); }
body:has(.film-hero) .nav-burger span,
body:has(.hero-carousel) .nav-burger span { color: #fff; }

/* Mobile menu sheet */
.nav-mobile {
  position: fixed;
  left: 0;
  right: 0;
  top: 56px;
  bottom: 0;
  z-index: 49;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: navMobileIn 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes navMobileIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.nav-mobile-inner {
  padding: var(--space-5) var(--space-5) calc(var(--space-8) + 80px);
  display: flex;
  flex-direction: column;
}
.nav-mobile-link {
  display: block;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
  line-height: 1;
}
.nav-mobile-link:active { opacity: 0.6; }
.nav-mobile-link.active {
  color: #fff;
  padding-left: 0;
}
.nav-mobile-group {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-group .nav-mobile-link {
  border-bottom: 0;
}
.nav-mobile-sub-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
}
.nav-mobile-caret {
  display: inline-block;
  font-size: 12px;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-mobile-caret.open { transform: rotate(180deg); }
.nav-mobile-sublist {
  list-style: none;
  padding: 6px 0 14px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  animation: navMobileSubIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes navMobileSubIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.nav-mobile-sublink {
  --film-accent: #f4f1ec;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.78);
  transition: color 160ms ease, transform 200ms ease;
}
.nav-mobile-sublink:active {
  transform: translateX(2px);
  color: #fff;
}
.nav-mobile-sublink-title {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}
.nav-mobile-sublink-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* Desktop / Mobile nav switch */
@media (max-width: 820px) {
  .nav-inner { height: 56px; gap: var(--space-3); }
  .nav-links { display: none; }
  /* language pill is now floating; keep in nav on desktop, hidden in mobile nav-right */
  .nav-burger { display: inline-flex; }
  .nav-mobile { top: 56px; }
  .brand-mark { display: none; }
  .brand { font-size: 14px; letter-spacing: 0.04em; }
}
@media (min-width: 821px) {
  .nav-mobile { display: none; }
}
/* Alte .nav-mobile-lang Regel mit display:none entfernt — Klasse wird jetzt
   für den dezenten Mobil-Drawer-Sprach-Switcher genutzt (Definition siehe unten). */

/* Language toggle */
/* ============================================
   Language Pill — floating bottom-right, opens upward
   ============================================ */
.lang-pill {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vh, 28px);
  z-index: 50;
  background: #ffffff;
  border-radius: 999px;
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.12);
  width: 56px;
  display: flex;
  flex-direction: column-reverse; /* current stays anchored at bottom */
  align-items: stretch;
  overflow: hidden;
  transition: box-shadow 220ms ease;
}
.lang-pill.open {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.10),
    0 16px 40px rgba(0,0,0,0.18);
}

.lang-pill-current {
  appearance: none;
  background: transparent;
  border: 0;
  color: #0a0a0a;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}
.lang-pill-caret {
  transition: transform 220ms ease;
  color: #0a0a0a;
}
.lang-pill.open .lang-pill-caret {
  transform: rotate(180deg);
}

.lang-pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
  pointer-events: none;
}
.lang-pill.open .lang-pill-list {
  max-height: 480px;
  opacity: 1;
  pointer-events: auto;
  padding: 6px 0 2px;
}
.lang-pill-opt {
  appearance: none;
  background: transparent;
  border: 0;
  color: #9a9a9a;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  padding: 10px 0;
  width: 100%;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 160ms ease;
}
.lang-pill-opt:hover,
.lang-pill-opt:focus-visible {
  color: #0a0a0a;
  outline: none;
}

@media (max-width: 720px) {
  .lang-pill {
    right: 14px;
    bottom: 14px;
    width: 52px;
    font-size: 13px;
  }
  .lang-pill-current { height: 52px; }
}

/* Language toggle integrated into nav-right */
.nav-right .lang-pill {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  min-width: 54px;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  overflow: visible !important;
  flex-direction: row !important;
  font-size: 11px;
  letter-spacing: 0.12em;
  z-index: 60;
}
body:not(:has(.film-hero)):not(:has(.hero-carousel)) .nav-right .lang-pill {
  border-color: var(--border);
}
.nav-right .lang-pill-current {
  color: inherit !important;
  height: 30px !important;
  padding: 0 10px !important;
  gap: 4px;
  font-size: 11px !important;
}
.nav-right .lang-pill-caret { color: inherit !important; }
.nav-right .lang-pill-list {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 90px;
  width: auto !important;
  background: #14120f !important;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.32);
  max-height: 0;
  padding: 0;
}
.nav-right .lang-pill.open .lang-pill-list {
  max-height: 320px;
  padding: 4px 0 !important;
}
.nav-right .lang-pill-opt {
  color: rgba(255,255,255,0.72) !important;
  padding: 7px 14px !important;
  text-align: left !important;
  font-size: 11px !important;
  letter-spacing: 0.12em;
}
.nav-right .lang-pill-opt:hover,
.nav-right .lang-pill-opt:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,0.06) !important;
}
:root[data-theme="light"] .nav-right .lang-pill { background: transparent !important; color: inherit !important; }
:root[data-theme="light"] .nav-right .lang-pill-list {
  background: #faf7f2 !important;
  border-color: rgba(0,0,0,0.10);
}
:root[data-theme="light"] .nav-right .lang-pill-opt { color: #555 !important; }
:root[data-theme="light"] .nav-right .lang-pill-opt:hover,
:root[data-theme="light"] .nav-right .lang-pill-opt:focus-visible {
  color: #0a0a0a !important;
  background: rgba(0,0,0,0.04) !important;
}
@media (max-width: 720px) {
  .nav-right .lang-pill { display: none; }
}
.brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: var(--step-4);
}
.brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(1px);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav-links {
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 821px) {
  .nav-links { display: flex; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}
.nav-link {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color 120ms ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

/* Films dropdown */
.nav-films-wrap {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}
.nav-caret {
  font-size: 9px;
  color: var(--fg-dim);
  transition: color 120ms ease;
}
.nav-films-wrap:hover .nav-caret { color: var(--fg-muted); }

.films-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 936px);
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  padding: var(--space-5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  z-index: 80;
  animation: dd-in 160ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes dd-in {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.films-dropdown::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -40px;
  right: -40px;
  height: 30px;
}
.films-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.films-dropdown-item {
  --film-accent: #f4f1ec;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding: 0;
  transition: transform 180ms ease;
  cursor: pointer;
}
.films-dropdown-item:hover { transform: translateY(-2px); }
.films-dropdown-poster {
  aspect-ratio: 2 / 3;
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
}
.films-dropdown-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.films-dropdown-poster-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.015) 0,
      rgba(255,255,255,0.015) 2px,
      transparent 2px, transparent 10px
    );
}
.films-dropdown-poster-accent {
  display: block;
  width: 18px;
  height: 2px;
}
.films-dropdown-poster-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.films-dropdown-title {
  font-size: 12.6px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.films-dropdown-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--fg);
}

/* ============================================
   Hero / page headers
   ============================================ */
.page-head {
  padding: var(--space-9) 0 var(--space-7);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--fg-muted);
  margin-bottom: var(--space-4);
}
.h-display {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  max-width: 14ch;
  text-wrap: balance;
}
.h-lede {
  margin-top: var(--space-5);
  font-size: var(--step-4);
  color: var(--fg-muted);
  max-width: 60ch;
  line-height: 1.45;
  text-wrap: pretty;
}

/* ============================================
   Controls bar (view toggle etc.)
   ============================================ */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}
.toolbar-filter {
  flex-wrap: wrap;
  gap: var(--space-3);
}
.toolbar-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Filter dropdown — compact */
.filter-dd {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filter-dd-current {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  transition: border-color 160ms ease, color 160ms ease;
}
.filter-dd-current svg { transition: transform 220ms ease; }
.filter-dd.open .filter-dd-current svg { transform: rotate(180deg); }
.filter-dd-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  max-width: calc(100vw - 32px);
  list-style: none;
  margin: 0;
  padding: 4px;
  background: #111;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 60;
  animation: dropdownIn 180ms cubic-bezier(0.22,1,0.36,1) both;
}
.filter-dd-opt {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  color: var(--fg-muted);
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  transition: background 160ms ease, color 160ms ease;
}
.filter-dd-opt:hover { color: var(--fg); background: rgba(255,255,255,0.06); }
.filter-dd-opt.active { color: var(--fg); background: rgba(255,255,255,0.10); }

/* Filter pills — Feature / Documentary / All */
.filter-pills {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-pill {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 200ms ease, border-color 200ms ease;
}
.filter-pill:hover { color: var(--fg); }
.filter-pill.active {
  background: var(--fg);
  color: var(--bg, #0a0a0a);
  border-color: var(--fg);
}
@media (max-width: 560px) {
  .toolbar-filter { flex-direction: column; align-items: flex-start; }
  .filter-pill { padding: 7px 12px; font-size: 10.5px; }
}
.toggle-group {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}
.toggle-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  color: var(--fg-muted);
  border-right: 1px solid var(--border-strong);
  transition: background 120ms ease, color 120ms ease;
}
.toggle-btn:last-child { border-right: none; }
.toggle-btn:hover { color: var(--fg); }
.toggle-btn.active {
  background: var(--fg);
  color: var(--bg);
}

/* ============================================
   Grid view — posters
   ============================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-5);
  padding: var(--space-7) 0 var(--space-9);
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-3);
  }
  .film-card .film-title { font-size: 14px; }
  .film-card .film-sub { font-size: 11px; }
}
.film-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  cursor: pointer;
  transition: transform 200ms ease;
}
.film-card:hover { transform: translateY(-2px); }
.film-card .poster {
  border: none;
}
.film-card-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.film-card-media .slot.poster {
  position: absolute;
  inset: 0;
}
.film-card-media .slot-img {
  transition: filter 180ms ease;
}
.film-card-media.is-hover .slot-img {
  filter: brightness(0.45);
}
.poster-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease 80ms;
  pointer-events: none;
}
.film-card-media.is-hover .poster-hover-video {
  opacity: 1;
}
.poster-hover-tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 220ms ease 80ms;
  pointer-events: none;
  z-index: 1;
}
.film-card-media.is-hover .poster-hover-tint {
  opacity: 1;
}
.poster-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease 120ms;
  pointer-events: none;
  z-index: 2;
}
.film-card-media.is-hover .poster-hover-overlay {
  opacity: 1;
}
.poster-hover-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 0.95;
  font-weight: 600;
  color: var(--film-accent, #fff);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  max-width: 90%;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-card-media.is-hover .poster-hover-title {
  opacity: 1;
  transform: translateY(0);
  letter-spacing: -0.03em;
}
.poster-hover-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: auto;
  transform: scaleX(0.78);
  opacity: 0;
  transition:
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1) 140ms,
    opacity 300ms ease 140ms,
    color 220ms ease,
    border-color 220ms ease;
}
.film-card-media.is-hover .poster-hover-cta {
  transform: scaleX(1);
  opacity: 1;
}
.poster-hover-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--film-accent, #fff);
  transform: translateX(-101%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.poster-hover-cta:hover::before {
  transform: translateX(0);
}
.poster-hover-cta:hover {
  color: #0e0d0b;
  border-color: var(--film-accent, #fff);
}
.poster-hover-cta-label,
.poster-hover-cta-arrow {
  position: relative;
  z-index: 1;
}
.poster-hover-cta-arrow {
  display: inline-block;
  transform: translateX(-8px);
  opacity: 0;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1) 360ms,
    opacity 260ms ease 360ms,
    color 220ms ease;
}
.film-card-media.is-hover .poster-hover-cta-arrow {
  transform: translateX(0);
  opacity: 1;
}
.poster-hover-cta:hover .poster-hover-cta-arrow {
  transform: translateX(4px);
  transition-delay: 0ms;
}
.poster-hover-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-card-media.is-hover .poster-hover-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 380ms;
}
.poster-hover-sub::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 0 auto 10px;
  background: currentColor;
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-card-media.is-hover .poster-hover-sub::before {
  transform: scaleX(1);
  transition-delay: 520ms;
}
.film-card .film-meta {
  transition: opacity 180ms ease;
}
.film-card:has(.film-card-media.is-hover) .film-meta {
  opacity: 0;
  visibility: hidden;
}
@media (hover: none) {
  .film-card-media.is-hover .slot-img { filter: none; }
  .poster-hover-video, .poster-hover-overlay { display: none; }
}
.poster-ph {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 10px
    );
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}
.poster-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.04), transparent 60%);
}
.poster-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.poster-num {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
}
.film-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.film-title {
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.film-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   List view — enzyklopädisch
   ============================================ */
.list {
  padding: var(--space-5) 0 var(--space-9);
}
.list-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.5fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 120ms ease;
}
.list-row:hover {
  background: var(--bg-elev);
}
.list-row.header {
  cursor: default;
  border-bottom-color: var(--border-strong);
  padding: var(--space-3) 0;
}
.list-row.header:hover { background: transparent; }
.list-col {
  font-size: var(--step-2);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list-col.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.list-col.title {
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: normal;
}
.list-col.index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
}
@media (max-width: 820px) {
  .list-row {
    grid-template-columns: 1.4fr 0.6fr;
  }
  .list-col.hide-sm { display: none; }
}

/* ============================================
   Film detail page
   ============================================ */
.detail {
  padding: var(--space-8) 0 var(--space-9);
}
.detail-top {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 820px) {
  .detail-top { grid-template-columns: 1fr; gap: var(--space-6); }
}
.detail-poster {
  aspect-ratio: 2 / 3;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.detail-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.detail-orig {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.detail-lede {
  margin-top: var(--space-6);
  font-size: var(--step-4);
  color: var(--accent-dim);
  max-width: 55ch;
  line-height: 1.5;
  text-wrap: pretty;
}

.meta-grid {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}
.meta-cell {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  padding-right: var(--space-5);
}
.meta-cell:nth-child(2n) {
  padding-left: var(--space-5);
  padding-right: 0;
  border-left: 1px solid var(--border);
}
.meta-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.meta-val {
  font-size: var(--step-3);
  color: var(--fg);
}
.meta-val.big {
  font-size: var(--step-5);
  letter-spacing: -0.01em;
}

.detail-body {
  margin-top: var(--space-9);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
@media (max-width: 820px) {
  .detail-body { grid-template-columns: 1fr; gap: var(--space-6); }
}
.detail-body h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin: 0 0 var(--space-4);
}
.detail-body p {
  font-size: var(--step-3);
  line-height: 1.65;
  color: var(--accent-dim);
  margin: 0 0 var(--space-4);
  max-width: 60ch;
  text-wrap: pretty;
}

.stills {
  margin-top: var(--space-8);
}
.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
@media (max-width: 720px) {
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
}
.still {
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.link-row {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: all 120ms ease;
}
.link-btn:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
}
.link-btn.primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.link-btn.primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
}

/* ============================================
   Rating bar
   ============================================ */
.rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.rating-dots {
  display: inline-flex;
  gap: 4px;
}
.rating-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-strong);
}
.rating-dot.on { background: var(--fg); }

/* ============================================
   Back link
   ============================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: var(--space-4) 0;
  transition: color 120ms ease;
}
.back-link:hover { color: var(--fg); }

/* ============================================
   About & Contact
   ============================================ */
.prose {
  padding: var(--space-8) 0 var(--space-9);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
}
@media (max-width: 820px) {
  .prose { grid-template-columns: 1fr; }
}
.prose-aside {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.prose-body p {
  font-size: var(--step-4);
  line-height: 1.55;
  color: var(--accent-dim);
  margin: 0 0 var(--space-5);
  max-width: 60ch;
  text-wrap: pretty;
}
.prose-body p.lead {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.about-media {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3);
  padding-top: var(--space-6);
}
.about-media-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0e0d0b;
}
.about-media-item.about-media-wide {
  aspect-ratio: 16 / 10;
}
.about-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.about-media-item:hover img {
  transform: scale(1.03);
}
@media (max-width: 820px) {
  .about-media {
    grid-template-columns: 1fr 1fr;
  }
  .about-media-item.about-media-wide {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
  gap: var(--space-7);
  padding-top: var(--space-6);
  align-items: start;
}
.about-grid .prose {
  display: block;
  padding: 0;
}
.about-grid .prose-body p {
  max-width: 72ch;
}
.about-portraits {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.about-portrait {
  margin: 0;
  background: #0e0d0b;
}
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.02);
}
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.kv-list {
  margin-top: var(--space-7);
  border-top: 1px solid var(--border);
}
.kv-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
}
.kv-row .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.kv-row .v { font-size: var(--step-3); }
@media (max-width: 720px) {
  .kv-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: var(--space-7) 0 var(--space-6);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-col {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.8;
}
.footer-col strong {
  display: block;
  color: var(--fg);
  margin-bottom: var(--space-2);
  font-weight: 500;
}
.footer-link {
  color: var(--fg-muted);
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.footer-link:hover {
  color: var(--fg);
  border-bottom-color: var(--border-strong);
}

/* ============================================
   Tweaks panel
   ============================================ */
.tweaks {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  padding: var(--space-5);
  min-width: 240px;
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tweaks-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-4);
}
.tweaks-group {
  margin-bottom: var(--space-4);
}
.tweaks-group:last-child { margin-bottom: 0; }
.tweaks-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-2);
}

/* ============================================
   Awards panel (typographic, no grafics)
   ============================================ */
.awards-panel,
.laurels-panel,
.festivals-panel {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
}
.awards-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  gap: var(--space-4);
}
.awards-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.awards-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-dim);
}
.awards-festivals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .awards-festivals-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.awards-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}
.awards-row:last-child { border-bottom: 1px solid var(--border); }
.awards-name {
  font-size: clamp(15px, 1.1vw, 18px);
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--fg);
  font-weight: 500;
}
.awards-fest {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-transform: uppercase;
  text-align: right;
}

.festivals-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.festivals-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  gap: var(--space-4);
}
.festivals-row:last-child { border-bottom: 1px solid var(--border); }
.festivals-name {
  font-size: 15px;
  color: var(--fg);
}
.festivals-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
}

/* ============================================
   Laurels — real festival graphics
   ============================================ */
.laurels-strip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: var(--space-3);
  align-items: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.laurels-strip::-webkit-scrollbar { display: none; }
.laurels-real {
  gap: var(--space-3);
}
.laurel-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.laurel-img {
  width: 72px;
  max-width: 72px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  /* laurels are white on transparent; on our dark bg they render as-is */
  filter: none;
  opacity: 0.94;
  transition: opacity 180ms ease, transform 260ms ease;
}
.laurel-fig:hover .laurel-img {
  opacity: 1;
  transform: scale(1.02);
}
.laurel-cap {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 88px;
}
.laurel-cap-name {
  font-size: 9px;
  color: var(--fg);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.laurel-cap-fest {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
  line-height: 1.25;
}
.laurel-slot { max-width: 72px; }

/* ============================================
   Films — editorial long-scroll rows
   ============================================ */
.films-longscroll {
  padding: var(--space-7) 0 var(--space-9);
}
.film-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) max(var(--space-7), 6vw);
  max-width: 1600px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
  border-top: 1px solid var(--border);
  transition: background 400ms ease;
}
.film-row:first-child { border-top: 0; }
.film-row:hover {
  background: color-mix(in oklab, var(--film-accent) 4%, transparent);
}
.film-row-flip .film-row-media { order: 2; }
.film-row-flip .film-row-body  { order: 1; }

.film-row-media {
  position: relative;
}
.film-row-media .poster-wrap,
.film-row-media .slot {
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: 78vh;
}
.film-row::before {
  content: "";
  position: absolute;
  left: max(var(--space-7), 6vw);
  right: max(var(--space-7), 6vw);
  top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--film-accent) 0%, var(--film-accent) 80px, transparent 80px);
  opacity: 0.7;
}
.film-row:first-child::before { display: none; }

.film-row-body {
  max-width: 56ch;
}
.film-row-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--film-accent);
  margin-bottom: var(--space-4);
}
.film-row-title {
  font-size: clamp(40px, 5.2vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 var(--space-4);
  color: var(--fg);
}
.film-row-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-5);
}
.film-row-lede {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--fg-soft, var(--fg-muted));
  margin: 0 0 var(--space-6);
  text-wrap: pretty;
}
.film-row-tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-left: var(--space-4);
  border-left: 2px solid var(--film-accent);
  margin-bottom: var(--space-6);
}
.film-row-tag {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-4);
  font-size: 13px;
  color: var(--fg-muted);
  align-items: baseline;
}
.film-row-tag-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.film-row-tag-v {
  color: var(--fg);
  line-height: 1.4;
}
.film-row-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.film-row-cta-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--film-accent);
  transition: width 260ms ease;
}
.film-row:hover .film-row-cta-line { width: 100px; }
.film-row-cta-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}
.film-row-soon .film-row-cta-text { color: var(--fg-dim); }

@media (max-width: 900px) {
  .film-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-7) var(--space-5);
  }
  .film-row-flip .film-row-media { order: 1; }
  .film-row-flip .film-row-body  { order: 2; }
  .film-row-media .poster-wrap,
  .film-row-media .slot { max-height: none; aspect-ratio: 3 / 4; }
  .film-row-title { font-size: clamp(32px, 9vw, 56px); }
}

/* ============================================
   Film detail — accent architecture
   ============================================ */
.film-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: transparent;
  pointer-events: none;
}
.film-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--film-accent, var(--accent));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 60ms linear;
  opacity: 0.9;
}

.press-list { list-style: none; padding: 0; margin: 0; }
.press-item {
  padding: var(--space-5) 0 var(--space-5) var(--space-5);
  border-left: 2px solid var(--film-accent, var(--border-strong));
  border-top: 1px solid var(--border);
  margin-top: -1px;
}
.press-item:first-child { border-top: 1px solid var(--border); }
.press-quote {
  margin: 0 0 var(--space-3);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--fg);
  font-style: italic;
  text-wrap: pretty;
  quotes: none;
}
.press-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-style: normal;
}


/* ============================================
   Motion — dezente, kinematische Animationen
   ============================================ */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* Word-stagger reveal (for hero titles) */
.word-reveal { display: inline-flex; flex-wrap: wrap; gap: 0.25em; }
.word-reveal .word { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.05; }
.word-reveal .word > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.word-reveal.is-visible .word > span { transform: translate3d(0, 0, 0); }

/* Pointer-parallax poster */
.parallax-media {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Film-row hover: gentle poster scale */
.film-row-media .slot,
.film-row-media .poster-wrap {
  overflow: hidden;
}
.film-row-media .slot .slot-img,
.film-row-media .poster-wrap img {
  transition: filter 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter;
}
.film-row:hover .film-row-media .slot .slot-img,
.film-row:hover .film-row-media .poster-wrap img {
  filter: brightness(1.08) contrast(1.05) saturate(1.04);
}
.film-row-title {
  transition: letter-spacing 500ms ease, color 500ms ease;
}
.film-row:hover .film-row-title {
  letter-spacing: -0.01em;
}

/* Link-btn press */
.link-btn {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-btn:active { transform: translateY(1px); }

/* Nav underline */
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Page transition */
.page-enter {
  animation: pageEnter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Hero poster gentle zoom on detail pages */
.film-hero-bg {
  animation: heroZoom 14s ease-out both;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible,
  .word-reveal .word > span,
  .parallax-media,
  .film-row-media .slot .slot-img,
  .film-row-media .poster-wrap img,
  .link-btn,
  .nav-link::after,
  .page-enter,
  .film-hero-bg {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Motion off (manual tweak) */
html[data-motion="off"] .reveal,
html[data-motion="off"] .reveal.is-visible,
html[data-motion="off"] .word-reveal .word > span,
html[data-motion="off"] .parallax-media,
html[data-motion="off"] .film-row-media .slot .slot-img,
html[data-motion="off"] .film-row-media .poster-wrap img,
html[data-motion="off"] .link-btn,
html[data-motion="off"] .nav-link::after,
html[data-motion="off"] .page-enter,
html[data-motion="off"] .film-hero-bg {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}


/* ============================================
   Motion — Pass 2 (subtil, professionell)
   ============================================ */

/* Hero-Titel: sanftes Fade-in + Letter-Spacing-Setzung */
.film-hero-title,
.detail-title,
.page-title,
.home-headline,
.films-headline {
  animation: titleSettle 1100ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
@keyframes titleSettle {
  from { opacity: 0; letter-spacing: 0.02em; filter: blur(2px); }
  to   { opacity: 1; letter-spacing: -0.02em; filter: blur(0); }
}

/* Film-Row-Num: langsames Aufklären */
.film-row-num {
  animation: numFade 1200ms ease-out 200ms both;
}
@keyframes numFade {
  from { opacity: 0; transform: translate3d(-6px, 0, 0); }
  to   { opacity: 0.55; transform: none; }
}

/* Eyebrow/Kicker-Zeilen: Line-Draw */
.eyebrow, .film-row-cta-line, .film-hero-scroll-line {
  position: relative;
  overflow: hidden;
}
.eyebrow::before, .film-row-cta-line::before, .film-hero-scroll-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform-origin: right center;
  animation: lineDraw 900ms cubic-bezier(0.77, 0, 0.175, 1) 180ms both;
}
@keyframes lineDraw {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* Stills: subtiler Ken-Burns bei Viewport-Entry */
.still .slot-img,
.film-hero-media .slot-img {
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.still:hover .slot-img {
  transform: scale(1.03);
}

/* Poster-Filled: sanftes Image-Reveal */
.poster-wrap .slot-filled .slot-img,
.film-row-media .slot-filled .slot-img {
  animation: posterFade 900ms ease-out both;
}
@keyframes posterFade {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* Laurels: gestaffeltes Fade-in */
.laurels-real .laurel-fig {
  opacity: 0;
  animation: laurelFade 600ms ease-out both;
}
.laurels-real .laurel-fig:nth-child(1) { animation-delay: 40ms; }
.laurels-real .laurel-fig:nth-child(2) { animation-delay: 100ms; }
.laurels-real .laurel-fig:nth-child(3) { animation-delay: 160ms; }
.laurels-real .laurel-fig:nth-child(4) { animation-delay: 220ms; }
.laurels-real .laurel-fig:nth-child(5) { animation-delay: 280ms; }
.laurels-real .laurel-fig:nth-child(6) { animation-delay: 340ms; }
.laurels-real .laurel-fig:nth-child(n+7) { animation-delay: 400ms; }
@keyframes laurelFade {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to   { opacity: 0.7; transform: none; }
}

/* Back-Link: arrow slide */
.back-link,
.film-hero-back {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease;
}
.back-link:hover,
.film-hero-back:hover {
  transform: translateX(-4px);
}

/* Films-Dropdown in Nav: sauberes Slide (zentriert halten via translateX) */
.films-dropdown {
  transform-origin: top center;
  animation: dropdownIn 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translate(-50%, -4px) scaleY(0.98); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Press-Items: Linien-Hover */
.press-item {
  transition: border-left-color 260ms ease, padding-left 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.press-item:hover {
  padding-left: calc(var(--space-5) + 6px);
}

.film-card .film-title {
  transition: color 280ms ease;
}

.hero-carousel {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><circle cx='22' cy='22' r='20' fill='rgba(0,0,0,0.55)' stroke='white' stroke-width='1.2'/><path d='M18 14 L28 22 L18 30' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") 22 22, pointer;
}
.hero-carousel .hero-title,
.hero-carousel .hero-action,
.hero-carousel .hero-rail {
  cursor: auto;
}
.hero-carousel .hero-action,
.hero-carousel .hero-rail-dot {
  cursor: pointer;
}

.film-progress-bar {
  box-shadow: none;
}

/* Footer-Links: underline draw */
.footer-link {
  position: relative;
  display: inline-block;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}
.footer-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Cursor-Blink auf Coming-Soon-Labels */
.soon-badge {
  position: relative;
}
.soon-badge::after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  margin-left: 6px;
  background: currentColor;
  vertical-align: middle;
  animation: softPulse 1800ms ease-in-out infinite;
}
@keyframes softPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

/* Reduced motion — auch Pass 2 deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .film-hero-title, .detail-title, .page-title, .home-headline, .films-headline,
  .film-row-num,
  .eyebrow::before, .film-row-cta-line::before, .film-hero-scroll-line::before,
  .still .slot-img, .film-hero-media .slot-img,
  .poster-wrap .slot-filled .slot-img, .film-row-media .slot-filled .slot-img,
  .laurels-real .laurel-fig,
  .back-link, .film-hero-back,
  .films-dropdown,
  .press-item,
  .film-card .slot-img, .film-card .film-title,
  .footer-link::after,
  .soon-badge::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .laurels-real .laurel-fig { opacity: 0.7 !important; }
  .film-row-num { opacity: 0.55 !important; }
}

/* ============================================
   Hero Carousel (homepage) — Poster style
   ============================================ */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* dynamic — passt sich an iOS Safari Browser-Chrome an, kein schwarzer Balken unten */
  min-height: 560px;
  /* margin-top/padding-top nutzen die live gemessene Header-Hoehe (siehe components.jsx).
     Sonst auf Mobile (Header 57px statt 72px) bleibt ein schwarzer Streifen unten. */
  margin-top: calc(-1 * var(--header-h, 72px));
  padding-top: var(--header-h, 72px);
  overflow: hidden;
  background: #000;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
  --film-accent: #f4f1ec;
}
.hero-carousel:active { cursor: grabbing; }

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.hero-slide .hero-video,
.hero-slide .hero-still,
.hero-slide .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}
.hero-slide.active .hero-video,
.hero-slide.active .hero-still,
.hero-slide.active .hero-fallback {
  animation: heroSlideKenBurns 9000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroSlideKenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-slide .hero-fallback .slot,
.hero-slide .hero-fallback .slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hero-slide:not(.active) { pointer-events: none; }

.hero-vignette {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
@media (min-width: 821px) {
  .hero-vignette {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%);
  }
}

/* Hero title — matches film-hero (SOMEHOW) design: large sans-bold in white */
.hero-title-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-54%);
  padding: 0 max(4vw, 24px);
  z-index: 3;
  text-align: left;
  pointer-events: none;
  transition: opacity 300ms ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
  color: #fff;
}
.hero-title {
  position: relative;
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
  max-width: 100%;
  padding: 0.05em 0 0.1em;
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.02em;
  height: 0.04em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-title-stacked {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  gap: 0.04em;
}
.hero-title-stacked .hero-title-line {
  display: block;
  line-height: 0.92;
  padding: 0;
}
.hero-title:hover::after,
.hero-title:focus-visible::after {
  transform: scaleX(1);
}
.hero-title-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: -6px;
  display: block;
  text-align: left;
  transition: margin-top 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-title:hover ~ .hero-title-sub,
.hero-title:focus-visible ~ .hero-title-sub {
  margin-top: clamp(12px, 1.4vw, 20px);
}

/* Hero-Carousel title/sub enter animation — triggered via key={film.id} remount */
.hero-title {
  animation: heroTitleIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title-sub {
  animation: heroTitleIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}
.hero-title-stacked .hero-title-line {
  animation: heroTitleIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title-stacked .hero-title-line:nth-child(2) { animation-delay: 90ms; }
.hero-title-stacked .hero-title-line:nth-child(3) { animation-delay: 180ms; }
.hero-title-stacked .hero-title-line:nth-child(4) { animation-delay: 270ms; }
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-video,
  .hero-slide.active .hero-still,
  .hero-slide.active .hero-fallback,
  .hero-title,
  .hero-title-sub,
  .hero-title-stacked .hero-title-line,
  .film-hero-title::after,
  .film-hero-sub {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Action icons — play (trailer) + eye (details) */
.hero-actions {
  position: absolute;
  left: 0;
  right: 0;
  /* anchored to the rail at the bottom, not to the title */
  bottom: clamp(110px, 14vh, 170px);
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  pointer-events: none;
}
.hero-action {
  pointer-events: auto;
  width: clamp(44px, 5.2vw, 64px);
  height: clamp(44px, 5.2vw, 64px);
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.9);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-action:hover,
.hero-action:focus-visible {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: scale(1.04);
  outline: none;
}
.hero-action svg {
  width: 46%;
  height: 46%;
  display: block;
}
.hero-action-play svg { transform: translateX(1px); }

/* Bottom progress bar (single bar that fills) + dots */
.hero-rail {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0 max(4vw, 20px) clamp(18px, 2.4vh, 28px);
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}
.hero-rail-bar {
  position: relative;
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.hero-rail-fill {
  opacity: 0.7;
}
.hero-rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: currentColor;
  animation-name: heroRailFill;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}
@keyframes heroRailFill {
  from { width: 0; }
  to { width: 100%; }
}
.hero-rail-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-rail-idx {
  font-variant-numeric: tabular-nums;
  justify-self: start;
}
.hero-rail-dots { justify-self: center; }
.hero-rail-title { justify-self: end; text-align: right; }
.hero-rail-idx strong {
  color: #fff;
  font-weight: 500;
  margin-right: 6px;
}
.hero-rail-dots {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.hero-rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.hero-rail-dot:hover { background: rgba(255,255,255,0.55); }
.hero-rail-dot.active {
  background: currentColor;
  transform: scale(1.15);
}
.hero-rail-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  max-width: 42%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .hero-title-wrap {
    transform: translateY(-58%);
    max-height: calc(100% - 240px);
    text-align: center;
    align-items: center;
  }
  .hero-title { font-size: clamp(40px, 12vw, 72px); line-height: 0.92; letter-spacing: -0.03em; }
  .hero-title-sub { font-size: 10px; letter-spacing: 0.1em; margin-top: -4px; text-align: center; }
  .hero-title:hover ~ .hero-title-sub,
  .hero-title:focus-visible ~ .hero-title-sub { margin-top: 12px; }
  .hero-actions { bottom: clamp(96px, 16vh, 140px); gap: 18px; }
  .hero-rail-title { display: none; }
  .hero-rail { padding-bottom: 18px; }
}

@media (max-width: 720px) {
  .film-hero-overlay {
    padding: calc(64px + var(--space-4)) var(--space-5) var(--space-6);
  }
  .film-hero-title {
    font-size: clamp(40px, 12vw, 72px);
  }
  .film-hero-title::after {
    width: clamp(36px, 10vw, 52px);
    margin-top: 10px;
  }
  .film-hero-sub {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-top: 8px;
  }
  .film-hero-scroll { display: none; }
}


/* ============================================
   Films index — 2-column tile layout
   (Toolbar reused from home; fonts on system scale)
   ============================================ */
.films-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-7);
  padding: var(--space-6) 0 var(--space-9);
}
@media (max-width: 820px) {
  .films-list {
    gap: var(--space-7) var(--space-5);
  }
}
@media (max-width: 640px) {
  .films-list {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.film-tile {
  --film-accent: #f4f1ec;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}
.film-tile-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.film-tile-poster:hover {
  transform: translateY(-3px);
}
.film-tile-poster .slot,
.film-tile-poster .slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-tile-soon {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--film-accent);
  color: #0a0a0a;
  font-weight: 600;
}

.film-tile-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}
.film-tile-title {
  font-family: var(--font-sans);
  font-size: var(--step-5);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--fg);
  margin: 0;
  cursor: pointer;
  transition: color 200ms ease;
  text-wrap: balance;
}
.film-tile-title:hover {
  color: var(--film-accent);
}
.film-tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.film-tile-meta-sep {
  color: var(--fg-dim);
}
.film-tile-lede {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.85;
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}
.film-tile-credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px 20px;
  margin: 0;
}
.film-tile-credits > div {
  min-width: 0;
}
.film-tile-credits dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 2px;
}
.film-tile-credits dd {
  margin: 0;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.film-tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: var(--space-1);
}
.film-tile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease, transform 200ms ease;
}
.film-tile-btn:hover {
  transform: translateY(-1px);
}
.film-tile-btn-play {
  background: var(--film-accent);
  color: #0a0a0a;
  border-color: var(--film-accent);
}
.film-tile-btn-play:hover {
  filter: brightness(1.08);
}
.film-tile-btn-open:hover {
  border-color: var(--film-accent);
  color: var(--film-accent);
}

/* ============================================
   Mobile pass — Touch ergonomics + safe-area
   (alle Regeln strikt in Media-Queries gekapselt,
    Desktop-Layout bleibt unveraendert)
   ============================================ */

/* Touch globals */
* { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }

/* Safe-area-inset Footer */
.footer { padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }

/* Reduce-motion: Hero-Parallax-Inline-Style ueberschreiben */
@media (prefers-reduced-motion: reduce) {
  .film-hero-overlay {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* Tablet + Phone: Scroll-Snap entschaerfen (iOS Rubber-Band Jitter)
   und Touch-Target-Compliance auch auf iPad sichern */
@media (max-width: 820px) {
  html:has(.film-hero) { scroll-snap-type: none; }
  .film-hero { scroll-snap-align: none; scroll-snap-stop: normal; }
  .film-page > .shell { scroll-snap-align: none; }
  .link-btn { min-height: 44px; padding: 12px 18px; }
  .lang-pill { min-height: 44px; }
}

/* Phone: Sektions-Rhythmus + Buttons */
@media (max-width: 720px) {
  .detail { padding: var(--space-6) 0 var(--space-7); }
  .detail-body { margin-top: var(--space-7); }
  .film-section { margin-top: var(--space-7); }
  .meta-grid { margin-top: var(--space-5); }
  .link-row { margin-top: var(--space-6); padding-top: var(--space-5); }
  .link-btn { min-height: 44px; padding: 12px 18px; }
}

/* Phone: Stills, Meta, Hero, Laurels */
@media (max-width: 480px) {
  /* Meta-Grid stackt auf 1 Spalte */
  .meta-grid { grid-template-columns: 1fr; }
  .meta-cell { padding-right: 0; }
  .meta-cell:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }

  /* Stills full-width, groessere Aspect Ratio
     !important noetig: Slot-Component setzt aspect-ratio inline via prop */
  .stills-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .stills-grid .still { aspect-ratio: 3 / 2 !important; }

  /* CTA-Buttons full-width und groesser */
  .link-row { flex-direction: column; align-items: stretch; }
  .link-btn { width: 100%; min-height: 48px; justify-content: center; }

  /* Hero lesbarer */
  .film-hero-overlay {
    padding:
      max(72px, calc(56px + env(safe-area-inset-top)))
      var(--space-5)
      calc(var(--space-7) + env(safe-area-inset-bottom));
  }
  .film-hero-title { font-size: clamp(40px, 12vw, 56px); }
  .film-hero-sub { font-size: 12px; letter-spacing: 0.16em; }
  .film-hero-num { font-size: 11px; }

  /* Laurels-Strip: 3-Col Grid statt H-Scroll */
  .laurels-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: var(--space-3);
    justify-content: stretch;
    align-items: center;
  }
  .laurel-fig { width: 100%; }
  .laurel-img { width: 100%; max-width: 100%; }
}

/* ============================================
   Film detail - split layout (sticky sidebar + content)
   ============================================ */
.film-split {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 980px) {
  .film-split {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

.film-split-side {
  position: sticky;
  top: calc(73px + var(--space-5));
  align-self: start;
  max-height: calc(100vh - 73px - var(--space-5) - var(--space-4));
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.film-split-side::-webkit-scrollbar { width: 6px; }
.film-split-side::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.film-split-side::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 980px) {
  .film-split-side {
    position: relative;
    top: 0;
    max-height: none;
    overflow: visible;
  }
}

.film-split-laurels {
  margin-bottom: var(--space-4);
}
.film-split-laurels .laurels-strip {
  grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
  gap: 8px;
  max-width: 100%;
  margin: 0;
}
.film-split-laurels .laurel-img {
  max-width: 64px;
  height: auto;
  opacity: 0.85;
}

.film-split-poster {
  aspect-ratio: 2 / 3;
  background: var(--bg-elev);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-5);
}
.film-split-poster .poster,
.film-split-poster .slot {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.film-split-facts {
  margin: 0 0 var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.film-split-fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--space-3);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.film-split-fact:last-child { border-bottom: none; }
.film-split-fact dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.film-split-fact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg);
}

.film-split-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.link-btn.block {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Right column */
.film-split-main {
  min-width: 0;
  max-width: 720px;
}
.film-split-section {
  margin-bottom: var(--space-8);
}
.film-split-section:last-child {
  margin-bottom: 0;
}
.film-split-section h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin: 0 0 var(--space-5);
}
.film-split-section p {
  font-size: var(--step-3);
  line-height: 1.65;
  color: var(--accent-dim);
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}
.film-split-lede {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: var(--step-4);
  line-height: 1.45;
  color: color-mix(in oklab, var(--film-accent) 35%, var(--fg) 65%) !important;
  margin: 0 0 var(--space-5) !important;
}
.film-split-section .stills-grid {
  margin-top: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1200px) {
  .film-split-section .stills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================
   Language auto-detection toast
   Erscheint kurz wenn die Seite beim ersten Besuch
   die Sprache automatisch aus dem Browser ableitet.
   ============================================ */
.lang-auto-toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 14px;
  background: rgba(27, 26, 23, 0.96);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
  animation: lang-auto-toast-in 280ms ease-out;
}

.lang-auto-toast__text {
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-auto-toast__btn {
  appearance: none;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 120ms ease, color 120ms ease;
}
.lang-auto-toast__btn:hover,
.lang-auto-toast__btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.lang-auto-toast__close {
  appearance: none;
  background: transparent;
  color: var(--fg-muted);
  border: none;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  transition: color 120ms ease;
}
.lang-auto-toast__close:hover,
.lang-auto-toast__close:focus-visible {
  color: var(--fg);
  outline: none;
}

@keyframes lang-auto-toast-in {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 520px) {
  .lang-auto-toast {
    top: 8px;
    padding: 9px 12px;
    font-size: 12px;
    gap: 8px;
    max-width: calc(100vw - 16px);
  }
  .lang-auto-toast__text {
    white-space: normal;
  }
}

/* ============================================
   Mobile-Drawer: Dezenter Sprach-Switcher
   Am Ende des mobilen Menüs, abgesetzt durch eine
   feine Trennlinie. Pures Text-Grid, kein Dropdown.
   ============================================ */
.nav-mobile-langs {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.nav-mobile-langs-label {
  color: var(--fg-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.nav-mobile-langs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.nav-mobile-lang {
  display: inline-block;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--fg-muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
  min-width: 40px;
  text-align: center;
}

.nav-mobile-lang:hover,
.nav-mobile-lang:focus-visible {
  color: var(--fg);
  border-color: var(--border-strong);
  outline: none;
}

.nav-mobile-lang.active {
  color: var(--fg);
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
