/* =========================================================
   GET GUMBEL'D studio – Sitepackage Styles
   Werte aus Figma „Website Design v1“ (Desktop 1440 / Mobil 390)
   ========================================================= */

@font-face {
  font-family: "VT323";
  src: url("../Fonts/vt323.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("../Fonts/chivo-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Chivo Mono";
  src: url("../Fonts/chivo-mono-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben (Figma-Variablen) */
  --nacht: #000;
  --asche: #141210;
  --staub: #9a9a9a;
  --weiss: #fff;
  --orange: #ff5a1f;

  --pixel: "VT323", ui-monospace, monospace;
  --mono: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: clamp(20px, 6.67vw, 96px);      /* 96px @1440, 20px mobil */
  --nav-x: clamp(20px, 4.45vw, 64px);
  --glow: drop-shadow(0 0 24px rgba(255, 90, 31, .5));

  /* Typo-Skala */
  --fs-display: clamp(44px, 9.72vw, 140px);  /* Projekttitel */
  --fs-display-s: clamp(40px, 8.33vw, 120px);/* ZEITRAUMEXIT, READY TO GUMBEL? */
  --fs-pixel: clamp(22px, 1.95vw, 28px);     /* Nummer, Meta, Link */
  --fs-ui: clamp(20px, 1.67vw, 24px);        /* Navigation, Buttons */
  --fs-body: clamp(15px, 1.25vw, 18px);
  --fs-label: clamp(20px, 1.95vw, 28px);     /* „selected work:“, „about me:“ */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--weiss);
  font-family: var(--mono);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

.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: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--weiss); color: var(--nacht); padding: 8px 14px; border-radius: 999px;
  font-family: var(--pixel); font-size: 22px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* ---------- Körniger Verlauf (Hero + Ansage) ---------- */
.glow-bg {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--nacht) url("../Images/glow-bg.jpg") center / cover no-repeat;
}
.glow-bg::before { /* Filmkorn */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow-bg > * { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .67em 1.33em; border-radius: 999px;
  font: 400 var(--fs-ui)/1.1 var(--pixel); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--cta { background: var(--asche); color: var(--weiss); border: 1px solid var(--staub); filter: var(--glow); }
.btn--cta:hover { background: var(--weiss); color: var(--nacht); }
.btn--signal { background: var(--orange); color: var(--nacht); }
.btn--signal:hover { background: var(--weiss); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 2.2vw, 32px) var(--nav-x);
  transition: background-color .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, .75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-block: 12px;
}
.site-header__logo img { width: clamp(32px, 3vw, 44px); height: auto; }
.site-header__nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 40px); }
.site-header__link { font: 400 var(--fs-ui)/1.1 var(--pixel); text-decoration: none; }
.site-header__link:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px var(--nav-x) 120px; text-align: center;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 2.2vw, 32px); width: 100%; }
.hero__title { margin: 0; width: min(100%, 1248px); } /* +30 % ggü. Figma (960px) */
.hero__wordmark { width: 100%; height: auto; }
.hero__claim { font: 400 clamp(28px, 3.25vw, 47px)/1.1 var(--pixel); } /* +30 % ggü. Figma (36px) */
.hero__down {
  position: absolute !important; bottom: 48px; left: 50%; translate: -50% 0;
  display: grid; place-items: center; color: var(--weiss);
  animation: bob 2s ease-in-out infinite;
}
.hero__down svg { width: clamp(40px, 3.9vw, 56px); height: auto; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { .hero__down { animation: none; } }

/* ---------- Abschnitts-Label ---------- */
.section-label { padding: clamp(72px, 8.33vw, 120px) var(--pad-x) 0; scroll-margin-top: 40px; }
.section-label p { font: 700 var(--fs-label)/1.2 var(--mono); }

/* ---------- Projekte (Bühnen) ---------- */
.project { background: var(--nacht); }
.project__inner {
  display: flex; align-items: center; justify-content: center; gap: clamp(40px, 6.67vw, 96px);
  min-height: min(1000px, 69.4vw); padding: clamp(60px, 7.2vw, 104px) var(--pad-x);
}
.project__media { flex: 0 0 auto; width: min(33.5vw, 482px); display: flex; justify-content: center; }
.project__body { flex: 0 1 600px; display: flex; flex-direction: column; gap: 20px; }
.project__head, .project__details { display: flex; flex-direction: column; gap: 20px; }

/* Seite: automatisch abwechselnd, oder fest */
article.project--phone:nth-of-type(even).project--side-auto .project__media,
.project--phone.project--side-right .project__media { order: 2; }

.project__count { font: 400 var(--fs-pixel)/1.1 var(--pixel); color: var(--orange); }
.project__title {
  margin: 0; font: italic 700 var(--fs-display)/.95 var(--mono);
  letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: break-word;
}
.project__meta { font: 400 var(--fs-pixel)/1.1 var(--pixel); color: var(--staub); }
.project__text { font-size: var(--fs-body); line-height: 1.6; max-width: 600px; }
.project__link {
  align-self: flex-start; font: 400 var(--fs-pixel)/1.1 var(--pixel); text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.project__link:hover { color: var(--orange); transform: translateX(4px); }

/* iPhone-Mockup (iPhone 18 Pro, Silber) – reines CSS, alle Maße relativ zur Gerätebreite (cqw) */
.phone {
  container-type: inline-size;
  width: min(100%, 400px);
  rotate: -4deg; transition: rotate .6s cubic-bezier(.2, .8, .2, 1), scale .6s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .65)) drop-shadow(0 0 60px rgba(255, 90, 31, .14));
}
article.project--phone:nth-of-type(even) .phone { rotate: 4deg; }
.project:hover .phone { rotate: 0deg; scale: 1.02; }

