/* ============================================================
   niklaslenz.de — Personal Brand Site
   Dark cinematic, video-scroll-scrubbing ("Cinematic-Lite")
   Colors:  bg #0A0A0B · cream #F5F1E8 · brass #B08D57 (sparingly)
   Type:    Anton (display) · Inter (body) — both local woff2
   Layout:  JEDE Hauptsektion = gepinnter Scrub über eigenem Clip
   ============================================================ */

/* ---------- Fonts (local, no runtime CDN) ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/anton-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-500.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg:    #0A0A0B;
  --cream: #F5F1E8;
  --brass: #B08D57;
  --cream-50: rgba(245, 241, 232, 0.5);
  --cream-70: rgba(245, 241, 232, 0.7);
  --cream-10: rgba(245, 241, 232, 0.1);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --pad-x: 6vw;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brass); color: var(--bg); }

/* ============================================================
   Film grain overlay — whole page, above everything
   ============================================================ */
#grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ============================================================
   Loading overlay (hidden via JS once hero frames preloaded)
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.loader-pct {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.loader-pct::after { content: '%'; font-size: 0.4em; margin-left: 0.1em; }
.loader-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-50);
}

/* ============================================================
   Scrub sections — shared shell (hero, pillars, work, cta)
   Canvas (z1) < vignette (z2) < scrim (z2) < content (z3) < loading (z6)
   ============================================================ */
.scrub-section {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg); /* no white flash before/while frames stream in */
}

.scrub-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* eigene Compositing-Layer: Canvas-Repaints bleiben isoliert,
     kein Repaint der gepinnten Sektion drumherum */
  transform: translateZ(0);
}

/* subtle vignette inside scrub sections */
.vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, transparent 20%, transparent 78%, rgba(10, 10, 11, 0.75) 100%);
}

/* per-section text scrims — dezent, nur für Lesbarkeit über Video */
.scrub-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.scrim-pillars {
  background: radial-gradient(ellipse 105% 85% at 50% 50%, rgba(10, 10, 11, 0.6), transparent 78%);
}
.scrim-work {
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.45) 0%, rgba(10, 10, 11, 0.12) 38%, rgba(10, 10, 11, 0.5) 100%);
}
.scrim-cta {
  background: radial-gradient(ellipse 95% 75% at 50% 55%, rgba(10, 10, 11, 0.55), transparent 75%);
}

/* overlaid content inside a pinned section */
.scrub-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
}

/* Kino-Blende: schwarzes Overlay über Canvas+Content (unter dem
   Lade-Indikator) — GSAP öffnet sie beim Anrollen der Sektion und
   schließt nur in den letzten ~4% des Scrubs (buildFadeOverlays).
   Ohne JS/Motion: opacity 0 = unsichtbar. */
.scrub-fade {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

/* dezenter Lade-Indikator, falls schneller gescrollt als geladen */
.scrub-loading {
  position: absolute;
  right: 1.8rem;
  bottom: 1.6rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-50);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.scrub-loading::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  animation: loading-dot 1.1s ease-in-out infinite;
}
.is-waiting .scrub-loading { opacity: 1; }
@keyframes loading-dot {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50%      { opacity: 1;    transform: scale(1); }
}

/* kinetic-type masks (pillar titles, cta line) — letters rise
   out of an overflow-hidden word box */
.kn-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.07em;
  margin-bottom: -0.07em;
}
.kn-word .ltr { display: inline-block; will-change: transform; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* z6 > .scrub-fade (z5): der NAME bleibt sichtbar, während die
     Out-Blende das Video am Hero-Ende dunkel zieht — er überbrückt
     die dunkle Phase bis zur Services-Fläche (js: buildHeroDock).
     Der Container selbst ist statisch; animiert werden Name und
     Tagline einzeln. */
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4vw;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 14vw, 16rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.55);
  /* ab Load sichtbar; am Hero-Ende dockt er an die Services-Kante
     und fährt mit ihr nach oben raus (js: buildHeroDock). z1: beim
     Abstieg malt er ÜBER der ausblendenden Tagline, nicht darunter. */
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}

/* Claim-Block: steht ab Load unter dem Namen; verschwindet SOFORT,
   sobald der Name den Dock-Abstieg beginnt (js: buildHeroDock) */
