/* Richtung B · Die Bühne
   Ein dunkler Raum, ein Verfolgerscheinwerfer in #19F7A3.
   Radien: Bildflächen 14px, Bedienelemente als Pille. Sonst eckig. */

@font-face { font-family: "GT Walsheim"; src: url("../fonts/GT-Walsheim-Pro-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("../fonts/GT-Walsheim-Pro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("../fonts/GT-Walsheim-Pro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("../fonts/GT-Walsheim-Pro-Ultra-Bold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "GT Walsheim"; src: url("../fonts/GT-Walsheim-Pro-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0a0f0d;          /* Bühnenschwarz */
  --stage: #0c0f0e;        /* Bühnenboden, leicht angehoben */
  --wing: #161b19;         /* Seitenbühne, Rahmen */
  --line: rgba(232, 238, 235, .10);
  --dim: #6c7570;          /* unbeleuchtet, 3.2:1, nur Großschrift */
  --mute: #949c98;         /* Fließtext sekundär, 7:1 */
  --paper: #e8eeeb;        /* Fließtext primär */
  --glow: #f1fff9;         /* angestrahlt */
  --spot: #19f7a3;         /* das einzige Licht */
  --spot-12: rgba(25, 247, 163, .12);
  --gutter: clamp(16px, 3.4vw, 48px);
  --nav-h: 64px;
  --r-img: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.58 "GT Walsheim", system-ui, sans-serif;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--spot); color: var(--ink); }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 50;
  background: var(--spot); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Licht ---------- */
#spot, #dust {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; mix-blend-mode: screen;
}
#spot { filter: blur(22px); transform: translateZ(0); }
/* feines Korn über allem: bricht Farbstufen im dunklen Verlauf */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .nav, .foot { position: relative; z-index: 1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  background: linear-gradient(var(--ink) 62%, rgba(5, 7, 6, 0));
}
.nav__mark { font-weight: 900; font-size: 17px; letter-spacing: -.01em; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav__mark .short { display: none; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--mute); transition: color .25s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--glow); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; cursor: pointer; padding: 4px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--mute); letter-spacing: .02em;
}
.lang button[aria-pressed="true"] { background: var(--spot); color: var(--ink); }

