/* ==========================================================================
   Finn Kruetschnigg — Studio Website (v4 "Belichtung")
   Foto-first · WebGL-Hero · Sticky-Index · Kino-Reihen · Filmstreifen
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #141416;
  --paper: #ecebe6;
  --paper-2: #e0ded7;
  --blue: #2743f0;        /* accent on paper */
  --blue-light: #5b72ff;  /* accent on ink */
  --blue-bg: #1f2fe0;     /* accent section background */
  --green: #27d17f;

  --bg: var(--ink);
  --fg: var(--paper);
  --accent: var(--blue-light);
  --fg-muted: color-mix(in srgb, var(--fg) 58%, transparent);
  --fg-faint: color-mix(in srgb, var(--fg) 34%, transparent);
  --line: color-mix(in srgb, var(--fg) 14%, transparent);
  --surface: color-mix(in srgb, var(--fg) 5%, transparent);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(20px, 4vw, 72px);
  --radius: 3px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 84px;
}
html[data-theme="paper"] { --bg: var(--paper); --fg: var(--ink); --accent: var(--blue); }
html[data-theme="accent"] { --bg: var(--blue-bg); --fg: var(--paper); --accent: var(--paper); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html, body { overscroll-behavior-y: none; } /* kein versehentliches Pull-to-Refresh beim schnellen Hochscrollen */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 400; font-size: 16px; line-height: 1.5;
  font-variation-settings: "wdth" 100, "wght" 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .8s var(--ease-out), color .8s var(--ease-out);
  overflow-x: clip;
}
@media (hover: hover) and (pointer: fine) { body { cursor: none; } body a, body button { cursor: none; } }
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.container { padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; font-variation-settings: normal; }
.eyebrow { color: var(--fg-muted); }
.display { font-family: var(--font-display); font-variation-settings: "wdth" 112, "wght" 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: .9; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1; color: var(--accent); }
.h2 { font-size: clamp(2.6rem, 6.4vw, 7rem); text-wrap: balance; }
.h2 em { font-size: 1.04em; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--accent); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 16px; }

/* ---------- Links & buttons ---------- */
.link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: .01em; padding: 6px 0; white-space: nowrap; }
.link::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease-out); }
.link:hover::after { transform: scaleX(0); transform-origin: left; }
.link::before { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out) .12s; }
.link:hover::before { transform: scaleX(1); transform-origin: left; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; position: relative; white-space: nowrap; }
.btn--pill { padding: 11px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.btn--pill:hover { background: var(--accent); color: var(--paper); transform: translateY(-1px); }
html[data-theme="accent"] .btn--pill:hover { background: var(--paper); color: var(--blue-bg); }
.btn--big { font-family: var(--font-display); font-variation-settings: "wdth" 105, "wght" 600; font-size: clamp(1.3rem, 3.2vw, 2.8rem); letter-spacing: -0.02em; padding: 18px 0; border-bottom: 2px solid currentColor; gap: 16px; }
.btn--big i { font-style: normal; font-size: .8em; transition: transform .5s var(--ease-out); }
.btn--big:hover i { transform: translate(5px, -5px); }

/* ---------- Corner frame helper ---------- */
.frame { position: relative; --fc: var(--fg-faint); --fl: 14px; --ft: 1.5px; --fi: 10px; }
.frame::after {
  content: ""; position: absolute; inset: var(--fi); pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top right / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom right / var(--ft) var(--fl) no-repeat;
  transition: inset .6s var(--ease-out), opacity .4s;
}
.frame:hover::after { inset: 0; --fc: var(--accent); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .045; animation: grain 1.2s steps(6) infinite;
}
html[data-theme="paper"] .grain { opacity: .07; }
@keyframes grain { 0% { background-position: 0 0; } 20% { background-position: -37px 29px; } 40% { background-position: 41px -53px; } 60% { background-position: -71px -17px; } 80% { background-position: 59px 67px; } 100% { background-position: 0 0; } }

/* ---------- AF cursor ---------- */
.af, .af-label { display: none; }
@media (hover: hover) and (pointer: fine) { .af, .af-label { display: block; } }
.af { position: fixed; top: 0; left: 0; width: 28px; height: 28px; z-index: 999; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.af.is-on { opacity: 1; }
.af i { position: absolute; width: 9px; height: 9px; border: 1.5px solid #fff; transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s; }
.af i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.af i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.af i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.af i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.af::before { content: ""; position: absolute; top: 50%; left: 50%; width: 3px; height: 3px; margin: -1.5px; background: #fff; border-radius: 50%; transition: transform .3s, opacity .3s; }
.af.is-locked i { width: 16px; height: 16px; }
.af.is-locked::before { opacity: 0; transform: scale(0); }
.af.is-down i { border-color: var(--green); }
.af-label { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; background: var(--blue-light); color: var(--paper); padding: 5px 9px; font-size: 10px; letter-spacing: .08em; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.af-label.is-on { opacity: 1; transform: translateY(0); }
.af-label::before { content: "AF · "; opacity: .7; }

/* ---------- Shutter ---------- */
.shutter { position: fixed; inset: 0; z-index: 950; pointer-events: none; }
.shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); will-change: transform; }
.shutter i:first-child { top: 0; } .shutter i:last-child { bottom: 0; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 900; background: var(--ink); color: var(--paper); }
.loader__frame { position: absolute; top: var(--gutter); left: var(--gutter); right: var(--gutter); bottom: var(--gutter); --fc: var(--paper); --fl: 28px; --ft: 1.5px; }
.loader__frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top right / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom right / var(--ft) var(--fl) no-repeat;
}
.loader__frame.is-locked { --fc: var(--green); }
.loader__mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(4rem, 12vw, 9rem); font-variation-settings: "wdth" 125, "wght" 800; opacity: 0; }
.loader__status { position: absolute; top: calc(50% + clamp(50px, 9vw, 90px)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--fg-muted); white-space: nowrap; }
.loader__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); animation: blink .7s steps(2) infinite; }
.loader__frame.is-locked ~ .loader__status .loader__dot { background: var(--green); animation: none; }
.loader__frame.is-locked ~ .loader__status { color: var(--paper); }
@keyframes blink { 50% { opacity: 0; } }
.loader__meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(var(--gutter) + 14px); display: flex; justify-content: space-between; color: var(--fg-muted); padding-inline: 40px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--nav-h); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; transition: transform .6s var(--ease-io); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 90%, transparent), transparent); opacity: 0; transition: opacity .5s; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { justify-self: start; font-family: var(--font-display); font-variation-settings: "wdth" 112, "wght" 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.nav__links { display: flex; gap: 30px; justify-self: center; font-size: 13px; font-weight: 500; }
.nav__links a { position: relative; display: inline-block; line-height: 1.2; }
.nav__links a::before { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover::before { transform: scaleX(1); transform-origin: left; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.sound { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; color: var(--fg-muted); transition: color .3s; }
.sound i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.sound[aria-pressed="true"] { color: var(--fg); }
.sound[aria-pressed="true"] i { background: var(--green); border-color: var(--green); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease-io), top .5s var(--ease-io); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) { .nav { grid-template-columns: 1fr auto; --nav-h: 72px; } .nav__links, .nav .nav__cta, .nav .sound { display: none; } .nav .nav__burger { display: block; } }
body.menu-open .nav { color: var(--paper); }
body.menu-open .nav__burger span { background: var(--paper); }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 450; background: var(--ink); color: var(--paper); clip-path: inset(0 0 100% 0); visibility: hidden; overflow: auto; }
.menu.is-open { visibility: visible; }
.menu__inner { min-height: 100%; padding: calc(var(--nav-h) + 24px) var(--gutter) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: clamp(2.4rem, 10vw, 5.6rem); overflow: hidden; }
.menu__links a .mono { color: var(--fg-muted); }
.menu__word { display: inline-block; }
.menu__meta { display: grid; gap: 18px; color: var(--fg-muted); }
.menu__meta > div { display: grid; gap: 4px; }
.menu__meta a { color: var(--paper); }
.menu__label { font-size: 10px; opacity: .6; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "eyebrow count" "title title"; gap: 20px; padding-block: clamp(90px, 13vw, 190px) clamp(40px, 6vw, 80px); align-items: end; }
.section-head .eyebrow { grid-area: eyebrow; }
.section-head .h2 { grid-area: title; max-width: 14ch; }
.section-head__count { grid-area: count; color: var(--fg-muted); }
.section-head--tight { padding-bottom: clamp(24px, 4vw, 48px); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--paper); }
.hero__stage { position: absolute; inset: 0; will-change: transform; }
.hero__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.hero__frame.is-active { opacity: 1; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@media (max-width: 900px) { .hero__frame img { object-position: 50% 42%; } }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.hero.has-gl .hero__frame { opacity: 0 !important; }
.hero.has-gl .hero__gl { opacity: 1; }
.hero__shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; transition: opacity .9s var(--ease-out);
  background: linear-gradient(to top, rgba(10,10,11,.82) 0%, rgba(10,10,11,.42) 26%, rgba(10,10,11,0) 52%), linear-gradient(to right, rgba(10,10,11,.96) 0%, rgba(10,10,11,.8) 9%, rgba(10,10,11,.42) 24%, rgba(10,10,11,0) 46%), linear-gradient(to bottom, rgba(10,10,11,.45), rgba(10,10,11,0) 18%); }
