/* TIEFSCHARF – styles.css
   Keine externen Fonts (DSGVO + Ladezeit). Dunkel, kinoartig, viel Raum für Bilder. */

:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --fg: #f2f0ec;
  --fg-dim: #a9a6a0;
  --line: rgba(242, 240, 236, 0.14);
  --accent: #e8c27a;
  --focus: #ffd27a;
  --gutter: clamp(20px, 6vw, 112px);
  --max: 1600px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
/* Weiches Scrollen erst nach dem Laden (main.js setzt .is-smooth): Beim Öffnen von /#arbeiten springt die Seite sofort an die
   Stelle, statt vom Video durch den weißen Abschnitt nach unten zu scrollen (das sah aus wie ein weißes Aufblitzen). */
html.is-smooth { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html, html.is-smooth { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 16px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-static {
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg);
  transition: opacity .4s var(--ease);
}
.logo:hover { color: var(--fg); opacity: .75; }
/* Logo-Datei aus dem Logo-Paket, unverändert: nur die Höhe wird gesetzt (mindestens 32 px), kein Schatten */
.logo__img { height: 40px; width: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 0; display: inline-block; white-space: nowrap;
}
.nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 520px) {
  .logo__img { height: 32px; }
  .nav ul { gap: 11px; }
  .nav a { font-size: 10.5px; letter-spacing: .1em; }
}
@media (max-width: 370px) { .nav ul { gap: 8px; } .nav a { font-size: 9.5px; letter-spacing: .06em; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
.hero__media, .hero__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Das Video liegt immer sichtbar unter dem Standbild (iOS spielt unsichtbare Videos nicht automatisch ab).
   Sobald es läuft, blendet das Standbild aus. */
.hero__media { z-index: 0; }
/* Video mit eingebrannten Letterbox-Balken (hero.bars): Bild so groß skalieren, dass die Balken
   außerhalb des Headers liegen. Das Original muss dafür nicht neu kodiert werden. */
.hero { container-type: size; }
.hero__media.is-bars {
  inset: auto; left: 50%; top: 50%; height: auto; max-width: none; aspect-ratio: 16 / 9;
  width: calc(max(100cqw, 100cqh * var(--hero-ar, 2.353)) * 1.006);
  transform: translate(-50%, -50%);
}
.hero__poster { z-index: 1; transition: opacity 1.2s var(--ease); }
.hero.is-playing .hero__poster { opacity: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(to top, rgba(11,11,12,.92) 0%, rgba(11,11,12,0) 38%);
}
.hero__content {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 6vh, 56px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.hero__caption { min-width: 0; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hero__eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.hero__tagline { margin: 0; max-width: 30ch; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; color: rgba(255,255,255,.9); }
@media (prefers-reduced-motion: no-preference) {
  .hero__caption { animation: captionIn 1.4s var(--ease) both .4s; }
  @keyframes captionIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
.hero__controls { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.icon-btn {
  appearance: none; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: var(--fg);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--fg); background: rgba(0,0,0,.55); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
}
.scroll-cue__line { width: 1px; height: 46px; background: var(--fg); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__line { animation: none; } }


/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(64px, 10vw, 140px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section--first { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 18px; }
.h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1.05; margin: 0 0 clamp(28px, 4vw, 56px); font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5; max-width: 46ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 20px; margin: 2em 0 .5em; }
.prose h3 { font-size: 16px; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: #dcd9d3; }

/* ---------- Projekt-Grid ---------- */
.grid {
  display: grid; gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.grid > li:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }

.card { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--bg-2); }
.card:hover { color: var(--fg); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.grid > li:first-child .card__media { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .grid > li:first-child .card__media { aspect-ratio: 16 / 9; } }
.card__media img, .card__media video, .card__ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease), opacity .5s var(--ease);
}
/* Unscharfe Mini-Vorschau (content/lqip.json) liegt unter dem echten Bild und ist sofort da;
   das echte Bild blendet darüber ein, sobald es komplett geladen ist (main.js setzt .is-wait) */
.card__media[style*="--lq"]::before {
  content: ""; position: absolute; inset: -40px; pointer-events: none;
  background: var(--lq) var(--lq-pos, 50% 50%) / cover no-repeat;
  filter: blur(10px);
}
@media (min-width: 761px) { .card__media[style*="--lq"]::before { filter: blur(18px); } }
.card__media img.is-wait { opacity: 0; }
/* Sobald das echte Bild steht, verschwindet die Mini-Vorschau ganz (nichts mehr unter den Kanten) */
.card__media[style*="--lq"].lq-done::before { content: none; }
.card__media video { opacity: 0; transition: opacity .5s var(--ease); }
.card:hover .card__media video, .card:focus-visible .card__media video { opacity: 1; }
.card:hover .card__media img, .card:hover .card__ph { transform: scale(1.04); }
.card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0) 55%);
}
.card__ph { display: grid; place-items: center; }
.card__ph span { font-size: clamp(11px, .9vw, 13px); letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(16px, 2vw, 28px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.card__title { margin: 0; font-size: clamp(18px, 1.8vw, 28px); line-height: 1.1; font-weight: 700; }
.card__meta { margin: 6px 0 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.card__year { font-size: 12px; letter-spacing: .18em; color: var(--fg-dim); flex-shrink: 0; }
/* Status-Hinweis, z.B. "In Arbeit" (projects.json → "status") */
.badge { display: inline-block; vertical-align: middle; margin-left: .8em; padding: 5px 10px 4px; border: 1px solid var(--accent); border-radius: 999px; font-size: 10px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); background: rgba(11, 11, 12, .55); }
.card__media:has(.card__badge) .card__ph span { display: none; }
.card__badge { position: absolute; top: clamp(14px, 1.6vw, 24px); left: clamp(14px, 1.6vw, 24px); margin: 0; z-index: 2; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Reveal beim Scrollen (nur mit JS + ohne reduced motion) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- About-Teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.team { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; }
.team li { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 14px 22px; border: 1px solid var(--fg); color: var(--fg); background: transparent;
  text-decoration: none; font: inherit; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- Projektseite ---------- */
.project-hero { padding-top: var(--header-h); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; max-height: calc(100svh - var(--header-h)); width: 100%; margin: 0 auto; }
.player iframe, .player video, .player img, .player .card__ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player video { object-fit: contain; }
.player--still { max-height: none; }
.player--letterbox { max-height: calc(100svh - var(--header-h)); }
.player--letterbox img { object-fit: contain; }
.player__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; gap: 0;
  background: transparent; border: 0; color: var(--fg); cursor: pointer; width: 100%;
}
.player__play-icon {
  width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center;
  background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background-color .3s;
}
.player__play:hover .player__play-icon { transform: scale(1.06); background: rgba(0,0,0,.55); }
/* Header-Video auf Projektseiten: Standbild, bis das Video läuft; Ton-Knopf unten rechts */
.player--header video { object-fit: cover; z-index: 0; }
/* Header-Clip mit Balken im Bild (headerVideo.aspect): Rahmen im echten Bildformat, Balken liegen außerhalb */
/* aspect = sichtbares Bildformat, frame = Format der Datei (Standard 16:9). Nie höher als der Bildschirm (z.B. 4:3). */
.player--bars { aspect-ratio: var(--hv-ar); overflow: hidden; container-type: size; max-width: calc((100svh - var(--header-h)) * var(--hv-ar)); }
.player--bars video { inset: auto; left: 50%; top: 50%; height: auto; max-width: none; aspect-ratio: var(--hv-frame, 16 / 9); width: calc(max(100cqw, 100cqh * var(--hv-ar)) * 1.006); transform: translate(-50%, -50%); }
.player--header picture img { z-index: 1; transition: opacity 1s var(--ease); }
.player--header.is-playing picture img { opacity: 0; }
.player__sound {
  position: absolute; z-index: 2; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  padding: 9px 14px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.player__sound:hover, .player__sound[aria-pressed="true"] { border-color: #fff; background: rgba(0,0,0,.65); }
.player__play.is-loading .player__play-icon { animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: .35; } }
.player__play-icon svg { width: 28%; height: 28%; fill: currentColor; margin-left: 6%; }
.player__note {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.75); padding: 0 16px;
}
.project-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .project-head { grid-template-columns: 1fr; } }
.project-title { font-size: clamp(34px, 6vw, 88px); line-height: .98; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.project-sub { color: var(--fg-dim); margin: 14px 0 0; font-size: clamp(16px, 1.4vw, 20px); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.credits { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 15px; }
.credits dt { color: var(--fg-dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.credits dd { margin: 0; }
.cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.credits-title { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 16px; }
.credits-title:not(:first-child) { margin-top: 36px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: clamp(28px, 4vw, 56px) var(--gutter); text-decoration: none; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.pager span { font-size: clamp(18px, 2.2vw, 32px); font-weight: 700; line-height: 1.1; }

/* ---------- Galerie + Lightbox ---------- */
.gallery { padding-top: 0; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.gallery__item--wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .gallery__grid { grid-template-columns: 1fr; } }
.gallery__item a { display: block; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.gallery__grid { align-items: start; }
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
/* Letterbox-Modus (site.json → stills.fit: "letterbox"): Stills im 16:9-Rahmen mit schwarzen Balken */
.gallery--letterbox .gallery__item a { background: #000; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.gallery--letterbox .gallery__item img { height: 100%; object-fit: contain; }
.gallery__item a:hover img { transform: scale(1.025); }
/* hohe Formate (z.B. 4:3) in breiten Kacheln nicht höher als der Bildschirm */
.gallery__item--wide img { max-height: calc(100svh - var(--header-h) - 40px); width: auto; max-width: 100%; margin: 0 auto; }
.gallery__item--wide a { background: none; }
.gallery--letterbox .gallery__item--wide img { max-height: none; width: 100%; }
/* Behind the Scenes: Mauerwerk-Raster, Hoch- und Querformat gemischt */
.bts { padding-top: 0; }
.bts__grid { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: clamp(10px, 1.4vw, 20px); }
.bts__item { break-inside: avoid; margin-bottom: clamp(10px, 1.4vw, 20px); }
.bts__item a { display: block; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.bts__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.bts__item a:hover img { transform: scale(1.025); }
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 6, .96); color: var(--fg);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox__img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox__btn {
  position: absolute; appearance: none; border: 1px solid var(--line); background: rgba(0,0,0,.4); color: var(--fg);
  width: 48px; height: 48px; border-radius: 50%; font: inherit; font-size: 18px; cursor: pointer; display: grid; place-items: center;
}
.lightbox__btn:hover { border-color: var(--fg); }
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; letter-spacing: .2em; color: var(--fg-dim); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Kontakt ---------- */
.contact-big { font-size: clamp(26px, 4.4vw, 64px); font-weight: 700; line-height: 1.1; word-break: break-word; }
.form { display: grid; gap: 18px; max-width: 640px; margin-top: 40px; }
.field label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--fg); font: inherit;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); }
.field textarea { min-height: 140px; resize: vertical; }
.form__status { min-height: 1.5em; color: var(--accent); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px var(--gutter) 48px; max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-dim);
}
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Ergänzungen Design-Version 2 (zurückhaltend, altes Design bleibt) ---------- */
/* Logo oben links: beim Klick auf einen Link spielt die Bildmarke kurz die Blende, auf der neuen Seite den Fokusring.
   Die Animation kommt aus tiefscharf-logo.js und liegt genau über der Bildmarke der Logo-Datei. */
.logo { position: relative; }
.logo__anim { position: absolute; left: 0; top: 0; height: 100%; color: #fff; visibility: hidden; pointer-events: none; }
.logo.is-animating .logo__anim { visibility: visible; }
.logo.is-animating .logo__img { clip-path: inset(0 0 0 32.4%); }
/* Filmkorn: liegt hinter dem Inhalt, Bilder und Videos bleiben unberührt */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
/* Kontakt-Aufruf am Seitenende */
.cta { border-top: 1px solid var(--line); max-width: none; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter); }
.cta .h2 { max-width: 18ch; }
.cta .btn { margin-top: 36px; }
/* Über uns: Text links, rechts kleine Porträts mit Name und Rolle */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: end; }
.about__text .h2 { padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); }
.about__text .lead { font-size: clamp(17px, 1.3vw, 20px); margin: 0 0 1.1em; max-width: 44ch; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.people img { width: min(100%, 240px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-2); }
.people__name { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 24px); font-weight: 700; line-height: 1.15; }
.people__role { margin: 8px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.people__focus { margin: 10px 0 0; max-width: 34ch; font-size: 15px; line-height: 1.5; color: var(--fg-dim); }
.people__link { margin: 10px 0 0; font-size: 15px; }
.people__link a { text-decoration: underline; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; align-items: start; } }

/* =====================================================================================
   DESIGN-VERSION 4 (17.11.2026): V2 plus weiße Flächen mit schwarzer Schrift
   - direkt nach dem Startvideo ein großer Satz zu TIEFSCHARF (statt "Arbeiten / Ausgewählte Projekte")
   - "Filme aus NRW" (Über uns auf der Startseite) ebenfalls weiß
   - größere Titel in der Projektübersicht
   ===================================================================================== */
.band-light { position: relative; z-index: 1; background: #f4f2ee; color: #0b0b0c;
  --fg: #0b0b0c; --fg-dim: #5f5c57; --line: rgba(0, 0, 0, .16); --focus: #0b0b0c; }
.band-light ::selection { background: #0b0b0c; color: #f4f2ee; }
.band-light .lead, .band-light .team li { color: #0b0b0c; }
.band-light a:hover { color: inherit; opacity: .65; }
.intro .section { padding-top: clamp(72px, 11vw, 160px); padding-bottom: clamp(72px, 11vw, 160px); }
.intro__text { margin: 0; font-size: clamp(30px, 4.8vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; max-width: 20ch; }
.section--grid { padding-top: clamp(40px, 6vw, 96px); }
/* Projektübersicht im selben Schwarz wie der Kontakt-Abschnitt (var(--bg) mit Filmkorn), auch hinter den Kacheln
   und solange Bilder und Videos laden (ersetzt dort die Farbplatzhalter aus placeholders.json) */
.band-black .card, .band-black .card__media { background: var(--bg) !important; }
/* Kopfzeile deckend schwarz, damit sie über den hellen Abschnitten nicht grau wirkt */
.site-header.is-solid, .site-header.is-static { background: var(--bg); }
.btn--dark { margin-top: 32px; border-color: #0b0b0c; color: #0b0b0c; }
.btn--dark:hover { background: #0b0b0c; color: #f4f2ee; opacity: 1; }
/* Titel in der Projektübersicht größer, IVAZAR noch etwas größer */
.card__title { font-size: clamp(22px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -.01em; }
.grid > li:first-child .card__title { font-size: clamp(28px, 3.8vw, 60px); }

/* Kontaktseite (V4): kein Formular, links Überschrift und vorbereitete E-Mail, rechts alle Kontaktwege */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact__title { margin: 0 0 24px; font-size: clamp(40px, 6vw, 96px); line-height: 1.0; font-weight: 700; letter-spacing: -.02em; max-width: 11ch; }
.contact__lead { margin: 0; max-width: 34ch; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.5; }
.btn--solid { padding: 18px 28px; background: #0b0b0c; border-color: #0b0b0c; color: #f4f2ee; }
.band-light .btn--solid:hover { background: transparent; color: #0b0b0c; opacity: 1; }
.contact__cta { margin-top: clamp(28px, 3vw, 40px); }
.contact__side { padding-top: clamp(0px, 2.2vw, 36px); }
.contact__direct { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label icon" "value icon"; column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.band-light .contact__row:hover { opacity: 1; }
.contact__label { grid-area: label; margin: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-dim); }
.contact__value { grid-area: value; margin-top: 6px; font-size: clamp(20px, 1.9vw, 28px); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; text-underline-offset: .18em; text-decoration-thickness: 2px; }
.contact__row:hover .contact__value { text-decoration-line: underline; }
.contact__icon { grid-area: icon; align-self: center; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .25s, color .25s, border-color .25s; }
.contact__row:hover .contact__icon { background: #0b0b0c; border-color: #0b0b0c; color: #f4f2ee; }
.contact__hint { margin-top: clamp(36px, 4vw, 56px); }
.contact__list { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: hint; }
.contact__list li { counter-increment: hint; display: grid; grid-template-columns: 2.2em 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.contact__list li::before { content: counter(hint, decimal-leading-zero); font-size: 12px; letter-spacing: .12em; color: var(--fg-dim); padding-top: .25em; }
.contact__people { margin: 28px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-dim); }

/* Textseiten (Impressum, Datenschutz, 404) ebenfalls hell: weiße Seite, oben und unten schwarz */
.band-light .prose p, .band-light .prose li { color: #2a2826; }
.band-light .prose a { color: inherit; }
main.band-light { min-height: 72svh; }
/* Tieferes Schwarz (17.11., Julius): vorher --bg: #0b0b0c. Zum Zurückgehen diese Zeile löschen
   und in build.mjs theme-color wieder auf #0b0b0c setzen. */
:root { --bg: #000; }

/* Seitenwechsel ohne weißes Aufblitzen (17.11., Julius): Der Browser zeigt die alte Seite, bis die neue fertig gezeichnet ist,
   und schaltet dann sofort um. Kein Überblend-Effekt, keine Vollbild-Animation. (Chrome, Edge, Safari; andere wechseln wie bisher.) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }

/* Kachel-Videos auf dem Handy (langes Drücken, main.js): kein iPhone-Vorschaumenü, kein Markieren, Video einblenden */
@media (hover: none), (pointer: coarse) {
  .card[data-preview], .card[data-preview] img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
}
.card.is-touchplay .card__media video.is-on { opacity: 1; transition-duration: .2s; }
/* Touch: vorgeladene Clips komplett ausblenden, bis die Kachel wirklich spielt. Nur unsichtbar (opacity 0) reicht auf dem
   iPhone nicht, dort blieb am Rand ein haarfeiner lila Strich vom Video stehen (Julius 18.11., Parfüm/ANTIGRAVITY). */
@media (hover: none), (pointer: coarse) {
  .card[data-preview] .card__media video { visibility: hidden; }
  .card[data-preview].is-touchplay .card__media video { visibility: visible; }
}
.card.is-touchplay .card__media img, .card.is-touchplay .card__ph { transform: scale(1.04); }

/* Impressum: Telefonnummer steht rückwärts im HTML (Spam-Schutz) */
.rev-tel { unicode-bidi: bidi-override; direction: rtl; }
