/* OLF, Ihr Montagepartner
   Schriften lokal (OFL): Big Shoulders Display, Hanken Grotesk, JetBrains Mono. */

@font-face { font-family: "Shoulders"; src: url("fonts/display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("fonts/body.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("fonts/mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #111315;
  --bg-2: #16191c;
  --bg-3: #1e2226;
  --line: rgba(236, 237, 233, 0.11);
  --line-2: rgba(236, 237, 233, 0.24);
  --text: #ecede9;
  --muted: #a5a9ac;
  --dim: #6c7175;
  --accent: #e8a646;
  --accent-soft: rgba(232, 166, 70, 0.28);
  --ink: #121416;
  --err: #f08a73;

  --f-display: "Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Hanken", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JBMono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* Ebenen */
  --z-float: 30;
  --z-nav: 50;
  --z-menu: 60;
  --z-grain: 90;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

.i { width: 20px; height: 20px; flex: none; }
.i--sm { width: 15px; height: 15px; }

/* Typo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font: 500 12px/1.2 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow i { width: 9px; height: 9px; background: var(--accent); flex: none; }
.h2 {
  font: 800 clamp(46px, 6.2vw, 104px)/0.88 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.004em;
}
.h2--xl { font-size: clamp(64px, 9vw, 152px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); max-width: 44ch; margin: 22px 0 0; }

/* Buttons */
.btn {
  --h: 52px;
  --mx: 0px;
  --my: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--f-body);
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.5s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .i { width: 18px; height: 18px; transition: transform 0.45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translate3d(var(--mx), calc(var(--my) + 1px), 0) scale(0.985); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary::before { background: var(--text); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(17, 19, 21, 0.35); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--ink); border-color: var(--text); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 14px; gap: 10px; }
.btn--sm .i { width: 16px; height: 16px; }
.btn--lg { --h: 60px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { cursor: progress; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40%;
  background: var(--ink);
  animation: load 0.9s var(--ease-io) infinite;
}
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
}
.nav.is-scrolled {
  background: rgba(17, 19, 21, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-101%); }
.nav__inner {
  height: var(--nav-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav__burger i {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.45s var(--ease);
}
.nav__burger i:nth-of-type(1) { top: 17px; }
.nav__burger i:nth-of-type(2) { top: 25px; }
.nav__burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--bg);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.mnav nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mnav a {
  font: 800 clamp(40px, 12vw, 64px)/1 var(--f-display);
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.mnav a.mnav__cta { color: var(--accent); }
.menu-open .nav { background: var(--bg); z-index: calc(var(--z-menu) + 1); }

/* Hero */
.hero { position: relative; height: 340vh; height: 340svh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 70% 46%, rgba(54, 61, 68, 0.55) 0%, rgba(17, 19, 21, 0) 70%),
    radial-gradient(40% 40% at 78% 80%, rgba(232, 166, 70, 0.07) 0%, rgba(17, 19, 21, 0) 70%),
    var(--bg);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 237, 233, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 237, 233, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 65% at 68% 48%, #000 10%, transparent 72%);
  mask-image: radial-gradient(60% 65% at 68% 48%, #000 10%, transparent 72%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__fallback { display: none; }
.hero.is-fallback { height: 100vh; height: 100dvh; }
.hero.is-fallback .hero__fallback { display: block; position: absolute; inset: 0; }
.hero.is-fallback .hero__fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero.is-fallback .hero__fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 10%, rgba(17, 19, 21, 0.4) 70%), linear-gradient(0deg, var(--bg), transparent 40%);
}
.hero.is-fallback .hud { display: none; }

.callout {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  will-change: transform, opacity;
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.callout i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  background: var(--bg);
  transition: background-color 0.3s;
}
.callout::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  width: 46px;
  height: 1px;
  background: var(--line-2);
  transform-origin: left;
}
.callout span { position: absolute; left: 62px; top: -0.5em; transition: color 0.3s; }
.callout.is-left::before { left: auto; right: 9px; transform-origin: right; }
.callout.is-left span { left: auto; right: 62px; }
.callout.is-active i { background: var(--accent); }
.callout.is-active span { color: var(--text); }
.callout.is-active::before { background: var(--accent); }

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  pointer-events: none;
}
.hero__intro { max-width: 720px; will-change: transform, opacity; pointer-events: auto; }
.hero__title {
  margin: 20px 0 22px;
  font: 800 clamp(46px, 13vw, 76px)/0.86 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.004em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.15s var(--ease) forwards; }
.hero__title .ln:nth-child(2) > span { animation-delay: 0.12s; }
.hl { color: var(--accent); }
.hero__sub { margin: 0; max-width: 36ch; color: var(--muted); font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__intro .eyebrow, .hero__sub, .hero__ctas { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.hero__intro .eyebrow { animation-delay: 0.05s; }
.hero__sub { animation-delay: 0.3s; }
.hero__ctas { animation-delay: 0.42s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hud {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 7vh, 72px);
  bottom: calc(clamp(24px, 6vh, 72px) + 100lvh - 100svh);
  opacity: 0;
}
.hud__titles { position: relative; height: calc(clamp(44px, 6vw, 100px) * 0.88 * 2); }
.hud__t {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  font: 800 clamp(44px, 6vw, 100px)/0.88 var(--f-display);
  text-transform: uppercase;
  clip-path: inset(0 0 100% 0);
  transform: translateY(24px);
  transition: clip-path 0.8s var(--ease), transform 0.8s var(--ease);
}
.hud__t.is-on { clip-path: inset(-0.2em 0 -0.1em 0); transform: none; }
.hud__t--done { color: var(--accent); }
.hud__bar { position: relative; margin-top: 24px; width: min(440px, 100%); height: 2px; background: var(--line-2); }
.hud__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hud__bar b { position: absolute; top: -4px; width: 1px; height: 10px; background: var(--line-2); }

@media (min-width: 900px) {
  .hero__title { font-size: clamp(72px, 7vw, 128px); }
}
@media (max-width: 899px) {
  .hero { height: 290vh; height: 290svh; }
  .hero__content { justify-content: flex-start; padding-top: calc(var(--nav-h) + 28px); }
  .hero__ctas .btn--ghost { display: none; }
  .hero__bg::after { background-size: 48px 48px; -webkit-mask-image: radial-gradient(90% 50% at 50% 70%, #000 10%, transparent 75%); mask-image: radial-gradient(90% 50% at 50% 70%, #000 10%, transparent 75%); }
}

/* Laufband */
.ticker {
  --skew: 0deg;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  padding: 22px 0;
}
.ticker__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; transform: skewX(var(--skew)); }
.ticker li {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font: 800 clamp(30px, 3.6vw, 56px)/1 var(--f-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(236, 237, 233, 0.55); }
.ticker li::after { content: ""; width: 12px; height: 12px; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Haltung */
.intro { padding: clamp(110px, 14vw, 210px) 0 clamp(90px, 10vw, 150px); }
.statement {
  margin: 0;
  max-width: 1180px;
  font: 800 clamp(36px, 4.8vw, 80px)/1.02 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.002em;
}
.statement .sw { opacity: 0.15; }
.values {
  list-style: none;
  margin: clamp(70px, 9vw, 130px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.values li { position: relative; padding: 30px 28px 0 0; }
.values li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) calc(var(--d, 0) * 0.12s + 0.15s);
}
.values li.is-in::before { transform: scaleX(1); }
.values .i { width: 30px; height: 30px; color: var(--accent); }
.values h3 { margin: 20px 0 8px; font: 800 30px/1 var(--f-display); text-transform: uppercase; }
.values p { margin: 0; color: var(--muted); font-size: 16px; max-width: 28ch; }
@media (max-width: 899px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; row-gap: 36px; }
}

/* Leistungen */
.services { position: relative; }
.services__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 8px);
  border-top: 1px solid var(--line);
}
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.services__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.services__tabs button {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.services__tabs button:hover { color: var(--text); border-color: var(--text); }
.services__tabs button.is-on { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.services__viewport { flex: 1; min-height: 0; margin-top: clamp(18px, 3.5vh, 40px); }
.services__track {
  display: flex;
  height: 100%;
  gap: clamp(28px, 4vw, 72px);
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  will-change: transform;
}
.svc {
  flex: 0 0 min(86vw, 1260px);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) 1.22fr;
  gap: clamp(28px, 4vw, 72px);
  padding-bottom: clamp(36px, 6vh, 68px);
}
.svc__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.svc__title {
  margin: 0 0 22px;
  font: 800 clamp(64px, 8.2vw, 148px)/0.84 var(--f-display);
  text-transform: uppercase;
}
.svc__lead { margin: 0 0 24px; color: var(--muted); max-width: 40ch; font-size: 18px; }
.svc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__list li {
  padding: 9px 12px;
  border: 1px solid var(--line-2);
  font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.svc__media { position: relative; min-height: 0; }
.svc__img { position: absolute; margin: 0; overflow: hidden; background: var(--bg-3); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--px, 0px), 0, 0) scale(1.16); will-change: transform; }
.svc__img--side { outline: 10px solid var(--bg); }
.svc--a .svc__img--main { inset: 0 24% 0 0; }
.svc--a .svc__img--side { right: 0; bottom: 9%; width: 36%; aspect-ratio: 3 / 4; }
.svc--b .svc__img--main { inset: 0 0 0 20%; }
.svc--b .svc__img--side { left: 0; top: 10%; width: 34%; aspect-ratio: 3 / 4; }
.svc--c .svc__img--main { inset: 0 18% 14% 0; }
.svc--c .svc__img--side { right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; }
.svc--d .svc__img--main { inset: 6% 0 0 24%; }
.svc--d .svc__img--side { left: 0; bottom: 6%; width: 36%; aspect-ratio: 3 / 4; }
.svc--e .svc__img--main { inset: 0 0 22% 0; }
.svc--e .svc__img--side { left: 8%; bottom: 0; width: 40%; aspect-ratio: 4 / 3; }
.services__progress { position: relative; height: 2px; margin-bottom: 0; flex: none; }
.services__progress::before { content: ""; position: absolute; inset: 0 var(--gutter); background: var(--line); }
.services__progress i { position: absolute; inset: 0 var(--gutter); background: var(--accent); transform-origin: left; transform: scaleX(0); }

@media (max-width: 899px) {
  .services__sticky { height: 100vh; height: 100svh; padding-top: calc(var(--nav-h) + 8px); }
  .services__head .h2 { font-size: clamp(40px, 11.5vw, 60px); }
  .services__tabs { display: none; }
  .services__viewport { margin-top: 16px; }
  .services__track { gap: 14px; padding-inline: var(--gutter); }
  .svc { flex: 0 0 84vw; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; padding-bottom: 20px; }
  .svc__media { order: 1; }
  .svc__text { order: 2; justify-content: flex-start; }
  .svc__title { font-size: clamp(44px, 13.5vw, 66px); margin-bottom: 10px; }
  .svc__lead { font-size: 15.5px; line-height: 1.5; margin-bottom: 14px; }
  .svc__list { gap: 6px; }
  .svc__list li { font-size: 10.5px; padding: 7px 9px; }
  .svc .svc__img--main { inset: 0 0 14% 0; }
  .svc .svc__img--side { top: auto; bottom: 0; right: 10px; left: auto; width: 42%; aspect-ratio: 4 / 3; outline-width: 6px; }
  .svc--b .svc__img--side, .svc--d .svc__img--side { right: auto; left: 10px; }
  .services__progress { margin-bottom: 16px; }
}
@media (max-width: 899px) and (max-height: 740px) {
  .svc__list { display: none; }
}
/* Ohne Bewegung: Leistungen einfach untereinander */
html.reduced .services { height: auto !important; }
html.reduced .services__sticky { position: relative; height: auto; overflow: visible; padding-bottom: 40px; }
html.reduced .services__tabs, html.reduced .services__progress { display: none; }
html.reduced .services__track { flex-direction: column; height: auto; gap: 72px; transform: none !important; }
html.reduced .svc { flex: none; height: auto; }
html.reduced .svc__media { height: min(100vw, 620px); }


/* Projekte */
.work { padding: clamp(110px, 13vw, 190px) 0 clamp(70px, 9vw, 130px); overflow: hidden; }
.work__head { margin-bottom: clamp(44px, 6vw, 84px); }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: start; }
.work__col { display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 36px); will-change: transform; }
.work__col:nth-child(2) { margin-top: clamp(60px, 9vw, 140px); }
.work__col:nth-child(3) { margin-top: clamp(20px, 3vw, 50px); }
.shot { margin: 0; break-inside: avoid; }
.shot button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease);
}
.shot.is-in button { clip-path: inset(0 0 0 0); }
.shot img { width: 100%; height: auto; transform: scale(1.24); transition: transform 1.6s var(--ease), filter 0.6s; filter: saturate(0.88) brightness(0.95); will-change: transform, translate; }
.shot.is-in img { transform: scale(1.13); }
.shot button:hover img { transform: scale(1.17); filter: saturate(1.05) brightness(1); }
.shot button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23121416' d='M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z'/%3E%3C/svg%3E") center / 18px no-repeat;
  transform: translate(100%, 100%);
  transition: transform 0.5s var(--ease);
}
.shot button:hover::after, .shot button:focus-visible::after { transform: none; }
.shot figcaption {
  margin-top: 12px;
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 899px) {
  .work__grid { display: block; columns: 2; column-gap: 14px; }
  .work__col { display: contents; }
  .shot { margin-bottom: 22px; }
}

