/* ============================================================
   neudion — Performance Marketing portfolio
   Recreated from the Claude Design prototype (neudion.dc.html).
   All animation is JS-driven (see script.js) except hover/focus
   micro-interactions, which live here as CSS transitions.
   ============================================================ */

:root {
  /* Core palette (oklch, hue 158 = brand green family) */
  --c-bg:      oklch(98.5% 0.005 158);  /* page background / text on dark buttons */
  --c-ink:     oklch(20% 0.02 158);     /* primary text */
  --c-muted:   oklch(45% 0.015 158);    /* secondary text */
  --c-faint:   oklch(62% 0.012 158);    /* tertiary text */
  --c-line:    oklch(90% 0.01 158);     /* hairline borders */
  --c-green:   #2DDF9F;                  /* brand green (vivid surfaces) */
  --c-accent:  oklch(45% 0.13 158);     /* deep green for text/underlines on light */
  --c-dark:    oklch(22% 0.03 158);     /* dark section fill */
  --c-soft:    oklch(96% 0.008 158);    /* soft neutral / text on dark */

  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --maxw: 1240px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--c-green); color: oklch(20% 0.08 158); }
a { color: inherit; }

/* Lenis smooth-scroll hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.page { position: relative; overflow: visible; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  transition: background-color .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px clamp(24px, 5vw, 56px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 26px; height: 26px; border-radius: 7px; background: var(--c-green); display: inline-block; }
.brand__name {
  font-family: var(--mono); font-size: 1.05rem;
  text-transform: lowercase; letter-spacing: -0.01em; color: var(--c-ink);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  display: none; font-size: 0.95rem; color: var(--c-muted);
  text-decoration: none; transition: color .2s;
}
.nav__link:hover { color: var(--c-ink); }
@media (min-width: 721px) { .nav__link { display: inline; } }

/* ---------- CTA button (pill w/ wipe) ---------- */
.cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 42px; padding: 0 20px; border-radius: 9999px;
  background: var(--c-ink); color: var(--c-bg);
  font-size: 0.92rem; text-decoration: none;
  transition: transform .3s var(--ease);
}
.cta:hover { transform: translateY(-1px); }
.cta__wipe {
  position: absolute; inset: 0; z-index: 0;
  transform-origin: left; transform: scaleX(0);
  background: var(--c-accent); transition: transform .5s var(--ease);
}
.cta:hover .cta__wipe { transform: scaleX(1); }
.cta__label { position: relative; z-index: 10; display: inline-flex; align-items: center; }
.cta__arrow { margin-left: 12px; display: inline-block; transition: transform .3s var(--ease); }
.cta:hover .cta__arrow { transform: translateX(4px); }
.cta--lg { height: 52px; padding: 0 28px; font-size: 1.0625rem; }

/* ---------- Text link w/ sliding underline ---------- */
.text-link {
  position: relative; display: inline-flex; align-items: center;
  height: 52px; padding: 0 4px; font-size: 1.0625rem;
  color: var(--c-ink); text-decoration: none;
}
.text-link__bar {
  position: absolute; left: 4px; right: 4px; bottom: 14px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.text-link:hover .text-link__bar,
.text-link:focus-visible .text-link__bar { transform: scaleX(1); }

/* ---------- Shared decorative bits ---------- */
.grain { position: absolute; inset: 0; }
.grain--light15 { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0, rgba(255,255,255,.055) 1px, transparent 1px, transparent 15px); }
.grain--light16 { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0, rgba(255,255,255,.07) 1px, transparent 1px, transparent 16px); }
.grain--ink06   { background-image: repeating-linear-gradient(135deg, oklch(20% 0.08 158 / .06) 0, oklch(20% 0.08 158 / .06) 1px, transparent 1px, transparent 14px); }
.grain--white06 { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 1px, transparent 1px, transparent 14px); }
.grain--ink04   { background-image: repeating-linear-gradient(135deg, oklch(20% 0.02 158 / .04) 0, oklch(20% 0.02 158 / .04) 1px, transparent 1px, transparent 14px); }

