/* ═══════════════════════════════════════════════════════════════
   WGS GmbH — BIM-Bestandsaufnahme
   (B) Substantieller Motion-Rebuild — 3D-Stage Hero, Point-Cloud,
   Scan-Sweep, 3D-Tilt-Cards, Custom-Cursor, Scroll-Timeline,
   Section-Transitions. Alles GPU-optimiert, mobile-fallback.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --paper:   #F6F5F1;
  --stone:   #ECEAE3;
  --ink:     #08090B;
  --ink-2:   #12151A;
  --ink-3:   #1A1E25;

  /* Text on paper */
  --text:    #0F1114;
  --text-2:  #2E3239;
  --mid:     #5A5F69;
  --muted:   #8B909A;

  /* Text on ink */
  --on-ink:     #F6F5F1;
  --on-ink-80:  rgba(246,245,241,.82);
  --on-ink-60:  rgba(246,245,241,.60);
  --on-ink-40:  rgba(246,245,241,.40);

  /* Brand */
  --teal:     #2AAFA0;
  --teal-br:  #3ECAB8;
  --teal-dk:  #1E8A7D;
  --teal-glow: rgba(42,175,160,.4);
  --teal-sm:   rgba(42,175,160,.08);

  /* Lines */
  --line:       rgba(15,17,20,.10);
  --line-2:     rgba(15,17,20,.20);
  --line-dk:    rgba(246,245,241,.12);
  --line-dk-2:  rgba(246,245,241,.22);

  /* Type */
  --ff-display: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
  --ff-body:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --ff-mono:    ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Space (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px;
  --s-24: 96px; --s-32: 128px;

  /* Layout */
  --max:     1320px;
  --gutter:  20px;
  --nav-h:   68px;

  /* Motion */
  /* Kowalski easing system — stronger than CSS built-ins */
  --ease:           cubic-bezier(0.23, 1, 0.32, 1);       /* strong ease-out for UI */
  --ease-out:       cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:    cubic-bezier(0.77, 0, 0.175, 1);      /* strong ease-in-out for movement */
  --ease-drawer:    cubic-bezier(0.32, 0.72, 0, 1);       /* iOS-like drawer */
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);    /* subtle spring for delight */
  --ease-2:         cubic-bezier(0.77, 0, 0.175, 1);
  --ease-3:         cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Durations — Kowalski's rule: UI stays under 300ms */
  --t-press:   140ms;    /* button press */
  --t-fast:    180ms;    /* tooltips, hover */
  --t-mid:     240ms;    /* dropdowns, small reveals */
  --t-slow:    480ms;    /* cards lifting, section reveals */
  --t-exit:    200ms;    /* always faster than enter */

  /* Scroll progress (set by JS) */
  --scroll: 0;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 640px)  { :root { --gutter: 32px; --nav-h: 72px; } }
@media (min-width: 960px)  { :root { --gutter: 48px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  font-variant-numeric: lining-nums tabular-nums;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: var(--ink); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress::after {
  content: '';
  display: block;
  height: 100%;
  width: calc(var(--scroll) * 1%);
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
  transition: width 80ms linear;
}

/* Custom cursor (desktop hover only) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }
  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: opacity var(--t-mid) var(--ease);
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--teal);
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--teal);
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0);
    transition: transform 200ms var(--ease), width 200ms var(--ease), height 200ms var(--ease), border-color 160ms;
    opacity: .85;
  }
  body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    border-color: var(--teal-br);
  }
  body.cursor-down .cursor-ring {
    transform: translate3d(-50%, -50%, 0) scale(.7);
  }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── 3. Container ─────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 4. Typography ────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
}
.eyebrow--teal { color: var(--teal); }
.eyebrow--plain::before { display: none; }
.section--ink .eyebrow { color: var(--on-ink-60); }
.section--ink .eyebrow--teal { color: var(--teal); }

.h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text);
  text-wrap: balance;
}
.h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.012em;
  color: var(--text);
  text-wrap: balance;
}
.section--ink .h2,
.section--ink .h3 { color: var(--on-ink); }

.lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--mid);
  max-width: 62ch;
  text-wrap: pretty;
}
.section--ink .lead { color: var(--on-ink-80); }

em.accent {
  font-style: normal;
  color: var(--teal);
  font-weight: 700;
}

/* ── 5. Button ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  /* Exact properties only, Kowalski */
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-press) var(--ease);
  white-space: nowrap;
  will-change: transform;
}
/* Press feedback — Kowalski's mandatory :active scale */
.btn:active { transform: scale(0.97); }

.btn__arrow {
  display: inline-block;
  transition: transform var(--t-mid) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

/* Internal sheen sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 35%,
    rgba(255,255,255,.14) 50%,
    transparent 65%);
  transform: translateX(-110%);
  transition: transform 680ms var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: translateX(110%); }

.btn--primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn--primary:hover { background: var(--teal-dk); border-color: var(--teal-dk); }

.btn--dark {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.btn--dark:hover { background: #000; border-color: #000; }

.btn--outline-ink {
  background: transparent;
  color: var(--on-ink);
  border-color: var(--line-dk-2);
}
.btn--outline-ink:hover { border-color: var(--on-ink); }

/* Editorial dark-outline button — serious, quiet, high-trust */
.btn--ghost-dark {
  background: var(--text);
  color: var(--paper);
  border-color: var(--text);
  padding: 17px 32px;
  font-weight: 600;
  letter-spacing: .01em;
}
.btn--ghost-dark:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.btn--ghost-dark .btn__arrow { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.btn--ghost-dark:hover .btn__arrow { transform: translateX(4px); }

.btn--text {
  padding: 12px 0;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line-2);
  overflow: visible;
}
.btn--text::before { display: none; }
.btn--text:hover { color: var(--teal); border-color: var(--teal); }

.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-fast) var(--ease);
}
.phone-link svg { color: var(--muted); transition: color var(--t-fast); }
.phone-link:hover { color: var(--teal); }
.phone-link:hover svg { color: var(--teal); }

