/* crawall November Neu: Design-System und Komponenten */

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: "Inter";
  src: url("https://static.wixstatic.com/ufonts/3cb94c_6338ebc9bb214199b4433ec455b95cd6/file.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lovely Mess";
  src: url("https://static.wixstatic.com/ufonts/3cb94c_b36ae051cd7c4dc48b2338bdf26deb3d/file.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ---------- Tokens ---------- */
:root {
  --c-black: #000000;
  --c-white: #ffffff;
  --c-pink: #d358b0;
  --c-red: #ee3238;
  --c-blue: #33b6ff;
  --c-green: #4caf53;
  --c-orange: #f36626;
  --c-grey: #c5c5c5;
  --c-ph: #2b2b2b; /* neutrale Fläche für Medien, solange nichts geladen ist */

  --font-body: "Inter", Arial, sans-serif;
  /* Tausch der Logo-Schrift: nur hier ändern */
  --font-logo: "Lovely Mess", "Arial Black", sans-serif;

  --pad: clamp(16px, 2.2vw, 32px);
  --cpx: clamp(12px, 2vw, 32px); /* Innenabstand der Projektkarte und des Projektnamens */
  --card-in: 10%;                /* Seitenrand der Projektkarte (pressplayontape: ca. 9 bis 10 %) */
  --hd-h: 72px;
  --line: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);      /* expo.out */
  --ease-cube: cubic-bezier(0.25, 1, 0.5, 1);     /* pressplayontape */
  --ease-inout-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --sel: var(--c-pink);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Hintergrund des Dokuments = Farbe am jeweiligen Seitenrand (per JS --edge: oben erste Fläche, unten Fußzeile).
   Sichtbar nur beim Überscrollen (Gummiband am Mac/iPhone): nie ein weißer Streifen unter der Fußzeile. */
/* Überscrollen (Gummiband iPhone/Mac): unten zeigt der Dokument-Hintergrund die Farbe der Fußzeile (bzw. der letzten
   Fläche, per JS --edge-bottom), oben deckt body::before die Farbe der ersten Fläche ab (--edge-top, aus dem Build und
   per JS). So steht nie ein weißer Balken unter der Fußzeile und nie Orange über dem Hero. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background-color: var(--edge-bottom, var(--c-orange)); }
/* Scrollsperre (Menü, Lenis gestoppt, Projektwechsel): die Scrollbar verschwindet, ihre Breite (--sbw, per JS
   gemessen) wird rechts ausgeglichen, damit Inhalt und Kopfzeilen-Icon nicht springen. */
html.menu-open, html.pj-locked, html.lenis-stopped { --sbw-pad: var(--sbw, 0px); }
body { padding-right: var(--sbw-pad, 0px); }
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-black);
  font: 400 18px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}
body::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh;
  background: var(--edge-top, var(--c-black)); pointer-events: none;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--sel); color: var(--c-black); }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--pad); top: -200px; z-index: 200;
  background: var(--c-white); color: var(--c-black); padding: 12px 16px; font-weight: 700;
}
.skip:focus { top: 8px; }
.nowrap { white-space: nowrap; }
.textlink { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Lenis (aus vendor/lenis-1.3.27.css übernommen) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* Farbige i-Punkte (nur auf Schwarz): echtes „i“, eingefärbt wird nur der Punkt.
   Inter 800 (2048 upm, Inhaltsbereich = typoAscender 1984 + typoDescender 494 = 2478): Stamm endet bei 1118,
   Punkt beginnt bei 1249 über der Grundlinie. Kante in der Mitte der Lücke (1183,5):
   (1984 - 1183,5) / 2478 = 32,3 % von oben. Gilt für jede Schriftgröße und Laufweite, weil der Hintergrund
   eines Inline-Elements am Inhaltsbereich der Schrift hängt und die Laufweite nur horizontal wirkt. */
.idot {
  --idot-split: 32.3%;
  background: linear-gradient(180deg, var(--dot) var(--idot-split), currentColor var(--idot-split));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Masken-Einblendung (Eingang): nur mit JS, Endzustand ohne JS sichtbar */
.mask { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.mask-in { display: block; }
html.js .intro .mask-in {
  animation: rise 0.9s var(--ease-out) both;
  animation-delay: calc(0.3s + var(--i, 0) * 0.06s);
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Würfel-Baustein (4 Flächen, rotateX in 90°-Schritten) ---------- */
.cube {
  --row: 1em;
  --h: calc(var(--row) / 2);
  display: block; position: relative;
  height: var(--row);
  perspective: 100vw;
  overflow: hidden;
}
.cube-c {
  display: block; position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--h) * -1)) rotateX(var(--rx, 0deg));
  transition: transform var(--cube-dur, 1s) var(--cube-ease, var(--ease-cube));
}
.cube-f {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  line-height: var(--row); white-space: nowrap;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.cube-front  { transform: rotateX(0deg) translateZ(var(--h)); }
.cube-top    { transform: rotateX(90.0001deg) translateZ(var(--h)); }
.cube-back   { transform: rotateX(180deg) translateZ(var(--h)); }
.cube-bottom { transform: rotateX(270.0001deg) translateZ(var(--h)); }

/* ---------- Kopfzeile ---------- */
/* Achtung: kein transform/filter/backdrop-filter/will-change/contain auf .hd und seinen Vorfahren (html, body):
   sonst bezieht sich position: fixed nicht mehr auf den Viewport. Höhe in px, nie aus vh/dvh/lvh. */
.hd {
  --hd-fg: var(--c-white);
  position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  color: var(--hd-fg);
  pointer-events: none;
}
.hd[data-theme="light"] { --hd-fg: var(--c-black); }
/* Farbe der Kopfzeile: Schwarz oder Weiß je nach Sektion darunter (data-header, per JS bei jedem Scroll-Frame).
   Keine Mischfarben (mix-blend-mode entfernt, erzeugte Pink auf Grün). */
.hd.is-open { --hd-fg: var(--c-white); }
.hd-bar {
  position: relative; z-index: 2;
  height: var(--hd-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 calc(var(--pad) + var(--sbw-pad, 0px)) 0 var(--pad);
  transition: color 0.3s ease;
}
.hd-bar > * { pointer-events: auto; }
.hd-brand { display: grid; align-items: center; min-height: 44px; }
.hd-brand > * { grid-area: 1 / 1; }
.claim-dot { color: var(--c-red); }
.hd-claim {
  font: 700 clamp(16px, 1.35vw, 22px)/1.2 var(--font-body);
  letter-spacing: -0.01em;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out);
}
.hd-mark {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 400 clamp(26px, 2.4vw, 36px)/1 var(--font-logo);
  text-transform: uppercase; text-decoration: none;
  opacity: 0; transform: translateY(60%); visibility: hidden;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.hd[data-brand="mark"] .hd-claim { opacity: 0; transform: translateY(-60%); pointer-events: none; }
/* Offenes Menü: Wortmarke links oben steht immer da und führt zur Startseite */
.hd.is-open .hd-claim { opacity: 0; transform: translateY(-60%); pointer-events: none; }
.hd.is-open .hd-mark,
.hd[data-brand="mark"] .hd-mark { opacity: 1; transform: none; visibility: visible; transition: opacity 0.45s ease 0.1s, transform 0.6s var(--ease-out) 0.1s, visibility 0s; }
/* Auf Unterseiten ohne Hero steht die Wortmarke von Anfang an, der Satz bleibt nur für Screenreader */
.hd-toggle {
  width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.ic { position: relative; width: 28px; height: 28px; display: block; transition: transform 0.6s var(--ease-cube); }
.ic span { position: absolute; left: 0; top: 50%; width: 100%; height: 3px; margin-top: -1.5px; background: currentColor; }
.ic span + span { transform: rotate(90deg); }
.hd.is-open .ic { transform: rotate(135deg); }

/* ---------- Menü (Vollbild-Overlay) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 1;
  background: var(--c-black); color: var(--c-white);
  display: flex; flex-direction: column;
  padding: calc(var(--hd-h) + 8px) var(--pad) var(--pad);
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.6s ease-in-out, visibility 0s linear 0.6s;
}
.hd.is-open .menu { transform: none; visibility: visible; pointer-events: auto; transition: transform 0.6s ease-in-out, visibility 0s; }
.menu-list { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.menu-list li {
  --menu-fs: min(10.5svh, 7.4vw, 132px);
  flex: 1; display: flex; min-height: 48px;
  position: relative;
  border-top: var(--line) solid currentColor; border-bottom: var(--line) solid currentColor;
  margin-top: calc(var(--line) * -1);
  transition: color 0.3s ease;
}
.menu-list li:first-child { margin-top: 0; }
.menu-list a {
  --k: 1; /* Stärke des Versatzes, mobil kleiner */
  flex: 1; display: flex; align-items: center; min-width: 0;
  position: relative; padding-right: 64px; /* Nummer rechts bleibt frei */
  text-decoration: none; color: inherit;
}
/* Freier Platz wird im Verhältnis --p : (1 - --p) links und rechts vom Wort verteilt: nie Überlauf */
.menu-sp { display: block; flex: 0 1 0; min-width: 0; }
.menu-sp-a { flex-grow: calc(var(--p) * var(--k)); }
.menu-sp-b { flex-grow: calc(1 - var(--p) * var(--k)); }
.menu-t { flex: none; }
.menu-t { display: block; overflow: hidden; padding: 0.06em 0 0.02em; }
.menu-t-in {
  display: block;
  font: 800 var(--menu-fs)/0.92 var(--font-body);
  letter-spacing: -0.045em; text-transform: uppercase; white-space: nowrap;
  transform: translateY(105%);
  transition: transform 0.25s ease-in;
}
.hd.is-open .menu-t-in { transform: none; transition: transform 0.8s var(--ease-out) calc(0.3s + var(--i) * 0.06s); }
.menu-num { position: absolute; right: 0; top: 10px; font: 700 15px/1 var(--font-body); }
/* Vorschau-Leiste (hovnstudios): 3 bis 4 Bilder fahren gestaffelt auf, im größeren freien Abstandhalter der Zeile.
   Feste Bildgröße, Zeilenumbruch in eine unsichtbare zweite Reihe: was nicht ganz passt, wird nie angeschnitten
   gezeigt, und weder Wort noch Nummer werden überdeckt. */
.menu-sp { position: relative; align-self: stretch; }
.menu-prev {
  display: none;
  position: absolute; inset: 10px 20px; overflow: hidden;
  flex-wrap: wrap; align-content: flex-start; gap: 10px; justify-content: flex-start;
}
.menu-sp-a .menu-prev { justify-content: flex-end; }
.menu-prev img {
  flex: none; height: 100%; width: auto; aspect-ratio: 4 / 5;
  object-fit: cover; background: #1a1a1a;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.25s ease-in;
}
.menu-sp-a .menu-prev img { clip-path: inset(0 0 0 100%); }
.menu-prev img.portrait, img.portrait { object-fit: cover; object-position: 50% 18%; }
/* Hover und Fokus: Schrift und beide Linien grün */
.menu-list li:hover, .menu-list li:has(a:focus-visible) { color: var(--c-green); z-index: 1; }
.menu-list a:focus-visible { outline: none; }
.menu-list a:focus-visible .menu-t-in { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.08em; }
/* Touch: kurzes Aufleuchten beim Tippen */
.menu-list li:active { color: var(--c-green); }
.menu-list a[aria-current="page"] .menu-num::after { content: " ●"; }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .menu-prev { display: flex; }
  .menu-list li:hover .menu-prev img, .menu-list li:has(a:focus-visible) .menu-prev img {
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.7s var(--ease-cube) calc(var(--k) * 0.08s);
  }
}
/* Rechtliches unten im Menü: auf allen Seiten erreichbar */
.menu-legal {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px;
  padding-top: 10px; font: 500 13px/1 var(--font-body); color: var(--c-white);
}
.menu-legal a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline 1px; text-underline-offset: 3px; }
.menu-legal a:focus-visible { outline-offset: 1px; }
/* Mobil: Platz für das Wix-Badge unten, damit die Links klickbar bleiben */
@media (max-width: 699px) { .menu-legal { padding-bottom: 64px; } }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Seitenübergang (Vorhang) ---------- */
/* Keine Cross-Document-View-Transition mehr: der Schnappschuss der Seite verschob mobil die fixe Kopfzeile.
   Der Vorhang (.curtain) übernimmt den Übergang allein. */
.curtain {
  position: fixed; inset: 0; z-index: 90;
  background: var(--curtain, var(--c-black));
  transform: scaleY(0); transform-origin: 50% 0;
  pointer-events: none;
}
html.curtain-in .curtain { transform: scaleY(1); }
.curtain.is-closing { transform: scaleY(1); transform-origin: 50% 0; transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1); }
.curtain.is-opening { transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1); }