/* ---------- Bausteine ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), background .25s, color .25s, box-shadow .4s;
}
.btn:active { transform: scale(.97); }
.btn--spot { background: var(--spot); color: var(--ink); box-shadow: 0 0 0 0 rgba(25, 247, 163, 0); }
.btn--spot:hover { box-shadow: 0 10px 50px -8px rgba(25, 247, 163, .55); }
.btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(232, 238, 235, .22); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--spot); color: var(--glow); }
.btn svg { width: 16px; height: 16px; flex: none; }

.h2 {
  font-weight: 900; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(40px, 6.2vw, 92px);
  margin: 0;
}
.lede { font-weight: 300; font-size: clamp(21px, 2vw, 28px); line-height: 1.38; letter-spacing: -.01em; max-width: 34ch; margin: 0; }

/* Angestrahlte Schrift: Grundschicht + Lichtschicht mit Maske am Spot */
.lit { position: relative; display: block; }
.lit__base { color: var(--dim); display: block; }
.lit__glow {
  position: absolute; inset: -.3em; padding: .3em; color: var(--glow); pointer-events: none;
  text-shadow: 0 0 .25em rgba(25, 247, 163, .35);
  -webkit-mask-image: radial-gradient(circle var(--lr, 300px) at var(--lx, -999px) var(--ly, -999px), #000 0%, rgba(0,0,0,.55) 38%, transparent 72%);
          mask-image: radial-gradient(circle var(--lr, 300px) at var(--lx, -999px) var(--ly, -999px), #000 0%, rgba(0,0,0,.55) 38%, transparent 72%);
}

/* Leuchtkante: Rahmen, deren Kante dort glimmt, wo der Spot steht */
.frame { position: relative; border-radius: var(--r-img); background: var(--wing); isolation: isolate; }
.frame > img { border-radius: var(--r-img); width: 100%; }
.frame::after {
  content: ""; position: absolute; inset: -1px; border-radius: calc(var(--r-img) + 1px); padding: 1px; pointer-events: none;
  background:
    radial-gradient(circle 420px at var(--lx, -999px) var(--ly, -999px), rgba(25, 247, 163, .95), rgba(25, 247, 163, 0) 70%),
    linear-gradient(rgba(232, 238, 235, .10), rgba(232, 238, 235, .04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.frame--shadow { box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .9); }
.frame--bezel { padding: 10px; }
.frame--bezel > img { border-radius: 6px; }

/* ---------- Startseite: Bühne ---------- */
.hero {
  min-height: 100dvh;
  display: grid; align-content: end;
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(28px, 5vh, 56px);
}
.hero__role { font-weight: 500; font-size: clamp(15px, 1.3vw, 19px); color: var(--mute); margin: 0 0 clamp(8px, 2vh, 20px); }
.hero__name {
  margin: 0; font-weight: 900;
  font-size: clamp(44px, 8.9vw, 150px);
  line-height: .9; letter-spacing: -.05em;
  margin-left: -.04em;
}
.hero__low { position: relative; }
.hero__says { display: grid; grid-template-columns: minmax(0, 620px) auto; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: clamp(24px, 4.5vh, 48px); }
.hero__says .lede { max-width: 44ch; font-size: clamp(18px, 1.45vw, 22px); }
.hero__says .hero__cta { margin-top: 0; }
.hero__role { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.avail { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(25, 247, 163, .08); box-shadow: inset 0 0 0 1px rgba(25, 247, 163, .28); color: var(--glow); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--spot); box-shadow: 0 0 10px 2px rgba(25, 247, 163, .7); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 2px 0 rgba(25, 247, 163, .3); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .avail i { animation: none; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Projektindex: gepinnte Bühne */
.show { position: relative; }
.show__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: calc(var(--nav-h) + 8px) var(--gutter) 0;
}
.show__head .h2 { font-size: clamp(34px, 4vw, 56px); }
.show__count { color: var(--mute); font-weight: 500; font-size: 15px; margin: 0; }
.track {
  display: flex; gap: clamp(28px, 4vw, 72px);
  padding: 28px var(--gutter) 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  list-style: none; margin: 0; position: relative;
}
.track::-webkit-scrollbar { display: none; }
.scene {
  --d: 0; --ad: 0;
  flex: none; scroll-snap-align: center;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 2vw, 32px);
  width: min(86vw, 640px);
  perspective: 1200px;
}
.scene__title {
  margin: 0; align-self: stretch;
  writing-mode: vertical-rl; transform: rotate(180deg) translateY(calc(var(--d) * 28px));
  font-weight: 900; letter-spacing: -.045em; line-height: .84;
  font-size: min(var(--fs-max, 120px), var(--fs, 96px));
  color: var(--dim); transition: color .6s var(--ease), text-shadow .6s var(--ease);
  white-space: nowrap;
}
.scene__title span { display: block; }
.scene.is-on .scene__title { color: var(--glow); text-shadow: 0 0 .35em rgba(25, 247, 163, .28); }
.scene__body { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; min-width: 0; }
.scene__stage {
  position: relative; display: grid; place-items: center; min-height: 0;
  transform: translateX(calc(var(--d) * 90px)) rotateY(calc(var(--d) * -16deg)) scale(calc(1 - var(--ad) * .1));
  opacity: calc(1 - var(--ad) * .5);
  transform-style: preserve-3d; will-change: transform;
  container-type: size;
}
.scene__stage::after { /* Bühnenboden: Schatten unter dem Objekt */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -2%; height: 10%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent); z-index: -1;
}
.scene__stage > img { position: absolute; inset: 0; margin: auto; max-height: 100%; width: auto; max-width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }
.scene__stage > img.scene__logo { max-width: 62%; }
.scene__phones { position: absolute; inset: 0; display: flex; gap: 4%; height: 100%; align-items: center; justify-content: center; }
.scene__phones .frame { height: min(90cqh, 62cqw); aspect-ratio: 660 / 1434; padding: 5px; border-radius: 22px; background: #000; }
.scene__phones .frame > img { height: 100%; width: 100%; object-fit: cover; border-radius: 17px; }
.scene__phones .frame::after { border-radius: 23px; }
.scene__phones .frame:nth-child(2) { height: min(100cqh, 68cqw); }
.scene__logo { opacity: .9; }
.scene__info { display: grid; gap: 6px; }
.scene__meta { margin: 0; font-size: 14px; font-weight: 500; color: var(--mute); }
.scene__lede { margin: 0; font-size: clamp(17px, 1.35vw, 20px); font-weight: 500; line-height: 1.32; max-width: 38ch; color: var(--paper); }
.scene__tags { margin: 0; font-size: 14px; color: var(--mute); }
.scene__info .btn { margin-top: 10px; justify-self: start; height: 42px; font-size: 15px; padding: 0 18px; }
.scene--small { width: min(70vw, 420px); }
.scene--small .scene__title { --fs-max: 96px; }

.rail { padding: 0 var(--gutter) 22px; }
.rail__bar { position: relative; height: 1px; background: var(--line); margin-bottom: 14px; }
.rail__fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--spot); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(25, 247, 163, .8); }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 10px; }
.rail button {
  background: none; border: 0; padding: 4px 0; cursor: pointer; white-space: nowrap;
  font-size: 13px; font-weight: 500; color: var(--mute); transition: color .3s;
}
.rail button:hover { color: var(--paper); }
.rail button[aria-current="true"] { color: var(--spot); }
.rail__now { display: none; margin: 0; font-size: 14px; font-weight: 500; color: var(--spot); }

/* Desktop mit Bewegung: Bühne wird gepinnt, JS setzt .is-pinned */
.show.is-pinned { height: 100vh; display: grid; grid-template-columns: minmax(0, 100%); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.show.is-pinned .track { overflow: visible; scroll-snap-type: none; height: 100%; padding-top: 4vh; padding-bottom: 3vh; padding-left: 12vw; padding-right: 30vw; width: max-content; }
.show.is-pinned .scene { width: auto; height: 100%; }
.show.is-pinned .scene__body { width: clamp(440px, 40vw, 620px); }
.show.is-pinned .scene--small .scene__body { width: clamp(320px, 26vw, 400px); }
.show.is-pinned .scene__title { --fs: calc((100vh - 290px) / (var(--len) * .6)); --fs-max: 15.5vh; }

/* Profil */
.profile { padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(80px, 12vh, 140px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.profile__figure { position: sticky; top: calc(var(--nav-h) + 40px); margin: 0; }
.profile__figure img { width: min(100%, 360px); margin: 0 auto; }
.profile__figure figcaption { text-align: center; color: var(--mute); font-size: 14px; margin-top: 8px; }
.profile__text .lede { margin-top: 28px; max-width: 36ch; }
.stations { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 26px; position: relative; }
.stations::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.stations li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding-left: 24px; position: relative; }
.stations li.is-now::before { content: ""; position: absolute; left: -1px; top: 4px; width: 3px; height: 22px; background: var(--spot); box-shadow: 0 0 16px rgba(25, 247, 163, .9); border-radius: 2px; }
.stations time { font-weight: 800; font-feature-settings: "tnum"; color: var(--paper); font-size: 16px; }
.stations b { display: block; font-weight: 500; font-size: 18px; }
.stations span { color: var(--mute); font-size: 15px; }
.profile__cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Kunden */
.clients { padding: clamp(64px, 10vh, 120px) var(--gutter); }
.clients .h2 { font-size: clamp(34px, 4vw, 56px); }
.logos { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); }
.logos li {
  --lit: 0;
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r-img); background: rgba(232, 238, 235, calc(.018 + var(--lit) * .035));
}
.logos li:hover { --lit: 1 !important; }
.logos img {
  position: absolute; inset: 0; margin: auto;
  max-width: 58%; max-height: 44%; width: auto; height: auto;
  filter: grayscale(calc(1 - var(--lit))) brightness(calc(1.15 - var(--lit) * .15));
  opacity: calc(.42 + var(--lit) * .58);
  transition: opacity .3s, filter .3s;
}

@media (pointer: coarse) { .logos img { opacity: calc(.64 + var(--lit) * .36); } }

/* Kontakt */
.contact { min-height: 92vh; display: grid; align-content: center; padding: clamp(80px, 14vh, 160px) var(--gutter); }
.contact .h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.02em; color: var(--paper); }
.contact__mail { display: inline-block; margin-top: 24px; text-decoration: none; font-weight: 900; letter-spacing: -.045em; line-height: .95; font-size: clamp(26px, 6.2vw, 104px); overflow-wrap: anywhere; }
.contact__mail .lit__base { color: #7d8681; transition: color .3s; }
.contact__mail:hover .lit__base { color: var(--spot); }
.contact__more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 36px; color: var(--mute); font-size: 14px; border-top: 1px solid var(--line); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--glow); }