.frame-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); text-transform: uppercase; text-align: center;
  font-size: 0.72rem; letter-spacing: 0.2em; color: rgba(255,255,255,.55);
}
.frame-label--multi { line-height: 1.7; }
.frame-label--on-green { color: rgba(255,255,255,.6); }
.frame-label--on-green-soft { font-size: 0.7rem; letter-spacing: 0.18em; color: oklch(20% 0.08 158 / .55); }
.frame-label--on-dark { font-size: 0.7rem; letter-spacing: 0.18em; color: rgba(255,255,255,.5); }
.frame-label--faint { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--c-faint); }

/* Real photo filling a portrait frame (hero + Über mich) */
.frame-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-muted);
}
.eyebrow__dot { width: 9px; height: 9px; background: var(--c-accent); border-radius: 2px; }
.eyebrow__dot--green { background: var(--c-green); }
.eyebrow--on-dark { color: oklch(96% 0.008 158 / .7); }
.eyebrow--wide { font-size: 0.7rem; letter-spacing: 0.2em; }

.accent { color: var(--c-accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  position: relative; z-index: 10; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 56px) clamp(72px, 9vw, 124px);
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center;
}
.hero__title {
  font-weight: 600; line-height: 0.97; letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.2vw, 5rem); margin: 0; will-change: transform;
}
.hero__line { display: block; color: var(--c-ink); }
.hero__line--accent { color: var(--c-accent); }
.hero__lead {
  max-width: 44ch; margin: clamp(28px, 3vw, 40px) 0 0;
  font-size: 1rem; line-height: 1.6; color: var(--c-muted);
}
.hero__actions {
  margin-top: clamp(32px, 4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
}
.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 4/5; width: 100%;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(155deg, oklch(42% 0.04 165) 0%, oklch(32% 0.055 160) 45%, oklch(24% 0.05 158) 100%);
  box-shadow: 0 30px 70px -34px oklch(20% 0.02 158 / .4);
}

/* ---------- Leistungen ---------- */
.services { border-top: 1px solid var(--c-line); }
.services__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(112px, 13vw, 210px) clamp(24px, 5vw, 56px); }
.section-head--center { max-width: 840px; margin: 0 auto; text-align: center; }
.section-head__eyebrow-wrap { display: flex; justify-content: center; }
.section-head__title {
  font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 5vw, 4rem); margin: 20px 0 0; color: var(--c-ink);
}
.section-head__lead {
  margin: 22px auto 0; max-width: 50ch;
  font-size: 1.0625rem; line-height: 1.6; color: var(--c-muted);
}

/* Scroll-driven feature stage (shared by Leistungen / Ablauf / Prinzipien) */
.feat-stage { position: relative; }
.feat-stage--services { height: 260vh; margin-top: clamp(40px, 5vw, 72px); }
.feat-stage--process { height: 220vh; }
.feat-stage--principles { height: 230vh; }
.feat-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.feat-grid {
  width: 100%; display: grid; gap: clamp(28px, 3vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr);
  align-items: stretch; height: min(80vh, 660px);
}
.feat-col { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 5vw, 72px); width: 100%; }
.feat__icon {
  width: 50px; height: 50px; border-radius: 14px;
  border: 1px solid var(--c-line); background: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
}
.feat__title { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; margin: 20px 0 0; color: var(--c-ink); }
.feat__text { margin: 12px 0 0; max-width: 34ch; font-size: 1rem; line-height: 1.6; color: var(--c-muted); }
.feat-scale {
  position: relative; width: 100%; display: block;
  border-radius: 24px; overflow: hidden; min-height: clamp(380px, 44vw, 580px);
  background: linear-gradient(155deg, #2DDF9F 0%, oklch(62% 0.14 166) 55%, oklch(34% 0.06 160) 100%);
  box-shadow: 0 30px 70px -34px oklch(20% 0.02 158 / .4);
  will-change: transform, opacity;
}

/* ---------- Ablauf (dark) ---------- */
.process { background: var(--c-dark); color: var(--c-soft); }
.process__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(124px, 14vw, 220px) clamp(24px, 5vw, 56px); }
.process__grid { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; width: 100%; }
.process__title {
  font-weight: 600; line-height: 1.04; letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 5vw, 4rem); margin: 28px 0 0; max-width: 14ch; color: oklch(96% 0.008 158);
}
.process__title-muted { color: oklch(96% 0.008 158 / .55); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid oklch(96% 0.008 158 / .16);
}
.step--last { border-bottom: 1px solid oklch(96% 0.008 158 / .16); }
.step__num { font-family: var(--mono); font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--c-green); letter-spacing: -0.02em; }
.step__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.step__title { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.02em; margin: 0; }
.step__meta { font-family: var(--mono); font-size: 0.78rem; color: oklch(96% 0.008 158 / .5); }
.step__text { max-width: 54ch; margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.6; color: oklch(96% 0.008 158 / .72); }