/* ── 6. Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: var(--s-3);
  padding-top: max(var(--s-3), var(--safe-t));
  background: rgba(246,245,241,.78);
  backdrop-filter: saturate(1.3) blur(20px);
  -webkit-backdrop-filter: saturate(1.3) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background 450ms cubic-bezier(.22,1,.36,1),
    border-color 450ms cubic-bezier(.22,1,.36,1),
    box-shadow 450ms cubic-bezier(.22,1,.36,1);
}
.nav.is-scrolled {
  background: rgba(246,245,241,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15,17,20,.02), 0 12px 32px -16px rgba(15,17,20,.08);
}

/* Transparent nav over dark hero */
.nav.is-over-hero:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.is-over-hero:not(.is-scrolled) .brand,
.nav.is-over-hero:not(.is-scrolled) .brand__name { color: var(--on-ink); }
.nav.is-over-hero:not(.is-scrolled) .brand__claim { color: var(--on-ink-60); }
.nav.is-over-hero:not(.is-scrolled) .nav__links a { color: var(--on-ink-80); }
.nav.is-over-hero:not(.is-scrolled) .nav__links a:hover,
.nav.is-over-hero:not(.is-scrolled) .nav__links a.is-active { color: var(--on-ink); }
.nav.is-over-hero:not(.is-scrolled) .phone-link { color: var(--on-ink-80); }
.nav.is-over-hero:not(.is-scrolled) .phone-link svg { color: var(--teal); }
.nav.is-over-hero:not(.is-scrolled) .nav__toggle span { background: var(--on-ink); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--text);
  transition: color var(--t-mid) var(--ease);
}
.brand__mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform var(--t-mid) var(--ease);
}
@media (min-width: 768px) { .brand__mark { width: 40px; height: 40px; } }
.brand:hover .brand__mark { transform: rotate(-2deg) scale(1.04); }

.brand__text {
  display: none;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
@media (min-width: 480px) { .brand__text { display: inline-flex; } }
.brand__name {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  transition: color var(--t-mid) var(--ease);
}
@media (min-width: 768px) { .brand__name { font-size: 19px; } }
.brand__claim {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color var(--t-mid) var(--ease);
}

.nav__links {
  display: none;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__links a {
  position: relative;
  padding-block: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  transition: color var(--t-fast) var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 -5px 0;
  height: 1px;
  background: var(--teal);
  animation: navUnderline .32s var(--ease) both;
}
@keyframes navUnderline {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav__phone-link { display: none; }
@media (min-width: 768px) { .nav__phone-link { display: inline-flex; } }
.nav__cta { display: none; padding: 11px 20px !important; font-size: 13.5px; }
@media (min-width: 1024px) { .nav__cta { display: inline-flex; } }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  margin: -12px -12px -12px 0;
  min-width: 44px;
  min-height: 44px;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 1024px) { .nav__toggle { display: none; } }
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 99;
  background: var(--ink);
  color: var(--on-ink);
  padding:
    calc(var(--nav-h) + var(--s-8) + var(--safe-t))
    var(--gutter)
    calc(var(--s-8) + var(--safe-b));
  transform: translateX(100%);
  transition: transform 380ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { transform: none; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-dk);
}
.mobile-menu nav a {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--on-ink);
  letter-spacing: -.01em;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast);
}
.mobile-menu nav a:hover { color: var(--teal); transform: translateX(4px); }
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line-dk);
  margin-top: auto;
}
.mobile-menu__foot .phone-link { font-size: 17px; color: var(--on-ink); }
.mobile-menu__foot .phone-link svg { color: var(--teal); }

/* ── Mobile-Menu-Brand (Logo + WGS GMBH im Overlay) ── */
.mobile-menu__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--on-ink);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-dk);
  transition: transform var(--t-fast) var(--ease);
}
.mobile-menu__brand:hover { transform: translateX(2px); }
.mobile-menu__brand .brand__mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--teal);
}
.mobile-menu__brand .brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.mobile-menu__brand .brand__name {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--on-ink);
}
.mobile-menu__brand .brand__claim {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--teal);
  text-transform: uppercase;
}

body.menu-open { overflow: hidden; }

/* ── 7. Section base ──────────────────────────────────────── */
.section {
  padding-block: var(--s-16);
  position: relative;
}
@media (min-width: 768px)  { .section { padding-block: var(--s-20); } }
@media (min-width: 1240px) { .section { padding-block: var(--s-24); } }

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
  isolation: isolate;
}
.section--stone { background: var(--stone); }

/* Ambient blueprint grid (dark sections) */
.ambient-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(246,245,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,245,241,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 0%, rgba(0,0,0,.6) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 0%, rgba(0,0,0,.6) 55%, transparent 100%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 80px 80px, 80px 80px; }
}
.section--ink > .wrap { position: relative; z-index: 1; }

/* Section transition scan-line (between sections) */
.section--scan-top::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line) 8%,
    var(--teal) 50%,
    var(--line) 92%,
    transparent 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 600ms var(--ease), transform 800ms var(--ease);
}
.section--scan-top.is-in-view::before {
  opacity: 1;
  transform: scaleX(1);
}

/* Chapter header */
.chapter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-4);
  align-items: baseline;
  padding-top: var(--s-5);
  margin-bottom: var(--s-10);
  position: relative;
}
/* Draw-in hairline rule on scroll (premium magazine divider) */
.chapter::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.chapter::before {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 0;
  height: 9px;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--paper);
  transform-origin: left;
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
}
.chapter.is-drawn::before { width: 36px; }
.chapter__num,
.chapter__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.chapter__title {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}
.section--ink .chapter { border-top-color: var(--line-dk); }
.section--ink .chapter__num,
.section--ink .chapter__meta { color: var(--on-ink-60); }
.section--ink .chapter__title { color: var(--on-ink); }
@media (max-width: 639px) {
  .chapter { grid-template-columns: auto 1fr; gap: var(--s-3); }
  .chapter__meta { display: none; }
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-12);
}
.section-head > * + * { margin-top: var(--s-3); }
.section-head .h2 + .lead { margin-top: var(--s-4); }