/* ---------- Fallstudie ---------- */
.c-hero { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-content: end; align-items: end; gap: 0 4vw; padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(28px, 5vh, 56px); }
.c-hero__back { font-size: 15px; font-weight: 500; color: var(--mute); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 3vh; }
.c-hero__back:hover { color: var(--glow); }
.c-hero__title { margin: 0; font-weight: 900; font-size: clamp(60px, 9.6vw, 156px); line-height: .84; letter-spacing: -.055em; margin-left: -.04em; }
.c-hero__claim { margin-top: 22px; }
.c-hero__visual { align-self: end; justify-self: center; width: min(100%, 500px, 52vh); }
.c-hero__visual img { filter: drop-shadow(0 50px 70px rgba(0, 0, 0, .75)); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2.2fr); gap: 20px clamp(16px, 2.4vw, 40px); margin: 0; padding: 5vh 0 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: 14px; color: var(--mute); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 500; line-height: 1.4; }

.film { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px); padding: clamp(96px, 14vh, 160px) var(--gutter) 0; }
.chapters { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.chapters__list { position: relative; }
.chapters ol { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 4px; position: relative; }
.chapters ol::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.chapters .chapters__fill { position: absolute; z-index: 1; left: 0; top: 4px; width: 1px; height: calc(100% - 8px); background: var(--spot); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px rgba(25, 247, 163, .9); }
.chapters a { display: grid; grid-template-columns: 1.6em 1fr; text-decoration: none; color: var(--mute); font-weight: 500; font-size: 15px; padding: 6px 0; transition: color .3s; }
.chapters a:hover { color: var(--paper); }
.chapters a[aria-current="true"] { color: var(--glow); }
.chapters a[aria-current="true"] span:first-child { color: var(--spot); }
.chapters__now { display: none; }

.chapter { padding-bottom: clamp(110px, 18vh, 220px); min-width: 0; }
.chapter__no { font-weight: 900; font-size: clamp(80px, 10vw, 160px); line-height: .8; letter-spacing: -.05em; margin: 0 0 18px; }
.chapter__title { margin: 0 0 28px; font-weight: 900; letter-spacing: -.035em; line-height: 1; font-size: clamp(36px, 4.6vw, 72px); }
.chapter p.lede { max-width: 32ch; }
.prose { max-width: 62ch; color: var(--paper); }
.prose p { margin: 0 0 1em; }
.prose--mute { color: var(--mute); }
.gap-l { margin-top: clamp(48px, 8vh, 96px); }
.gap-m { margin-top: 32px; }
.caption { color: var(--mute); font-size: 14px; margin-top: 12px; max-width: 60ch; }

.bleed { margin-left: calc(-1 * (220px + clamp(24px, 4vw, 64px) + var(--gutter))); margin-right: calc(-1 * var(--gutter)); }
.bleed img { width: 100%; }
.drift { overflow: hidden; }
.drift img { width: 130%; max-width: none; transform: translateX(calc(var(--drift, 0) * -23%)); }

.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.strip figure { margin: 0; }
.strip .num { font-weight: 900; color: var(--spot); font-size: 15px; margin-right: 8px; }
.strip figcaption { margin-top: 12px; font-size: 15px; color: var(--mute); }
.strip figcaption b { color: var(--paper); font-weight: 500; }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.two .frame:last-child { margin-top: 18%; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; max-width: 980px; }
.steps li { counter-increment: s; font-size: 16px; color: var(--mute); }
.steps li::before { content: counter(s); display: block; font-weight: 900; font-size: 44px; line-height: 1; color: var(--paper); margin-bottom: 8px; letter-spacing: -.04em; }
.steps b { color: var(--paper); font-weight: 500; display: block; }

.flow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(72px, 12vh, 140px); }
.flow__text { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.flow__text h3 { margin: 0 0 14px; font-weight: 900; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.02; }
.flow__text p { margin: 0; color: var(--mute); max-width: 36ch; }
.flow__shots { display: grid; gap: 28px; }

.moment { margin-top: clamp(72px, 12vh, 140px); text-align: center; }
.moment .frame { max-width: 1100px; margin: 0 auto; }
.moment .caption { margin-left: auto; margin-right: auto; }

.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; }
.numbers div { margin: 0; }
.numbers dt { font-weight: 900; font-size: clamp(56px, 7vw, 120px); line-height: .9; letter-spacing: -.05em; color: var(--glow); text-shadow: 0 0 .4em rgba(25, 247, 163, .25); }
.numbers dd { margin: 10px 0 0; color: var(--mute); font-size: 15px; max-width: 22ch; }

