/* Schriften liegen lokal im Ordner fonts/ (siehe ANLEITUNG). Fehlen sie, greift eine Ersatzschrift. */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --accent: #E8A33D;
  --bg: #0F0F0F;
  --bg-2: #171717;
  --tile: #1B1B1B;
  --line: #2C2C2C;
  --line-2: #3C3C3C;
  --text: #F2EFE9;
  --text-2: #D9D5CD;
  --text-3: #B8B4AC;
  --muted: #8A867F;
  --faint: #6E6A64;
  --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }

.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.logo { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; }
.nav a { padding: 12px 0; }
.nav a.active { color: var(--accent); }
.nav a.cta { padding: 12px 18px; border: 1px solid var(--accent); color: var(--accent); }
.nav a.cta:hover { background: var(--accent); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; font-weight: 700; font-size: 16px; font-family: var(--sans); cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--bg); border: none; }
.btn-primary:hover { color: var(--bg); filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--line-2); font-weight: 500; background: none; color: var(--text); }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px; background: none; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-size: clamp(44px, 8vw, 112px); line-height: .95; font-weight: 700; letter-spacing: -.02em; max-width: 1100px; }
.lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--text-3); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }

/* Placeholder tiles */
.tile { position: relative; background: var(--tile); border: 1px solid var(--line); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .ph { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.tile.has-img .ph { display: none; }

/* Video (Zwei-Klick-Lösung) */
.video { aspect-ratio: 16 / 9; background: var(--tile); border: 1px solid var(--line); position: relative; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; text-align: center; }
.play { width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); background: none; cursor: pointer; }
.play:hover { background: var(--accent); color: var(--bg); }
.video-note { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); max-width: 520px; line-height: 1.5; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.reel-note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 16px; line-height: 1.6; color: var(--text-3); }
.reel-note a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.reel-note a:hover { color: var(--text); border-color: var(--text); }

/* Play-Kreis bleibt rund, auch in kleinen Videoflächen */
.play { flex: none; }
@media (max-width: 600px) { .play { width: 64px; height: 64px; } .video-note { font-size: 12px; } }

/* Porträt: abgerundete Ecken */
.about .tile { border-radius: 16px; }

/* Trennlinie vor About */
.sep { border-top: 1px solid var(--line); margin-bottom: 40px; }

.imdb-note { margin: 24px 0 0; text-align: center; font-size: 16px; color: var(--text-3); }
.imdb-note a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.imdb-note a:hover { color: var(--text); border-color: var(--text); }

.gallery-note { margin: 32px auto 0; max-width: 760px; text-align: center; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Sections */
.section { padding-bottom: 112px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 40px; }
h2 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -.01em; }
.tabs { display: flex; gap: 24px; }
.tab { padding: 10px 0; background: none; border: none; border-bottom: 1px solid transparent; cursor: pointer; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }

.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; }
@media (max-width: 600px) { .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.card { display: flex; flex-direction: column; gap: 14px; }
.card .tile { aspect-ratio: 2 / 3; }
/* Poster: leicht abgerundete Ecken */
.card .tile { border-radius: 6px; }
.card-title { font-size: 18px; font-weight: 500; }
.card-meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
a.card:hover .tile { border-color: var(--accent); }
.more-row { display: flex; justify-content: center; margin-top: 48px; }

.ads-intro { margin: 0 0 32px; max-width: 680px; font-size: 18px; line-height: 1.6; color: var(--text-3); }
.ads-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); column-gap: 48px; border-bottom: 1px solid var(--line); }
.ads-list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.ads-list .m { margin-left: auto; padding-left: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ads-more { margin: 24px 0 0; font-family: var(--mono); font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .ads-list li { flex-wrap: wrap; row-gap: 4px; } .ads-list .bullet { align-self: flex-start; margin-top: 10px; } .ads-list .t { flex: 1 1 0; min-width: 0; } .ads-list .m { margin-left: 24px; padding-left: 0; flex-basis: 100%; } }
.ads-list .bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.ads-list .t { font-size: 20px; font-weight: 500; }

.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 56px; }
.clients .label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.clients .name { font-size: 22px; font-weight: 500; }

.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; flex-wrap: wrap; gap: 8px 40px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); }
.news-item .d { font-family: var(--mono); font-size: 14px; color: var(--muted); width: 120px; }
.news-item .t { flex: 1 1 320px; font-size: 24px; font-weight: 500; }
.news-item .r { font-family: var(--mono); font-size: 14px; color: var(--accent); }

.about { display: flex; flex-wrap: wrap; gap: 48px; }
.about .tile { flex: 1 1 320px; aspect-ratio: 4 / 5; max-width: 420px; }
.about .body { flex: 999 1 420px; display: flex; flex-direction: column; gap: 24px; }
.p1 { margin: 0; font-size: 20px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
.p2 { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-3); max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; }
.link-accent { font-family: var(--mono); font-size: 14px; color: var(--accent); padding: 10px 0; align-self: flex-start; }