/* ---------- Prinzipien / Highlights ---------- */
.principles { padding: 0; }
.principles__sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.principles__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 8vw, 110px) clamp(24px, 5vw, 56px); width: 100%; }
.principles__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(20px, 2.4vw, 28px); margin: 0 auto clamp(48px, 6vw, 84px); }
.principles__title {
  font-weight: 600; line-height: 1.05; letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 5vw, 4rem); margin: 0; max-width: 22ch; text-wrap: balance; color: var(--c-ink);
}
.principles__grid { display: grid; gap: clamp(20px, 2.4vw, 40px); grid-template-columns: repeat(auto-fit, minmax(278px, 1fr)); }
.principle__media { position: relative; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; }
.principle__media--green { background: var(--c-green); }
.principle__media--dark { background: var(--c-dark); }
.principle__media--soft { background: var(--c-soft); border: 1px solid var(--c-line); }
.principle__title {
  margin: 26px 0 0; font-weight: 600; font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.25; letter-spacing: -0.02em; color: var(--c-ink);
}

/* ---------- Arbeit (stacked sticky case studies) ---------- */
.work { padding: clamp(112px, 13vw, 148px) 0 0; }
.work__head-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px); }
.work__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(24px, 3vw, 36px); margin-bottom: clamp(64px, 9vw, 120px); }
.work__title {
  font-weight: 600; line-height: 1.03; letter-spacing: -0.035em;
  font-size: clamp(2.25rem, 5vw, 4rem); margin: 0; max-width: 24ch; text-wrap: balance; color: var(--c-ink);
}
.work__title-muted { color: var(--c-faint); }
.work__stack { position: relative; }