.duties { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; max-width: 900px; }
.duties li { padding-top: 14px; border-top: 1px solid var(--line); }

.next { display: block; text-decoration: none; padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(64px, 10vh, 120px); border-top: 1px solid var(--line); }
.next__label { color: var(--mute); font-weight: 500; font-size: 16px; margin: 0; }
.next__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.next__title { margin: 8px 0 0; font-weight: 900; font-size: clamp(72px, 16vw, 260px); line-height: .82; letter-spacing: -.055em; }
.next__img { width: clamp(140px, 22vw, 320px); transition: transform .8s var(--ease); }
.next:hover .next__img { transform: translateY(-12px) rotate(-3deg); }
.next:hover .lit__base { color: #8a928e; }

.film__reel { min-width: 0; }
.band { margin-top: calc(-1 * clamp(40px, 8vh, 110px)); margin-bottom: clamp(110px, 18vh, 220px); }

/* Logo-Aufbau: Schritte links, ein Bild rechts, das beim Scrollen wechselt */
.build { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); }
.build__steps { list-style: none; margin: 0; padding: 0; }
.build__step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; }
.build__step h3 { margin: 0 0 12px; font-weight: 900; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.05; display: flex; gap: 14px; align-items: baseline; }
.build__step .num { color: var(--dim); transition: color .4s; font-size: .8em; }
.build__step.is-on .num { color: var(--spot); text-shadow: 0 0 18px rgba(25, 247, 163, .7); }
.build__step p { margin: 0; color: var(--mute); max-width: 34ch; }
.build__mob { display: none; }
.build__screen { position: sticky; top: calc(50vh - 18vw); align-self: start; margin-top: 18vh; }
.build__screen .frame { aspect-ratio: 16 / 9; overflow: hidden; }
.build__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.build__screen img.is-on { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .hero__says { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:last-child { grid-column: 1 / -1; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav { gap: 16px; }
  .nav__mark .long { display: none; }
  .nav__mark .short { display: inline; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 14px; }
  .lang button { padding: 3px 9px; font-size: 12px; }

  .hero { align-content: center; padding-top: calc(var(--nav-h) + 40px); }
  .hero__name { font-size: 11.6vw; line-height: .9; }
  .hero__name br { display: none; }
  .hero__says { margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }

  .show__head { padding-top: 64px; flex-direction: column; gap: 8px; }
  .scene { grid-template-columns: auto minmax(0, 1fr); width: 84vw; }
  .scene__title { --fs: calc(440px / (var(--len) * .62)); --fs-max: 64px; }
  .scene__body { grid-template-rows: 300px auto; }
  .scene--small { width: 70vw; }
  .rail ol { display: none; }
  .rail__now { display: block; }

  .profile { grid-template-columns: 1fr; }
  .profile__figure { position: relative; top: 0; }
  .profile__figure img { width: 62%; }
  .stations li { grid-template-columns: 1fr; padding-left: 20px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos img { max-width: 70%; max-height: 52%; }
  .profile__figure img { width: 52%; }
  .contact { min-height: 0; }

  .c-hero { grid-template-columns: 1fr; align-content: end; }
  .c-hero__visual { order: -1; width: 54%; margin: 0 auto 4px; }
  .c-hero__title { font-size: 17vw; }
  .facts { grid-template-columns: 1fr 1fr; padding-top: 28px; gap: 16px; }
  .facts dd { font-size: 15px; }
  .film { grid-template-columns: 1fr; padding-top: 72px; }
  .chapters { position: sticky; top: var(--nav-h); z-index: 5; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 12px; background: linear-gradient(var(--ink) 70%, rgba(5,7,6,0)); }
  .chapters ol { display: none; }
  .chapters__now { display: flex; gap: 10px; align-items: baseline; font-weight: 500; font-size: 15px; margin: 0 0 10px; }
  .chapters__now span:first-child { color: var(--spot); }
  .chapters__bar { height: 1px; background: var(--line); position: relative; }
  .chapters__bar i { position: absolute; inset: 0; background: var(--spot); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 10px rgba(25,247,163,.9); }
  .chapter { padding-top: 24px; }
  .bleed { margin-left: calc(-1 * var(--gutter)); }
  .strip, .two, .pair { grid-template-columns: 1fr; }
  .build { grid-template-columns: 1fr; }
  .build__screen { display: none; }
  .build__step { min-height: 0; padding: 20px 0; }
  .build__mob { display: block; margin-top: 18px; }
  .band { margin-top: 0; }
  .two .frame:last-child { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__text { position: relative; top: 0; }
  .duties { grid-template-columns: 1fr; }
  .next__row { grid-template-columns: 1fr; }
  .next__img { width: 46%; }
  .next__title { font-size: 21vw; }
}
@media (min-width: 901px) { .chapters__bar, .chapters__now { display: none; } }
@media (max-width: 420px) {
  .logos { gap: 6px; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .scene__stage, .scene__title { transform: none !important; opacity: 1 !important; }
  .scene__title { transform: rotate(180deg) !important; }
  .drift img { width: 100%; transform: none; }
}


/* ---------- Glas (Liquid Glass) ----------
   Durchscheinende Flächen über dem Licht: Unschärfe und Sättigung von hinten, helle Oberkante,
   und eine Randkante, die dort aufleuchtet, wo der Scheinwerfer steht (--lx/--ly aus site.js). */
body { background: radial-gradient(120% 70% at 50% -10%, #12201a 0%, rgba(10, 15, 13, 0) 60%), var(--ink); background-attachment: fixed; }
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035) 42%, rgba(255, 255, 255, .07));
  -webkit-backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
          backdrop-filter: blur(22px) saturate(175%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 -14px 24px -18px rgba(255, 255, 255, .14),
    0 24px 60px -28px rgba(0, 0, 0, .75);
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(circle 220px at var(--lx, -999px) var(--ly, -999px), rgba(170, 255, 222, .85), rgba(25, 247, 163, 0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(28, 36, 33, .92); }
}

/* Navigation als schwebende Glasleiste */
.nav, .nav.glass { position: fixed; }
.nav { inset: 14px var(--gutter) auto; height: 58px; border-radius: 999px; padding: 0 9px 0 26px; gap: 26px; }
.nav.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, .06)); }
.lang { border: 0; background: rgba(0, 0, 0, .22); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.lang button { padding: 6px 13px; }

/* Bedienelemente aus Glas */
.btn--ghost.glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px -22px rgba(0, 0, 0, .7); }
.btn--ghost.glass:hover { background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); color: var(--glow); }
.avail.glass { background: linear-gradient(160deg, rgba(25, 247, 163, .16), rgba(25, 247, 163, .05)); padding: 8px 16px 8px 13px; }

/* Start: luftiger, ruhiger */
.hero { align-content: center; padding-top: calc(var(--nav-h) + 72px); padding-bottom: clamp(56px, 10vh, 120px); }
.hero__role { margin-bottom: clamp(22px, 4vh, 40px); }
.hero__name { font-size: clamp(40px, 6.6vw, 112px); line-height: 1.02; letter-spacing: -.04em; }
.hero__name .thin { font-weight: 300; letter-spacing: -.035em; }
.hero__says { grid-template-columns: minmax(0, 560px); justify-content: start; gap: 32px; margin-top: clamp(32px, 6vh, 64px); }
.hero__says .lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--mute); }