/* ---------- A1 Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: var(--c-black); color: var(--c-white);
  display: grid; place-items: center;
  padding: var(--hd-h) 0;
}
.hero-word { width: 100%; }
.hero-word .mask { padding-bottom: 0; margin-bottom: 0; }
.hero-cube {
  --row: 1.12em;
  font: 400 min(calc((100vw - 2 * var(--pad)) / 4.3), 34svh, 300px) var(--font-logo);
  text-transform: uppercase;
  perspective: max(150vw, 1400px);
  --cube-dur: 1s;
  --cube-ease: var(--ease-inout-expo);
}
.hero-cube .cube-f { padding-top: 0.06em; }
/* k4: WEBSITE, CONTENT, SOCIAL sind Links (nur die sichtbare Fläche ist klickbar und fokussierbar, js/home.js).
   Hover/Fokus färbt die ganze Schrift in der Leistungsfarbe, die Drehung pausiert solange. */
.hero-cube .cube-f { pointer-events: none; }
.hero-cube .cube-f.is-active { pointer-events: auto; }
.hero-link { display: block; color: inherit; text-decoration: none; transition: color 0.25s ease; outline-offset: -0.04em; }
.hero-link:hover, .hero-link:focus-visible { color: var(--c); }
.hero-link:focus-visible { outline: 0.03em solid var(--c); }
/* k6: Intro (erster Abschnitt) unten links, rote Box „Lärm machen“ unten rechts (Klick scrollt sanft zum nächsten
   Abschnitt, mit Lenis, js/home.js). Rechteckig, Rot mit schwarzer Schrift, mindestens 44 px hoch, fokussierbar.
   Mobil untereinander: Intro über die Breite, Box rechts darunter. Beides unterhalb des Würfelworts. */
.hero { position: relative; }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: max(var(--pad), env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px var(--pad); z-index: 2;
}
.hero-intro { max-width: 44ch; font: 600 clamp(15px, 1.15vw, 19px)/1.4 var(--font-body); letter-spacing: -0.01em; color: var(--c-white); }
.hero-down {
  flex: none; display: inline-flex; align-items: center; gap: 0.6em; min-height: 48px;
  padding: 12px 18px; background: var(--c-red); color: var(--c-black); text-decoration: none; border-radius: 0;
  font: 800 clamp(16px, 1.3vw, 21px)/1 var(--font-body); letter-spacing: -0.02em;
}
.hero-down-a { display: inline-block; font-size: 1.15em; transition: transform 0.3s var(--ease-out); }
.hero-down:hover .hero-down-a, .hero-down:focus-visible .hero-down-a { transform: translateY(4px); }
.hero-down:focus-visible { outline: 3px solid var(--c-white); outline-offset: 3px; }
@media (max-width: 760px) {
  .hero-foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-intro { max-width: none; font-size: 15px; }
  .hero-down { align-self: flex-end; }
}

/* ---------- A2 Vorstellung ---------- */
.intro-a2 { background: var(--c-white); }
.intro-a2:focus { outline: none; }
.a2-fig { position: relative; color: var(--c-white); background: var(--c-ph); overflow: hidden; }
/* k5: Stapel-Effekt. Der Hero steht (sticky), „Leise Marken übersieht man.“ schiebt sich wie ein Blatt darüber.
   Der Hero wird dabei kleiner, dunkler und bekommt runde Ecken (Werte per JS aus dem Scrollfortschritt, js/home.js).
   Hintergrund dahinter Schwarz (wie der Hero), damit nirgends ein weißer Spalt entsteht.
   Reduced motion und ohne JS: kein Sticky, normale Abfolge. */