.hero-tagline {
  will-change: transform, opacity;
  margin-top: 2.6rem;
  text-align: center;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.95), 0 0 46px rgba(0, 0, 0, 0.8);
  padding: 0.85rem 1.7rem 1rem;
  background: rgba(10, 10, 11, 0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 2px;
  border-bottom: 1px solid var(--brass); /* Messing-Unterstreichung */
}
/* drei Slams in der Display-Schrift — der eigentliche Claim */
.hero-punch {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.punch-dot { color: var(--brass); margin: 0 0.5em; }
/* Klartext-Unterzeile */
.hero-sub {
  margin-top: 0.55rem;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.78);
}

/* scroll hint — bottom center */
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.scroll-hint-line {
  width: 1px;
  height: 44px;
  background: var(--brass);
  transform-origin: top;
  animation: hint-pulse 2.2s ease-in-out infinite;
}
.scroll-hint-text {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-50);
}
@keyframes hint-pulse {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   2. SERVICES — „Was ich mache": drei große Anton-Zeilen mit
   Messing-Index, darunter EINE dezente Proof-Zeile.
   ÜBERGANG OHNE SCHWARZES LOCH: negativer margin-top zieht die
   Sektion in die letzten ~14% des Hero-Pins — die graue Fläche
   schiebt von unten rein; der NAME dockt 6vh über ihrer Oberkante
   an und fährt synchron mit ihr nach oben raus (js: buildHeroDock).
   (z-index 4 + position:relative: malt über der gepinnten
   Hero-Sektion). padding-top bewusst knapp (4rem), kein Spacer.
   ============================================================ */
.services {
  position: relative;
  z-index: 4;
  margin-top: -20vh;
  margin-top: -20svh;
  padding: 4rem var(--pad-x) clamp(6.5rem, 13vh, 10.5rem);
  /* leicht abgesetzte, dunkelgraue Fläche — als „Surface" gegen das
     schwarze Hero-Ende erkennbar, läuft unten in den Seiten-Ton aus */
  background: linear-gradient(180deg, #17181C 0%, #101013 55%, var(--bg) 100%);
  border-top: 1px solid var(--cream-10);
}
.services .section-kicker { margin-bottom: clamp(2.6rem, 6vh, 4.2rem); }

.service-list {
  list-style: none;
  /* volle Sektionsbreite — Hairlines und Beschreibungsspalte laufen
     bis an die rechte Kante (kein toter Raum auf breiten Screens) */
}
.service-row { border-top: 1px solid var(--cream-10); }
.service-row:last-child { border-bottom: 1px solid var(--cream-10); }

.service-inner {
  display: grid;
  /* Nummer | großer Titel | kurze Beschreibung an der rechten Kante
     — füllt die Zeile über die volle Breite (rechts kein Leerraum) */
  grid-template-columns: minmax(72px, 0.14fr) 1fr minmax(220px, 0.3fr);
  gap: 0.5rem 3vw;
  align-items: start;
  padding: clamp(1.7rem, 4.2vh, 2.8rem) 0;
}

.service-num {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1;
  padding-top: 0.5em; /* optisch auf die Cap-Höhe der großen Zeile */
  color: var(--brass);
  transition: text-shadow 0.35s ease;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
  transition: text-shadow 0.35s ease;
}

/* Hover: leichter Messing-Glow auf der ganzen Zeile */
.service-inner:hover .service-title,
.service-inner:hover .service-num {
  text-shadow: 0 0 14px rgba(176, 141, 87, 0.28), 0 0 46px rgba(176, 141, 87, 0.4);
}

/* kurze Beschreibung in der rechten Spalte, optisch auf Cap-Höhe */
.service-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.58);
  max-width: 34ch;
  justify-self: end;
  padding-top: 0.55em;
}