/* ══════════════════════════════════════════════════════════
   8. HERO — editorial, light, serious, architect-grade
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + var(--s-10));
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .hero {
    min-height: clamp(760px, 92vh, 920px);
    padding-top: calc(var(--nav-h) + var(--s-14));
  }
}

/* Barely-there paper texture — very subtle warmth */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 10% 15%, rgba(42,175,160,.028) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 95% 95%, rgba(15,17,20,.025) 0%, transparent 60%);
}

/* Shared subtle pulse used by a few teal dots */
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.65); }
}

/* Hero body — editorial grid */
.hero__body {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: center;
  padding-bottom: var(--s-10);
}
@media (min-width: 960px) {
  .hero__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    padding-bottom: var(--s-12);
  }
}
.hero__copy { max-width: 620px; }
.hero__copy > * + * { margin-top: var(--s-6); }
@media (max-width: 959px) {
  .hero__copy { order: 1; }
  .hero__media { order: 2; }
}

/* Editorial meta-line — replaces loud eyebrow */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp .7s cubic-bezier(.22,1,.36,1) .4s forwards;
}
.hero__meta-dash {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--text);
}
.hero__meta-sep {
  display: inline-block;
  width: 3px; height: 3px;
  background: var(--muted);
  border-radius: 50%;
}

/* Hero H1 — serious editorial display */
.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(44px, 7.2vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--text);
  max-width: 16ch;
  text-wrap: balance;
  margin-top: var(--s-6);
  padding-bottom: .08em;
}
.hero h1 em {
  font-style: normal;
  color: var(--text);
  font-weight: 700;
}
.hero h1 .word {
  display: inline-block;
  vertical-align: baseline;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(18px);
  opacity: 0;
  animation: wordReveal 900ms cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(.6s + var(--word-i, 0) * .08s);
}
@keyframes wordReveal {
  to { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 52ch;
  font-weight: 400;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) 1.4s forwards;
}
@keyframes heroFadeUp { to { opacity: 1; transform: none; } }

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-7);
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .9s cubic-bezier(.22,1,.36,1) 1.6s forwards;
}
.hero__tel {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.005em;
  padding-left: var(--s-5);
  border-left: 1px solid var(--line);
  transition: color var(--t-fast) var(--ease);
}
.hero__tel:hover { color: var(--teal); }
@media (max-width: 479px) {
  .hero__tel { padding-left: 0; border-left: 0; }
}

/* Hero facts — editorial strip along bottom */
.hero__facts {
  position: relative;
  z-index: 2;
  padding-block: var(--s-6);
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: heroFactsFade 1s cubic-bezier(.22,1,.36,1) 1.85s forwards;
}
@keyframes heroFactsFade { to { opacity: 1; } }
.hero__facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-8);
}
@media (min-width: 640px) { .hero__facts dl { grid-template-columns: repeat(4, 1fr); } }
.hero__facts dl > div {
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp .7s cubic-bezier(.22,1,.36,1) forwards;
  border-left: 1px solid var(--line);
  padding-left: var(--s-4);
}
.hero__facts dl > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 639px) {
  .hero__facts dl > div { border-left: 0; padding-left: 0; }
}
.hero__facts dl > div:nth-child(1) { animation-delay: 2.0s; }
.hero__facts dl > div:nth-child(2) { animation-delay: 2.1s; }
.hero__facts dl > div:nth-child(3) { animation-delay: 2.2s; }
.hero__facts dl > div:nth-child(4) { animation-delay: 2.3s; }
.hero__facts dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero__facts dd {
  font-family: var(--ff-display);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.005em;
}
.hero__facts dd small {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
@media (min-width: 640px) { .hero__facts dl { grid-template-columns: repeat(4, 1fr); } }
.hero__facts dt {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-ink-60);
  margin-bottom: 4px;
}
.hero__facts dd {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  color: var(--on-ink);
  letter-spacing: -.005em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__facts dd small {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--on-ink-60);
  letter-spacing: 0;
  margin-top: 2px;
}

/* ── 9. Trust-band ───────────────────────────────────────── */
.trust-band {
  padding-block: var(--s-10);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trust-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 768px) { .trust-band__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-10); } }
.trust-band__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding-left: var(--s-4);
  border-left: 1px solid var(--line);
}
@media (max-width: 767px) { .trust-band__item { border-left: 0; padding-left: 0; } }
.trust-band__icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--teal);
  background: rgba(42,175,160,.08);
  border: 1px solid rgba(42,175,160,.25);
}
.trust-band__item dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.trust-band__item dd {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.005em;
}
.trust-band__item dd small {
  display: block;
  margin-top: 6px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0;
}

/* ── 10. Problem ──────────────────────────────────────────── */
.problems {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.problem {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding-block: var(--s-8);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-mid) var(--ease);
}
@media (min-width: 768px) {
  .problem {
    grid-template-columns: 120px 1fr 1fr;
    gap: var(--s-8);
    padding-block: var(--s-10);
    align-items: start;
  }
}
.problem:hover { background: rgba(42,175,160,.03); }
.problem__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 4px;
}
.problem h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--text);
}
.problem p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mid);
  max-width: 58ch;
}