.stk { background: var(--c-black); }
.a2-rv { background: var(--c-black); }
html.stack-on .hero {
  position: sticky; top: 0; z-index: 0; overflow: hidden;
  transform: scale(var(--stk-s, 1)); transform-origin: 50% 50%; border-radius: var(--stk-r, 0px);
}
html.stack-on .hero::after { content: ""; position: absolute; inset: 0; background: var(--c-black); opacity: var(--stk-dim, 0); pointer-events: none; }
html.stack-on .intro-a2 { position: relative; z-index: 1; }
.a2-pic { display: block; }
.a2-media { display: block; aspect-ratio: 16 / 9; width: 100%; height: auto; min-height: 560px; max-height: 100svh; object-fit: cover; object-position: 50% 50%; background: var(--c-ph); }
.ph { background: var(--c-ph); display: flex; align-items: flex-end; justify-content: flex-start; }
.ph-label { font: 700 12px/1 var(--font-body); letter-spacing: 0.06em; color: #9a9a9a; position: absolute; right: var(--pad); top: calc(var(--hd-h) + 6px); z-index: 0; writing-mode: vertical-rl; }
.a2-over {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: calc(var(--hd-h) + 2vw) var(--pad) 0;
  /* Foto abgedunkelt, damit die weiße Schrift sicher lesbar ist (Kontrast im Test gemessen) */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.62) 100%);
}
.a2-h {
  /* k6: ganzer Satz statt drei Wörter, daher kleiner und breiter */
  font: 800 clamp(34px, 5.4vw, 96px)/0.95 var(--font-body);
  letter-spacing: -0.05em;
  max-width: 17ch;
}
.a2-loud {
  margin-top: clamp(16px, 3vw, 48px);
  font: 400 clamp(56px, 10.5vw, 190px)/0.9 var(--font-logo);
  text-transform: uppercase;
}
.a2-box {
  margin-top: auto; margin-left: auto;
  width: min(100%, 520px);
  background: var(--c-green); color: var(--c-black);
  padding: clamp(16px, 2vw, 28px);
}
.a2-box-t { font: 800 clamp(20px, 2vw, 30px)/1.1 var(--font-body); letter-spacing: -0.03em; }
.a2-box-s { margin-top: 14px; font: 700 16px/1 var(--font-body); }
/* A3-Text: bildschirmfüllend, sticky, Wort für Wort von Grau zu Schwarz beim Scrollen (js/home.js) */
.a2-text { position: relative; height: 260vh; }
.a2-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--hd-h) + 8px) var(--pad) var(--pad);
}
.a2-fill { width: 100%; font: 700 clamp(30px, 5.6vw, 9.5svh)/1.08 var(--font-body); letter-spacing: -0.04em; }
html.js .fw { color: var(--c-grey); transition: color 0.3s ease; }
html.js .fw.on { color: var(--c-black); }
html:not(.js) .a2-text { height: auto; }
html:not(.js) .a2-stick { position: static; }

/* ---------- A3 Leistungen (Würfelzeilen) ---------- */
/* Großzügig wie pressplayontape: zusammen etwa eine Bildschirmhöhe, jede Zeile per JS auf fast die volle Breite */
.svc-sec {
  position: relative; background: var(--c-white); overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hd-h) + 24px) 0 clamp(48px, 7vh, 96px);
}
/* k4: Farbfläche randlos von links nach rechts, Wörter alle gleich groß (js/home.js), Abstand zum Rand nur im Wort */
.svc-list { padding: 0; }
.svc-more { text-align: center; margin-top: clamp(28px, 5vh, 64px); padding: 0 var(--pad); }
.svc-more .pill { margin-top: 0; }
.svc-list li + li { margin-top: 0; }
.svc { display: block; text-decoration: none; color: var(--c-black); }
.svc:focus-visible { outline-offset: -3px; }
.svc-cube {
  --row: 0.9em;
  font: 800 min(9.4vw, 184px) var(--font-body);
  letter-spacing: -0.045em; text-transform: uppercase;
  --cube-dur: 0.55s;
}
.svc-cube .cube-front { background: var(--c-white); }
.svc-cube .cube-top, .svc-cube .cube-bottom { background: var(--c-white); }
.svc-cube .cube-back { background: var(--c); justify-content: flex-start; }
.svc-word { display: block; padding-top: 0.04em; transition: color 0.3s ease; }
.mq { display: block; overflow: hidden; width: 100%; }
.mq-in { display: flex; width: max-content; will-change: transform; }
/* Laufband ohne Trenner, nur Abstand zwischen den Wiederholungen */
.mq-item { display: inline-flex; align-items: center; padding-top: 0.02em; padding-right: 0.6em; }
/* Einblenden: Zeilen rollen von oben nach vorn */
html.js .svc-list:not(.is-in) .cube-c { --rx: -90deg; transition: none; }
.svc-list.is-in .cube-c { transition-delay: calc(var(--i) * 0.1s); }
/* Desktop: Hover/Fokus dreht auf die farbige Rückseite */
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .svc-list.is-in .svc:hover .cube-c,
  .svc-list.is-in .svc:focus-visible .cube-c { --rx: -180deg; transition-delay: 0s; }
  /* Mouseover: Schrift färbt sich in der Leistungsfarbe, während die Zeile auf die Farbfläche dreht */
  .svc:hover .svc-word, .svc:focus-visible .svc-word { color: var(--c); }
}
/* Mobil/Touch: dauerhaft Farbfläche mit Laufband, Zeilen etwas größer */
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .svc-cube { font-size: min(25vw, 150px); --row: 1.12em; }
  .svc-list { padding: 0; }
  .svc-sec { min-height: 0; padding: clamp(64px, 14vw, 120px) 0; }
  .svc-list.is-in .cube-c, html:not(.js) .svc .cube-c { --rx: -180deg; }
}
/* Mobil: Vorstellungstext „Wir sind Alex und Noel …“ steht nicht im Hero, sondern im selben Fülltext-Abschnitt
   direkt vor „Du hast eine Ansprechperson …“ (gleiche Formatierung, gleiche Animation). Desktop unverändert im Hero. */
.fill-intro { display: none; }
@media (max-width: 760px) {
  .hero-intro { display: none; }
  .fill-intro { display: block; margin-bottom: 0.6em; }
  .a2-text { height: 340vh; }
}
/* Mobil: Die grüne Box ragt über die Fotokante in den weißen Abschnitt hinein (weicherer Übergang Foto -> Weiß).
   Beim Hereinscrollen gleitet sie sanft hoch und blendet ein, gekoppelt an den Scroll (scroll-driven animation).
   Browser ohne Unterstützung und „Weniger Bewegung“ zeigen die Box sofort, ohne Animation. */