/* Zeile 03 = kompletter Link zu /pyriq; der Pfeil wandert bei Hover */
.service-link:focus-visible { outline: 1px solid var(--brass); outline-offset: 6px; }
.service-arrow {
  display: inline-block;
  margin: 0 0.14em;
  color: var(--brass);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-arrow svg { display: inline; }
.service-link:hover .service-arrow { transform: translateX(0.35em); }

/* Proof-Zeile: eine Zeile, Inter, klein, cream-50, Mittelpunkte als Trenner */
.service-proof {
  margin-top: clamp(2.8rem, 6vh, 4.5rem);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.9;
  color: var(--cream-50);
}

/* ============================================================
   3. PILLARS — pinned scrub, 01/02/03 bauen sich nacheinander auf
   (kompakte Typo, damit alle drei in 100svh passen)
   ============================================================ */
.pillars-overlay {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.pillar {
  display: grid;
  grid-template-columns: minmax(64px, 0.16fr) 1fr;
  gap: 0.6rem 3vw;
  align-items: start;
  border-top: 1px solid var(--cream-10);
  padding: clamp(1rem, 2.4vh, 1.8rem) 0;
}
.pillar:last-child { border-bottom: 1px solid var(--cream-10); }

.pillar-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 0.9;
  padding-top: 0.35em;
  color: var(--brass);
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 3px 40px rgba(0, 0, 0, 0.5);
}
.pillar-text {
  margin-top: 0.7rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--cream); /* volle Cream — lesbar über dem Clip */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.pillar-text a {
  color: var(--brass);
  border-bottom: 1px solid rgba(176, 141, 87, 0.5);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.pillar-text a:hover { color: var(--cream); border-color: var(--cream); }

/* ============================================================
   4. WORK — pinned scrub, two hover cards over creator clip
   ============================================================ */
.section-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2.2rem;
}

/* Zwei große Karten an den AUSSENKANTEN (space-between): die
   BILDMITTE bleibt frei, damit der Mann im Creator-Clip dahinter
   sichtbar ist. Spurbreite unverändert min(560px, 42vw); die
   Außenkanten definiert das --pad-x-Padding der .scrub-content.
   Der Kicker läuft als normaler Block bis zur linken Kartenkante. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, min(660px, 44vw));
  gap: clamp(2rem, 3vw, 3rem);
  justify-content: space-between;
}
.card-wrap { will-change: transform; }
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: clamp(380px, 52vh, 580px);
  padding: clamp(3rem, 3.4vw, 3.8rem);
  border: 1px solid var(--cream-10);
  border-radius: 8px;
  /* dark scrim of its own — bleibt über jedem Frame lesbar */
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.05), rgba(245, 241, 232, 0) 60%),
    rgba(12, 12, 14, 0.72);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(176, 141, 87, 0.75);
  box-shadow:
    0 24px 70px -24px rgba(176, 141, 87, 0.35),
    0 0 0 1px rgba(176, 141, 87, 0.25) inset;
}
.work-card-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.work-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 5.6vw, 5.2rem);
  line-height: 1;
  text-transform: uppercase;
  margin-top: auto;
  color: var(--cream);
}
.work-card p {
  margin-top: 1.1rem;
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--cream-70);
}
/* konkrete Fakten-Zeilen — das, was die Karte dem Besucher BRINGT */
.work-card-facts {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
  max-width: 46ch;
}
.work-card-facts li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.82);
}
.work-card-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.45rem;
  height: 1px;
  background: var(--brass);
}
/* Messing-Tag-Zeile unter dem Beschreibungstext */
.work-card-tags {
  margin-top: 1.5rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}
.work-card-arrow {
  position: absolute;
  top: clamp(3rem, 3.4vw, 3.5rem);
  right: clamp(3rem, 3.4vw, 3.5rem);
  font-size: 1.4rem;
  color: var(--brass);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-card-arrow { transform: translate(4px, -4px); }

/* ============================================================
   5. FINALE / CTA — pinned scrub over closer clip
   ============================================================ */
.cta-overlay {
  align-items: center;
  text-align: center;
}
.cta-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.55);
}
.cta-line em {
  font-style: normal;
  color: var(--brass);
}
.cta-actions {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 1.05rem 2.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--brass); color: var(--bg); }
.btn-primary:hover { background: transparent; color: var(--brass); }
.btn-ghost { border-color: rgba(245, 241, 232, 0.25); color: var(--cream); background: rgba(10, 10, 11, 0.35); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 3rem var(--pad-x) 3.5rem;
  border-top: 1px solid var(--cream-10);
  background: var(--bg);
  position: relative;
  z-index: 4;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.footer a, .footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
}
.footer a { transition: color 0.25s ease; }
.footer a:hover { color: var(--brass); }

/* ============================================================
   Responsive
   ============================================================ */