/* ══════════════════════════════════════════════════════════
   11. Services — editorial cards, display numerals, clean
   ══════════════════════════════════════════════════════════ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px)  { .services { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }

.service {
  position: relative;
  padding: var(--s-8) var(--s-6) var(--s-6);
  background: #fff;
  border: 1px solid rgba(15,17,20,.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  /* Asymmetric: exit snap-back faster than enter-lift (Kowalski) */
  transition:
    transform var(--t-exit) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-exit) var(--ease);
  box-shadow: 0 1px 2px rgba(15,17,20,.03);
}
@media (hover: hover) and (pointer: fine) {
  .service {
    transition:
      transform var(--t-slow) var(--ease),
      border-color var(--t-mid) var(--ease),
      box-shadow var(--t-slow) var(--ease);
  }
}

/* Subtle gradient wash at the top (visual depth) */
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(42,175,160,.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity .5s var(--ease);
}

/* Teal accent line at top (visible on hover, subtle always) */
.service::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 48px;
  height: 2px;
  background: var(--teal);
  transition: width 600ms cubic-bezier(.22,1,.36,1);
  z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
  .service:hover {
    border-color: rgba(42,175,160,.3);
    transform: translateY(-6px);
    box-shadow:
      0 30px 60px -24px rgba(15,17,20,.18),
      0 10px 20px -12px rgba(15,17,20,.06);
  }
  .service:active { transform: translateY(-2px) scale(.995); }
}
.service:hover::after { width: 100%; }
.service:hover::before { opacity: 1.6; }

/* Big display numeral — the new anchor element */
.service__num {
  font-family: var(--ff-display);
  font-size: clamp(44px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: var(--s-6);
  position: relative;
  z-index: 1;
  transition: color .4s var(--ease);
}
.service:hover .service__num { color: var(--teal); }

/* Kicker — small mono label above headline */
.service__kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-3);
  position: relative;
  z-index: 1;
}

.service h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
  color: var(--text);
  margin-bottom: var(--s-4);
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.service p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: var(--s-6);
  position: relative;
  z-index: 1;
  text-wrap: pretty;
}

/* Single outcome line — replaces the old 3-row dl */
.service__out {
  margin-top: auto;
  padding-top: var(--s-4);
  padding-left: 18px;
  border-top: 1px solid rgba(15,17,20,.08);
  font-family: var(--ff-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-wrap: balance;
}
.service__out-dot {
  position: absolute;
  left: 0; top: calc(var(--s-4) + 6px);
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s var(--ease);
}
.service:hover .service__out-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(42,175,160,.15);
}

/* Mobile / touch — simpler interaction */
@media (max-width: 959px), (hover: none), (prefers-reduced-motion: reduce) {
  .service:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15,17,20,.03);
  }
  .service::after { width: 48px !important; }
}

/* ══════════════════════════════════════════════════════════
   12. Process — scroll-driven timeline
   ══════════════════════════════════════════════════════════ */
.process {
  position: relative;
  padding-block: var(--s-8) 0;
}
.process__rule {
  display: none;
}
@media (min-width: 1024px) {
  .process__rule {
    display: block;
    position: absolute;
    inset: 48px 0 auto 0;
    height: 1px;
    background: var(--line);
    z-index: 0;
    overflow: hidden;
  }
  .process__rule::after {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-br) 100%);
    box-shadow: 0 0 8px var(--teal-glow);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 900ms var(--ease);
  }
  .process.is-active .process__rule::after { transform: scaleX(1); }
}

.process__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  z-index: 1;
}
@media (min-width: 768px)  { .process__grid { grid-template-columns: 1fr 1fr; gap: var(--s-10); } }
@media (min-width: 1024px) { .process__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-8); } }

.step {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.step.is-in { opacity: 1; transform: none; }
.step:nth-child(1) { transition-delay: 0ms; }
.step:nth-child(2) { transition-delay: 120ms; }
.step:nth-child(3) { transition-delay: 240ms; }
.step:nth-child(4) { transition-delay: 360ms; }

.step__dot {
  width: 14px; height: 14px;
  border: 1.5px solid var(--teal);
  background: var(--paper);
  border-radius: 50%;
  position: relative;
}
.step__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.5);
  transition: opacity var(--t-mid) var(--ease) 220ms,
              transform var(--t-mid) var(--ease) 220ms;
}
.step__dot::before {
  /* Radiating pulse */
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  opacity: 0;
  animation: none;
}
.step.is-in .step__dot::after { opacity: 1; transform: scale(1); }
.step.is-in .step__dot::before {
  animation: stepPulse 2.2s ease-out infinite 500ms;
}
@keyframes stepPulse {
  0%   { opacity: .6; transform: scale(.8); }
  100% { opacity: 0; transform: scale(2.2); }
}

.step__meta {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.step__num {
  color: var(--teal);
  font-weight: 600;
}
.step__time { color: var(--muted); }

.step h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--text);
  text-wrap: balance;
}
.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 38ch;
}
.step__out {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.step__out span {
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}

/* ══════════════════════════════════════════════════════════
   13. Profile — count-up metrics
   ══════════════════════════════════════════════════════════ */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .profile-grid { grid-template-columns: repeat(4, 1fr); } }
.profile-grid > div {
  padding: var(--s-6);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.profile-grid > div:nth-child(2n) { border-right: 0; }
.profile-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 1024px) {
  .profile-grid > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .profile-grid > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .profile-grid > div:nth-child(4n) { border-right: 0; }
}
.profile-grid > div::before {
  /* Scan line on reveal */
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transition: left 1.2s var(--ease);
}
.profile-grid > div.is-in::before { left: 100%; }