@media (max-width: 760px) {
  .a2-rv { position: relative; z-index: 2; }
  .a2-fig { overflow: visible; }
  .a2-box { --hang: clamp(40px, 12vw, 64px); margin-bottom: calc(-1 * var(--hang)); }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .a2-box { animation: a2-box-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes a2-box-in {
  from { transform: translate3d(0, 56px, 0); opacity: 0; }
  to { transform: none; opacity: 1; }
}
/* ---------- A4 Projekt-Videos ---------- */
/* Nicht mehr bildschirmfüllend: Reihe zentriert, höchstens 70 % breit und Videos höchstens 70 % der Bildschirmhöhe */
.reels-sec { background: var(--c-black); padding: clamp(64px, 10vh, 140px) var(--pad); }
.reels {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad);
  width: min(70%, calc(70svh * 27 / 16 + 2 * var(--pad))); margin: 0 auto;
}
.reel { container-type: inline-size; position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #1c1c1c; color: var(--c-white); text-decoration: none; }
.reel:focus-visible { outline-offset: -6px; }
.reel-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* k4: Nummer und Schild oben entfernt, nur noch der Projektname unten (mit Verlauf für die Lesbarkeit) */
.reel::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; pointer-events: none; }
/* k6: Projektname auf den Reels entfernt, damit auch der dunkle Verlauf unten (war nur für die Lesbarkeit des Namens) */
.reel::after { display: none; }
.reel-name {
  position: absolute; z-index: 2; left: clamp(14px, 1.6vw, 24px); right: clamp(14px, 1.6vw, 24px); bottom: clamp(14px, 1.8vw, 28px);
  font: 800 clamp(30px, 3.9vw, 68px)/0.95 var(--font-body); letter-spacing: -0.05em;
  font-size: clamp(22px, 15cqi, 68px); /* k4: Name passt immer in die Kachel („zamzamzam“ wurde angeschnitten) */
  transition: transform 0.5s var(--ease-cube);
}
@media (hover: hover) and (pointer: fine) {
  .reel:hover .reel-name, .reel:focus-visible .reel-name { transform: translateY(-6px); }
}
@media (max-width: 699px) {
  .reels-sec { padding: 0; }
  .reels {
    width: auto; gap: 0;
    display: flex; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel-li { flex: 0 0 80vw; scroll-snap-align: start; }
  .reel-li:last-child { scroll-snap-align: end; }
}

/* ---------- A5 Schluss-CTA ---------- */
/* Bildschirmfüllend: genau eine Bildschirmhöhe, Schrift per JS auf die Breite (js/home.js), Button darunter */
.cta {
  background: var(--c-black); color: var(--c-white);
  height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: calc(var(--hd-h) + 16px) var(--pad) clamp(32px, 6vh, 72px);
}
.cta-h {
  font: 400 min(14.5vw, 24svh)/0.92 var(--font-logo);
  text-transform: uppercase;
}
.cta-l { display: block; white-space: nowrap; }
.cta-l > span { display: inline-block; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45em;
  min-height: 56px; margin-top: clamp(32px, 4vw, 64px); padding: 0 1.3em;
  border: 2px solid var(--c-white); border-radius: 999px;
  font: 700 clamp(18px, 1.6vw, 24px)/1 var(--font-body);
  color: var(--c-white); text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.pill:hover, .pill:focus-visible, .pill:active { background: var(--c-white); color: var(--c-black); }

/* ---------- Fußzeile (hovnstudios): durchgehend Orange ---------- */
.ft {
  background: var(--c-orange); color: var(--c-black);
  display: grid;
  padding: 0 var(--pad);
  overflow: clip; /* Inline-Box der großen Wortmarke ragte 12 px unter die Fußzeile (weißer Rand) */
  padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone: Fußzeilenfarbe reicht bis unter den Home-Balken */
}
.ft-logo {
  order: 2;
  font: 400 min(25vw, 300px)/0.85 var(--font-logo);
  text-transform: uppercase; text-decoration: none; color: var(--c-black);
  display: block; padding: 0.12em 0 0.04em;
}
.ft-info {
  order: 1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  font: 500 15px/1.35 var(--font-body);
}
.ft-col { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 16px 12px 14px; min-width: 0; }
.ft-top { display: flex; flex-direction: column; align-items: flex-start; }
.ft-bot { display: flex; flex-direction: column; align-items: flex-start; }
/* Zwei Spalten (Kontakt mit Rechtlichem, Seiten), Haarlinie dazwischen */
.ft-col:nth-child(1) { padding-left: 0; }
.ft-col:nth-child(2) { border-left: 1px solid var(--c-black); }
.ft-h { font-weight: 800; margin-bottom: 6px; }
.ft-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color 0.25s ease; }
.ft-col a:hover, .ft-col a:focus-visible { text-decoration-color: currentColor; }
.ft-col a:focus-visible { outline-color: var(--c-black); }
@media (hover: none) { .ft-col a { text-decoration-color: currentColor; } }
@media (min-width: 700px) {
  .ft-info { min-height: 320px; }
  .ft-col + .ft-col { border-left: 1px solid var(--c-black); }
  .ft-col { padding: 16px 16px 14px; }
}
@media (min-width: 1100px) {
  .ft { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 60vh; }
  .ft-logo { order: 0; align-self: end; font-size: min(13.2vw, 300px); }
  .ft-info { min-height: 0; }
  /* Linien über die volle Höhe der Fußzeile */
  .ft-col:first-child { border-left: 1px solid var(--c-black); padding-left: 16px; }
}

/* ---------- Platzhalter-Seiten (Meilenstein 1) ---------- */
.stub { min-height: 80svh; background: var(--c-black); color: var(--c-white); padding: calc(var(--hd-h) + 10vw) var(--pad) 10vw; }
.stub-h { font: 800 clamp(48px, 11vw, 200px)/0.92 var(--font-body); letter-spacing: -0.05em; overflow-wrap: anywhere; }
.stub-p { margin-top: 24px; font: 600 clamp(18px, 1.6vw, 24px)/1.4 var(--font-body); }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  :root { --hd-h: 64px; }
  /* Mobil Hochformat-Ausschnitt (bis MEDIA.a2Mobile, Alex' Laufbild, eingetragen ist) */
  .a2-media { min-height: 560px; aspect-ratio: auto; height: 88svh; max-height: 700px; object-position: 42% 50%; }
  .menu-list li { --menu-fs: min(9svh, 9vw); }
  .menu-list li { --menu-fs: min(9svh, 8vw); }
  .menu-list a { --k: 0.55; padding-right: 44px; }
}

/* ---------- Weniger Bewegung: Endzustand sofort ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js .intro .mask-in { animation: none; }
  html.js .svc-list:not(.is-in) .cube-c { --rx: 0deg; }
  html.js .fw { color: var(--c-black); }
  .a2-text { height: auto; }
  .a2-stick { position: static; min-height: 100svh; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .curtain { display: none; }
}
@media (prefers-reduced-motion: reduce) and ((hover: none) or (pointer: coarse) or (max-width: 760px)) {
  html.js .svc-list:not(.is-in) .cube-c { --rx: -180deg; }
}

/* =====================================================================
   Meilenstein 2
   ===================================================================== */

/* ---------- Gemeinsames ---------- */
main img { height: auto; }
.fehlt {
  background: transparent; color: inherit;
  outline: 2px dashed currentColor; outline-offset: 2px;
  font-weight: 700; padding: 0 0.15em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.ph-block { position: relative; width: 100%; align-items: center; justify-content: center; background: #2b2b2b; }
.ph-block.ph-L { aspect-ratio: 3 / 2; }
.ph-block.ph-P { aspect-ratio: 4 / 5; }
.ph-t { font: 700 12px/1.4 var(--font-body); letter-spacing: 0.06em; color: #a8a8a8; text-align: center; padding: 12px; }
.pill--ink { border-color: var(--c-black); color: var(--c-black); }
.pill--ink:hover, .pill--ink:focus-visible, .pill--ink:active { background: var(--c-black); color: var(--c-white); }
.arrows li { position: relative; padding-left: 1.4em; }
.arrows li + li { margin-top: 0.35em; }
.arrows li::before { content: "→"; position: absolute; left: 0; }

/* Wort-Masken (Projektnamen) */
/* k4: Maske per clip-path statt overflow: hidden. Seitlich und zur offenen Seite großzügig erweitert, damit die
   letzte Glyphe (negative Laufweite) und Rundungen unter der Grundlinie nie beschnitten werden. Geschnitten wird nur
   an der Kante, über die das Wort einfährt (hier unten: Einfahren von unten). */
.w { display: inline-block; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; clip-path: inset(-0.35em -0.3em 0 -0.3em); }
.w-in { display: inline-block; }
html.js .intro .w-in { animation: rise 0.9s var(--ease-out) both; animation-delay: calc(0.35s + var(--i, 0) * 0.07s); }

/* Einblenden beim Sichtbarwerden (pressplayontape CTextAppear) */
html.js [data-appear] { transition: opacity 1.2s var(--ease-cube), transform 1.2s var(--ease-cube); }
html.js [data-appear]:not(.is-in) { opacity: 0; transform: translateY(40px); }

/* ---------- A. Projektübersicht ---------- */
.pl-sec { position: relative; background: var(--c-black); color: var(--c-white); padding: calc(var(--hd-h) + clamp(24px, 4vw, 64px)) var(--pad) clamp(56px, 8vw, 120px); min-height: 100svh; }
.pl-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: clamp(32px, 5vw, 80px); }
.pl-h { font: 800 clamp(18px, 1.5vw, 22px)/1.2 var(--font-body); letter-spacing: -0.01em; }
.pl-intro { font: 500 clamp(15px, 1.2vw, 18px)/1.4 var(--font-body); color: #bdbdbd; }
/* k4: Laufweite −0,04 em statt −0,05 em („rt“ in Farthofer berührte sich), Wörter fahren von oben ein: Maske oben
   an der Kante, unten und seitlich offen (keine beschnittenen o/s) */
.pl { font: 800 clamp(46px, 9.2vw, 168px)/1.18 var(--font-body); letter-spacing: -0.04em; }
.pl .w { clip-path: inset(0 -0.3em -0.35em -0.3em); }
.pl-li { display: inline; }
.pl-li::after { content: " "; }
.pl-a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
.pl-a:focus-visible { outline: 3px solid var(--c-white); outline-offset: 4px; }
.pl-li--blk .pl-a { position: relative; display: inline-block; margin-top: max(0.12em, 26px); }
.pl-blk { display: inline-block; overflow: hidden; vertical-align: top; }
.pl-blk-in { display: inline-block; background: var(--c); color: var(--c-black); padding: 0 0.14em 0.06em; }
.pl-tag {
  position: absolute; left: 0; bottom: calc(100% + 4px);
  background: var(--c); color: var(--c-black);
  font: 700 clamp(11px, 0.95vw, 15px)/1 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 8px; white-space: nowrap;
}
/* Einfahren von oben (Namen und Farbblöcke) */
@keyframes drop { from { transform: translateY(-105%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
html.js .pl .w-in, html.js .pl-blk-in { animation: drop 0.9s var(--ease-out) both; animation-delay: calc(0.3s + var(--i, 0) * 0.08s); }
html.js .pl-tag { animation: fadeIn 0.4s ease both; animation-delay: 1.1s; }
@media (hover: hover) and (pointer: fine) {
  .pl:has(.pl-a:hover) .pl-a:not(:hover) { opacity: 0.35; }
}
.pl-follow {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none;
  width: min(26vw, 380px); aspect-ratio: 4 / 5; margin: calc(min(26vw, 380px) * -0.625) 0 0 calc(min(26vw, 380px) * -0.5);
  background: #2b2b2b; overflow: hidden;
  opacity: 0; display: none;
  transition: opacity 0.18s ease;
  will-change: transform;
}
.pl-follow img { width: 100%; height: 100%; object-fit: cover; transform: scale(0.94); transition: transform 0.18s ease; }
.pl-follow.is-on { opacity: 1; }
.pl-follow.is-on img { transform: none; }
.pl-follow .ph-t { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.pl-follow.is-ph img { display: none; }
.pl-follow.is-ph .ph-t { display: flex; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) { .pl-follow { display: block; } }
.pl-cta { margin-top: clamp(32px, 5vw, 72px); }
@media (max-width: 760px) {
  .pl { line-height: 1.32; }
  .pl-tag { bottom: calc(100% + 2px); padding: 4px 6px; }
}

/* ---------- B. Projekt einzeln (k5, Aufbau wie pressplayontape) ----------
   Kopf, Meta, Brecher und Beschreibung in Projektfarbe, ab der Galerie Weiß, am Ende die Karte des nächsten Projekts
   auf Weiß. Name in Kopf und Karte gleich breit (80 % der Seite minus --cpx), also gleich groß (js/fit.js). */
.pj { color: var(--c-black); }
.pj a { color: inherit; }
.pj-head, .pj-break, .pj-desc { background: var(--pc); }
.pj-head {
  position: relative; min-height: 90vh; min-height: 90svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hd-h) + 24px) 0 clamp(120px, 12vw, 160px);
}
.pj-name { font: 800 var(--fs)/0.97 var(--font-body); letter-spacing: -0.045em; text-align: center; margin: 0 var(--card-in); padding: 0 var(--cpx); }
.pj-meta {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 20px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px;
  font: 500 15px/1.35 var(--font-body);
}
.pj-meta div { border-top: var(--line) solid var(--c-black); padding-top: 8px; }
.pj-meta dt { font-weight: 800; }
.pj-meta dd { margin: 0; }
.pj-meta a { text-decoration-thickness: 2px; text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
html.js .pj-meta div { animation: rise 0.45s cubic-bezier(0.65, 0, 0.35, 1) both; animation-delay: calc(0.8s + var(--i) * 0.1s); }
/* Brecher: ragt in den Abschnitt darunter (untere Hälfte steht auf der Fläche der Beschreibung) */
.pj-break { padding: 0 var(--pad); }
.pj-break picture { display: block; }
.pj-break img, .pj-break .ph-block { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: rgba(0, 0, 0, 0.18); }
.pj-desc {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--pad);
  padding: clamp(56px, 8vw, 140px) var(--pad) clamp(56px, 8vw, 120px);
}
/* Versetzt wie pressplayontape: Kernaussage oben links, breit (10/12 ≈ 80 %); Fließtext darunter rechts, schmal (3/12 = 25 %) */
.pj-core { grid-column: 1 / span 10; grid-row: 1; font: 800 clamp(34px, 5.4vw, 104px)/1 var(--font-body); letter-spacing: -0.045em; }
.pj-text { grid-column: 10 / span 3; grid-row: 2; margin-top: clamp(32px, 4.5vw, 88px); font: 500 16px/1.5 var(--font-body); hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 761px) and (max-width: 1099px) {
  .pj-core { grid-column: 1 / span 11; }
  .pj-text { grid-column: 8 / span 5; }
}
.pj-text p + p { margin-top: 0.9em; }
.pj-kind { font-weight: 800; }
/* Ab der Galerie weißer Hintergrund (k5) */
.pj-white { background: var(--c-white); padding-top: clamp(56px, 8vw, 120px); }
/* Galerie (k5/k6): Desktop 3 Spalten (dicht aufgefüllt), Hochformat-Zellen 2:3, Querformate über 2 Spalten (4:3).
   k6 bis 1099 px Rhythmus nach Fredmansky: zwei Spalten in Reihenfolge, Paare aus zwei Hochformaten (g-pair)
   nebeneinander, Querformate (g-full) und einzelne Hochformate (g-solo, 4:5) über die volle Breite. Klassen aus build. */
.pj-gal {
  --gg: clamp(12px, 1.6vw, 28px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: var(--gg);
  padding: 0 var(--pad) clamp(56px, 8vw, 120px);
}
.g { min-width: 0; aspect-ratio: 2 / 3; overflow: hidden; background: #ececec; }
.g-L { grid-column: span 2; aspect-ratio: 4 / 3; }
.g picture { display: block; width: 100%; height: 100%; }
.g img, .g video, .g .ph-block { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1099px) {
  .pj-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
  .g-pair { grid-column: span 1; aspect-ratio: 2 / 3; }
  .g-full { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .g-solo { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
}
.pj-credits { padding: 0 var(--pad) clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--pad); }
.pj-credits-h { grid-column: 1 / span 3; font: 800 15px/1.4 var(--font-body); border-top: var(--line) solid var(--c-black); padding-top: 8px; }
.pj-credits dl { grid-column: 4 / span 9; margin: 0; border-top: var(--line) solid var(--c-black); padding-top: 8px; font: 500 15px/1.45 var(--font-body); }
.pj-credits dl div + div { margin-top: 6px; }
.pj-credits dt { display: inline; font-weight: 800; }
.pj-credits dt::after { content: ": "; }
.pj-credits dd { display: inline; margin: 0; }

/* Karte des nächsten Projekts (k5, wie pressplayontape): farbige Karte auf Weiß, links und rechts 10 % Rand, oben
   Weißraum, unten bis zum Rand, obere Ecken leicht gerundet. Name zentriert in Titelgröße (gleich breit wie der Kopf).
   Keine Hinweistexte, keine Unterstreichung (k5: Unterstriche entstanden, weil text-decoration nur die Leerzeichen
   zwischen den inline-block-Wörtern traf). */
.pj-next { position: relative; height: 100vh; height: 100lvh; overflow: hidden; background: var(--c-white); }
.pj-next-a { position: absolute; inset: 0; display: block; text-decoration: none; color: var(--c-black); }
.pj-next-a:focus-visible { outline: none; }
.pj-next-a:focus-visible .pj-next-box { outline: 3px solid var(--c-black); outline-offset: 6px; }
.pj-next-box {
  position: absolute; left: var(--card-in); right: var(--card-in); top: 36%; bottom: 0;
  background: var(--nc); color: var(--c-black); border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  padding: 6% var(--cpx) 0; text-align: center;
}
.pj-next-n { display: block; font: 800 var(--fs)/0.97 var(--font-body); letter-spacing: -0.045em; overflow-wrap: normal; hyphens: none; text-decoration: none; }
.pj-name, .pj-name *, .pj-next-n, .pj-next-n *, .pj-roll * { text-decoration: none; }
.nw { display: inline-block; }
/* Linkzeile (nur Desktop, kein Hinweis): klein und mittig über der Karte, wie „View live experience“ im Original */
.pj-legal {
  position: absolute; left: var(--pad); right: var(--pad); bottom: calc(64% + 12px); z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; font: 600 13px/1 var(--font-body);
}
.pj-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline 1px; text-underline-offset: 3px; }

/* Bühne für den Wechsel (k5, js/projekt.js): Farb-Layer ohne Text wächst per scale (Ursprung Mitte unten, Original
   scale(1.85)), der Name rollt zeilenweise als Würfel (rotateX) und fährt in die Titelposition der neuen Seite.
   Nur transform und opacity; will-change nur während der Animation. */
.pj-stage { position: fixed; left: 0; right: var(--sbw-pad, 0px); top: 0; z-index: 95; overflow: hidden; pointer-events: none; contain: layout paint; }
.pj-fold { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 100%; }
.pj-fold.from-top { transform-origin: 50% 0; }
.pj-roll { position: absolute; left: 0; top: 0; }
.pj-roll-row { position: absolute; left: 0; overflow: hidden; }
.pj-roll-c { position: absolute; inset: 0; transform-style: preserve-3d; }
.pj-roll-f { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pj-roll-f > * { position: absolute; left: 0; margin: 0 !important; }
.pj-stage.is-turning .pj-fold, .pj-stage.is-turning .pj-roll, .pj-stage.is-turning .pj-roll-c { will-change: transform; }
.pj-stage .pj-face { position: absolute; left: 0; top: 0; background: transparent; visibility: hidden; }
/* Endbild: ohne Beschnitt der Bühne, sonst rastert Chrome die Kopfzeile darüber minimal anders (Diff 0 px nur so) */
.pj-stage.is-done { overflow: visible; contain: none; }
.pj-stage.is-done .pj-face { visibility: visible; }
.pj-stage .pj-face .pj-meta { visibility: hidden; }
/* Ankunft: neue Seite steht exakt wie die Bühne (Name an der Bühnenposition, Meta und Bild noch draußen),
   danach Phase D per Web-Animation (js/projekt.js) */
.pj-enter .pj-name, .pj-face .pj-name { transform: translate(0, var(--enter-dy, 0px)); }
.pj-enter .pj-meta div { opacity: 0; }
.pj-enter .pj-break > * { transform: translate(0, var(--enter-brk, 100vh)); }
/* Zurück (Spiegel der Karte): Karte in der Farbe des vorherigen Projekts hängt von oben herein */
.pj-pull {
  position: fixed; left: var(--card-in, 10%); right: calc(10% + var(--sbw-pad, 0px)); top: 0; z-index: 94;
  height: 64vh; height: 64svh; pointer-events: none; visibility: hidden;
  transform: translate3d(0, -100%, 0); border-radius: 0 0 16px 16px; color: var(--c-black);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--cpx, 16px) clamp(14px, 2.4vh, 28px); text-align: center;
}
.pj-pull.is-on, .pj-pull.is-anim { visibility: visible; }
.pj-pull.is-anim { transition: transform 0.35s var(--ease-out); }
.pj-pull-n { display: block; font: 800 var(--fs, 64px)/0.97 var(--font-body); letter-spacing: -0.045em; }
/* Galerie (k4 Punkt 7): Bilder blenden beim Einscrollen bzw. nach dem Laden sanft ein, Platz ist reserviert */
html.gal-fade .pj-gal .g > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
html.gal-fade .pj-gal .g.is-in > * { opacity: 1; transform: none; }
/* Angekommen (In-Page-Wechsel) und auf der Bühne: Titel, Meta und Bild ohne CSS-Einfahren */
.pj-arrived .pj-meta div, .pj-face .pj-meta div, .pj-face .w-in, .pj-arrived .w-in { animation: none !important; }
/* Fokus nach dem Wechsel landet per Skript auf der h1 (tabindex=-1): kein Rahmen, die h1 ist nicht bedienbar */
.pj-name:focus, .pj-name:focus-visible { outline: none; }
html.pj-locked, html.pj-locked body { overflow: hidden; }
@media (max-width: 760px) {
  .pj-head { min-height: 82svh; padding-bottom: 150px; }
  .pj-next-box, .pj-pull { border-radius: 12px 12px 0 0; }
  .pj-pull { border-radius: 0 0 12px 12px; }
  .pj-next-box { padding-bottom: env(safe-area-inset-bottom, 0px); }
  /* Mobil keine Linkzeile am Projektende: Rechtliches steht unten im Menü */
  .pj-legal { display: none; }
  .pj-meta { grid-template-columns: 1fr 1fr; font-size: 14px; bottom: 12px; }
  .pj-meta div:first-child { grid-column: 1 / -1; }
  .pj-break img, .pj-break .ph-block { aspect-ratio: 4 / 5; }
  .pj-core, .pj-text { grid-column: 1 / -1; }
  .pj-text { margin-top: 8px; }
  .pj-credits-h, .pj-credits dl { grid-column: 1 / -1; }
  .pj-credits dl { border-top: 0; padding-top: 4px; }
}

/* ---------- C. Leistungsseiten ---------- */
.sv-hero {
  background: var(--sc); color: var(--c-black);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--pad);
  padding: calc(var(--hd-h) + clamp(32px, 6vw, 96px)) var(--pad) clamp(56px, 7vw, 112px);
  align-items: end;
}
.sv-hero-txt { grid-column: 1 / span 7; }
.sv-kick { font: 700 15px/1 var(--font-body); margin-bottom: clamp(20px, 3vw, 40px); }
.sv-h { font: 800 clamp(48px, 8.4vw, 144px)/0.95 var(--font-body); letter-spacing: -0.05em; }
.sv-lead { margin: clamp(24px, 3vw, 48px) 0 0; font: 600 clamp(19px, 1.65vw, 26px)/1.35 var(--font-body); letter-spacing: -0.015em; max-width: 34ch; }
.sv-hero .pill { margin-top: clamp(24px, 3vw, 40px); }
.sv-hero-img { grid-column: 9 / span 4; }
.sv-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: rgba(0, 0, 0, 0.18); }
/* k5: Medienfläche rechts (Bild oder Video), Seitenverhältnis aus den Maßen (--ar), meist Hochformat.
   Höchstens 78 % der Bildhöhe, rechts bündig. Video: Poster zuerst, Quelle per JS. Freigestelltes Bild (is-cut,
   alter PC mit Transparenz) ohne Fläche dahinter und ohne Beschnitt, Kennzeichnung „AI modified“ bleibt sichtbar. */
.sv-hero-media { justify-self: end; width: min(100%, calc(78svh * var(--ar))); aspect-ratio: var(--ar); overflow: hidden; background: rgba(0, 0, 0, 0.18); }
.sv-hero-media img, .sv-hero-media video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.sv-hero-media.is-cut { background: transparent; overflow: visible; }
.sv-hero-media.is-cut img { object-fit: contain; background: transparent; }
.sv-hero-media.is-cut picture { display: block; width: 100%; height: 100%; }
/* k6: Desktop (ab 1100 px) bekommt das Medium die rechten 2/3 der Breite (Spalten 5 bis 12) statt 4 Spalten, rechts
   bündig, höchstens 78 % der Bildhöhe; der Text liegt darüber (z-index), Überschneidung im Test geprüft. */
@media (min-width: 1100px) {
  .sv-hero-txt { grid-row: 1; position: relative; z-index: 1; }
  .sv-hero-img, .sv-hero-media.is-video { grid-column: 5 / -1; grid-row: 1; }
  .sv-hero-media { width: min(100%, calc(78svh * var(--ar))); }
  .sv-hero-media.is-cut { width: min(100%, calc(70svh * var(--ar)), 46vw); }
}
/* Erklärung als ein Fließtext in großer Schrift, Desktop genau eine Bildschirmhöhe (Größe per JS, js/app.js) */
.sv-flow { background: var(--c-white); }
.sv-flow-in {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hd-h) + 16px) var(--pad) clamp(32px, 6vh, 72px);
}
.sv-flow-h { font: 700 15px/1 var(--font-body); margin-bottom: clamp(16px, 3vh, 32px); }
/* k4: etwas kleiner für den Lesefluss (JS nimmt höchstens 78 % der Größe, die die Bildschirmhöhe füllen würde) */
.sv-flow-t { font: 600 clamp(22px, 2.6vw, 4.6svh)/1.3 var(--font-body); letter-spacing: -0.02em; max-width: 62em; }
.sv-flow-t p + p { margin-top: 0.7em; }
.sv-flow-btn { margin-top: clamp(20px, 3.5vh, 40px); }
.sv-flow-btn .pill { margin-top: 0; }
@media (max-width: 760px) {
  .sv-flow-in { min-height: 0; padding-top: clamp(56px, 12vw, 96px); padding-bottom: clamp(56px, 12vw, 96px); }
  .sv-flow-t { font-size: clamp(19px, 5.2vw, 26px); }
}
.sv-rows { background: var(--c-white); padding: clamp(56px, 8vw, 128px) var(--pad); }
.sv-row {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--pad);
  border-top: var(--line) solid var(--c-black); padding: 20px 0 clamp(40px, 5vw, 72px);
}
.sv-row-h { grid-column: 1 / span 4; font: 800 clamp(26px, 2.8vw, 44px)/1.05 var(--font-body); letter-spacing: -0.035em; }
.sv-row-n { display: block; font-size: 15px; letter-spacing: 0; margin-bottom: 10px; }
.sv-row-b { grid-column: 6 / span 7; font: 500 clamp(18px, 1.45vw, 22px)/1.45 var(--font-body); }
.sv-row-b p + p { margin-top: 0.8em; }
.steps li { display: grid; grid-template-columns: 4em 1fr; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--c-black); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps-n { grid-row: span 2; font-weight: 800; font-size: 0.8em; padding-top: 0.2em; }
.steps-h { font-weight: 800; }
/* Hard Facts: Würfelzeilen [01] [02] [03] */
.facts { background: var(--c-white); padding: clamp(40px, 6vw, 96px) 0 0; }
.facts-h { padding: 0 var(--pad) 20px; font: 800 clamp(26px, 2.8vw, 44px)/1.05 var(--font-body); letter-spacing: -0.035em; }
/* Große Perspektive: Drehung wirkt fast parallel, nichts verzerrt oder abgeschnitten */
.fact-cube { --row: clamp(170px, 14.5vw, 220px); perspective: max(400vw, 4000px); --cube-dur: 0.65s; }
.fact-cube .cube-f {
  background: var(--fc); color: var(--c-black);
  white-space: normal; justify-content: flex-start; align-items: stretch;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--pad);
  padding: 18px var(--pad); line-height: 1.2;
}
/* Zahl in Lovely Mess, vertikal mittig: Zeilenhöhe 1em, Mitte der Tinte von „01“ bis „03“ liegt bei 0,332 em über der
   Grundlinie (Glyphen −48 bis 713 von 1000), Grundlinie bei 0,82 em (hhea 850/−210, halber Durchschuss −0,03 em).
   Tintenmitte also 0,488 em von oben statt 0,5 em: Ausgleich 0,012 em nach unten. „03“ hat keine 1 (Oberkante 651):
   Ausgleich −0,019 em. Wert je Zahl kommt aus dem Build (--fn-dy). */
.fact-n { grid-column: 1 / span 3; align-self: center; font: 400 clamp(72px, 10vw, 160px)/1 var(--font-logo); transform: translateY(var(--fn-dy, 0.012em)); white-space: nowrap; }
.fact-t { grid-column: 5 / span 6; align-self: end; font: 800 clamp(26px, 2.8vw, 44px)/1.05 var(--font-body); letter-spacing: -0.035em; }
.fact-d { grid-column: 5 / span 7; align-self: end; font: 600 clamp(19px, 1.7vw, 28px)/1.3 var(--font-body); }
.fact-d-m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .fact:hover .cube-c { --rx: -90deg; }
  /* „Auf den Punkt“ genau eine Bildschirmhöhe: Überschrift 25 %, drei Kästen zusammen 75 % */
  .facts { height: 100vh; height: 100svh; padding: 0; display: flex; flex-direction: column; }
  .facts-h { flex: none; height: 25%; display: flex; align-items: flex-end; padding: 0 var(--pad) 3svh; font-size: clamp(32px, 4.6vw, 9svh); }
  .facts-list { flex: none; height: 75%; }
  .fact-cube { --row: 25svh; }
  .fact-cube .cube-f { align-items: center; padding-top: 0; padding-bottom: 0; }
  .fact-n { font-size: min(17svh, 12vw); }
  .fact-t { align-self: center; font-size: clamp(28px, 3.4vw, 6.4svh); }
  .fact-d { align-self: center; font-size: clamp(20px, 2.1vw, 4svh); }
}
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .fact-cube { height: auto; perspective: none; overflow: visible; }
  .fact-cube .cube-c { position: relative; transform: none; transition: none; }
  .fact-cube .cube-front { position: relative; transform: none; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 22px var(--pad); }
  .fact-cube .cube-top, .fact-cube .cube-back, .fact-cube .cube-bottom { display: none; }
  .fact-n { grid-column: 1; grid-row: 1 / span 2; font-size: clamp(52px, 14vw, 88px); }
  .fact-t { grid-column: 2; align-self: start; font-size: clamp(22px, 5.6vw, 32px); }
  .fact-d-m { position: static; width: auto; height: auto; clip: auto; white-space: normal; overflow: visible; grid-column: 2; font: 600 17px/1.4 var(--font-body); }
}