@media (max-width: 900px) { .hero__shade { background: linear-gradient(to top, rgba(10,10,11,.92) 0%, rgba(10,10,11,.62) 36%, rgba(10,10,11,.15) 66%, rgba(10,10,11,.1) 100%) !important; } }
.hero.is-clean .hero__shade { opacity: 0; }
.hero__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 6; }
.hud { position: absolute; inset: calc(var(--nav-h) - 6px) var(--gutter) var(--gutter); pointer-events: none; z-index: 2; color: color-mix(in srgb, var(--paper) 72%, transparent); }
.hud__corners { position: absolute; inset: 0; --fc: color-mix(in srgb, var(--paper) 55%, transparent); --fl: 24px; --ft: 1.5px; transform-origin: center; }
.hud__corners::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top right / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom right / var(--ft) var(--fl) no-repeat; }
.hud__tl, .hud__tr, .hud__bl, .hud__br { position: absolute; white-space: nowrap; text-shadow: 0 1px 12px rgba(0,0,0,.6); font-size: 10px; }
.hud__tl { top: 8px; left: 36px; } .hud__tr { top: 8px; right: 36px; } .hud__bl { bottom: 8px; left: 36px; } .hud__br { bottom: 8px; right: 36px; display: flex; align-items: center; gap: 8px; }
.hud__sep { margin-inline: 8px; opacity: .5; }
.hud__rec { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; animation: blink 1.4s steps(2) infinite; }
.hero__inner { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: calc(var(--nav-h) + 40px) calc(var(--gutter) + 36px) calc(var(--gutter) + 40px); }
.hero__copy { display: grid; gap: clamp(14px, 1.8vw, 22px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.hero.is-clean .hero__copy { opacity: 0; transform: translateY(24px); pointer-events: none; }
.hero__title { display: grid; }
.hero__big { font-size: clamp(2.6rem, 6.3vw, 7rem); line-height: .9; font-variation-settings: "wdth" var(--wdth, 100), "wght" 700; letter-spacing: -0.03em; opacity: 0; text-shadow: 0 2px 22px rgba(0,0,0,.45), 0 18px 70px rgba(0,0,0,.4); }
.hero.is-ready .hero__big { opacity: 1; }
.hero__sub { font-family: var(--font-serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1; font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 2.4rem); line-height: 1.05; color: color-mix(in srgb, var(--paper) 90%, transparent); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero__sub em { color: var(--blue-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 6px 30px; margin-top: 6px; }
.hero__actions .link { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero .eyebrow { color: color-mix(in srgb, var(--paper) 70%, transparent); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero__side { display: grid; justify-items: center; gap: 10px; position: relative; z-index: 4; }
.release { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; }
.release__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--paper) 70%, transparent); transition: border-color .3s, transform .5s var(--ease-out); }
.release__dot { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .25s var(--ease-out), background-color .3s; }
.release:hover .release__ring { transform: scale(1.1); border-color: var(--paper); }
.release:active .release__dot { transform: scale(.82); }
.release[aria-pressed="true"] .release__dot { background: #ff3b3b; }
.release[aria-pressed="true"] .release__ring { border-color: #ff3b3b; }
.release__label { color: color-mix(in srgb, var(--paper) 70%, transparent); text-shadow: 0 1px 10px rgba(0,0,0,.6); font-size: 10px; }
.hero [data-fade] { opacity: 0; }
body.is-ready .hero [data-fade] { opacity: 1; }
@media (max-width: 900px) {
  .hud { inset: calc(var(--nav-h) - 8px) 18px 18px; }
  .hud__tr { display: none; }
  .hud__tl { left: 22px; top: 8px; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; }
  .hero__shade { background: linear-gradient(to top, rgba(10,10,11,.92) 0%, rgba(10,10,11,.62) 36%, rgba(10,10,11,.15) 66%, rgba(10,10,11,.1) 100%); }
  .hero__inner { grid-template-columns: 1fr auto; padding: calc(var(--nav-h) + 24px) 30px 64px; gap: 20px; }
  .hero__big { font-size: clamp(2.4rem, 11vw, 4rem); }
  .release { width: 56px; height: 56px; } .release__dot { width: 34px; height: 34px; }
}

/* SplitText masks */
.ln-mask { overflow: hidden; }
.ln { display: block; }

/* ---------- Manifest ---------- */
.manifest { padding-block: clamp(100px, 14vw, 200px); }
.manifest__fill { display: grid; gap: .02em; margin-bottom: clamp(48px, 7vw, 110px); font-size: clamp(2.5rem, 8.3vw, 9.4rem); line-height: .92; letter-spacing: -0.03em; font-variation-settings: "wdth" 118, "wght" 800; }
.fill { display: inline-block; width: fit-content; max-width: 100%; color: transparent; -webkit-background-clip: text; background-clip: text; background-size: cover; background-position: 50% var(--by, 50%); background-repeat: no-repeat; background-color: var(--ink); padding-right: .06em; }
.chip-preview { position: fixed; top: 0; left: 0; z-index: 80; width: clamp(200px, 22vw, 340px); aspect-ratio: var(--r, .667); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(.8); transition: opacity .35s, transform .5s var(--ease-out); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.chip-preview.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-2deg) scale(1); }
.chip-preview img { width: 100%; height: 100%; object-fit: cover; }
.manifest__text { font-size: clamp(1.35rem, 2.6vw, 2.7rem); line-height: 1.2; letter-spacing: -0.02em; font-variation-settings: "wdth" 100, "wght" 500; max-width: 34ch; text-wrap: pretty; }
.manifest__text .wd { display: inline-block; }
.nowrap { white-space: nowrap; }
.manifest__text em { font-weight: 300; }
.chip { display: inline-block; vertical-align: -0.14em; height: .9em; width: 1.9em; margin: 0 .2em; border-radius: 999px; overflow: hidden; background: var(--surface); transition: transform .5s var(--ease-out), border-radius .4s; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.chip--wide { width: 2.4em; }
.chip img { width: 100%; height: 100%; object-fit: cover; }
.chip:hover, .chip.is-open { transform: scale(1.14) rotate(-2deg); border-radius: .22em; }
.manifest__specs { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: 24px; color: var(--fg); text-transform: none; letter-spacing: .02em; }
.manifest__specs li { display: inline-flex; gap: 12px; align-items: baseline; }
.manifest__specs li > span { color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; }
.manifest__specs a { border-bottom: 1px solid var(--accent); }

/* ---------- Disziplinen: das Gesamtpaket (Partikel-Bühne, gepinnt) ---------- */
.pack { --pack-bg: #0b0b0d; }
.pack__pin { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--pack-bg); color: var(--paper); --fg: var(--paper); --accent: var(--blue-light); --fg-muted: color-mix(in srgb, var(--paper) 58%, transparent); --fg-faint: color-mix(in srgb, var(--paper) 34%, transparent); --line: color-mix(in srgb, var(--paper) 16%, transparent); }
.pack__pin.is-blue { --accent: var(--paper); }
.pack__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pack__grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0, 46%) 1fr; grid-template-rows: minmax(0, 1fr) auto; align-items: center; padding-top: var(--nav-h); padding-bottom: 26px; }
.pack__copy { display: grid; grid-column: 1; grid-row: 1; min-width: 0; }
.pack__step { grid-area: 1 / 1; display: grid; gap: 18px; align-content: center; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .5s, transform .7s var(--ease-out), visibility 0s .5s; pointer-events: none; }
.pack__step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s .12s, transform .9s .12s var(--ease-out), visibility 0s; pointer-events: auto; }
.pack__title { font-size: clamp(2.2rem, 4.7vw, 4.9rem); max-width: 12ch; }
.pack__step[data-step="0"] .pack__title { font-size: clamp(2rem, 3.9vw, 4.1rem); max-width: 17ch; }
.pack__text { font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.5; color: color-mix(in srgb, var(--paper) 84%, transparent); max-width: 44ch; text-wrap: pretty; }
.pack__text a { border-bottom: 1px solid var(--accent); }
.pack__hint { color: var(--fg-muted); }
.pack__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pack__tags li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-muted); font-size: 10px; }
.pack__refs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.pack__refs a { position: relative; font-size: 14px; font-weight: 500; padding: 4px 0; }
.pack__refs a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; opacity: .35; transition: opacity .3s, background-color .3s; }
.pack__refs a:hover::after { opacity: 1; background: var(--accent); }
.pack__index { grid-column: 1 / -1; grid-row: 2; position: relative; display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center; padding-top: 16px; color: var(--fg-faint); }
.pack__index span { display: inline-flex; gap: 8px; align-items: baseline; white-space: nowrap; transition: color .45s; }
.pack__index span small { font-size: 9px; letter-spacing: .08em; opacity: .7; }
.pack__index span.is-past { color: var(--fg-muted); }
.pack__index span.is-on { color: var(--paper); }
.pack__bar { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.pack__bar b { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--paper); }
.pack__score { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 22px); z-index: 3; display: grid; gap: 4px; justify-items: end; text-align: right; color: var(--paper); opacity: 0; transform: translateY(-10px); transition: opacity .5s, transform .6s var(--ease-out); pointer-events: none; }
.pack__score.is-on { opacity: 1; transform: none; }
.pack__score > span { color: color-mix(in srgb, var(--paper) 65%, transparent); font-size: 10px; }
.pack__score b { font-size: clamp(2rem, 3.2vw, 3rem); font-variation-settings: "wdth" 110, "wght" 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.pack__score small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: color-mix(in srgb, var(--paper) 65%, transparent); font-variation-settings: normal; }
.pack__score ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 8px; max-width: 260px; }
.pack__score li { padding: 5px 9px; border: 1px solid rgba(236,235,230,.3); border-radius: 999px; font-size: 9px; background: rgba(0,0,0,.14); }
@media (max-width: 900px) {
  .pack__pin { min-height: 0; }
  .pack__grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 40svh) auto auto; align-items: end; padding-bottom: 16px; }
  .pack__copy { grid-row: 2; align-self: end; padding-bottom: 14px; }
  .pack__step { gap: 12px; }
  .pack__title { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .pack__step[data-step="0"] .pack__title { font-size: clamp(1.7rem, 7.2vw, 2.3rem); max-width: none; }
  .pack__text { font-size: .95rem; max-width: none; }
  .pack__tags { display: none; }
  .pack__refs { gap: 6px 16px; }
  .pack__refs a { font-size: 13px; }
  .pack__index { grid-row: 3; justify-content: space-between; gap: 8px; font-size: 9px; }
  .pack__index span small { display: none; }
  .pack__score { display: none; }
  .pack__hint { display: none; }
}
@media (max-width: 900px) and (hover: none) { .pack__grid { padding-bottom: 82px; } }