.profile-grid dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.profile-grid dd {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.profile-grid dd small {
  display: block;
  margin-top: 4px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0;
}

.standards-list {
  margin-top: var(--s-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 960px) { .standards-list { grid-template-columns: repeat(4, 1fr); } }
.standards-list > div {
  padding: var(--s-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-mid) var(--ease);
}
.standards-list > div:hover { background: var(--teal-sm); }
.standards-list > div:nth-child(2n) { border-right: 0; }
@media (min-width: 960px) {
  .standards-list > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .standards-list > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .standards-list > div:nth-child(4n) { border-right: 0; }
}
.standards-list .id {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--teal);
  margin-bottom: 4px;
}
.standards-list .name {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.005em;
  line-height: 1.25;
}

/* ── 14. Angebot ─────────────────────────────────────────── */
.angebot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
}
@media (min-width: 960px) {
  .angebot-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-16);
    align-items: start;
  }
}
.angebot-copy > * + * { margin-top: var(--s-3); }
.angebot-copy .lead { margin-top: var(--s-4); margin-bottom: var(--s-6); }

.extras__fit {
  padding: var(--s-4) var(--s-5);
  margin: var(--s-2) 0 var(--s-6);
  background: #fff;
  border-left: 2px solid var(--teal);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.extras__fit strong { color: var(--text); font-weight: 600; }

.extras {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.extra {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}
.extra dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 2px;
}
.extra dd { color: var(--text-2); }
.extra dd strong { color: var(--text); font-weight: 500; }

.package {
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease);
}
@media (min-width: 640px) { .package { padding: var(--s-10); } }
.package:hover { transform: translateY(-4px); }

/* Animated border accent on hover */
.package::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.package:hover::before { transform: scaleX(1); }

.package__head .eyebrow { display: inline-flex; margin-bottom: var(--s-2); }
.package__head h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--text);
}
.package__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  border-block: 1px solid var(--line);
  padding-block: var(--s-5);
}
.package__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: var(--s-3);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.package__list li::before {
  content: '';
  width: 14px; height: 14px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%232AAFA0' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.package__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.package__price strong {
  font-family: var(--ff-display);
  font-size: clamp(30px, 4.5vw, 40px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.package__price span {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.package__fine {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── 15. Unternehmen (3 Prinzipien) ───────────────────────── */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.principle {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background var(--t-mid) var(--ease);
}
.principle:hover { background: rgba(42,175,160,.02); }
.principle__icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color var(--t-fast), transform var(--t-mid) var(--ease);
}
.principle:hover .principle__icon {
  border-color: var(--teal);
  transform: scale(1.05);
}
.principle h4 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.005em;
  line-height: 1.25;
  margin-bottom: 4px;
}
.principle p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--mid);
  max-width: 62ch;
}

/* ── 16. FAQ ──────────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  transition: padding var(--t-mid) var(--ease), border-left-color var(--t-mid) var(--ease), background var(--t-fast);
  border-left: 1px solid transparent;
  padding-left: 0;
}
.faq__item:hover { background: rgba(42,175,160,.02); }
.faq__item[open] {
  border-left-color: var(--teal);
  padding-left: var(--s-4);
  background: var(--teal-sm);
}
.faq__q {
  cursor: pointer;
  list-style: none;
  padding-block: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.008em;
  transition: color var(--t-fast) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--teal); }

/* Elegant chevron (pure CSS, thin rotating +) */
.faq__chev {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  transition: transform var(--t-mid) var(--ease);
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: background var(--t-fast) var(--ease), transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.faq__chev::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq__chev::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq__q:hover .faq__chev::before,
.faq__q:hover .faq__chev::after { background: var(--teal); }
.faq__item[open] .faq__chev::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq__item[open] .faq__chev::before { background: var(--teal); }
.faq__a {
  padding-block: 0 var(--s-5);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mid);
  max-width: 66ch;
  animation: faqFade .45s cubic-bezier(.22,1,.36,1);
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ── 17. Kontakt ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--s-16);
    align-items: start;
  }
}
.contact-info > * + * { margin-top: var(--s-3); }
.contact-info .lead { margin-top: var(--s-4); margin-bottom: var(--s-8); }

.contact-check {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
}
.contact-check li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--s-3);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.contact-check li::before {
  content: '';
  width: 14px; height: 14px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%232AAFA0' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4Z'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.contact-direct {
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.contact-direct > div { display: flex; flex-direction: column; gap: 2px; }
.contact-direct dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-direct a {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.008em;
  transition: color var(--t-fast) var(--ease);
}
.contact-direct a:hover { color: var(--teal); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--s-6);
  box-shadow: 0 24px 48px rgba(15,17,20,.06), 0 4px 8px rgba(15,17,20,.02);
}
@media (min-width: 640px) { .form { padding: var(--s-10); } }

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--s-3);
}
.form__row .field { margin-bottom: 0; }
.field label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px var(--teal-sm);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }

.form__trust {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__trust span { display: inline-flex; align-items: center; gap: 6px; }
.form__trust span::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--teal);
}

/* ── Honeypot-Feld vollständig verstecken ── */
.field--hp { display: block !important; width: 1px; height: 1px; overflow: hidden; }

/* ── Datenschutz-Consent-Checkbox ── */
.field--consent { margin-top: var(--s-4); margin-bottom: var(--s-4); }
.field--consent .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  cursor: pointer;
  user-select: none;
}
.field--consent .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.field--consent .consent input[type="checkbox"]:hover { border-color: var(--teal); }
.field--consent .consent input[type="checkbox"]:checked {
  background-color: var(--teal);
  border-color: var(--teal);
}
.field--consent .consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.field--consent .consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.field--consent .consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

.form__submit { margin-top: var(--s-3); }
.form__note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: var(--s-3);
}
.form__note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.form__success {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: var(--teal-sm);
  border: 1px solid rgba(42,175,160,.3);
  color: var(--text);
  font-size: 14px;
}