/* k4: CTA nach „Auf den Punkt“ auf allen drei Leistungsseiten weiß */
/* k5: CTA mit mehr Raum: mindestens eine Bildschirmhöhe (mobil 80svh), Inhalt vertikal mittig */
.sv-cta {
  background: var(--c-white); color: var(--c-black); padding: clamp(96px, 14vh, 200px) var(--pad);
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(28px, 4vh, 56px);
}
.sv-cta .pill { margin: 0; }
.sv-cta-h { font: 800 clamp(40px, 7vw, 120px)/0.95 var(--font-body); letter-spacing: -0.05em; max-width: 14ch; }
@media (max-width: 760px) {
  .sv-hero-txt, .sv-hero-img { grid-column: 1 / -1; }
  .sv-hero-img { max-width: 70%; margin-left: auto; }
  .sv-hero-media { width: min(70%, calc(62svh * var(--ar))); }
  /* k6: Video (Content Creation) mobil groß: volle Breite abzüglich Rand, Höhe höchstens 80 % der Bildhöhe */
  .sv-hero-media.is-video { grid-column: 1 / -1; max-width: none; margin-left: 0; justify-self: stretch; width: 100%; aspect-ratio: auto; height: min(calc((100vw - 2 * var(--pad)) / var(--ar)), 80svh); }
  .sv-hero-media.is-cut { width: min(100%, calc(62svh * var(--ar))); max-width: none; }
  .sv-cta { min-height: 80vh; min-height: 80svh; }
  .sv-row-h, .sv-row-b { grid-column: 1 / -1; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .sv-hero-txt { grid-column: 1 / span 8; }
  .sv-hero-img { grid-column: 9 / span 4; }
  .sv-row-h { grid-column: 1 / span 4; }
  .sv-row-b { grid-column: 5 / span 8; }
}

/* ---------- D. Team ---------- */
.tm {
  background: var(--c-black); color: var(--c-white);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--pad);
  padding: calc(var(--hd-h) + clamp(32px, 6vw, 96px)) var(--pad) clamp(64px, 9vw, 140px);
}
.tm-txt { grid-column: 1 / span 5; min-width: 0; font: 500 clamp(18px, 1.4vw, 21px)/1.5 var(--font-body); }
.tm-txt p + p { margin-top: 0.9em; }
.tm-h { font: 800 clamp(48px, 7vw, 120px)/0.95 var(--font-body); letter-spacing: -0.05em; margin-bottom: clamp(24px, 3vw, 48px); }
.tm-lead { font: 600 clamp(20px, 1.7vw, 27px)/1.35 var(--font-body); letter-spacing: -0.015em; }
.tm-cta { margin-top: 0 !important; }
.tm-people { grid-column: 7 / span 6; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pad); align-items: start; }
.tm-p-1 { margin-top: clamp(64px, 12vw, 200px); }
.tm-a { display: block; color: inherit; text-decoration: none; }
.tm-img { display: block; overflow: hidden; background: #2b2b2b; }
.tm-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; transition: transform 0.6s var(--ease-cube); }
.tm-name {
  display: inline-block; margin-top: 12px; background: var(--c); color: var(--c-black);
  font: 800 clamp(18px, 1.6vw, 26px)/1.1 var(--font-body); letter-spacing: -0.02em; padding: 8px 10px;
}
.tm-line { display: block; margin-top: 8px; font: 500 16px/1.4 var(--font-body); color: #d0d0d0; }
@media (hover: hover) and (pointer: fine) { .tm-a:hover .tm-img img { transform: scale(1.03); } }
.tm-a:focus-visible { outline-offset: 6px; }
@media (max-width: 899px) {
  .tm-txt, .tm-people { grid-column: 1 / -1; }
  .tm-p-1 { margin-top: clamp(40px, 14vw, 120px); }
}
.ps {
  background: var(--pc); color: var(--c-black);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--pad);
  padding: calc(var(--hd-h) + clamp(32px, 5vw, 80px)) var(--pad) clamp(64px, 9vw, 140px);
}
.ps a { color: inherit; }
.ps-txt { grid-column: 1 / span 6; }
.ps-kick { font: 700 15px/1 var(--font-body); margin-bottom: 20px; }
.ps-h { font: 800 clamp(52px, 8.6vw, 156px)/0.92 var(--font-body); letter-spacing: -0.05em; margin-bottom: clamp(28px, 3vw, 48px); }
.ps-p { font: 500 clamp(19px, 1.65vw, 26px)/1.4 var(--font-body); letter-spacing: -0.01em; max-width: 34ch; }
.ps-p + .ps-p { margin-top: 0.8em; }
.ps-p a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ps-contact { margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; font: 500 16px/1.4 var(--font-body); }
.ps-contact div { border-top: var(--line) solid var(--c-black); padding: 8px 24px 0 0; }
.ps-contact div + div { border-left: var(--line) solid var(--c-black); padding-left: 12px; }
.ps-contact dt { font-weight: 800; }
.ps-contact dd { margin: 0; }
.ps-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.ps-next { margin-top: clamp(28px, 3vw, 48px); font-size: 18px; }
.ps-next a { display: inline-flex; align-items: center; min-height: 44px; }
/* Ein Porträt rechts, bleibt beim Lesen stehen */
.ps-img { grid-column: 8 / span 5; align-self: start; position: sticky; top: calc(var(--hd-h) + 16px); }
.ps-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: rgba(0, 0, 0, 0.18); }
@media (max-width: 899px) {
  .ps-txt, .ps-img { grid-column: 1 / -1; }
  .ps-img { position: static; max-width: 560px; }
  .ps-contact { grid-template-columns: 1fr; }
  .ps-contact div + div { border-left: 0; padding-left: 0; }
}