/* Projektszenen: Infos auf einer Glaskarte */
.scene__info.glass { padding: 20px 24px 22px; border-radius: 24px; justify-self: start; max-width: 100%; }
.rail.glass { margin: 0 var(--gutter) 18px; padding: 14px 22px 10px; border-radius: 22px; }
.rail.glass .rail__bar { margin-bottom: 10px; }

@media (max-width: 900px) {
  .nav { inset: 10px 12px auto; height: 52px; padding: 0 6px 0 18px; gap: 14px; }
  .hero { padding-top: calc(var(--nav-h) + 64px); }
  .hero__name { font-size: 10.4vw; line-height: 1.04; }
  .hero__name br { display: inline; }
  .hero__says { margin-top: 28px; gap: 26px; }
  .scene__info.glass { padding: 16px 18px; border-radius: 20px; }
  .rail.glass { margin: 0 12px 12px; padding: 12px 16px 10px; }
}

/* Überschriften im Fluss etwas leiser, damit die Seite atmet */
.h2 { font-size: clamp(34px, 4.6vw, 72px); line-height: 1.02; }
.profile .lede { color: var(--mute); }


/* ==========================================================
   Feinschliff: ein System für alle Abschnitte
   ========================================================== */
:root { --r-glass: 24px; --r-panel: 32px; }