/* ── 18. Footer ───────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0F1114 0%, #0B0D10 100%);
  color: var(--on-ink-80);
  position: relative;
  isolation: isolate;
  padding-bottom: var(--s-5);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,175,160,.3), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}
.footer .ambient-grid {
  background-image:
    linear-gradient(rgba(246,245,241,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,245,241,.03) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 100%);
}
.footer__cta {
  padding-block: var(--s-16);
  border-bottom: 1px solid var(--line-dk);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-start;
  position: relative;
}
@media (min-width: 768px) {
  .footer__cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-12);
  }
}
.footer__cta h2 {
  color: var(--on-ink);
  max-width: 22ch;
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.footer__cta h2 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  padding-block: var(--s-10) var(--s-8);
  border-bottom: 1px solid var(--line-dk);
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 960px)  { .footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: var(--s-10); } }

.footer__brand .brand { color: var(--on-ink); }
.footer__brand .brand__name { color: var(--on-ink); }
.footer__brand .brand__claim { color: var(--teal); }
.footer__claim {
  margin-top: var(--s-4);
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-ink-60);
  max-width: 38ch;
}
.footer__main-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-5);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast);
}
.footer__main-site:hover { color: var(--on-ink); transform: translateX(2px); }

.footer__col h4 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-ink);
  margin-bottom: var(--s-3);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__col a, .footer__col li {
  font-size: 14px;
  color: var(--on-ink-60);
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: var(--on-ink); }

.footer__legal {
  padding-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--on-ink-40);
}
@media (min-width: 640px) {
  .footer__legal {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__legal ul { display: flex; gap: var(--s-6); }
.footer__legal a:hover { color: var(--on-ink); }

/* ── 19. Reveal — Kowalski cadence (short, strong curve) ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 60ms; }
.reveal--d2 { transition-delay: 120ms; }
.reveal--d3 { transition-delay: 180ms; }
.reveal--d4 { transition-delay: 240ms; }

/* ── 19b. Stagger children of cards-grid when grid enters view ── */
.services.is-in-view > .service,
.flaechen-flow.is-in-view > .flaechen-step,
.problems.is-in-view > .problem,
.faq.is-in-view > .faq__item {
  animation: cardEnter 600ms var(--ease) backwards;
}
.services.is-in-view > .service:nth-child(1),
.flaechen-flow.is-in-view > .flaechen-step:nth-child(1),
.problems.is-in-view > .problem:nth-child(1),
.faq.is-in-view > .faq__item:nth-child(1) { animation-delay: 0ms; }

.services.is-in-view > .service:nth-child(2),
.flaechen-flow.is-in-view > .flaechen-step:nth-child(2),
.problems.is-in-view > .problem:nth-child(2),
.faq.is-in-view > .faq__item:nth-child(2) { animation-delay: 60ms; }

.services.is-in-view > .service:nth-child(3),
.flaechen-flow.is-in-view > .flaechen-step:nth-child(3),
.problems.is-in-view > .problem:nth-child(3),
.faq.is-in-view > .faq__item:nth-child(3) { animation-delay: 120ms; }

.services.is-in-view > .service:nth-child(4),
.flaechen-flow.is-in-view > .flaechen-step:nth-child(4),
.faq.is-in-view > .faq__item:nth-child(4) { animation-delay: 180ms; }

.faq.is-in-view > .faq__item:nth-child(5) { animation-delay: 240ms; }

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 19c. Image reveal — clip-path curtain (driven by parent's is-in) ── */
.reveal-mask {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms var(--ease-in-out);
}
/* Fire the reveal when ANY ancestor acquires is-in or is-in-view.
   Avoids the IO bug where a fully-clipped element never triggers. */
.is-in .reveal-mask,
.is-in-view .reveal-mask,
.reveal-mask.is-in { clip-path: inset(0 0 0 0); }

/* ── 19d. H2 reveal — soft fade + rise (robust against clip-path edge cases) ── */
.h2.reveal-text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.is-in .h2.reveal-text,
.is-in-view .h2.reveal-text,
.h2.reveal-text.is-in {
  opacity: 1;
  transform: none;
}

/* ── 20. Legal pages ──────────────────────────────────────── */
body.legal .nav {
  background: rgba(246,245,241,.94);
  border-bottom-color: var(--line);
}
.legal-page {
  padding-block: calc(var(--nav-h) + var(--s-16)) var(--s-16);
  background: var(--paper);
  min-height: 100vh;
}
.legal-page__wrap { max-width: 720px; }
.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--s-6);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
}
.legal-page__back:hover { color: var(--text); }
.legal-page__back::before { content: '←'; }
.legal-page h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -.022em;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.legal-page h2 {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
  margin: var(--s-8) 0 var(--s-2);
}
.legal-page h3 {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: var(--s-5) 0 4px;
}
.legal-page p, .legal-page li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: var(--s-2);
}
.legal-page ul { padding-left: 20px; list-style: disc; margin-bottom: var(--s-3); }
.legal-page a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════════════════════════
   20. HERO MEDIA — editorial figure, light bg
   ══════════════════════════════════════════════════════════ */
.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  pointer-events: none;
}
@media (min-width: 960px) {
  .hero__media { min-height: 560px; }
}
@media (max-width: 959px) {
  .hero__media {
    min-height: 0;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Editorial meta-caption beneath photo (magazine-style) */
.hero__media-cap {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) 1.7s forwards;
}
.hero__media-cap-idx {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}
.hero__media-cap-text { flex: 1; }

.hero__media-frame {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--stone);
  box-shadow:
    0 30px 60px -30px rgba(15,17,20,.25),
    0 1px 0 var(--line);
  /* Gallery-curtain reveal — reveals from bottom to top like a vertical wipe */
  clip-path: inset(100% 0 0 0);
  animation: heroCurtainReveal 1.6s cubic-bezier(.77,0,.18,1) .4s forwards;
  pointer-events: auto;
  isolation: isolate;
  will-change: clip-path;
  --par-x: 0%;
  --par-y: 0%;
  --scroll-par: 0;
}
@media (max-width: 959px) {
  .hero__media-frame { aspect-ratio: 4 / 3; }
}
@keyframes heroCurtainReveal {
  0%   { clip-path: inset(100% 0 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Subtle paper-grain over the photo (SVG noise, ~3% opacity) */
.hero__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Slow, dignified Ken Burns + scroll-linked parallax lift */
.hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: calc(55% + var(--par-x)) calc(38% + var(--par-y));
  display: block;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.04) translateY(calc(var(--scroll-par) * -1px));
  animation: kenBurns 36s ease-in-out 2s infinite alternate;
  transition: transform .05s linear;
  will-change: transform, object-position;
}
@keyframes kenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1%, -.8%); }
}
.hero__media-frame:hover img {
  animation-play-state: paused;
}