/* Aluminium-Rahmen */
.phone__frame {
  position: relative; aspect-ratio: 71.9 / 150; /* Gehäuse-Proportion iPhone Pro */
  border-radius: 14.2cqw; padding: 1.35cqw;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 18%, transparent 82%, rgba(0, 0, 0, .12)),
    linear-gradient(90deg, #8d9196 0%, #dfe1e4 3%, #fbfbfc 7%, #cfd2d6 16%, #e9ebee 50%, #c9ccd1 84%, #f6f7f8 93%, #dcdee1 97%, #83878c 100%);
  box-shadow:
    inset 0 0 0 .22cqw rgba(255, 255, 255, .75),
    inset 0 0 0 .5cqw rgba(120, 124, 130, .35),
    inset 0 0 1.2cqw rgba(0, 0, 0, .25);
}
/* Schwarzer Display-Rand */
.phone__bezel {
  position: relative; height: 100%;
  border-radius: 12.9cqw; padding: 2.5cqw; background: #050505;
  box-shadow: inset 0 0 0 .2cqw #1c1c1e;
}
.phone .screen__surface { height: 100%; border-radius: 10.6cqw; }
/* Dynamic Island */
.phone__island {
  position: absolute; z-index: 3; top: 4.6cqw; left: 50%; translate: -50% 0;
  width: 24cqw; height: 7cqw; border-radius: 999px; background: #000;
  box-shadow: inset 0 0 0 .15cqw #111;
}
.phone__island::after { /* Kameralinse */
  content: ""; position: absolute; right: 2.2cqw; top: 50%; translate: 0 -50%;
  width: 2.8cqw; height: 2.8cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3550 0%, #0b0f18 55%, #000 100%);
}
/* Seitentasten */
.phone__btn {
  position: absolute; width: 1.1cqw; border-radius: .6cqw;
  background: linear-gradient(90deg, #8a8e93, #eef0f2 45%, #b9bcc1);
}
.phone__btn--action   { left: -.8cqw; top: 18%; height: 5.5%; }
.phone__btn--vol-up   { left: -.8cqw; top: 27%; height: 9.5%; }
.phone__btn--vol-down { left: -.8cqw; top: 38.5%; height: 9.5%; }
.phone__btn--side     { right: -.8cqw; top: 29%; height: 14%; background: linear-gradient(270deg, #8a8e93, #eef0f2 45%, #b9bcc1); }
.phone__btn--camera   { right: -.35cqw; top: 58%; height: 7.5%; width: .6cqw; background: linear-gradient(270deg, #6f7378, #c6c9cd); }

.screen__surface {
  position: relative; overflow: hidden; background: var(--asche);
  display: flex; align-items: center; justify-content: center;
  container-type: inline-size;
}
.frame-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

.play {
  position: absolute; inset: 0; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .17em;
  border: 0; background: transparent; color: var(--weiss); cursor: pointer;
  font-family: var(--pixel); text-align: center;
}
.play__label { font-size: 16cqw; line-height: 1; color: var(--orange); transition: transform .25s steps(3); }
.play__title { font-size: 8cqw; line-height: 1.1; color: var(--staub); }
.frame-video + .play { justify-content: flex-end; padding-bottom: 12%; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 45%); }
.play:hover .play__label { transform: scale(1.1); }
.play--empty { cursor: default; }

/* Querformat (Bühne 06) */
.project--wide .project__inner { display: block; min-height: 0; padding: clamp(72px, 8.33vw, 120px) 0 0; }
.project--wide .project__media { width: 100%; display: block; }
.screen { width: 100%; }
.screen .screen__surface { aspect-ratio: 16 / 9; }
.screen .play__label { font-size: clamp(32px, 3.33vw, 48px); }
.screen .play__title { font-size: clamp(18px, 1.67vw, 24px); }
.project--wide .project__body {
  flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px 48px; max-width: none;
  padding: clamp(32px, 3.33vw, 48px) var(--pad-x) clamp(72px, 8.33vw, 120px);
}
.project--wide .project__head { gap: 12px; }
.project--wide .project__title { font-size: var(--fs-display-s); }
.project--wide .project__details { flex: 0 0 min(360px, 100%); gap: 16px; }

/* ---------- Logo-Laufband ---------- */
.logos {
  position: relative; isolation: isolate; overflow: hidden; background: var(--nacht);
  display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3vw, 43px);
  padding: clamp(96px, 10.4vw, 150px) 0;
}
.logos__glow {
  position: absolute; z-index: -1; left: -17%; right: -17%; top: 50%; height: 237px; translate: 0 -50%;
  background: var(--orange); opacity: .85; filter: blur(41.5px);
}
.logos__title { font: 400 clamp(22px, 2.22vw, 32px)/1.1 var(--pixel); text-align: center; }
.logos__track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 40s) linear infinite; will-change: transform; }
.logos__row { display: flex; align-items: center; gap: 56px; margin: 0; padding: 0 28px; list-style: none; height: 84px; }
.logos__item img { height: 56px; width: auto; max-width: 386px; object-fit: contain; filter: brightness(0) invert(1); }
.logos__name { font: 700 clamp(32px, 3.6vw, 52px)/1.2 var(--mono); text-transform: uppercase; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .logos__row { flex-wrap: wrap; justify-content: center; height: auto; row-gap: 24px; }
  .logos__row[aria-hidden] { display: none; }
}

/* ---------- About ---------- */
.about {
  display: flex; align-items: center; gap: clamp(40px, 5.5vw, 80px);
  padding-right: var(--pad-x); scroll-margin-top: 40px; overflow-x: clip;
}
.about__media {
  flex: 0 0 40%; align-self: stretch; position: relative; isolation: isolate;
  display: flex; align-items: flex-end; justify-content: center;
}
.about__media::before { /* orangener Glow hinter dem freigestellten Porträt */
  content: ""; position: absolute; z-index: -1; inset: 8% -6% 4% -6%; border-radius: 50%;
  background: radial-gradient(ellipse 55% 50% at 50% 48%, rgba(255, 90, 31, .95) 0%, rgba(255, 90, 31, .45) 45%, transparent 72%);
  filter: blur(36px);
}
.about__img, .about__placeholder { width: 100%; height: auto; aspect-ratio: 2 / 3; }
.about__img {
  object-fit: contain; object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.about__placeholder { object-fit: cover; }
.about__placeholder { background: linear-gradient(160deg, #ffd34d, var(--orange) 55%, #3a0a00); }
.about__body { flex: 1 1 auto; max-width: 900px; display: flex; flex-direction: column; gap: 20px; padding-block: clamp(72px, 8.33vw, 120px); }
.about__title { margin: 0; font: 700 var(--fs-label)/1.2 var(--mono); color: var(--orange); }
.rte > * { margin: 0 0 20px; }
.rte > :last-child { margin-bottom: 0; }
.rte h3, .rte h4 { font: italic 400 var(--fs-body)/1.6 var(--mono); color: var(--orange); }
.rte a { color: var(--orange); }
.about__more { display: none; }

/* ---------- Ansage (CTA) ---------- */
.cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px;
  padding: clamp(120px, 13.9vw, 200px) var(--pad-x); text-align: center;
}
.cta__title {
  margin: 0; font: italic 700 var(--fs-display-s)/.95 var(--mono);
  letter-spacing: -.02em; text-transform: uppercase;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 32px var(--nav-x); font-size: 13px; line-height: 1.3; color: var(--staub); background: var(--nacht);
}
.site-footer__nav { display: flex; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--weiss); }

/* ---------- Standard-Inhalte (Impressum, Datenschutz) ---------- */
main > .frame { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x); }
main > .frame:first-child { padding-top: 160px; }
main > .frame:last-child { padding-bottom: 120px; }
main > .frame h1, main > .frame h2 {
  font: italic 700 clamp(36px, 5vw, 72px)/.95 var(--mono); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 .6em;
}
main > .frame h3 { font: italic 400 var(--fs-body)/1.6 var(--mono); color: var(--orange); margin: 2em 0 .4em; }
main > .frame p { margin-bottom: 1em; }

/* ---------- Video-Overlay ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(0, 0, 0, .94); padding: 64px 16px 16px;
}
.video-modal[hidden] { display: none; }
.video-modal__player { max-width: min(100%, 1400px); max-height: 85vh; background: #000; }
.video-modal__close {
  position: absolute; top: 14px; right: 16px; width: 44px; height: 44px;
  border: 1px solid var(--staub); border-radius: 50%; background: var(--asche); color: var(--weiss);
  font: 400 30px/1 var(--pixel); cursor: pointer;
}

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .project--wide .project__body { flex-direction: column; align-items: flex-start; }
  .project--wide .project__details { flex-basis: auto; max-width: 480px; }
}

/* ---------- Mobil (Figma „Mobil 390“) ---------- */
@media (max-width: 760px) {
  .site-header__link { display: none; }
  .btn { font-size: 20px; }

  .project__inner { flex-direction: column; align-items: stretch; gap: 20px; min-height: 0; padding: 36px var(--pad-x); }
  .project__media { width: 100%; justify-content: flex-start; order: 0 !important; }
  article.project--phone:nth-of-type(even) .project__media { justify-content: flex-end; }
  .phone { width: 64%; }
  .project__body, .project__head, .project__details { gap: 6px; }
  .project__details { margin-top: 6px; }
  .project__text { display: none; } /* Figma mobil: nur Titel, Meta, Link */
  .project--wide .project__text { display: block; }
  .project--wide .project__inner { padding: 36px 0 0; }
  .project--wide .project__media { padding-inline: var(--pad-x); }
  .project--wide .project__body { padding: 20px var(--pad-x) 48px; }

  .about { flex-direction: column; padding: 0; gap: 0; }
  .about__media { flex-basis: auto; width: 100%; padding-top: 24px; }
  .about__img, .about__placeholder { width: min(100%, 420px); }
  .about__body { padding: 40px var(--pad-x) 72px; }
  .about__text.is-collapsed > :nth-child(n+3) { display: none; }
  .about__more {
    display: inline-block; align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none;
    color: var(--weiss); font: 400 24px/1.1 var(--pixel); cursor: pointer;
  }
  .about__more[hidden] { display: none; }

  .cta { gap: 32px; }
  .site-footer { flex-direction: column; }
}

/* ---------- Hintergrund-Videos (Hero, Ansage) ---------- */
.glow-bg > .bg-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .glow-bg > .bg-video { display: none; } }