.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 32px; }
.contact h2.big { font-size: clamp(36px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; }
.mail { font-size: clamp(22px, 3vw, 36px); font-weight: 500; border-bottom: 2px solid var(--accent); align-self: flex-start; padding-bottom: 6px; word-break: break-all; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 32px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; margin-top: 16px; text-transform: uppercase; }
.socials a { padding: 12px 0; }

.contact-strip { background: var(--bg-2); }
.contact-strip .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.contact-strip h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -.02em; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; }

/* Detailseiten */
.back { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 0; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.detail-head { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.detail-head h1 { margin: 0; font-size: clamp(44px, 8vw, 104px); line-height: .95; font-weight: 700; letter-spacing: -.02em; }
.facts-row { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; padding-bottom: 96px; }
.facts { flex: 1 1 280px; margin: 0; align-self: flex-start; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; }
.facts dd { margin: 0; font-size: 17px; font-weight: 500; text-align: right; }
.facts-text { flex: 999 1 480px; display: flex; flex-direction: column; gap: 24px; }
.facts-text h2 { font-size: 32px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .tile { aspect-ratio: 16 / 9; }
.gallery figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.prevnext { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prevnext .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; }
.prevnext a { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; padding: 40px 0; }
.prevnext a.next { align-items: flex-end; text-align: right; }
.prevnext .k { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.prevnext .v { font-size: 26px; font-weight: 500; }

.article { max-width: 860px; margin: 0 auto; padding: 56px 32px 96px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 600px) { .article { padding-left: 16px; padding-right: 16px; } }
.article h1 { margin: 0; font-size: clamp(36px, 6vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.article .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.article .meta .date { color: var(--muted); }
.article .meta .cat { color: var(--accent); }
.article .p1 { font-size: 22px; }
.article .video { margin: 16px 0; }
.related { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; margin-top: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.related .k { font-family: var(--mono); font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.related .v { font-size: 22px; font-weight: 500; }

/* Gallery-Seite */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter button { padding: 10px 16px; background: none; border: 1px solid var(--line-2); color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.filter button:hover { color: var(--text); border-color: var(--muted); }
.filter button[aria-pressed="true"] { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 32px 24px; }
.still { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.still button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.still .tile { aspect-ratio: 16 / 9; transition: border-color .15s; }
.still button:hover .tile { border-color: var(--accent); }
.still figcaption { display: flex; flex-direction: column; gap: 4px; }
.still .s-title { font-size: 17px; font-weight: 500; }
.still .s-cap { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.gallery-link { display: inline-flex; margin-top: 24px; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .96); color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lb-figure { margin: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; max-width: calc(100vw - 160px); }
.lb-img { position: relative; }
.lb-img img { max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lb-img .tile { width: min(1100px, calc(100vw - 160px)); aspect-ratio: 16 / 9; }
.lb-img .tile.has-img { width: auto; aspect-ratio: auto; background: none; border: 0; }
.lb-img .tile.has-img img { width: auto; height: auto; }
/* Im Raster wird das ganze Bild gezeigt (Breitbild mit schwarzem Rand), nicht beschnitten */
/* Vorschaubild im echten Seitenverhältnis des Stills – keine schwarzen Balken */
.still .tile.has-img { aspect-ratio: auto; background: none; }
/* leicht abgerundete Ecken – Vorschau und Großansicht */
.still .tile { border-radius: 6px; }
.lb-img .tile.has-img img { border-radius: 6px; }
.still .tile.has-img img { height: auto; }
.lb-figure figcaption { font-family: var(--mono); font-size: 14px; color: var(--text-3); text-align: center; }
.lb-figure figcaption b { display: block; color: var(--text); font-family: var(--sans); font-weight: 500; font-size: 17px; margin: 0 0 6px; }
.lb-btn { position: absolute; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb-figure, .lb-img img { max-width: 100vw; }
  .lb-img .tile { width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-figure figcaption { padding: 0 16px 90px; }
}

.n-image { margin: 16px 0; }
.n-image img { width: 100%; height: auto; border: 1px solid var(--line); }

.n-link { align-self: flex-start; }

/* Rechtstexte */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 112px; line-height: 1.7; color: var(--text-2); }
.legal h1 { font-size: 48px; margin: 0 0 32px; color: var(--text); }
.legal h2 { font-size: 22px; margin: 40px 0 12px; color: var(--text); }
.legal a { color: var(--accent); }

.notfound { padding: 120px 0; }

/* Stichworte in der Großansicht der Gallery-Bilder (Feld "tags" in data/stills.js) */
.lb-figure .s-tags { list-style: none; margin: 10px 0 0; justify-content: center; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.lb-figure .s-tags li { font-family: var(--mono); font-size: 9.5px; line-height: 1; letter-spacing: .04em; color: var(--muted); border: 1px solid #3C3C3C; border-radius: 3px; padding: 4px 6px; }