.hero__media-edge,
.hero__media-chip { display: none; }

/* ══════════════════════════════════════════════════════════
   21. PHOTO TREATMENTS — editorial, varied rhythm
   ══════════════════════════════════════════════════════════ */

/* ── 21a. Prozess editorial break (note + paired photo) ── */
.photo-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin: var(--s-12) 0 0;
  align-items: stretch;
}
@media (max-width: 859px) {
  .photo-editorial__figure { order: 1; }
  .photo-editorial__note   { order: 2; }
}
@media (min-width: 860px) {
  .photo-editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: var(--s-8);
  }
}
.photo-editorial__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-3);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
.photo-editorial__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  transition: transform 1.4s var(--ease-2);
}
.photo-editorial__figure:hover img { transform: scale(1.04); }
.photo-editorial__corner {
  position: absolute;
  width: 22px; height: 22px;
  z-index: 2;
}
.photo-editorial__corner::before,
.photo-editorial__corner::after {
  content: ""; position: absolute; background: var(--teal);
}
.photo-editorial__corner--tl { top: 12px; left: 12px; }
.photo-editorial__corner--tl::before { top: 0; left: 0; width: 22px; height: 2px; }
.photo-editorial__corner--tl::after  { top: 0; left: 0; width: 2px; height: 22px; }
.photo-editorial__corner--br { bottom: 12px; right: 12px; }
.photo-editorial__corner--br::before { bottom: 0; right: 0; width: 22px; height: 2px; }
.photo-editorial__corner--br::after  { bottom: 0; right: 0; width: 2px; height: 22px; }

.photo-editorial__tag {
  position: absolute;
  left: 0; bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  background: rgba(11,13,17,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-ink);
  border-top: 1px solid rgba(42,175,160,.4);
  z-index: 2;
}
.photo-editorial__tag i {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--teal-glow);
  animation: dotPulse 2s ease-in-out infinite;
}

.photo-editorial__note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-5) 0;
  color: var(--text);
}
.photo-editorial__kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-4);
}
.photo-editorial__lede {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: var(--s-6);
  text-wrap: balance;
}
.photo-editorial__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.photo-editorial__facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-3);
  align-items: baseline;
}
.photo-editorial__facts dt {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.photo-editorial__facts dd {
  font-family: var(--ff-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

/* ── 21a·1. Flächen-Head (Photo + Section-Head zwei-spaltig) ── */
.flaechen-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-10);
  align-items: center;
}
@media (min-width: 860px) {
  .flaechen-head {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: var(--s-10);
  }
}
.flaechen-head__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  overflow: hidden;
  background: var(--stone);
  box-shadow: 0 24px 60px -26px rgba(15,17,20,.28);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s var(--ease);
}
.flaechen-head__photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 70px -24px rgba(15,17,20,.32);
}
.flaechen-head__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
  filter: saturate(.98) contrast(1.02);
  transition: transform 1.1s cubic-bezier(.22,1,.36,1);
}
.flaechen-head__photo:hover img { transform: scale(1.035); }
.flaechen-head__photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,13,17,.82) 100%);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.flaechen-head__dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(42,175,160,.6);
  flex-shrink: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.flaechen-head__copy { margin-bottom: 0; }
@media (max-width: 859px) {
  .flaechen-head__photo { max-width: 320px; margin: 0 auto; }
}

/* ── 21a·2. Flächen-Flow (Storytelling: 01 → 02 → 03 → 04) ── */
.flaechen-flow {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin: var(--s-10) 0 0;
  padding: 0;
  counter-reset: flaechen;
}
@media (min-width: 720px) {
  .flaechen-flow { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}
@media (min-width: 1100px) {
  .flaechen-flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

/* Flächen-step — uses the same editorial card pattern as .service */
.flaechen-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8) var(--s-6) var(--s-6);
  background: #fff;
  border: 1px solid rgba(15,17,20,.06);
  box-shadow: 0 1px 2px rgba(15,17,20,.03);
  transition:
    transform 500ms cubic-bezier(.22,1,.36,1),
    border-color 350ms var(--ease),
    box-shadow 500ms var(--ease);
}
.flaechen-step:hover {
  border-color: rgba(42,175,160,.3);
  transform: translateY(-6px);
  box-shadow:
    0 30px 60px -24px rgba(15,17,20,.18),
    0 10px 20px -12px rgba(15,17,20,.06);
}

@media (min-width: 1100px) {
  /* Remove duplicate borders between adjacent cards */
  .flaechen-step + .flaechen-step { border-left: 0; }
}

/* Same big display numeral as .service, same position */
.flaechen-step__num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(44px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: var(--s-6);
  transition: color .4s var(--ease);
}
.flaechen-step:hover .flaechen-step__num { color: var(--teal); }

/* Unified kicker style — teal mono caps, NO dash prefix */
.flaechen-step__kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-3);
}

.flaechen-step h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.85vw, 24px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
  color: var(--text);
  margin-bottom: var(--s-4);
  text-wrap: balance;
}
.flaechen-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  text-wrap: pretty;
}