/* Schmal-Viewports (<1100px): die Work-Karten dürfen wieder
   untereinander rutschen — nebeneinander bliebe die Mitte nicht
   frei. Kompaktere Maße, damit beide in die gepinnte 100svh passen. */
@media (max-width: 1099px) {
  .work-grid {
    grid-template-columns: min(560px, 100%);
    justify-content: center;
    gap: 1.4rem;
  }
  .work-card { min-height: 0; padding: clamp(1.5rem, 3vw, 2.2rem); }
  .work-card h3 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
  .work-card p { font-size: 0.88rem; margin-top: 0.7rem; }
  .work-card-facts { margin-top: 0.85rem; gap: 0.35rem; }
  .work-card-facts li { font-size: 0.8rem; }
  .work-card-tags { margin-top: 0.9rem; }
  .work-card-arrow { top: clamp(1.5rem, 3vw, 2.2rem); right: clamp(1.5rem, 3vw, 2.2rem); }
}

@media (max-width: 767px) {
  .service-inner { grid-template-columns: 44px 1fr; gap: 0.4rem 0.9rem; padding: 1.35rem 0; }
  .service-num { font-size: 0.95rem; padding-top: 0.45em; }
  .service-title { font-size: clamp(1.5rem, 7.2vw, 2.1rem); line-height: 1.14; }
  /* Mobile: Beschreibung rutscht unter den Titel (2. Spalte) */
  .service-inner { grid-template-columns: minmax(48px, 0.14fr) 1fr; }
  .service-desc {
    grid-column: 2;
    max-width: none;
    justify-self: start;
    padding-top: 0;
    font-size: 0.88rem;
  }
  .service-proof { letter-spacing: 0.1em; }

  .pillar { grid-template-columns: 1fr; gap: 0.35rem; padding: clamp(0.9rem, 2vh, 1.4rem) 0; }
  .pillar-num { padding-top: 0; }
  .pillar-text { font-size: 1rem; }

  .work-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  /* beide Karten + Kicker müssen in die gepinnte 100svh passen —
     min-height weg, alles kompakt (Facts bleiben lesbar drin) */
  .work-card { min-height: 0; padding: 1.2rem 1.3rem; }
  .work-card h3 { font-size: 1.7rem; margin-top: 0.5rem; }
  .work-card p { font-size: 0.82rem; margin-top: 0.5rem; line-height: 1.45; }
  .work-card-facts { margin-top: 0.7rem; gap: 0.3rem; }
  .work-card-facts li { font-size: 0.75rem; line-height: 1.4; padding-left: 0.95rem; }
  .work-card-tags { margin-top: 0.8rem; font-size: 0.58rem; letter-spacing: 0.2em; }
  .work-card-arrow { top: 1.2rem; right: 1.3rem; font-size: 1.1rem; }
  .section-kicker { margin-bottom: 1.4rem; }

  /* Hero-Claim: die drei Slams STAPELN (eine Zeile passt nicht) */
  .hero-tagline { margin-top: 1.6rem; padding: 0.7rem 1.2rem 0.8rem; }
  .hero-punch { font-size: 1.35rem; line-height: 1.3; }
  .punch-dot { display: none; }
  .punch-seg { display: block; }
  .hero-sub { font-size: 0.62rem; letter-spacing: 0.14em; margin-top: 0.5rem; }

  .footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Static mode — prefers-reduced-motion or missing JS libs.
   JS setzt body.no-motion: Sektionen wachsen mit dem Inhalt,
   erstes Frame steht als statisches Bild dahinter.
   ============================================================ */
.no-motion .scrub-section { height: auto; min-height: 100svh; }
.no-motion #hero { height: 100svh; }
.no-motion .scrub-content {
  position: relative;
  inset: auto;
  padding-top: clamp(5rem, 12vh, 8rem);
  padding-bottom: clamp(5rem, 12vh, 8rem);
}
.no-motion .scrub-loading { display: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-hint-line { animation: none; transform: scaleY(1); }
  .scrub-loading::before { animation: none; }
  .work-card, .work-card-arrow, .btn, .pillar-text a, .footer a,
  .service-num, .service-title, .service-arrow { transition: none; }
  .work-card:hover { transform: none; }
  .service-link:hover .service-arrow { transform: none; }
}