/* Ablauf */
.process { padding: clamp(110px, 13vw, 190px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 130px); }
.process__aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; }
.steps__line { position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); }
.steps__line i { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(64px, 9vw, 120px); }
.step:last-child { padding-bottom: 0; }
.step__node {
  position: absolute;
  left: -64px;
  top: 6px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-2);
  background: var(--bg-2);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.step.is-on .step__node { border-color: var(--accent); background: var(--accent); transform: rotate(45deg) scale(0.8); }
.step h3 {
  margin: 0 0 14px;
  font: 800 clamp(46px, 5.4vw, 92px)/0.88 var(--f-display);
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.6s var(--ease);
}
.step.is-on h3 { color: var(--text); }
.step p { margin: 0; color: var(--muted); max-width: 40ch; font-size: 18px; }
@media (max-width: 899px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .steps { padding-left: 52px; }
  .step__node { left: -52px; }
}

/* Für wen */
.clients { position: relative; padding: clamp(110px, 13vw, 190px) 0; }
.clients__list { list-style: none; margin: clamp(44px, 6vw, 84px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.client {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.client::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.client__name {
  font: 800 clamp(34px, 4.4vw, 76px)/0.92 var(--f-display);
  text-transform: uppercase;
  transition: transform 0.7s var(--ease), color 0.4s;
}
.client__desc { color: var(--muted); font-size: 17px; max-width: 34ch; }
.client__thumb { display: none; }
.clients__float {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-float);
  width: 250px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  will-change: transform, opacity;
}
.clients__float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 0.6s var(--ease); }
.clients__float.is-on { opacity: 1; }
.clients__float.is-on img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .client:hover .client__name { transform: translateX(18px); color: var(--accent); }
  .client:hover::before { transform: scaleX(1); }
}
@media (max-width: 899px), (hover: none) {
  .clients__float { display: none; }
  .client { grid-template-columns: minmax(0, 1fr) 76px; gap: 6px 18px; }
  .client__name { grid-column: 1; }
  .client__desc { grid-column: 1; font-size: 16px; }
  .client__thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 76px; height: 96px; object-fit: cover; }
}