/* Result card — subtler teal gradient endstate */
.flaechen-step--result {
  background: linear-gradient(180deg, rgba(42,175,160,.04) 0%, rgba(42,175,160,.01) 100%);
  border-color: rgba(42,175,160,.25);
}
.flaechen-step--result .flaechen-step__num { color: var(--teal); }

/* ── 21a·3. BIM-Proof (kompakter Technik-Stripe unter dem Split) ── */
.bim-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .bim-proof { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
.bim-proof__item {
  position: relative;
  padding: 0 var(--s-6);
}
@media (min-width: 720px) {
  .bim-proof__item + .bim-proof__item { border-left: 1px solid var(--line); }
  .bim-proof__item:first-child { padding-left: 0; }
  .bim-proof__item:last-child { padding-right: 0; }
}
@media (max-width: 719px) {
  .bim-proof__item { padding: 0; }
}
.bim-proof__item dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.bim-proof__item dd {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
  color: var(--text);
  margin: 0 0 8px;
}
.bim-proof__item small {
  display: block;
  font-family: var(--ff-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mid);
}

/* ── 21c. Founder block — direct trust anchor in Unternehmen ── */
.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
  margin-top: var(--s-12);
  padding: var(--s-8) var(--s-7);
  background: #fff;
  border: 1px solid rgba(15,17,20,.06);
  box-shadow: 0 1px 2px rgba(15,17,20,.03);
}
@media (min-width: 720px) {
  .founder {
    grid-template-columns: 120px 1fr;
    gap: var(--s-7);
    padding: var(--s-9) var(--s-9);
    align-items: start;
  }
}
.founder__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px; height: 100px;
  background: var(--teal);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
  user-select: none;
}
@media (min-width: 720px) {
  .founder__mark { width: 120px; height: 120px; font-size: 44px; }
}
.founder__kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.founder__name {
  font-family: var(--ff-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.founder__role {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.founder__quote {
  position: relative;
  font-family: var(--ff-display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.008em;
  color: var(--text);
  padding-left: var(--s-4);
  border-left: 2px solid var(--teal);
  margin-bottom: var(--s-6);
  text-wrap: balance;
}
.founder__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
}
.founder__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast) var(--ease);
}
.founder__link svg { color: var(--teal); }
.founder__link:hover { color: var(--teal); }

/* ── 21b. Team spread — asymmetric bento with intro ── */
.team-spread {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-top: var(--s-12);
}
@media (min-width: 960px) {
  .team-spread {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-5);
  }
  .team-spread__intro { grid-column: 1 / span 5; grid-row: 1; align-self: center; padding-right: var(--s-4); }
  .team-spread__a     { grid-column: 6 / span 7; grid-row: 1; aspect-ratio: 3 / 2; }
  .team-spread__b     { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 4 / 5; }
  .team-spread__c     { grid-column: 6 / span 7; grid-row: 2; aspect-ratio: 3 / 2; }
}
@media (max-width: 959px) {
  .team-spread__a { aspect-ratio: 16 / 10; }
  .team-spread__b { aspect-ratio: 4 / 3; }
  .team-spread__c { aspect-ratio: 16 / 10; }
}

.team-spread__intro { color: var(--text); }
.team-spread__kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-4);
}
.team-spread__title {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.018em;
  color: var(--text);
  margin-bottom: var(--s-4);
}
.team-spread__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 38ch;
  margin-bottom: var(--s-5);
}
.team-spread__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-spread__a,
.team-spread__b,
.team-spread__c {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.25);
  transition: transform .5s var(--ease-2), box-shadow .5s var(--ease-2);
}
.team-spread__a img,
.team-spread__b img,
.team-spread__c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-2), filter .5s var(--ease);
  filter: saturate(.98);
}
.team-spread__a img { object-position: 60% 45%; }
.team-spread__b img { object-position: 45% 42%; }
.team-spread__c img { object-position: 55% 45%; }

.team-spread__a:hover,
.team-spread__b:hover,
.team-spread__c:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px -18px rgba(0,0,0,.35);
}
.team-spread__a:hover img,
.team-spread__b:hover img,
.team-spread__c:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.team-spread figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,13,17,.68) 45%, rgba(11,13,17,.94) 100%);
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.team-spread figcaption span {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--teal);
  flex-shrink: 0;
  padding-bottom: 0;
  line-height: 1;
}

/* ── 21c. Contact portrait (editorial portrait in contact-info) ── */
.contact-info .contact-portrait {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: var(--s-5);
  align-items: center;
  margin: var(--s-8) 0;
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 639px) {
  .contact-portrait {
    grid-template-columns: 120px 1fr;
    gap: var(--s-4);
  }
}
.contact-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  filter: saturate(.96) contrast(1.02);
  transition: transform .8s var(--ease-2), filter .5s var(--ease);
  box-shadow: 0 14px 36px -16px rgba(0,0,0,.3);
}
.contact-portrait:hover img { transform: scale(1.02); filter: saturate(1.05); }

.contact-portrait figcaption {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-portrait__mark {
  flex-shrink: 0;
  margin-top: 6px;
  width: 10px; height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-glow);
  animation: dotPulse 2.2s ease-in-out infinite;
}
.contact-portrait__kicker {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.contact-portrait figcaption strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.008em;
  color: var(--text);
  text-wrap: balance;
}

/* ── 22. Reduced motion — Kowalski: fewer and gentler, not zero ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Allow opacity/color transitions (they aid comprehension).
     Remove motion-based animations (transforms, clip-paths, loops). */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }
  /* Ensure all "hidden" states default to fully visible */
  .reveal, .step,
  .hero h1 .word > span,
  .hero__meta,
  .hero__sub,
  .hero__cta-row,
  .hero__facts,
  .hero__facts dl > div,
  .hero__media-frame,
  .hero__media-frame img,
  .hero__media-cap,
  .reveal-mask,
  .h2.reveal-text,
  .photo-editorial__tag,
  .process__rule::after {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