/* ---------- E. Kontakt ---------- */
.ct { background: var(--c-black); color: var(--c-white); padding: calc(var(--hd-h) + clamp(32px, 6vw, 96px)) var(--pad) clamp(56px, 7vw, 112px); }
.ct-h { font: 800 clamp(48px, 7.6vw, 132px)/0.95 var(--font-body); letter-spacing: -0.05em; margin-bottom: clamp(40px, 5vw, 88px); }
/* Formular in farbigen Containern: [01] Lückensatz Blau, [02] Bereich Grau, [03] Budget Grün, [04] Nachricht Pink.
   Schrift auf Farbe immer Schwarz, Weiß nur auf Schwarz. */
.ct-form { max-width: 1240px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.ct-form > * { grid-column: 1 / -1; }
.ct-form > .ct-box--area { grid-column: 1; }
.ct-form > .ct-box--budget { grid-column: 2; }
.ct-box { background: var(--bx); color: var(--c-black); padding: clamp(24px, 3.2vw, 48px); min-width: 0; }
.ct-num { font: 700 14px/1 var(--font-body); margin-bottom: clamp(14px, 1.6vw, 22px); }
.ct-leg { float: left; width: 100%; padding: 0; margin-bottom: 18px; font: 700 clamp(22px, 2.1vw, 34px)/1.15 var(--font-body); letter-spacing: -0.03em; }
.ct-opt { font-size: 0.55em; font-weight: 600; letter-spacing: 0; }
.ct-s--end { margin-top: 18px; }
.ct .ct-box input[type="text"], .ct .ct-box input[type="email"], .ct .ct-box textarea { color: var(--c-black); border-bottom-color: rgba(0, 0, 0, 0.6); }
.ct .ct-box input::placeholder, .ct .ct-box textarea::placeholder { color: rgba(0, 0, 0, 0.62); }
.ct .ct-box input:focus, .ct .ct-box textarea:focus { border-bottom-color: var(--c-black); }
.ct .ct-box input:focus-visible, .ct .ct-box textarea:focus-visible { box-shadow: 0 2px 0 0 var(--c-black); }
.ct .ct-box .has-err input, .ct .ct-box .has-err textarea { border-bottom-color: var(--c-black) !important; border-bottom-style: dashed; border-bottom-width: 2px; }
.ct-box .err { color: var(--c-black); }
.ct-box .ct-block { margin-top: 0; }
.ct-box .ct-block + .ct-block { margin-top: clamp(24px, 3vw, 40px); }
.ct-box :focus-visible { outline-color: var(--c-black); }
.ct-s { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15em 0.35em; font: 700 clamp(26px, 3.1vw, 52px)/1.2 var(--font-body); letter-spacing: -0.03em; }
.fld { position: relative; display: inline-flex; flex-direction: column; }
.fld-in { width: min(100%, 360px); }
.ct input[type="text"], .ct input[type="email"], .ct textarea {
  width: 100%; min-height: 48px;
  background: transparent; color: var(--c-white);
  border: 0; border-bottom: 1px solid #9a9a9a; border-radius: 0;
  font: 500 clamp(17px, 1.3vw, 20px)/1.4 var(--font-body); letter-spacing: 0;
  padding: 8px 0; transition: border-color 0.15s ease;
}
.ct input::placeholder, .ct textarea::placeholder { color: #9a9a9a; opacity: 1; }
.ct input:focus, .ct textarea:focus { outline: none; border-bottom-color: var(--c-white); border-bottom-width: 2px; }
.ct input:focus-visible, .ct textarea:focus-visible { box-shadow: 0 2px 0 0 var(--c-white); }
.ct textarea { resize: vertical; field-sizing: content; min-height: 96px; }
.has-err input, .has-err textarea { border-bottom-color: var(--c-red) !important; }
.err { display: block; min-height: 0; font: 600 15px/1.35 var(--font-body); letter-spacing: 0; color: var(--c-white); }
.err::before, .ct-status::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.45em; background: var(--c-red); vertical-align: 0.02em; }
.err:empty { display: none; }
.err:not(:empty) { margin-top: 6px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; min-width: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--c-white); border-radius: 60px;
  font: 600 clamp(16px, 1.2vw, 19px)/1 var(--font-body);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}
