@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0b0b;
  --bg-2: #181818;
  --field: #1f1f1f;
  --text: #f4f1ea;
  --muted: #a39e95;
  --line: #2e2c28;
  --accent: #e0632f;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 3.4vw, 56px);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.is-watching { overflow: hidden; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; margin: 0; line-height: 1.08; letter-spacing: -.022em; }
p { margin: 0 0 1em; }
.meta { color: var(--muted); font-size: 15px; margin: 0; }

/* Buttons wie in einer Mediathek */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 6px; background: var(--text); color: #0b0b0b;
  font: 500 16px/1.2 var(--sans); cursor: pointer; transition: background .15s, opacity .15s;
}
.pill:hover { background: #fff; opacity: .86; }
.pill-soft { background: rgb(120 120 120 / .55); color: var(--text); backdrop-filter: blur(6px); }
.pill-soft:hover { background: rgb(120 120 120 / .4); opacity: 1; }
.play::before { content: ""; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; }

/* Kopfzeile */
.top {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgb(0 0 0 / .7), transparent); transition: background .3s;
}
.top.is-scrolled { background: #0b0b0b; }
.logo img { width: 104px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); font-size: 15px; flex: 1; }
.top nav a:hover { opacity: .65; }
.top .lang { margin-left: auto; color: var(--muted); }