.case { position: sticky; top: 0; }
.case--light { height: 158vh; background-color: #F7FBF9; }
.case--dark { height: 158vh; background: var(--c-dark); color: var(--c-soft); }
.case--green { height: 100vh; background: var(--c-green); }
.case__panel { height: 100vh; display: flex; align-items: center; }
.case__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(90px, 12vh, 150px) clamp(24px, 5vw, 56px);
  display: grid; gap: clamp(32px, 5vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); align-items: center;
}
.case__tag { display: block; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-faint); }
.case__tag--ondark { color: oklch(72% 0.03 158); }
.case__tag--ongreen { color: oklch(30% 0.05 158); }
.case__title { font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; color: var(--c-ink); font-size: clamp(2rem, 4vw, 3.2rem); margin: 18px 0 0; max-width: 16ch; }
.case__title--ondark { color: oklch(96% 0.008 158); }
.case__title--ongreen { color: oklch(18% 0.03 158); }
.case__text { max-width: 42ch; margin: 26px 0 0; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--c-muted); }
.case__text--ondark { color: oklch(75% 0.02 158); }
.case__text--ongreen { color: oklch(30% 0.04 158); }
.case__stats { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.stat--divider { padding-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.stat--divider-dark { border-bottom-color: oklch(96% 0.008 158 / .14); }
.stat--divider-green { border-bottom-color: oklch(20% 0.03 158 / .18); }
.stat__label { font-size: 1rem; color: var(--c-muted); }
.stat__label--ondark { color: oklch(72% 0.02 158); }
.stat__label--ongreen { color: oklch(30% 0.04 158); }
.stat__value { margin: 0; font-family: var(--mono); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--c-ink); }
.stat__value--ondark { color: oklch(96% 0.008 158); }
.stat__value--ongreen { color: oklch(18% 0.03 158); }
.stat__was { color: var(--c-faint); text-decoration: line-through; }
.stat__was--ondark { color: oklch(60% 0.02 158); }
.stat__was--ongreen { color: oklch(32% 0.04 158 / .6); }
.stat__delta { color: var(--c-accent); }
.stat__delta--green { color: var(--c-green); }
.stat__delta--ongreen { color: oklch(24% 0.06 158); }

/* ---------- Über mich ----------
   Nested at the end of the work stack: sits above the pinned case cards
   (z-index) and scrolls up to cover them — this is the work-area overscroll fix. */
.about {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--c-line); background: #ffffff;
  padding: clamp(112px, 13vw, 210px) 0;
}
.about__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px);
  display: grid; gap: clamp(40px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center;
}
.about__media {
  position: relative; aspect-ratio: 4/5; width: 100%;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(155deg, oklch(40% 0.04 165) 0%, oklch(30% 0.05 160) 50%, oklch(22% 0.045 158) 100%);
  box-shadow: 0 30px 70px -34px oklch(20% 0.02 158 / .4);
}
.about__title { font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; font-size: clamp(2.25rem, 5vw, 4rem); margin: 26px 0 0; color: var(--c-ink); }
.about__title-muted { color: var(--c-faint); }
.about__body { display: flex; flex-direction: column; gap: 18px; margin: 26px 0 0; max-width: 58ch; font-size: 1.0625rem; line-height: 1.65; color: var(--c-muted); }
.about__body p { margin: 0; }
.about__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 52px); margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--c-line); }
.about__stat-value { font-family: var(--mono); font-size: 1.25rem; font-weight: 600; color: var(--c-ink); }
.about__stat-label { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--c-faint); margin-top: 5px; }

/* ---------- Kontakt + Footer (dark) ---------- */
.contact { background: var(--c-dark); color: var(--c-soft); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(84px, 11vw, 170px) clamp(24px, 5vw, 56px); }
.contact__grid { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.contact__title { font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-size: clamp(2.25rem, 5vw, 4rem); margin: 28px 0 0; color: oklch(96% 0.008 158); }
.contact__title-accent { color: var(--c-green); }
.contact__lead { max-width: 46ch; margin: 28px 0 0; font-size: 1.125rem; line-height: 1.6; color: oklch(96% 0.008 158 / .72); }
.contact__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag { font-family: var(--mono); font-size: 0.8rem; padding: 9px 15px; border: 1px solid oklch(96% 0.008 158 / .22); border-radius: 9999px; color: oklch(96% 0.008 158 / .8); }
.contact__links { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); }
.contact-card {
  position: relative; display: block;
  border: 1px solid oklch(96% 0.008 158 / .16); border-radius: 18px;
  padding: clamp(24px, 2.6vw, 34px); text-decoration: none;
  transition: border-color .3s var(--ease);
}
.contact-card:hover { border-color: oklch(96% 0.008 158 / .32); }
.contact-card__label { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: oklch(96% 0.008 158 / .55); }
.contact-card__value { display: block; margin-top: 14px; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; color: oklch(96% 0.008 158); }
.contact-card__value--row { display: flex; align-items: baseline; gap: 12px; }
.contact-card__bar {
  position: absolute; left: clamp(24px, 2.6vw, 34px); right: clamp(24px, 2.6vw, 34px); bottom: clamp(20px, 2.4vw, 30px);
  height: 2px; background: var(--c-green); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.contact-card[data-underline]:hover .contact-card__bar,
.contact-card[data-underline]:focus-visible .contact-card__bar { transform: scaleX(1); }
.contact-card__diag { font-size: 1rem; color: oklch(96% 0.008 158 / .6); transition: transform .3s var(--ease); }
.contact-card[data-cta-link]:hover .contact-card__diag { transform: translate(2px, -2px); }
.contact__note { margin: 6px 0 0; font-size: 0.92rem; line-height: 1.5; color: oklch(96% 0.008 158 / .5); }

.footer__meta { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 56px) 0; }
.footer__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid oklch(96% 0.008 158 / .16); }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand-name { font-family: var(--mono); font-size: 1rem; text-transform: lowercase; color: oklch(96% 0.008 158); }
.footer__brand-tag { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: oklch(96% 0.008 158 / .5); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer__links a { font-size: 0.9rem; color: oklch(96% 0.008 158 / .6); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: oklch(96% 0.008 158); }
.footer__wordmark-wrap { overflow: hidden; margin-top: clamp(32px, 4vw, 56px); }
.footer__wordmark-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px); }
.footer__wordmark {
  font-family: var(--mono); display: block; text-transform: lowercase;
  line-height: 0.8; letter-spacing: -0.05em; color: oklch(96% 0.008 158 / .14);
  user-select: none; font-size: clamp(4rem, 18vw, 12rem);
}