.chip input:checked + span { background: var(--c); border-color: var(--c); color: var(--c-black); }
.chip input:focus-visible + span { outline: 3px solid var(--c-white); outline-offset: 3px; }
.ct-box .chip span { border-color: var(--c-black); border-width: 2px; }
.ct-box .chip input:focus-visible + span { outline-color: var(--c-black); }
/* Budget: gewählte Option schwarz mit weißer Schrift */
.chips--ink .chip input:checked + span { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
@media (hover: hover) and (pointer: fine) { .ct-box .chip:hover input:not(:checked) + span { background: rgba(0, 0, 0, 0.1); } }
.ct-block { margin-top: clamp(32px, 4vw, 56px); }
.ct-l { display: block; font: 700 clamp(24px, 2.6vw, 42px)/1.15 var(--font-body); letter-spacing: -0.03em; margin-bottom: 8px; }
.ct-check { margin-top: clamp(16px, 2vw, 28px); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; font: 500 17px/1.45 var(--font-body); max-width: 70ch; }
.ct-check input { width: 26px; height: 26px; margin: 0; accent-color: var(--c-green); cursor: pointer; }
.ct-check label { cursor: pointer; padding-top: 1px; }
.ct-check .err { grid-column: 2; }
.ct-req { margin-top: 16px; font: 500 14px/1.4 var(--font-body); color: #bdbdbd; }
.ct-status { margin-top: 12px; font: 600 17px/1.45 var(--font-body); color: var(--c-white); max-width: 70ch; border-left: 4px solid var(--c-red); padding-left: 12px; }
.ct-status::before { display: none; }
.ct-status:empty { display: none; }
.ct-status a { color: var(--c-white); }
.ct-send { margin-top: 20px; cursor: pointer; background: transparent; }
.ct-send[disabled] { opacity: 0.6; cursor: progress; }
.ct-nojs { margin-top: 16px; font: 600 17px/1.45 var(--font-body); }
.ct-thanks { max-width: 60ch; font: 500 clamp(19px, 1.6vw, 24px)/1.45 var(--font-body); }
.ct-thanks:focus { outline: none; }
.ct-thanks p + p { margin-top: 0.8em; }
.ct-thanks-h { font: 800 clamp(36px, 4.6vw, 80px)/1 var(--font-body); letter-spacing: -0.045em; margin-bottom: 20px; }
.ct-team, .ct-data { background: var(--c-black); color: var(--c-white); padding: 0 var(--pad) clamp(56px, 7vw, 112px); }
.ct-sub { font: 800 clamp(24px, 2.4vw, 36px)/1.1 var(--font-body); letter-spacing: -0.03em; border-top: var(--line) solid var(--c-white); padding-top: 14px; margin-bottom: 24px; }
.ct-team-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); max-width: 1100px; }
.ct-person { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; color: inherit; text-decoration: none; font: 500 17px/1.4 var(--font-body); }
.ct-person img { width: 96px; height: 120px; object-fit: cover; object-position: 50% 18%; background: #2b2b2b; }
.ct-person strong { display: block; font-weight: 800; font-size: 20px; }
@media (hover: hover) and (pointer: fine) { .ct-person:hover strong { text-decoration: underline; text-decoration-thickness: 2px; } }
.ct-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); font: 500 18px/1.4 var(--font-body); }
.ct-data-grid > div { border-left: var(--line) solid var(--c-white); padding: 0 16px; }
.ct-data-grid > div:first-child { border-left: 0; padding-left: 0; }
.ct-k { font-weight: 800; margin-bottom: 4px; }
.ct-data-grid a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  .fld-in { width: 100%; }
  .ct-form > .ct-box--area, .ct-form > .ct-box--budget { grid-column: 1 / -1; }
  .ct-team-list { grid-template-columns: 1fr; }
  .ct-data-grid { grid-template-columns: 1fr; gap: 20px 0; }
  .ct-data-grid > div { border-left: 0; padding-left: 0; }
}