/* Hero: wechselt durch die Filme */
.hero { position: relative; height: 92svh; min-height: 480px; overflow: hidden; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.hero-video.is-on { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, var(--bg), transparent 42%), linear-gradient(to right, rgb(0 0 0 / .6), transparent 55%);
}
.hero-text { position: absolute; z-index: 1; left: var(--gutter); bottom: 30vh; }
.hero h1 { font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.4; margin-bottom: 10px; }
.hero h1 span { font-weight: 400; color: #d6d2ca; margin-left: 6px; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-title { margin: 0 0 6px; font: 700 clamp(36px, 4.4vw, 72px)/1.05 var(--sans); letter-spacing: -.022em; white-space: nowrap; }
.hero-slide .meta { color: #d6d2ca; margin-bottom: 16px; }
.hero-actions, .title-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-dots { display: flex; gap: 6px; margin-top: 18px; }
.hero-dot { width: 40px; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.hero-dot span { display: block; height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--text) var(--progress, 0%), rgb(255 255 255 / .35) var(--progress, 0%)); }

/* Reihen */
.rails { position: relative; z-index: 2; margin-top: -25vh; }
.rail-block { margin-bottom: clamp(18px, 2.4vw, 34px); }
.rail-block h2 { font: 500 clamp(17px, 1.5vw, 21px)/1.3 var(--sans); padding: 0 var(--gutter); }
.rail {
  display: flex; gap: clamp(8px, .8vw, 12px); overflow-x: auto; padding: 12px var(--gutter) 24px;
  scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card { flex: none; scroll-snap-align: start; position: relative; display: block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.card-frame {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
/* Film-Reihe wie auf dem Fernseher: Die ausgewählte Kachel ist breit, die anderen zeigen ungeschnitten das Plakat. */
.rail:has(.card-film) {
  scroll-snap-type: none;
  --gap: clamp(8px, .8vw, 12px); gap: var(--gap);
  --h: min(calc((100vw - 2 * var(--gutter) - 2 * var(--gap) - 20px) / 3.29), 72vh);
}
.card-film { width: calc(var(--h) * var(--ratio)); height: var(--h); transition: width .42s cubic-bezier(.2, .7, .2, 1); }
.card-film.is-selected { width: calc(var(--h) * 16 / 9); z-index: 2; }
.card-film .card-frame { height: 100%; width: 100%; }
.card-film.is-selected .card-frame { box-shadow: 0 14px 40px rgb(0 0 0 / .7); }
.card-cover, .card-bg, .card-film-info { transition: opacity .35s; }
.card-cover { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; }
.card-bg { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 16 / 9; width: auto; max-width: none; object-fit: cover; opacity: 0; }
.card-film-info {
  position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: 2px; padding: 60px clamp(14px, 1.4vw, 24px) clamp(12px, 1.2vw, 20px);
  width: calc(var(--h) * 16 / 9); font-size: clamp(13px, 1vw, 15px); color: #d6d2ca; opacity: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .88), transparent);
}
.card-film-info strong { font: 700 clamp(22px, 2.2vw, 38px)/1.08 var(--sans); letter-spacing: -.02em; color: var(--text); }
.card-laurels { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; }
.card-laurels img { height: clamp(36px, 3.6vw, 62px); width: auto; }
.card-film.is-selected .card-cover { opacity: 0; }
.card-film.is-selected .card-bg, .card-film.is-selected .card-film-info { opacity: 1; }

/* Pfeile der Film-Reihe */
.rail-wrap { position: relative; }
.rail-arrow {
  position: absolute; z-index: 5; top: 50%; width: 46px; height: 46px; margin-top: -23px; padding: 12px; border: 0; border-radius: 50%;
  background: rgb(0 0 0 / .72); color: #fff; cursor: pointer; transition: background .15s, transform .15s;
}
.rail-arrow svg { display: block; width: 100%; height: 100%; }
.rail-arrow:hover { background: #000; transform: scale(1.1); }
.rail-arrow:focus-visible { outline: 2px solid #fff; }
@media (min-width: 801px) and (hover: hover) { .rail-arrow { display: none; } }
.rail-prev { left: calc(var(--gutter) - 14px); }
.rail-next { right: calc(var(--gutter) - 14px); }

/* Musikvideos: Ohne Plakat zeigt die schmale Kachel einen Ausschnitt mit Titel. */
.card-music .card-cover { width: 100%; object-fit: cover; object-position: 50% 50%; }
.card-crop-title {
  position: absolute; inset: auto 0 0; z-index: 1; padding: 48px 12px 12px; font: 700 clamp(16px, 1.4vw, 22px)/1.15 var(--sans); letter-spacing: -.012em; text-align: left;
  background: linear-gradient(to top, rgb(0 0 0 / .88), transparent); transition: opacity .3s;
}
.card-film.is-selected .card-crop-title { opacity: 0; }

.card:hover .card-frame, .card:focus-visible .card-frame { box-shadow: 0 14px 40px rgb(0 0 0 / .8); }
.card:hover, .card:focus-visible { z-index: 3; outline: 0; }
.card-info {
  position: absolute; inset: auto 0 0; display: grid; gap: 1px; padding: 48px 12px 10px; font-size: 13px; color: #d6d2ca;
  background: linear-gradient(to top, rgb(0 0 0 / .92), transparent); opacity: 0; transition: opacity .2s;
}
.card-info strong { font: 700 clamp(16px, 1.3vw, 20px)/1.15 var(--sans); letter-spacing: -.012em; color: var(--text); }
.card:hover .card-info, .card:focus-visible .card-info { opacity: 1; }
@media (hover: none) { .card-info { opacity: 1; } }

/* Filmseite im Aufbau einer Titelseite */
.title-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; }
.title-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.title-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), transparent 50%), linear-gradient(to right, rgb(0 0 0 / .78), transparent 62%);
}
.title-text { position: relative; z-index: 1; padding: 110px var(--gutter) clamp(24px, 4vw, 50px); max-width: min(46em, 100%); }
.title-text h1 { font-size: clamp(36px, 4.6vw, 76px); margin-bottom: 8px; }
.title-text .meta { color: #d6d2ca; margin-bottom: 18px; }
.title-text .synopsis { margin-top: 18px; font-size: clamp(16px, 1.25vw, 18px); max-width: 40em; }
.title-text .synopsis p:last-child { margin-bottom: 0; }
.laurels { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.laurels img { height: 62px; width: auto; }
.title-details {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start;
  padding: clamp(10px, 2vw, 24px) var(--gutter) clamp(24px, 3vw, 40px);
}
.title-details h2 { font: 500 clamp(17px, 1.5vw, 21px)/1.3 var(--sans); margin-bottom: 10px; }
.title-details .poster { width: 100%; border-radius: var(--radius); }
.full-note { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
dl { columns: 2; column-gap: clamp(24px, 4vw, 60px); margin: 0; font-size: 15px; }
dl > div { break-inside: avoid; margin-bottom: 12px; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 0; }
.rail-still { flex: none; width: clamp(270px, 30vw, 500px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); scroll-snap-align: start; }

/* Info */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: stretch;
  padding: clamp(50px, 7vw, 100px) var(--gutter) clamp(40px, 6vw, 80px);
}
.about h2, .contact h2 { font-size: clamp(30px, 3.2vw, 52px); margin-bottom: 14px; }
.about h3 { font-size: clamp(22px, 2vw, 30px); margin: 30px 0 8px; }
.about p { font-size: 18px; max-width: 36em; }
/* Bild und Text sind immer gleich hoch: Das Bild füllt die Höhe der Textspalte. */
.about > div > :last-child { margin-bottom: 0; }
.about-photo { position: relative; min-height: 100%; overflow: hidden; border-radius: var(--radius); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }

/* Kontakt: runde Felder */
.contact { max-width: 1000px; margin: 0 auto; padding: clamp(30px, 4vw, 60px) var(--gutter) clamp(50px, 7vw, 100px); }
.contact-intro { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.contact-intro p:last-child { margin-bottom: 0; }
.contact-intro a { text-decoration: underline; text-underline-offset: 3px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.full-row { grid-column: 1 / -1; }
form label { display: block; color: var(--muted); font-size: 14px; }
form input, form select, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid transparent; border-radius: 14px;
  background-color: var(--field); color: var(--text); font: 16px var(--sans); transition: border-color .2s, background-color .2s;
}
form textarea { resize: vertical; }
form select {
  appearance: none; background-repeat: no-repeat; background-size: 6px 6px;
  background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
}
form select option { background: var(--bg-2); }
form input:focus, form select:focus, form textarea:focus { outline: 0; border-color: var(--text); background-color: #262626; }
form button { grid-column: 1 / -1; justify-self: center; border-radius: 999px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form-note a { text-decoration: underline; }
.form-status { margin: 0; text-align: center; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; }

/* Vollbild-Player */
.watch { position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; }
.watch-stage { position: absolute; inset: 0; }
.watch-stage video, .watch-stage iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.watch-top {
  position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgb(0 0 0 / .7), transparent); transition: opacity .3s;
}
.watch-title { font: 500 clamp(16px, 1.4vw, 20px)/1.2 var(--sans); }
.watch-btn {
  flex: none; width: 44px; height: 44px; padding: 9px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: transform .15s, background .15s; font: 500 15px var(--sans);
}
.watch-btn svg { width: 100%; height: 100%; }
.watch-btn:hover { transform: scale(1.12); background: rgb(255 255 255 / .12); }
.watch-btn:focus-visible { outline: 2px solid #fff; }
.watch-bar {
  position: absolute; inset: auto 0 0; padding: 40px var(--gutter) 14px;
  background: linear-gradient(to top, rgb(0 0 0 / .85), transparent); transition: opacity .3s;
}
.watch-seek { display: flex; align-items: center; gap: 14px; }
.watch-time { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.watch-controls { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.watch-spacer { flex: 1; }
.watch-bar input[type="range"] {
  appearance: none; -webkit-appearance: none; flex: 1; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: linear-gradient(to right, var(--accent) var(--progress, 0%), rgb(255 255 255 / .3) var(--progress, 0%));
}
.watch-bar input[type="range"]:hover { height: 6px; }
.watch-bar input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.watch-bar input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--accent); }
.watch-bar .watch-volume { flex: none; width: 90px; background: rgb(255 255 255 / .5); }
.watch.is-idle { cursor: none; }
.watch.is-idle .watch-top, .watch.is-idle .watch-bar { opacity: 0; pointer-events: none; }
.watch-consent {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--gutter);
  background-size: cover; background-position: center; background-color: #000;
}
.watch-consent::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .72); }
.watch-consent-box { position: relative; max-width: 34em; display: grid; gap: 14px; justify-items: start; }
.watch-consent-box p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); }
.watch-consent-box a { text-decoration: underline; text-underline-offset: 3px; }

/* Recht */
.legal { max-width: 46em; padding: 90px var(--gutter) 60px; }
.legal h1 { font-size: 40px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 30px 0 8px; }
.legal a { text-decoration: underline; overflow-wrap: anywhere; }

footer { display: flex; gap: 16px; padding: 18px var(--gutter); color: var(--muted); font-size: 13px; }
footer a:hover, .footer-link:hover { color: var(--text); }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

/* Cookie-Hinweis: liegt unter dem Vollbild-Player und blockiert die Seite nicht. */
.cookie {
  position: fixed; z-index: 50; right: var(--gutter); bottom: 20px; width: min(26em, calc(100vw - 2 * var(--gutter))); padding: 18px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); box-shadow: 0 14px 40px rgb(0 0 0 / .7); font-size: 14px;
}
.cookie p { margin: 0 0 14px; color: #d6d2ca; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .pill { flex: 1; justify-content: center; font-size: 15px; }

@media (max-width: 800px) {
  /* Hochkant würde das Breitbild stark beschnitten: Video in voller Breite, Text darunter. */
  .top { gap: 12px; padding: 10px var(--gutter); background: #0b0b0b; }
  .logo img { width: 86px; }
  .top nav { font-size: 13px; gap: 10px; }
  /* Handy: Video unbeschnitten, Titel liegt auf dem Übergang, Buttons zentriert nebeneinander. */
  .hero { height: auto; min-height: 0; margin-top: 48px; overflow: visible; background: none; }
  .hero::before { content: ""; display: block; aspect-ratio: 16 / 9; }
  .hero::after { inset: 0 0 auto; height: calc(100vw * 9 / 16); background: linear-gradient(to top, var(--bg), transparent 55%); }
  .hero-video { aspect-ratio: 16 / 9; height: auto; inset: 0 0 auto; }
  .hero-text { position: relative; left: auto; bottom: auto; margin-top: -58px; padding: 0 var(--gutter); max-width: none; text-align: center; }
  .hero h1 { font-size: 13px; margin-bottom: 4px; }
  .hero-title { font-size: min(6.8vw, 40px); margin-bottom: 4px; }
  .hero-slide .meta { font-size: 13px; margin-bottom: 12px; }
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .pill { flex: 1; justify-content: center; padding: 11px 10px; font-size: 15px; }
  .hero-dots { justify-content: center; margin-top: 12px; }
  .rail-prev { left: 6px; }
  .rail-next { right: 6px; }
  .rail-arrow { top: 30%; width: 40px; height: 40px; margin-top: -20px; padding: 10px; }
  .hero-dots { margin-top: 6px; }
  .rails { margin-top: 24px; }
  .rail:has(.card-film) { --h: 46vw; }
  .title-hero { display: block; min-height: 0; margin-top: 48px; overflow: visible; }
  .title-hero > img { position: static; height: auto; aspect-ratio: 16 / 9; }
  .title-hero::after { display: none; }
  .title-text { padding: 16px var(--gutter) 22px; }
  .title-actions .pill { flex: 1; justify-content: center; text-align: center; }
  .title-details, .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .title-details .poster { max-width: 58%; }
  dl { columns: 1; }
  form { grid-template-columns: 1fr; }
  .rail-still { width: 78vw; }
  .watch-volume { display: none; }
  .cookie { bottom: max(12px, env(safe-area-inset-bottom)); padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