/* ============================================================
   Pre-animation hidden states — gated behind `.js` so the page
   is fully visible when JavaScript is disabled. script.js adds
   the `.js` class and then animates these in.
   ============================================================ */
.js .hero__line   { opacity: 0; transform: translateY(28px); }
.js .hero__lead,
.js .hero__actions,
.js .hero__media  { opacity: 0; transform: translateY(18px); }
.js [data-feat]   { opacity: 0; transform: translateY(34px); }

/* ============================================================
   Responsive — three tiers that peel back the scroll choreography.
   JS mirrors these boundaries: Lenis momentum is desktop-only (>1024),
   and feature reveals switch to "show all" at ≤1024 (setupFeatureScroll).
   ============================================================ */

/* Tablet & down (≤1024): un-stick the scroll-choreographed feature stages
   (Leistungen / Ablauf / Prinzipien) and collapse their inner grids. */
@media (max-width: 1024px) {
  .feat-stage--services,
  .feat-stage--process,
  .feat-stage--principles { height: auto; }
  .feat-sticky,
  .principles__sticky { position: static; height: auto; min-height: 0; display: block; }
  .feat-grid,
  .process__grid { grid-template-columns: 1fr; height: auto; align-items: start; }
}

/* Mobile & down (≤900): collapse the remaining two-column grids and un-stick
   the work case stack so the pinned panels stop overscrolling. */
@media (max-width: 900px) {
  .hero__inner,
  .about__inner,
  .contact__grid,
  .case__inner { grid-template-columns: 1fr; align-items: start; }
  .case { position: static; }
  .case--light,
  .case--dark,
  .case--green { height: auto; }
  .case__panel { height: auto; min-height: 0; }
  .feat-scale { min-height: 300px; }
}

/* Small (≤600): tighten vertical rhythm on the tallest sections. */
@media (max-width: 600px) {
  .services__inner,
  .about { padding-top: clamp(64px, 16vw, 96px); padding-bottom: clamp(64px, 16vw, 96px); }
}

/* Respect reduced-motion: neutralise transition-based micro-interactions.
   (Scroll/reveal/count animations are additionally short-circuited in JS.) */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .cta, .cta__wipe, .cta__arrow, .text-link__bar,
  .contact-card, .contact-card__bar, .contact-card__diag { transition: none !important; }
  /* Show all content up front — never depend on JS to un-hide it. */
  .js .hero__line, .js .hero__lead, .js .hero__actions,
  .js .hero__media, .js [data-feat] { opacity: 1 !important; transform: none !important; }
}