/* ---------- F. Rechtliches ---------- */
.lg { background: var(--c-white); color: var(--c-black); padding: calc(var(--hd-h) + clamp(32px, 5vw, 80px)) var(--pad) clamp(56px, 7vw, 112px); font: 400 17px/1.6 var(--font-body); }
.lg > * { max-width: 72ch; }
/* Eine Spalte, breiter als der Standardtext: bis 880 px (rund 95 Zeichen pro Zeile, noch gut lesbar).
   Ab 1200 px Fließtext 18 px, damit die längere Zeile nicht zu klein wirkt. */
.lg > .lg-body { max-width: 880px; }
.lg-sec > :first-child { margin-top: 36px; }
@media (min-width: 1200px) {
  .lg { font-size: 18px; }
}
.lg-draft { border: var(--line) solid var(--c-black); padding: 14px 18px; margin-bottom: 32px; }
.lg-h { font: 800 clamp(44px, 7vw, 120px)/0.95 var(--font-body); letter-spacing: -0.05em; margin-bottom: 32px; max-width: none; hyphens: manual; }
.lg h2 { font: 800 clamp(20px, 1.8vw, 26px)/1.2 var(--font-body); letter-spacing: -0.02em; margin: 36px 0 10px; }
.lg p + p { margin-top: 0.8em; }
.lg-list { list-style: disc; padding-left: 1.3em; margin: 0.6em 0; }
.lg a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Weniger Bewegung (Meilenstein 2) ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .intro .w-in, html.js .pl .w-in, html.js .pl-blk-in, html.js .pl-tag, html.js .pj-meta div { animation: none; }
  html.js [data-appear]:not(.is-in) { opacity: 1; transform: none; }
  html.gal-fade .pj-gal .g > * { opacity: 1; transform: none; }
  .pl:has(.pl-a:hover) .pl-a:not(:hover) { opacity: 1; }
}

/* Projektnamen brechen nicht mitten im Namen um (ab Tablet) */
@media (min-width: 700px){ .pl-a{ white-space: nowrap; } }

/* k4: Projektseiten ohne Pull-to-Refresh/Überscroll-Kette (Zug am oberen Rand führt zum vorherigen Projekt) */
html:has(body[data-page="projekt"]) { overscroll-behavior-y: none; }