/* =========================================================
   Projektseiten (Figma „Projektseite … / Desktop 1440“)
   ========================================================= */
.site-header__start { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); }
.label-heading { margin: 0; font: 700 var(--fs-label)/1.2 var(--mono); }

/* 1 · Kopf mit Hauptvideo */
.phero { min-height: min(100svh, 1080px); display: flex; align-items: center; }
.phero__inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: clamp(40px, 6.67vw, 96px);
  padding: clamp(110px, 10vw, 150px) var(--pad-x) clamp(56px, 6.67vw, 96px);
}
.phero__text { flex: 0 1 640px; display: flex; flex-direction: column; gap: 24px; }
.phero__meta, .phero__subline { font: 400 var(--fs-pixel)/1.1 var(--pixel); }
.phero__title {
  margin: 0; font: italic 700 clamp(56px, 11.1vw, 160px)/.95 var(--mono);
  letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: break-word;
}
.phero__media { flex: 0 0 auto; width: min(30vw, 420px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phero .phone { width: min(100%, 380px, 38svh); rotate: 3deg; } /* Höhe ≈ Figma (782px) */
.phero .phone:hover { rotate: 0deg; }
.phero .play__label { font-size: 16cqw; }
.phero__hint { font: 400 var(--fs-ui)/1.1 var(--pixel); }

/* 1b · Die Ansage + Fakten */
.pintro {
  display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(40px, 6.67vw, 96px);
  padding: clamp(72px, 8.33vw, 120px) var(--pad-x) 0;
}
.pintro__text { flex: 0 1 640px; display: flex; flex-direction: column; gap: 20px; }
.facts { flex: 0 1 512px; margin: 0; padding-top: 16px; }
.facts__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 12px 0; border-top: 1px solid var(--asche); }
.facts dt { font: 400 var(--fs-ui)/1.1 var(--pixel); color: var(--staub); }
.facts dd { margin: 0; font-size: 16px; line-height: 1.6; text-align: right; }

/* 2 · Mehr davon (Galerie) */
.gallery { display: flex; flex-direction: column; gap: 48px; padding: clamp(72px, 8.33vw, 120px) var(--pad-x) clamp(96px, 11vw, 160px); }
.gallery__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.gallery__item { margin: 0; flex: 0 1 auto; }
.gallery__item:nth-child(4n+2) { padding-top: clamp(60px, 11vw, 160px); }
.gallery__item:nth-child(4n+3) { padding-top: clamp(16px, 2.8vw, 40px); }
.gallery__item:nth-child(4n+4) { padding-top: clamp(100px, 18vw, 260px); }
.gallery__item--clip { width: min(20.8vw, 300px); }
.gallery__item--still { width: min(23.6vw, 340px); }
.gallery__item--still-small { width: min(15.3vw, 220px); }
.gallery .phone, .series .phone { width: 100%; rotate: 0deg; }
.gallery__img, .gallery__placeholder { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__placeholder { display: grid; place-items: center; background: #4a1400; color: var(--staub); font: 400 var(--fs-ui)/1.1 var(--pixel); }
.gallery__item--still-small .gallery__placeholder { background: var(--asche); }
.gallery .play__label, .series .play__label { font-size: 16cqw; }

/* 3 · Credits */
.credits { display: flex; align-items: flex-start; gap: clamp(32px, 6.67vw, 96px); padding: 0 var(--pad-x) clamp(96px, 11vw, 160px); }
.credits__lines { flex: 0 1 600px; color: var(--staub); line-height: 2; }

/* Serie: Alle Aufträge */
.series { display: flex; flex-direction: column; gap: 48px; padding: clamp(96px, 11vw, 160px) var(--pad-x) clamp(72px, 8.33vw, 120px); }
.series__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.series__item { flex: 0 1 270px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.series__item:nth-child(even) { padding-top: 80px; }
.series__title { margin: 0; font: 700 clamp(18px, 1.67vw, 24px)/1.2 var(--mono); }
.series__meta { font: 400 var(--fs-ui)/1.1 var(--pixel); color: var(--staub); }
.series__link {
  padding: 0; border: 0; background: none; cursor: pointer; text-decoration: none;
  font: 400 var(--fs-ui)/1.1 var(--pixel); color: var(--orange); transition: transform .2s ease;
}
.series__link:hover { transform: translateX(4px); }

/* 4 · Nächstes Projekt */
.nextp { background: var(--asche); }
.nextp__link {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(40px, 6.67vw, 96px);
  padding: clamp(72px, 8.33vw, 120px) var(--pad-x); text-decoration: none;
}
.nextp__text { flex: 0 1 700px; display: flex; flex-direction: column; gap: 20px; }
.nextp__kicker { font: 400 var(--fs-pixel)/1.1 var(--pixel); color: var(--orange); transition: transform .25s ease; }
.nextp__title {
  font: italic 700 var(--fs-display)/.95 var(--mono); letter-spacing: -.02em; text-transform: uppercase;
  overflow-wrap: break-word; transition: color .25s ease;
}
.nextp__meta { font: 400 var(--fs-pixel)/1.1 var(--pixel); color: var(--staub); }
.nextp__media { flex: 0 0 auto; width: min(23.4vw, 336px); }
.nextp .phone { width: 100%; rotate: 3deg; }
.nextp .play__label { font-size: 16cqw; }
.nextp__link:hover .nextp__title { color: var(--orange); }
.nextp__link:hover .nextp__kicker { transform: translateX(6px); }
.nextp__link:hover .phone { rotate: 0deg; scale: 1.02; }

@media (max-width: 1024px) {
  .gallery__grid { flex-wrap: wrap; justify-content: center; }
  .gallery__item--clip { width: min(42vw, 300px); }
  .gallery__item--still { width: min(46vw, 340px); }
  .gallery__item--still-small { width: min(34vw, 220px); }
  .series__grid { flex-wrap: wrap; row-gap: 48px; }
  .series__item { flex-basis: calc(50% - 12px); }
}
@media (max-width: 760px) {
  .phero__inner { flex-direction: column; align-items: flex-start; padding-top: 110px; }
  /* im Spaltenlayout würden die Desktop-Breiten (flex-basis) sonst zur Höhe */
  .phero__text, .pintro__text, .facts, .credits__lines, .nextp__text { flex: none; width: 100%; }
  .phero { min-height: 0; }
  .phero__media { width: 100%; align-items: center; }
  .phero .phone { width: 70%; }
  .pintro { flex-direction: column; gap: 32px; }
  .facts { width: 100%; flex-basis: auto; }
  .gallery__grid { justify-content: space-between; row-gap: 32px; }
  .gallery__item:nth-child(n) { padding-top: 0; }
  .gallery__item:nth-child(even) { padding-top: 48px; }
  .gallery__item--clip, .gallery__item--still, .gallery__item--still-small { width: calc(50% - 12px); }
  .credits { flex-direction: column; gap: 16px; }
  .series__item:nth-child(even) { padding-top: 48px; }
  .nextp__link { flex-direction: column; align-items: flex-start; gap: 32px; }
  .nextp__media { width: 60%; align-self: center; }
  .site-header__back { display: inline; }
}

/* Galerie nur aus Clips (z. B. 5 Sets bei TIME WARP): gleich breite iPhones, im Wechsel versetzt */
.gallery__grid:not(:has(figure)) { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(16px, 2.2vw, 32px); align-items: start; }
.gallery__grid:not(:has(figure)) .gallery__item { width: auto; padding-top: 0; }
.gallery__grid:not(:has(figure)) .gallery__item:nth-child(even) { padding-top: clamp(40px, 5.5vw, 80px); }
.gallery__grid:not(:has(figure)) .play__title { font-size: 9cqw; }
@media (max-width: 760px) {
  .gallery__grid:not(:has(figure)) { grid-template-columns: repeat(2, 1fr); }
}

/* Projektseiten: Kopf + „next project“ als zentrierte Komposition
   (Text und iPhone rücken zusammen, Titel größer) */
@media (min-width: 761px) {
  .phero__inner, .nextp__link {
    display: grid; grid-template-columns: auto auto;
    align-items: center; justify-content: center; column-gap: clamp(48px, 7vw, 120px);
    max-width: 1320px; margin-inline: auto;
  }
  .phero__text, .nextp__text { width: auto; }
  .phero__title { font-size: clamp(72px, 13.5vw, 196px); letter-spacing: -.03em; }
  /* Titel bricht wortweise um – die Textspalte wird nur so breit wie nötig */
  .phero__title, .nextp__title { width: min-content; max-width: 100%; }
  .phero__meta, .phero__subline { font-size: clamp(24px, 2.2vw, 32px); }
  .phero__media { width: min(30vw, 420px); }
  .phero .phone { width: min(100%, 380px, 38svh); }

  .nextp__title { font-size: clamp(64px, 11.5vw, 168px); letter-spacing: -.03em; }
  .nextp__media { width: min(24vw, 336px); }
}

/* Projektseiten: Abschnitts-Überschriften („die ansage:“, „mehr davon:“, „credits:“, „alle aufträge:“) in der Pixelschrift */
.label-heading { font: 400 clamp(30px, 2.8vw, 40px)/1 var(--pixel); letter-spacing: .01em; }

/* Header: „contact me“ dezenter – ohne orangenen Glow, kleiner, halbtransparent */
.site-header .btn--cta {
  filter: none;
  font-size: clamp(18px, 1.4vw, 20px); padding: .4em 1.05em;
  background: rgba(20, 18, 16, .55); border-color: rgba(154, 154, 154, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.site-header .btn--cta:hover { background: var(--weiss); color: var(--nacht); border-color: var(--weiss); }

/* Serie (COCOON) im selben Look wie die Clip-Galerie bei TIME WARP:
   iPhones teilen sich die volle Breite, 32px Abstand, im Wechsel versetzt, Name im iPhone */
.gallery__grid:not(:has(figure)), .series__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* über die volle Breite verteilt */
  gap: clamp(16px, 2.2vw, 32px); align-items: start;
}
.series__item { display: block; padding-top: 0; }
.series__item:nth-child(even) { padding-top: clamp(40px, 5.5vw, 80px); }
.series .play__title { font-size: 9cqw; }
@media (max-width: 760px) {
  .gallery__grid:not(:has(figure)), .series__grid { grid-template-columns: repeat(2, 1fr); }
  .series__item:nth-child(even) { padding-top: 48px; }
}

/* Nur zwei Clips (z. B. JUZZY POPP): gleiches Raster wie bei 4 iPhones, aber nur die mittleren beiden Plätze belegt */
@media (min-width: 761px) {
  .gallery__grid:not(:has(figure)):has(> :nth-child(2):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery__grid:not(:has(figure)):has(> :nth-child(2):last-child) > :first-child { grid-column: 2; }
  .gallery__grid:not(:has(figure)):has(> :nth-child(2):last-child) > :last-child { grid-column: 3; }
}

/* Rechtstexte (Impressum, Datenschutz) */
main > .frame h2 { font-size: clamp(22px, 2.2vw, 28px); font-style: normal; text-transform: none; letter-spacing: 0; margin: 0 0 .8em; }
main > .frame h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--pixel); color: var(--weiss); margin: 2em 0 .5em; }
main > .frame p { color: rgba(255, 255, 255, .85); }
main > .frame a { color: var(--orange); }
/* Platzhalter, die noch ausgefüllt werden müssen */
.platzhalter { color: var(--orange); font-weight: 700; }