/* Kontakt */
.contact { padding: clamp(110px, 13vw, 190px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__aside .h2 { margin-top: 22px; }
.contact__insta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 14px 18px;
  border: 1px solid var(--line-2);
  text-decoration: none;
  font: 500 13px/1 var(--f-mono);
  letter-spacing: 0.03em;
  transition: border-color 0.3s, color 0.3s;
}
.contact__insta:hover { border-color: var(--accent); color: var(--accent); }
.contact__formwrap { position: relative; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .chips legend { font-size: 14px; font-weight: 600; }
.field label em, .file em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.4 var(--f-body);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field textarea:hover { border-color: rgba(236, 237, 233, 0.4); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field__err { margin: 0; color: var(--err); font-size: 13.5px; }
.field__err:empty { display: none; }
.field__help { margin: 0; color: var(--muted); font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chips label:hover span { border-color: var(--text); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }
.field--file { position: relative; }
.file {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px dashed var(--line-2);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.3s, background-color 0.3s;
}
.file:hover { border-color: var(--accent); background: rgba(232, 166, 70, 0.05); }
.file .i { color: var(--accent); }
#f-file { position: absolute; opacity: 0; width: 1px; height: 1px; }
#f-file:focus-visible + * , .field--file:focus-within .file { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form__foot { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 6px; }
.form__note { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 38ch; }
.sent { padding: clamp(36px, 5vw, 64px); border: 1px solid var(--line-2); background: var(--bg); animation: fadeUp 0.9s var(--ease); }
.sent:focus { outline: none; }
.sent__icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--accent); color: var(--ink); }
.sent__icon .i { width: 28px; height: 28px; }
.sent h3 { margin: 28px 0 10px; font: 800 clamp(40px, 4.4vw, 64px)/0.92 var(--f-display); text-transform: uppercase; }
.sent p { margin: 0; color: var(--muted); }
@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* Footer */
.footer { padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin: 20px 0 0; color: var(--muted); max-width: 38ch; }
.footer__nav { display: grid; gap: 12px; align-content: start; }
.footer__nav a { text-decoration: none; font-size: 16px; width: fit-content; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
.footer__nav a:hover { background-size: 100% 1px; }
.footer__word {
  margin-top: clamp(50px, 7vw, 100px);
  padding-inline: var(--gutter);
  font: 800 clamp(64px, 14.2vw, 250px)/0.8 var(--f-display);
  text-transform: uppercase;
  white-space: nowrap;
  color: #23272b;
  letter-spacing: -0.01em;
  text-align: center;
}
.footer__word span { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--text); }

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 11, 12, 0.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: flex; animation: fadeIn 0.45s var(--ease); }
.lightbox figure { margin: 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 88px 56px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; transition: opacity 0.35s; }
.lightbox img.is-loading { opacity: 0; }
.lightbox figcaption { margin-top: 16px; font: 500 12.5px/1.3 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-2);
  background: rgba(22, 25, 28, 0.85);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: calc(50% - 26px); }