/* ---------- Kontakt speichern (vCard) + mobile Leiste ---------- */
.btn--vcard { gap: 10px; }
.btn--vcard i { font-style: normal; font-weight: 600; }
.contact__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.savebar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 480; display: none; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 50px rgba(0,0,0,.45); transform: translateY(130%); transition: transform .6s var(--ease-out); }
.savebar.is-on { transform: translateY(0); }
.savebar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.savebar span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.savebar b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.savebar small { font-size: 11px; color: color-mix(in srgb, var(--ink) 60%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.savebar i { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--paper); display: grid; place-items: center; font-style: normal; font-weight: 600; flex: 0 0 auto; }
body.case-open .savebar, body.lb-open .savebar, body.menu-open .savebar { transform: translateY(130%); }
@media (max-width: 900px) and (hover: none) { .savebar { display: flex; } .footer { padding-bottom: 80px; } }
@media (max-width: 900px) and (hover: none) { .ref .ref__more-bar.is-open { bottom: 96px; } }

/* ---------- Referenzen: Galeriewand auf Schwarz ---------- */
.ref { padding-bottom: clamp(80px, 12vw, 180px); overflow: hidden; overflow: clip; }
.gal { display: grid; gap: clamp(72px, 14vh, 180px); padding-inline: var(--gutter); }
.gal__link { display: grid; }
.gal__ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); aspect-ratio: var(--ar, 3 / 2); }
.gal__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.gal__link:hover .gal__main img { transform: scale(1.03); }
.gal__ph.is-browser { background: #1c1c1f; }
.gal__ph.is-browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 2; background: radial-gradient(circle at 14px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 30px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 46px 50%, rgba(255,255,255,.28) 4px, transparent 5px), #1c1c1f; }
.gal__ph.is-browser img { padding-top: 28px; object-position: top; }
.gal__head { display: grid; gap: 10px; align-content: start; }
.gal__num { color: var(--accent); }
.gal__title { font-size: clamp(1.9rem, 3.8vw, 4.2rem); line-height: .94; position: relative; width: fit-content; }
.gal__title::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.gal__link:hover .gal__title::after { transform: scaleX(1); transform-origin: left; }
.gal__meta { color: var(--fg-muted); font-size: 14px; }
.gal__cta { color: var(--fg-muted); font-size: 10px; margin-top: 2px; }
.gal__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gal__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--ink) 86%, transparent); color: var(--paper); }
.gal__tag i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 8%, transparent); }
.gal__tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gal__tag b { font-weight: 500; font-size: 10px; }
@media (max-width: 999px) {
  .gal__link { gap: 14px; }
  .gal__main { width: 100%; }
  .gal__side { width: 58%; justify-self: end; margin-top: -22%; margin-right: 6%; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
  .gal__head { padding-top: 8px; gap: 8px; }
  .gal__title { font-size: clamp(1.7rem, 7vw, 2.5rem); }
}
@media (min-width: 1000px) {
  .gal { gap: clamp(120px, 22vh, 260px); }
  .gal__link { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
  /* Hochformat rechts, Begleitfoto quer links unten, Titel links oben */
  .gal--p .gal__main { grid-column: 7 / 13; grid-row: 1 / 3; }
  .gal--p .gal__head { grid-column: 1 / 6; grid-row: 1; padding-top: 8%; }
  .gal--p .gal__side { grid-column: 1 / 7; grid-row: 2; align-self: end; margin-bottom: -12%; }
  /* Querformat links, Begleitfoto hoch rechts unten (hängt heraus), Titel rechts oben */
  .gal--l .gal__main { grid-column: 1 / 9; grid-row: 1 / 3; }
  .gal--l .gal__head { grid-column: 9 / 13; grid-row: 1; padding-top: 4%; padding-left: 4%; }
  .gal--l .gal__title { font-size: clamp(1.6rem, 2.7vw, 3rem); }
  .gal--l .gal__side { grid-column: 9 / 12; grid-row: 2; align-self: start; margin-top: 3%; margin-bottom: -30%; }
  /* Zwei Hochformate: groß links, klein rechts, Titel rechts oben */
  .gal--pp .gal__main { grid-column: 2 / 7; grid-row: 1 / 3; }
  .gal--pp .gal__head { grid-column: 8 / 13; grid-row: 1; padding-top: 8%; }
  .gal--pp .gal__side { grid-column: 9 / 12; grid-row: 2; align-self: end; margin-bottom: -10%; }
  .gal__side { z-index: 2; }
  .gal--l .gal__side { margin-top: clamp(150px, 15vw, 230px); }
  /* Badges schweben unter dem Titelblock, jedes mit eigener Tiefe und leichtem Wippen */
  .gal__tags { position: relative; z-index: 3; height: 0; margin-top: 22px; display: block; overflow: visible; }
  .gal__tag { position: absolute; left: 0; top: 0; padding: 6px 14px 6px 6px; white-space: nowrap; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
  .gal__tag:nth-child(2) { left: 150px; top: 44px; }
  .gal__tag:nth-child(3) { left: 34px; top: 98px; }
  .gal__tag:nth-child(4) { left: 184px; top: 142px; }
  .gal__tag i { width: 32px; height: 32px; }
  .gal__tag svg { width: 17px; height: 17px; }
  .gal__tag b { font-size: 11px; }
  .gal__tag > * { animation: tagbob 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
  @keyframes tagbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
}

/* ---------- Filmstreifen ---------- */
.strip { padding-bottom: clamp(60px, 10vw, 160px); }
.strip__rows { display: grid; gap: 14px; }
.strip__rows[hidden] { display: none; }
.strip__row { position: relative; overflow: hidden; padding-block: 14px; }
.strip__row::before, .strip__row::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; pointer-events: none; z-index: 2; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.3) 1.6px, transparent 2.2px) var(--dx, 0px) 0 / 18px 8px repeat-x; }
.strip__row::before { top: 2px; } .strip__row::after { bottom: 2px; }
.strip__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.strip__item { position: relative; flex: 0 0 auto; height: clamp(160px, 30svh, 300px); width: calc(clamp(160px, 30svh, 300px) * var(--r, 1)); overflow: hidden; border-radius: 2px; background: var(--ink-2); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; filter: brightness(.82); }
.strip__item:hover img { transform: scale(1.05); filter: brightness(1); }
.strip__item span { position: absolute; left: 8px; bottom: 6px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; color: rgba(255,255,255,.8); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
@media (hover: hover) and (pointer: fine) { .strip__item { cursor: none; } }
/* Referenzen: Akkordeon (Panel unter dem Zeiger öffnet auf 52 %, Nachbarn kippen weg) */
.acc { --gap: 10px; --r: 16px; --t: .6s; --glide: cubic-bezier(.16, 1, .3, 1); --g: 5.42; --ow: 600px; --oh: 320px; --nx: 0;
  display: flex; gap: var(--gap); height: clamp(460px, 72svh, 720px); margin: clamp(28px, 4vw, 56px) var(--gutter) 0; perspective: 1600px; }
.acc__p { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #141416; color: #fff; text-align: left;
  transform: rotateY(var(--tilt, 0deg)); transition: flex-grow var(--t) var(--glide), transform var(--t) var(--glide); -webkit-tap-highlight-color: transparent; isolation: isolate; }
.acc__p.is-open { flex-grow: var(--g); }
.acc__p:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.acc__media { position: absolute; inset: 0; }
.acc__media img { position: absolute; top: 0; left: 50%; height: 100%; width: calc(var(--ow) * 1.12); max-width: none; object-fit: cover;
  transform: translateX(calc(-50% + var(--nx) * -5.4%)); filter: grayscale(1); transition: transform var(--t) var(--glide), filter var(--t) var(--glide); }
.acc__p.is-open .acc__media img { filter: none; }
.acc__media::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .35; transition: opacity var(--t) var(--glide); }
.acc__p.is-open .acc__media::after { opacity: 0; }
.acc__p::after { content: ""; position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity var(--t) var(--glide); pointer-events: none; }
.acc__p.is-open::after { opacity: 1; }
.acc__num { position: absolute; z-index: 1; top: 16px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.7); transition: left var(--t) var(--glide), transform var(--t) var(--glide); }
.acc__p.is-open .acc__num { left: 22px; transform: none; }
.acc__cap { position: absolute; z-index: 1; left: 22px; width: calc(var(--ow) - 44px); bottom: 22px; display: grid; gap: 8px; padding-left: 14px; pointer-events: none; }
.acc__cap::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform var(--t) var(--glide); }
.acc__p.is-open .acc__cap::before { transform: scaleY(1); }
.acc__title { display: block; overflow: hidden; font-size: clamp(1.25rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.acc__w { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.acc__p.is-open .acc__w { transform: none; opacity: 1; transition: transform var(--t) var(--glide) calc(.12s + var(--i) * .06s), opacity var(--t) var(--glide) calc(.12s + var(--i) * .06s); }
.acc__meta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.acc__p.is-open .acc__meta { opacity: 1; transform: none; transition: opacity var(--t) var(--glide) .3s, transform var(--t) var(--glide) .3s; }
.ref__more-bar { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); pointer-events: none; }
.ref__more-bar .btn { pointer-events: auto; }
/* Offen: der Button bleibt beim Durchscrollen der Projekte unten am Bildschirm */
.ref__more-bar.is-open { position: sticky; z-index: 20; bottom: clamp(16px, 3vh, 32px); }
.ref__more-bar.is-open .btn { box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.ref__more-btn i { font-style: normal; display: inline-block; transition: transform .5s var(--ease-out); }
.ref__more-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.ref__more { padding-top: clamp(72px, 12vh, 160px); padding-bottom: clamp(24px, 4vh, 48px); }
.ref__more[hidden] { display: none; }
@media (max-width: 700px) {
  .acc { flex-direction: column; height: clamp(500px, 80svh, 640px); perspective: 1200px; }
  .acc__p { transform: rotateX(var(--tilt, 0deg)); }
  .acc__media img { top: 50%; left: 0; width: 100%; height: calc(var(--oh) * 1.12); transform: translateY(-50%); }
  .acc__num { top: 50%; left: 16px; transform: translateY(-50%); }
  .acc__p.is-open .acc__num { top: 16px; left: 18px; transform: none; }
  .acc__cap { left: 18px; width: calc(100% - 36px); bottom: 18px; }
  .acc__title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .acc *, .acc__p { transition: none !important; } }

/* Filmtunnel */
.tunnel { position: relative; height: clamp(440px, 84svh, 920px); margin-top: clamp(8px, 2vw, 24px); overflow: hidden; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; }
.tunnel[data-dragging] { cursor: grabbing; }
.tunnel:focus-visible::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--accent); pointer-events: none; }
.tunnel__gl { position: absolute; inset: 0; pointer-events: none; }
.tunnel__canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.tunnel[data-ready] .tunnel__canvas { opacity: 1; }
.tunnel__w { position: absolute; z-index: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); pointer-events: none; white-space: nowrap; max-width: calc(50% - 40px); overflow: hidden; text-overflow: ellipsis; }
.tunnel__w b { font-weight: 500; color: #fff; }
.tunnel__tl, .tunnel__bl { left: var(--gutter); }
.tunnel__tr, .tunnel__br { right: var(--gutter); text-align: right; }
.tunnel__tl, .tunnel__tr { top: clamp(14px, 3svh, 32px); }
.tunnel__bl, .tunnel__br { bottom: clamp(14px, 3svh, 32px); }
.tunnel__bl { letter-spacing: .08em; text-transform: none; }
.tunnel__rec { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: tnRec 1.6s steps(2) infinite; }
@keyframes tnRec { 50% { opacity: .2; } }
.tunnel__hint-t { display: none; }
@media (hover: none) { .tunnel__hint-f { display: none; } .tunnel__hint-t { display: inline; } }
.tunnel__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.strip.is-fallback .tunnel { display: none; }
@media (hover: hover) and (pointer: fine) { .tunnel { cursor: none; } }
@media (max-width: 700px) {
  .tunnel { height: clamp(320px, 50svh, 460px); }
  .tunnel__w { font-size: 10px; }
  .tunnel__br { max-width: none; }
  .tunnel__bl { display: none; }
}

/* ---------- Studio ---------- */
.studio { padding-block: clamp(100px, 14vw, 200px) clamp(80px, 10vw, 140px); }
.studio__grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.studio__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); max-width: 560px; }
.studio__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: center 30%; }
.studio__tag { position: absolute; left: 20px; bottom: 20px; z-index: 3; background: rgba(10,10,11,.72); color: var(--paper); padding: 8px 12px; }
.studio__text { display: grid; gap: 32px; align-content: start; }
.studio__copy { display: grid; gap: 18px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: color-mix(in srgb, var(--fg) 82%, transparent); max-width: 54ch; }
.studio__list { display: grid; border-top: 1px solid var(--line); max-width: 640px; }
.studio__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.studio__list li .mono { color: var(--fg-muted); padding-top: 3px; }
.studio__status { display: inline-flex; align-items: center; gap: 10px; }
.studio__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(39,209,127,.55); } 70% { box-shadow: 0 0 0 8px rgba(39,209,127,0); } 100% { box-shadow: 0 0 0 0 rgba(39,209,127,0); } }
@media (min-width: 1000px) { .studio__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); align-items: start; } .studio__media { position: sticky; top: calc(var(--nav-h) + 24px); } }
.clients { padding: clamp(60px, 10vw, 140px) 0 0; overflow: hidden; }
.clients__track { display: flex; gap: 48px; width: max-content; animation: marquee 44s linear infinite; font-size: clamp(2rem, 5.5vw, 6rem); line-height: 1.1; white-space: nowrap; font-variation-settings: "wdth" 118, "wght" 600; }
.clients__track i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); align-self: center; flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Contact (+ image trail) ---------- */
.contact { padding-block: clamp(120px, 18vw, 260px); overflow: hidden; }
.contact__inner { position: relative; z-index: 2; pointer-events: none; }
.contact__inner a, .contact__inner button { pointer-events: auto; }
.trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trail img { position: absolute; top: 0; left: 0; width: clamp(140px, 16vw, 240px); height: auto; aspect-ratio: var(--r, .667); object-fit: cover; opacity: 0; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.35); will-change: transform, opacity; }
.contact__title { font-size: clamp(2.8rem, 9vw, 11rem); margin-top: 28px; max-width: 10ch; }
.contact__title em { font-size: 1.02em; }
.contact__row { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: clamp(40px, 6vw, 96px); align-items: end; }
.contact__lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 40ch; line-height: 1.45; }
.contact__actions { display: grid; gap: 14px; justify-items: start; }
.contact__copy.is-copied span::after { content: " ✓"; }
.contact__hint { margin-top: clamp(40px, 6vw, 80px); color: color-mix(in srgb, var(--paper) 55%, transparent); display: none; }
@media (hover: hover) and (pointer: fine) { .contact__hint { display: block; } }
@media (min-width: 900px) { .contact__row { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 120px); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__brand { display: grid; gap: 12px; }
.footer__logo { font-family: var(--font-display); font-variation-settings: "wdth" 112, "wght" 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.footer__brand p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.footer__col a { width: fit-content; position: relative; }
.footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__label { color: var(--fg-muted); margin-bottom: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-block: 20px 28px; color: var(--fg-muted); }
.footer__top { color: var(--fg); display: inline-block; }
.footer__big { font-size: clamp(2.4rem, 9.6vw, 13.5rem); line-height: .8; white-space: nowrap; color: color-mix(in srgb, var(--fg) 10%, transparent); text-align: center; pointer-events: none; user-select: none; padding-top: 10px; transform: translateY(16%); }
.footer__big span { font-variation-settings: "wdth" var(--wdth, 100), "wght" 800; display: inline-block; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }

/* ---------- Case overlay ---------- */
.case { position: fixed; inset: 0; z-index: 600; background: var(--ink); color: var(--paper); visibility: hidden; clip-path: inset(100% 0 0 0); }
.case.is-open { visibility: visible; }
.case__hud { position: absolute; inset: 18px; pointer-events: none; z-index: 1; --fc: color-mix(in srgb, var(--paper) 35%, transparent); --fl: 22px; --ft: 1.5px; }
.case__hud::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top right / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom right / var(--ft) var(--fl) no-repeat; }
.case__close { position: fixed; top: 22px; right: var(--gutter); width: 56px; height: 56px; border-radius: 50%; background: var(--paper); z-index: 3; display: grid; place-items: center; }
.case__close span { position: absolute; width: 20px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.case__close span:last-child { transform: rotate(-45deg); }
.case__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; }
.case__inner { padding-block: calc(var(--nav-h) + 24px) 80px; display: grid; gap: clamp(40px, 6vw, 96px); max-width: 1520px; margin-inline: auto; }
.case__head { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
.case__kicker { color: var(--fg-muted); }
.case__title { font-size: clamp(2.6rem, 7.6vw, 8rem); max-width: 12ch; }
.case__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.case__meta dt { color: var(--fg-muted); margin-bottom: 6px; }
.case__meta dd { text-transform: none; letter-spacing: 0; font-family: var(--font-display); font-size: 15px; }
.case__desc { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.45; max-width: 58ch; color: color-mix(in srgb, var(--paper) 85%, transparent); }
.case__desc a { border-bottom: 1px solid var(--accent); }
.case__link { width: fit-content; }
.case__link.is-hidden { display: none; }
.case__gallery { display: grid; gap: clamp(36px, 6vh, 90px); }
/* Galeriewand in der Projektseite */
.wall__block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.wall__block.is-wait { opacity: 0; }
.wall__ph { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); --fc: rgba(255,255,255,.6); margin: 0; opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.wall__block.is-in .wall__ph { opacity: 1; transform: none; }
.wall__block.is-in .wall__ph:nth-child(2) { transition-delay: .12s; }
.wall__ph img { width: 100%; height: auto; display: block; aspect-ratio: var(--ar, 3 / 2); object-fit: cover; transition: transform 1.2s var(--ease-out); }
.wall__ph.is-photo:hover img { transform: scale(1.03); }
.wall__ph.is-browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 2; background: radial-gradient(circle at 14px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 30px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 46px 50%, rgba(255,255,255,.28) 4px, transparent 5px), #1c1c1f; }
.wall__ph.is-browser img { aspect-ratio: 16 / 10; object-position: top; padding-top: 28px; background: #1c1c1f; }
.wall__flight { overflow: visible; background: none; }
.wall__flight .flight { border-radius: var(--radius); }
.wall--wide.wall--l .wall__ph { grid-column: 1 / 10; max-width: calc(78svh * var(--r, 1.5)); }
.wall--wide.wall--r .wall__ph { grid-column: 4 / 13; max-width: calc(78svh * var(--r, 1.5)); justify-self: end; }
.wall--solo.wall--l .wall__ph { grid-column: 2 / 7; max-width: calc(82svh * var(--r, .667)); }
.wall--solo.wall--r .wall__ph { grid-column: 7 / 12; max-width: calc(82svh * var(--r, .667)); justify-self: end; }
.wall--pair .wall__ph:first-child { max-width: calc(84svh * var(--r, .667)); }
.wall--pair .wall__ph:last-child { max-width: calc(60svh * var(--r, .667)); margin-top: 22%; }
.wall--pair.wall--l .wall__ph:first-child { grid-column: 1 / 7; grid-row: 1; }
.wall--pair.wall--l .wall__ph:last-child { grid-column: 8 / 12; grid-row: 1; }
.wall--pair.wall--r .wall__ph:first-child { grid-column: 7 / 13; grid-row: 1; justify-self: end; }
.wall--pair.wall--r .wall__ph:last-child { grid-column: 2 / 6; grid-row: 1; justify-self: end; }
@media (max-width: 700px) {
  .case__gallery { gap: 28px; }
  .wall__block { column-gap: 10px; }
  .wall--wide .wall__ph { grid-column: 1 / 13 !important; max-width: none !important; }
  .wall--solo .wall__ph { grid-column: 2 / 11 !important; max-width: none !important; }
  .wall--solo.wall--r .wall__ph { grid-column: 3 / 12 !important; }
  .wall--pair .wall__ph { max-width: none !important; }
  .wall--pair.wall--l .wall__ph:first-child { grid-column: 1 / 8 !important; }
  .wall--pair.wall--l .wall__ph:last-child { grid-column: 8 / 13 !important; margin-top: 34% !important; }
  .wall--pair.wall--r .wall__ph:first-child { grid-column: 6 / 13 !important; }
  .wall--pair.wall--r .wall__ph:last-child { grid-column: 1 / 6 !important; margin-top: 34% !important; }
  .wall--pair .wall__ph figcaption, .wall--solo .wall__ph figcaption { display: none; }
}
.case__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); --fc: rgba(255,255,255,.6); }
.case__media video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.case__media figcaption, .case__row figcaption, .wall__ph figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 3; color: var(--paper); background: rgba(10,10,11,.66); padding: 5px 8px; font-size: 10px; max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case__row figcaption:empty, .case__media figcaption:empty, .wall__ph figcaption:empty { display: none; }
.case__row { display: grid; grid-template-columns: repeat(var(--cols, 1), 1fr); gap: clamp(12px, 1.6vw, 24px); }
.case__row[data-cols="1"] figure { width: min(100%, calc(74svh * var(--rr, 1.5))); margin-inline: auto; }
.case__row figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); --fc: rgba(255,255,255,.6); }
.case__row figure img { width: 100%; height: auto; display: block; aspect-ratio: var(--ar, 3 / 2); object-fit: cover; }
.case__row figure.is-browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px; z-index: 2; background: radial-gradient(circle at 14px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 30px 50%, rgba(255,255,255,.28) 4px, transparent 5px), radial-gradient(circle at 46px 50%, rgba(255,255,255,.28) 4px, transparent 5px), #1c1c1f; }
.case__row figure.is-browser img { aspect-ratio: 16 / 10; object-position: top; padding-top: 28px; background: #1c1c1f; }
@media (max-width: 700px) { .case__row[data-cols="3"], .case__row[data-cols="4"] { grid-template-columns: repeat(2, 1fr); } .case__row:not([data-cols="1"]) figcaption { display: none; } }
.case__devices { position: relative; display: grid; grid-template-columns: 1fr auto; gap: clamp(16px, 2.4vw, 36px); height: clamp(380px, 46vw, 660px); align-items: stretch; }
.device { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #1c1c1f; border: 1px solid color-mix(in srgb, var(--paper) 14%, transparent); }
.device--desktop { border-radius: 10px; }
.device__bar { flex: 0 0 auto; height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.device__bar span { margin-left: 12px; flex: 1; height: 20px; line-height: 20px; padding: 0 10px; border-radius: 6px; background: rgba(255,255,255,.07); font-family: var(--font-mono); font-size: 10px; letter-spacing: .02em; color: var(--fg-muted); text-transform: none; }
.device__screen { position: relative; flex: 1; overflow: hidden; background: #fff; }
.device__screen img { width: 100%; max-width: none; height: auto; display: block; will-change: transform; }
.case__devices::after { content: "Hover zum Anhalten"; position: absolute; right: 0; top: -22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-faint); }
@media (hover: none) { .case__devices::after { display: none; } }
.device--phone { height: 100%; aspect-ratio: 9 / 19.5; border-radius: 30px; border: 7px solid #1c1c1f; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.device--phone .device__screen { border-radius: 23px; }
.device--phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 15px; background: #1c1c1f; border-radius: 10px; z-index: 3; }
@media (max-width: 899px) {
  .case__devices { grid-template-columns: 1fr; height: auto; gap: 20px; }
  .device--desktop { aspect-ratio: 16 / 10; }
  .device--phone { height: auto; width: min(58%, 250px); justify-self: center; }
}
.flight { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); --fc: rgba(255,255,255,.7); }
.flight img { position: absolute; left: -10%; top: -10%; width: 120%; max-width: none; height: 120%; object-fit: cover; will-change: transform; }
.flight__hud { position: absolute; inset: 18px; pointer-events: none; z-index: 2; color: color-mix(in srgb, var(--paper) 80%, transparent); font-size: 10px; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.flight__hud > span { position: absolute; white-space: nowrap; font-variant-numeric: tabular-nums; }
.flight__tl { top: 10px; left: 30px; } .flight__tr { top: 10px; right: 30px; } .flight__bl { bottom: 10px; left: 30px; } .flight__br { bottom: 10px; right: 30px; }
.flight__cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent); border-radius: 50%; }
.flight__cross::before, .flight__cross::after { content: ""; position: absolute; background: color-mix(in srgb, var(--paper) 55%, transparent); }
.flight__cross::before { left: 50%; top: -10px; bottom: -10px; width: 1px; } .flight__cross::after { top: 50%; left: -10px; right: -10px; height: 1px; }
.flight__rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; margin-right: 8px; vertical-align: middle; animation: blink 1.4s steps(2) infinite; }
@media (max-width: 700px) { .flight { aspect-ratio: 4 / 5; } .flight__tr, .flight__bl { display: none; } }
.case__foot { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 32px; }
.case__next { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(1.8rem, 4.6vw, 4.2rem); text-align: left; }
.case__next i { font-style: normal; transition: transform .5s var(--ease-out); }
.case__next:hover i { transform: translateX(10px); }
@media (min-width: 900px) {
  .case__head { grid-template-columns: 7fr 5fr; grid-template-areas: "kicker kicker" "title meta" "desc link"; }
  .case__kicker { grid-area: kicker; } .case__title { grid-area: title; } .case__meta { grid-area: meta; border-top: 0; padding-top: 0; }
  .case__desc { grid-area: desc; } .case__link { grid-area: link; justify-self: start; align-self: end; }
}
body.menu-open .af i, body.case-open .af i { border-color: #fff; }

/* EXIF strings keep their case (α7R V, mm) */
[data-hud-exif], .case__gallery figcaption, .lb__cap { text-transform: none; letter-spacing: .02em; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 700; display: grid; grid-template-rows: minmax(0, 1fr) auto; visibility: hidden; opacity: 0; color: var(--paper); }
.lb.is-open { visibility: visible; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(8,8,9,.96); }
.lb__close { position: absolute; top: 20px; right: var(--gutter); width: 52px; height: 52px; border-radius: 50%; background: var(--paper); z-index: 3; display: grid; place-items: center; }
.lb__close span { position: absolute; width: 18px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.lb__close span:last-child { transform: rotate(-45deg); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); display: grid; place-items: center; font-size: 20px; color: var(--paper); transition: border-color .3s, background-color .3s; }
.lb__nav i { font-style: normal; }
.lb__nav:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
.lb__nav--prev { left: var(--gutter); } .lb__nav--next { right: var(--gutter); }
.lb__stage { position: relative; z-index: 2; margin: 0; padding: clamp(72px, 9vh, 96px) clamp(70px, 9vw, 140px) 10px; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 14px; min-height: 0; }
.lb__pic { position: relative; max-width: 100%; max-height: 100%; display: grid; --fc: rgba(255,255,255,.7); --fi: 12px; }
.lb__img { max-width: 100%; max-height: calc(100svh - 240px); width: auto; height: auto; object-fit: contain; display: block; box-shadow: 0 30px 90px rgba(0,0,0,.6); will-change: transform, opacity; }
.lb__cap { color: var(--fg-muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lb__cap [data-lb-count] { color: var(--paper); }
.lb__strip { position: relative; z-index: 2; display: flex; gap: 8px; align-items: center; height: 92px; padding: 14px calc(50% - 26px); overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.lb__strip::-webkit-scrollbar { display: none; }
.lb__strip::before, .lb__strip::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.32) 2px, transparent 2.6px) 0 0 / 18px 10px repeat-x; }
.lb__strip::before { top: 1px; } .lb__strip::after { bottom: 1px; }
.lb__thumb { flex: 0 0 auto; position: relative; width: 52px; aspect-ratio: 3 / 4; overflow: hidden; opacity: .4; transition: opacity .3s, transform .4s var(--ease-out); }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumb::after { content: ""; position: absolute; inset: 0; border: 1.5px solid transparent; transition: border-color .3s; }
.lb__thumb.is-active { opacity: 1; transform: translateY(-3px); }
.lb__thumb.is-active::after { border-color: var(--blue-light); }
.case__row figure:not(.is-browser), .wall__ph.is-photo { cursor: zoom-in; }
@media (hover: hover) and (pointer: fine) { .case__row figure:not(.is-browser), .wall__ph.is-photo { cursor: none; } }
@media (max-width: 700px) {
  .lb__nav { display: none; }
  .lb__stage { padding: 72px 16px 8px; gap: 10px; }
  .lb__img { max-height: calc(100svh - 210px); }
  .lb__strip { height: 76px; padding: 12px calc(50% - 20px); }
  .lb__thumb { width: 40px; }
}

/* ---------- Legal pages ---------- */
body.legal { cursor: auto; }
body.legal a, body.legal button { cursor: pointer; }
.legal-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--nav-h); padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 92%, transparent), transparent); }
.legal-page { max-width: 76ch; padding: calc(var(--nav-h) + 48px) var(--gutter) 120px; }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 5.5rem); margin-bottom: 40px; }
.legal-page h2 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-variation-settings: "wdth" 108, "wght" 600; text-transform: uppercase; letter-spacing: .01em; margin: 44px 0 12px; }
.legal-page p, .legal-page li { line-height: 1.6; color: color-mix(in srgb, var(--fg) 82%, transparent); font-size: 1rem; }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 6px; }
.legal-page a { border-bottom: 1px solid var(--accent); }
.legal-page .legal-meta { display: grid; grid-template-columns: 1fr; gap: 6px 24px; margin: 0; }
.legal-page .legal-meta dt { color: var(--fg-muted); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; }
.legal-page .legal-meta dd { margin: 0; }
.legal-page .note { border-left: 2px solid var(--accent); padding-left: 14px; color: var(--fg-muted); font-size: .92rem; }
.legal-page .eyebrow { margin-bottom: 18px; display: block; }
.legal-foot { padding: 0 var(--gutter) 60px; }
.btn--bracket { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; gap: 8px; padding: 10px 0; display: inline-flex; align-items: center; }
.btn--bracket i { font-style: normal; color: var(--fg-muted); transition: transform .45s var(--ease-out), color .3s; }
.btn--bracket:hover i:first-child { transform: translateX(-6px); color: var(--accent); }
.btn--bracket:hover i:last-child { transform: translateX(6px); color: var(--accent); }