/* Navigation: kompakte, zentrierte Glaspille */
.nav { left: 50%; right: auto; transform: translateX(-50%); width: min(calc(100% - 2 * var(--gutter)), 880px); }

/* Kennziffer über jeder Überschrift */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.eyebrow span:first-child { color: var(--spot); font-feature-settings: "tnum"; letter-spacing: .08em; }
.eyebrow span:first-child::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: linear-gradient(90deg, var(--spot), transparent); }
.h2 .thin, .hero__name .thin { font-weight: 300; }
.h2 { color: var(--paper); }

/* Einstieg: Text links, Glasbühne rechts */
.hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 72px); min-height: 100svh; }
.hero__text { min-width: 0; position: relative; z-index: 2; }
.hero__name .lit__base { color: var(--paper); }
.hero__name .thin { color: #b9c2bd; }
.hero__stage {
  --tx: 0; --ty: 0; --sp: 1;
  position: relative; margin: 0; height: min(64vh, 620px); perspective: 1800px;
  transform-style: preserve-3d;
}
.pane {
  position: absolute; width: 74%; padding: 8px; border-radius: var(--r-glass);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .4s;
}
.pane img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; filter: saturate(.9); }
.pane--1 { left: 0; top: 4%;
  transform: rotateY(calc(-24deg + var(--tx) * 10deg)) rotateX(calc(9deg - var(--ty) * 8deg)) translateZ(-140px) translateY(calc((1 - var(--sp)) * 60px)); opacity: .55; }
.pane--2 { left: 16%; top: 20%;
  transform: rotateY(calc(-20deg + var(--tx) * 12deg)) rotateX(calc(7deg - var(--ty) * 9deg)) translateZ(-40px) translateY(calc((1 - var(--sp)) * 30px)); opacity: .8; }
.pane--3 { left: 30%; top: 38%;
  transform: rotateY(calc(-16deg + var(--tx) * 14deg)) rotateX(calc(5deg - var(--ty) * 10deg)) translateZ(60px); }
.stage__obj {
  position: absolute; width: 42%; right: -4%; top: -6%; z-index: 4; pointer-events: none;
  transform: translate3d(calc(var(--tx) * -18px), calc(var(--ty) * -14px + (1 - var(--sp)) * -80px), 160px) rotate(calc(var(--tx) * -4deg));
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
}
.pane::before { /* Spiegelung über der Scheibe */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%);
  mix-blend-mode: screen;
}

/* Projekte: Kopf als Raster, Titel unbeleuchtet nur als Kontur */
.show__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.show__head .eyebrow { grid-column: 1 / -1; margin-bottom: 14px; }
.show__head .h2 { font-size: clamp(34px, 4.6vw, 72px); }
.scene__title { color: transparent; -webkit-text-stroke: 1.2px rgba(232, 238, 235, .22); }
.scene.is-on .scene__title { color: var(--glow); -webkit-text-stroke: 0 transparent; }

/* Profil */
.profile__figure img { filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .6)); }
.stations.glass { padding: 30px 32px; border-radius: var(--r-glass); margin-top: 48px; }
.stations.glass::before { left: 32px; top: 36px; bottom: 36px; }
.stations.glass li { padding-left: 24px; }
.stations.glass li.is-now::before { left: -1px; }

/* Kunden: gleiche Kacheln wie das Glas, nur leiser */
.sec-head { margin-bottom: 8px; }
.clients .h2 { font-size: clamp(34px, 4.6vw, 72px); }
.logos li { border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, calc(.05 + var(--lit) * .05)), rgba(255, 255, 255, .015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .05); transition: background .4s; }