.lightbox__next { right: 18px; top: calc(50% - 26px); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 899px) {
  .lightbox figure { padding: 76px 14px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* Einblendungen */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0 0.06em; margin: -0.16em 0 -0.06em; }
.split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.split.is-in .w > span { transform: none; }

/* Mobile Navigation */
@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; }
  .nav__logo img { height: 34px; }
  .nav__inner { gap: 10px; }
}
@media (max-width: 380px) {
  .nav__cta { padding: 0 12px; }
  .nav__cta .i { display: none; }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .hero { height: 100vh; height: 100dvh; }
  .ticker__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .split .w > span, .hero__title .ln > span { transform: none; }
  .shot button { clip-path: none; }
  .shot img { transform: none; }
  .statement .sw { opacity: 1; }
}

/* Handy: Schriftzug im Footer zweizeilig, damit nichts abgeschnitten wird */
@media (max-width: 899px) {
  .footer__word { font-size: 27.5vw; line-height: 0.84; text-align: left; white-space: normal; }
  .footer__word span { display: block; }
}
/* Touch-Geräte: kein Weichzeichner und kein Korn über der 3D-Szene (flackert auf iOS) */
@media (hover: none) {
  .nav.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(17, 19, 21, 0.96); }
  .btn--ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body::after { display: none; }
}
/* Beschriftungen der 3D-Zeichnung auf schmalen Bildschirmen */
@media (max-width: 699px) {
  .callout { font-size: 9.5px; letter-spacing: 0.06em; }
  .callout i { width: 8px; height: 8px; left: -4px; top: -4px; }
  .callout::before { left: 7px; width: 20px; }
  .callout.is-left::before { right: 7px; }
  .callout span { left: 32px; top: -0.95em; padding: 3px 5px; background: rgba(17, 19, 21, 0.72); }
  .callout.is-left span { right: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot img { translate: none !important; }
}