/* ---------- Page shutter (legal pages) ---------- */
@keyframes bladeTop { to { transform: translateY(-101%); } }
@keyframes bladeBottom { to { transform: translateY(101%); } }
.shutter--page i:first-child { animation: bladeTop .55s var(--ease-io) .15s both; }
.shutter--page i:last-child { animation: bladeBottom .55s var(--ease-io) .15s both; }
.shutter--page.is-closing i { animation: none; transition: transform .28s cubic-bezier(.4, 0, 1, 1); transform: translateY(0) !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .clients__track, .studio__status i, .loader__dot, .hud__rec { animation: none !important; }
  .hero [data-fade], .hero__big { opacity: 1; }
  .loader { display: none; }
  .disc__row { opacity: 1 !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- 404: nicht im Bild ---------- */
body.nf { min-height: 100svh; display: grid; }
.nf__main { position: relative; display: grid; gap: 22px; align-content: center; justify-items: start; min-height: 100svh; padding: calc(var(--nav-h) + 24px) var(--gutter) 80px; max-width: 980px; }
.nf__title { font-size: clamp(3rem, 11vw, 9.5rem); line-height: .9; }
.nf__text { max-width: 46ch; line-height: 1.55; color: color-mix(in srgb, var(--fg) 82%, transparent); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.nf__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 8px; }
.nf__blink { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; margin-right: 10px; vertical-align: middle; animation: blink 1.2s steps(2) infinite; }
.nf__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; gap: 16px; color: var(--fg-faint); }
.nf__af { position: fixed; right: clamp(24px, 10vw, 160px); top: 50%; width: clamp(140px, 22vw, 320px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.nf__corners { position: absolute; inset: 0; --fc: color-mix(in srgb, var(--paper) 60%, transparent); --fl: 26px; --ft: 1.5px; animation: nfhunt 2.6s var(--ease-io) infinite; }
.nf__corners::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) top right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) top right / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom left / var(--ft) var(--fl) no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--fl) var(--ft) no-repeat, linear-gradient(var(--fc), var(--fc)) bottom right / var(--ft) var(--fl) no-repeat; }
.nf__af > i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; transform: translate(-50%, -50%); animation: blink 1.2s steps(2) infinite; }
@keyframes nfhunt { 0%, 100% { transform: scale(1) translate(0, 0); } 35% { transform: scale(.72) translate(6%, -4%); } 70% { transform: scale(1.12) translate(-4%, 5%); } }
@media (max-width: 900px) { .nf__af { right: 16px; top: calc(var(--nav-h) + 40px); transform: none; width: 110px; opacity: .6; } .nf__hud { font-size: 9px; } }