/* Kontakt als großes Glaspanel zum Schluss */
.contact { min-height: auto; padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(56px, 8vh, 96px); }
.contact__panel { border-radius: var(--r-panel); padding: clamp(32px, 6vw, 88px); overflow: hidden; }
.contact__panel::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(25, 247, 163, .16), transparent); pointer-events: none; z-index: -1; }
.contact .h2 { font-size: clamp(30px, 3.6vw, 56px); font-weight: 900; letter-spacing: -.035em; }
.contact__mail { margin-top: 28px; font-weight: 500; letter-spacing: -.035em; font-size: clamp(26px, 5vw, 84px); }
.contact__mail .lit__base { color: var(--paper); }
.foot { border-top: 0; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero__stage { height: 46vh; order: -1; margin-top: 8px; }
}
@media (max-width: 900px) {
  .nav { width: calc(100% - 24px); }
  .hero__stage { height: 38vh; width: 100%; }
  .pane { width: 80%; }
  .stage__obj { width: 38%; }
  .stations.glass { padding: 22px 20px; }
  .stations.glass::before { left: 20px; }
  .stations li { grid-template-columns: 1fr; }
  .contact__panel { border-radius: 26px; }
  .scene__title { -webkit-text-stroke-width: 1px; }
}
@media (prefers-reduced-motion: reduce) { .pane, .stage__obj { will-change: auto; } }

/* Glasbühne: Feinjustage */
.stage__obj { width: 34%; right: 2%; top: 0; }
.hero__name { font-size: clamp(40px, 6vw, 104px); }
@media (max-width: 1100px) {
  .hero__stage { order: 0; height: 40vh; margin-top: 24px; }
}
@media (max-width: 900px) {
  .hero__stage { height: 34vh; margin-top: 40px; }
  .pane { width: 70%; }
  .pane--2 { left: 12%; }
  .pane--3 { left: 24%; }
  .stage__obj { width: 30%; right: 0; top: -4%; }
}

/* ==========================================================
   Navi neu: Wortmarke frei links, Glaspille rechts mit flüssigem Marker.
   Glas sonst nur noch in den Buttons.
   ========================================================== */
.nav {
  position: fixed; top: 16px; left: var(--gutter); right: var(--gutter); width: auto; transform: none;
  height: 52px; padding: 0; border-radius: 0; gap: 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: none; box-shadow: none;
}
.nav::after { display: none; }
.nav__mark {
  font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paper); margin-right: 0; display: inline-flex; align-items: center; gap: 10px;
}
.nav__mark::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--spot); box-shadow: 0 0 12px 1px rgba(25, 247, 163, .75); }
.nav__mark:hover { color: var(--glow); }
.nav__pill {
  display: flex; align-items: center; gap: 4px; height: 52px; padding: 6px; border-radius: 999px;
}
.nav__pill nav { position: relative; z-index: 1; }
.nav__links { gap: 2px; }
.nav__links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; color: var(--mute); position: relative; z-index: 1;
}
.nav__links a.is-here, .nav__links a[aria-current="true"] { color: var(--glow); }
.nav__blob {
  position: absolute; left: 0; top: 6px; height: 40px; width: var(--bw, 0px); border-radius: 999px; z-index: 0;
  transform: translateX(var(--bx, 0px)); opacity: var(--bo, 0);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 6px 18px -8px rgba(0, 0, 0, .6);
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.12), width .55s cubic-bezier(.2, .9, .25, 1.12), opacity .3s;
}
.nav__sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .14); margin: 0 6px; }
.nav .lang { background: none; box-shadow: none; padding: 0 4px 0 0; gap: 2px; position: relative; z-index: 1; }
.nav .lang button { height: 40px; padding: 0 10px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; color: var(--mute); background: none; }
.nav .lang button[aria-pressed="true"] { color: var(--spot); background: none; }
.nav .lang button:hover { color: var(--glow); }
.nav__mark .short { display: none; }
@media (prefers-reduced-motion: reduce) { .nav__blob { transition: opacity .2s; } }

@media (max-width: 900px) {
  .nav { top: 10px; left: 12px; right: 12px; height: 46px; }
  .nav__mark .long { display: none; }
  .nav__mark .short { display: inline; }
  .nav__pill { height: 46px; padding: 4px; }
  .nav__links a { height: 38px; padding: 0 11px; font-size: 13px; }
  .nav__blob { top: 4px; height: 38px; }
  .nav .lang button { height: 38px; padding: 0 7px; }
  .nav__sep { margin: 0 2px; }
}

/* Inhalte wieder ohne Glas */
.avail { background: none; box-shadow: none; padding: 0; }
.avail.glass { background: none; }
.pane { background: #121815; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.pane::before { display: none; }
.scene__info { padding: 0; border-radius: 0; }
.rail { margin: 0; padding: 0 var(--gutter) 22px; border-radius: 0; }
.stations { padding: 0; margin-top: 56px; }
.logos li { background: rgba(232, 238, 235, calc(.022 + var(--lit) * .04)); box-shadow: none; border-radius: 16px; }
.contact__panel { padding: 0; border-radius: 0; overflow: visible; }
.contact__panel::before { display: none; }
.nav__mark::before { display: none; }

/* ==========================================================
   Bausteine für generierte Fallstudien (build_site.py)
   Dieselben Mittel wie Return: Rahmen mit Leuchtkante, ruhige Abstände, Grün nur als Licht.
   ========================================================== */

/* Fakten: Spaltenzahl folgt der Anzahl der kurzen Fakten */
.facts { grid-template-columns: repeat(var(--facts, 4), minmax(0, 1fr)) minmax(0, 2.2fr); }
.c-hero__visual--screen { width: min(100%, 720px); }

/* Textblock mit eigener Zwischenüberschrift */
.txt__h { margin: 0 0 14px; font-weight: 900; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1.05; max-width: 26ch; }
.txt__lede { margin-bottom: 18px; }
.txt .prose { max-width: 62ch; }
.duties b { display: block; font-weight: 500; color: var(--paper); }
.duties li > span { color: var(--mute); }
.bare { display: block; }
.bleed > .caption { padding-left: var(--gutter); }

/* Geräterahmen Phone: schlicht und dunkel wie in der Projektszene */
.frame--phone { padding: 5px; border-radius: clamp(18px, 2vw, 26px); background: #000; }
.frame--phone > img { border-radius: clamp(13px, 1.6vw, 21px); }
.frame--phone::after { border-radius: calc(clamp(18px, 2vw, 26px) + 1px); }
.fig--phone { max-width: 320px; }
.moment.fig--phone { max-width: none; }
.moment .frame--phone { max-width: 340px; }
.fig--inline { max-width: 760px; }

/* Galerien: drei Bilder, Reihe aus Phones */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 240px)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.two > figure .frame:last-child { margin-top: 0; }
.two > figure:last-child { margin-top: 18%; }
.gallery > .caption { margin-top: 16px; }
.pair figure, .trio figure, .phones figure { margin: 0; }
.flow__shots--phones { grid-template-columns: repeat(auto-fit, minmax(150px, 230px)); align-items: start; }

/* Große Zahl, die eine ganze Zeile bekommt */
.numbers .is-lead { grid-column: 1 / -1; }
.numbers .is-lead dd { max-width: 40ch; }

/* Startseite: Screen als Teaser in der Szene */
.scene__screen { position: absolute; inset: 0; margin: auto; width: min(100%, calc(100cqh * (var(--ar)))); height: auto; aspect-ratio: var(--ar); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.scene__screen > img { height: 100%; object-fit: cover; object-position: top; }

/* Vorher/Nachher-Regler */
.compare__stage { overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.compare__stage img { -webkit-user-drag: none; pointer-events: none; }
.compare__stage > .compare__after { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); z-index: 1; }
.compare__before img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: var(--r-img); }
.frame--phone .compare__before { inset: 5px; }
.frame--phone .compare__before img { border-radius: clamp(13px, 1.6vw, 21px); }
.compare__tag {
  position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper); background: rgba(10, 15, 13, .78); box-shadow: inset 0 0 0 1px rgba(232, 238, 235, .12);
  pointer-events: none; transition: opacity .3s;
}
.compare__tag--before { left: 14px; }
.compare__tag--after { right: 14px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 3; width: 44px; transform: translateX(-50%);
  display: grid; place-items: center; cursor: ew-resize; touch-action: none; outline: none;
}
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--spot); box-shadow: 0 0 14px rgba(25, 247, 163, .8); }
.compare__knob {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--spot), 0 0 24px rgba(25, 247, 163, .45), 0 10px 30px rgba(0, 0, 0, .6);
  transition: transform .3s var(--ease);
}
.compare__knob::before, .compare__knob::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border: solid var(--spot); border-width: 0 0 2px 2px;
}
.compare__knob::before { left: 11px; transform: rotate(45deg); }
.compare__knob::after { right: 11px; transform: rotate(-135deg); }
.compare__handle:hover .compare__knob, .compare.is-drag .compare__knob { transform: scale(1.08); }
.compare__handle:focus-visible .compare__knob { outline: 2px solid var(--glow); outline-offset: 4px; }

/* Weitere Arbeiten: ruhige Liste unter dem Projektindex */
.more { padding: clamp(56px, 10vh, 120px) var(--gutter) 0; }
.more__h { margin: 0 0 20px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.more__list { list-style: none; margin: 0; padding: 0; }
.more__list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 6fr); gap: 4px clamp(16px, 3vw, 48px); align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.more__list li:last-child { border-bottom: 1px solid var(--line); }
.more__title { margin: 0; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.01em; color: var(--paper); }
.more__meta { margin: 0; font-size: 14px; font-weight: 500; color: var(--mute); font-feature-settings: "tnum"; }
.more__line { margin: 0; font-size: 15px; color: var(--mute); max-width: 60ch; }

@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; }
  .phones, .flow__shots--phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two > figure:last-child { margin-top: 0; }
  .fig--phone { max-width: 70%; }
  .c-hero__visual--screen { width: 100%; }
  .more__list li { grid-template-columns: 1fr; }
  .compare__tag { top: 10px; font-size: 11px; padding: 5px 10px; }
  .compare__tag--before { left: 10px; }
  .compare__tag--after { right: 10px; }
}

/* Nächstes Projekt: lange Wörter passen sich der Breite an */
.next__title { font-size: min(clamp(72px, 16vw, 260px), calc((100vw - 2 * var(--gutter)) / (var(--len, 5) * .66))); }
@media (max-width: 900px) { .next__title { font-size: min(21vw, calc((100vw - 2 * var(--gutter)) / (var(--len, 5) * .66))); } }
