/* ==========================================================================
   Ingenieurgesellschaft Gross & Wrona – Stylesheet
   Radius-Regel: Buttons/Chips = Pill, Karten/Bilder = 16px, Inputs = 10px
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --f-950: #08130a;
  --f-925: #0b1a08;
  --f-900: #112b00; /* Markenfarbe aus dem Logo */
  --f-800: #1a3b0c;
  --f-700: #285217;
  --f-600: #3a6b25;
  --bone: #eceee4;
  --bone-2: #dfe3d4;
  --paper: #f5f6f0;
  --accent: #c8f04f;      /* Signal-Limette: Energie, Strom, Impuls */
  --accent-2: #b3dc39;

  --bg: var(--paper);
  --bg-2: #eaede2;
  --surface: #ffffff;
  --text: #13200d;
  --muted: #4c5a44;
  --line: rgba(19, 32, 13, 0.12);
  --line-strong: rgba(19, 32, 13, 0.24);
  --link: var(--f-600);
  --shadow: 0 24px 60px -28px rgba(17, 43, 0, 0.35);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-card: 16px;
  --r-input: 10px;
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --z-header: 50;
  --z-menu: 60;
  --z-transition: 90;
  --z-grain: 100;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1709;
    --bg-2: #101e0b;
    --surface: #14240e;
    --text: #e6eadc;
    --muted: #a6b39b;
    --line: rgba(230, 234, 220, 0.12);
    --line-strong: rgba(230, 234, 220, 0.26);
    --link: var(--accent);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* Dunkle Bereiche (Hero, CTA, Footer, Bänder) */
.theme-dark {
  --bg: var(--f-925);
  --bg-2: #0f2209;
  --surface: rgba(236, 238, 228, 0.04);
  --text: var(--bone);
  --muted: #a8b59c;
  --line: rgba(236, 238, 228, 0.12);
  --line-strong: rgba(236, 238, 228, 0.26);
  --link: var(--accent);
  background: var(--bg);
  color: var(--text);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--f-950); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--f-950); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Körnung: nur auf fixiertem Pseudo-Element */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--bg2 { background: var(--bg-2); }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Typo ---------- */
.h-display {
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
.h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; }
.h4 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.body { color: var(--muted); max-width: 65ch; }
.body p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.theme-dark .eyebrow { color: var(--accent); }
.hl { color: var(--f-600); }
.theme-dark .hl, .hl-accent { color: var(--accent); }
@media (prefers-color-scheme: dark) { .hl { color: var(--accent); } }
.text-link { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Icons ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.ico--lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong); --btn-fill: var(--text); --btn-fill-fg: var(--bg);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .65rem;
  height: 52px; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 500; font-size: 1rem; white-space: nowrap; letter-spacing: -0.005em;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .2s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--btn-fill-fg); border-color: var(--btn-fill); }
.btn:active { transform: scale(.98); }
.btn .ico { transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--f-950); --btn-bd: var(--accent); --btn-fill: var(--bone); --btn-fill-fg: var(--f-950); }
.btn--dark { --btn-bg: var(--f-900); --btn-fg: var(--bone); --btn-bd: var(--f-900); --btn-fill: var(--accent); --btn-fill-fg: var(--f-950); }
@media (prefers-color-scheme: dark) { .btn--dark { --btn-bg: var(--accent); --btn-fg: var(--f-950); --btn-bd: var(--accent); --btn-fill: var(--bone); } }
.btn--sm { height: 42px; padding: 0 1.1rem; font-size: .94rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color .3s, gap .3s var(--ease-out);
}
.arrow-link:hover { border-color: currentColor; gap: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--bone);
  transition: transform .5s var(--ease-out), background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8, 19, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(236, 238, 228, 0.08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.brand-text span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 450; color: rgba(236, 238, 228, .82);
  transition: color .25s, background-color .25s;
}
.nav > a:hover, .nav-trigger:hover, .nav > a[aria-current="page"], .nav-item.is-current > .nav-trigger { color: var(--bone); background: rgba(236, 238, 228, .08); }
.nav-trigger .ico { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.nav-item { position: relative; }
.nav-item.is-open .nav-trigger .ico { transform: rotate(180deg); }
.header-cta { margin-left: 10px; }

/* Mega-Menü */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(880px, 92vw);
  transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s .3s;
  background: rgba(10, 22, 8, .96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(236, 238, 228, .1);
  border-radius: var(--r-card);
  padding: 10px;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.nav-item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-list { display: grid; gap: 2px; }
.mega-link { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background-color .25s; }
.mega-link:hover, .mega-link:focus-visible { background: rgba(236, 238, 228, .06); }
.mega-link .ico-wrap { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(200, 240, 79, .1); color: var(--accent); }
.mega-link strong { display: block; font-weight: 500; color: var(--bone); }
.mega-link span { display: block; font-size: .85rem; color: #a8b59c; line-height: 1.4; }
.mega-feature { position: relative; border-radius: 12px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; padding: 20px; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 19, 10, .92)); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature div { position: relative; z-index: 1; }
.mega-feature strong { display: block; font-size: 1.15rem; font-weight: 500; margin-bottom: 4px; color: var(--bone); }
.mega-feature span { font-size: .88rem; color: #c3ccb9; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(236, 238, 228, .2); place-items: center; }
.menu-toggle .bars { position: relative; width: 18px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

/* Mobiles Menü */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--f-950); color: var(--bone);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: calc(var(--z-menu) + 1); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(236, 238, 228, .1); font-size: clamp(1.5rem, 6vw, 2.2rem); letter-spacing: -0.03em; }
.mobile-menu nav a.sub { font-size: 1.05rem; padding: 10px 0 10px 18px; color: #c3ccb9; letter-spacing: 0; }
.mobile-menu .mm-foot { margin-top: 32px; display: grid; gap: 8px; color: #a8b59c; font-size: .95rem; }

/* ---------- Seitenübergang ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: var(--z-transition);
  background: var(--f-900);
  display: grid; place-items: center;
  pointer-events: none;
  transform: translateY(100%);
}
.page-transition img { width: 120px; opacity: .9; }
html.pt-enter .page-transition { transform: translateY(0); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
  padding-top: var(--header-h);
  background:
    radial-gradient(120% 90% at 78% 45%, #173a07 0%, rgba(17, 43, 0, .35) 38%, transparent 70%),
    radial-gradient(80% 60% at 10% 100%, rgba(40, 82, 23, .35), transparent 70%),
    var(--f-950);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(236, 238, 228, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 238, 228, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(90% 80% at 70% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(90% 80% at 70% 50%, #000 20%, transparent 75%);
}
#hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; z-index: -1; background: url("../img/leitungstunnel.webp") center/cover; opacity: .18; display: none; }
.no-webgl .hero-fallback { display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--f-950)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-block: 48px 72px; }
.hero-copy { max-width: 780px; }
.hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 5vw, 4.9rem); }
@media (min-width: 901px) { .hero h1 .line > span, .page-hero h1 .line > span { white-space: nowrap; } }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 26px; color: #b9c4ae; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-tags { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-tag {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(8, 19, 10, .72); border: 1px solid rgba(200, 240, 79, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone);
  white-space: nowrap; opacity: 0; will-change: transform;
}
.hero-tag .ico { width: 16px; height: 16px; color: var(--accent); }
.hero-meta {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 36px;
  display: flex; gap: 28px; font-family: var(--mono); font-size: .75rem; color: #a8b59c; letter-spacing: .04em;
}
.hero-meta b { display: block; color: var(--bone); font-weight: 500; font-size: .95rem; letter-spacing: 0; font-family: var(--font); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--bg); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: 1.05rem; color: var(--muted); }
.marquee-item .ico { color: var(--f-600); }
@media (prefers-color-scheme: dark) { .marquee-item .ico { color: var(--accent); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement (Wort-Highlight) ---------- */
.statement-text { font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 450; max-width: 30ch; }
.statement-text .w { opacity: .16; transition: opacity .2s; }
.no-js .statement-text .w, .reduced .statement-text .w { opacity: 1; }
.statement-foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; }
.office-badge { display: flex; align-items: center; gap: 14px; }
.office-badge .mark { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--f-900); color: var(--accent); font-family: var(--mono); font-weight: 500; font-size: .9rem; }
.office-badge strong { display: block; font-weight: 600; }
.office-badge span { font-size: .9rem; color: var(--muted); }

/* ---------- Horizontaler Leistungs-Slider ---------- */
.hpan { position: relative; overflow: hidden; background: var(--f-950); color: var(--bone); }
.hpan-head { padding-top: clamp(80px, 9vw, 130px); }
.hpan-head .lead { color: #b9c4ae; margin-top: 18px; }
.hpan-pin { position: relative; }
.hpan-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 56px var(--gutter) clamp(80px, 9vw, 120px); width: max-content; will-change: transform; }
.svc-panel {
  position: relative; flex: none;
  width: min(78vw, 980px); height: min(68vh, 620px); min-height: 460px;
  border-radius: var(--r-card); overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #0f2009; border: 1px solid rgba(236, 238, 228, .08);
}
.svc-panel figure { position: relative; overflow: hidden; }
.svc-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.svc-panel:hover figure img { transform: scale(1.04); }
.svc-panel-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.svc-panel-body .ico--lg { color: var(--accent); }
.svc-panel-body h3 { margin-top: 22px; }
.svc-panel-body p { margin-top: 14px; color: #b9c4ae; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.theme-dark .chip, .hpan .chip { border-color: rgba(236, 238, 228, .18); color: #c3ccb9; }
.svc-panel-body .arrow-link { margin-top: auto; align-self: flex-start; border-color: rgba(236, 238, 228, .25); }
.svc-panel--accent { background: var(--accent); color: var(--f-950); grid-template-columns: 1fr; border: 0; }
.svc-panel--accent .svc-panel-body { justify-content: space-between; }
.svc-panel--accent p { color: #2c3d1e; }
.svc-panel--accent .arrow-link { border-color: rgba(8, 19, 10, .35); }
.hpan-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 1px; background: rgba(236, 238, 228, .12); }
.hpan-progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Zoom-Parallax ---------- */
.zoom { position: relative; height: 100dvh; overflow: hidden; background: var(--bg); }
.zoom-media { position: absolute; inset: 0; clip-path: inset(14% 18% 14% 18% round 16px); will-change: clip-path; }
.zoom-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.zoom-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 10, .2), rgba(8, 19, 10, .75)); }
.zoom-copy { position: absolute; inset: 0; display: flex; align-items: flex-end; z-index: 1; color: var(--bone); padding-bottom: clamp(48px, 8vw, 110px); opacity: 0; }
.zoom-copy .h2 { max-width: 18ch; }
.zoom-copy p { max-width: 52ch; color: #d2d9c8; margin-top: 18px; }

/* ---------- Prozess-Pfad ---------- */
.process { position: relative; }
.process-wrap { position: relative; margin-top: 72px; }
.process-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--line); }
.process-line span { position: absolute; inset: 0; background: var(--f-600); transform-origin: top; transform: scaleY(0); }
@media (prefers-color-scheme: dark) { .process-line span { background: var(--accent); } }
.process-step { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; padding-block: 34px; }
.process-step .node { grid-column: 2; justify-self: center; width: 56px; height: 56px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: background-color .5s, color .5s, border-color .5s, transform .5s var(--ease-out); z-index: 1; }
.process-step.is-active .node { background: var(--f-900); border-color: var(--f-900); color: var(--accent); transform: scale(1.08); }
.process-step .card { grid-column: 1; grid-row: 1; text-align: right; padding-right: 24px; }
.process-step:nth-child(even) .card { grid-column: 3; text-align: left; padding-right: 0; padding-left: 24px; }
.process-step .card h3 { margin-bottom: 8px; }
.process-step .card p { color: var(--muted); max-width: 38ch; margin-left: auto; }
.process-step:nth-child(even) .card p { margin-left: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); margin-top: 56px; }
.bento-cell { position: relative; border-radius: var(--r-card); overflow: hidden; padding: clamp(22px, 2.4vw, 34px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; }
.bento-cell.span-7 { grid-column: span 7; }
.bento-cell.span-5 { grid-column: span 5; }
.bento-cell.span-4 { grid-column: span 4; }
.bento-cell.span-8 { grid-column: span 8; }
.bento-cell.row-2 { grid-row: span 2; }
.bento-cell.is-dark { background: var(--f-900); color: var(--bone); border-color: transparent; }
.bento-cell.is-accent { background: var(--accent); color: var(--f-950); border-color: transparent; }
.bento-cell.is-image { color: var(--bone); border: 0; }
.bento-cell.is-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 1.4s var(--ease-out); }
.bento-cell.is-image:hover img { transform: scale(1.04); }
.bento-cell.is-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 10, .05), rgba(8, 19, 10, .82)); }
.bento-cell > * { position: relative; z-index: 1; }
.big-num { font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .95; letter-spacing: -0.05em; font-weight: 500; }
.bento-cell .label { font-size: 1.02rem; max-width: 30ch; }
.bento-cell.is-dark .label, .bento-cell.is-image .label { color: #c9d2be; }
.bento-cell .ico--lg { color: var(--f-600); }
.bento-cell.is-dark .ico--lg { color: var(--accent); }
.bento-logos { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.bento-logos img { height: 54px; width: auto; }
@media (prefers-color-scheme: dark) { .bento-logos { background: var(--bone); padding: 12px 16px; border-radius: 12px; } }

/* ---------- Split (Team-Teaser etc.) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
.reveal-img { position: relative; overflow: hidden; border-radius: var(--r-card); }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.split .reveal-img { aspect-ratio: 4/4.4; }
.split .reveal-img.is-wide { aspect-ratio: 4/3; }
.quote { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; letter-spacing: -0.015em; border-left: 2px solid var(--accent); padding-left: 22px; margin-top: 32px; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .92rem; color: var(--muted); }

/* ---------- Forschung-Teaser ---------- */
.research-card { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 620px; display: grid; align-items: end; color: var(--bone); }
.research-card > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; top: -7.5%; }
.research-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 19, 10, .92) 0%, rgba(8, 19, 10, .6) 45%, rgba(8, 19, 10, .1) 80%); }
.research-inner { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); max-width: 720px; }
.research-inner p { color: #cfd7c5; margin-top: 18px; }
.research-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.research-meta .chip { border-color: rgba(236, 238, 228, .28); color: var(--bone); }

/* ---------- CTA / Kontakt-Block ---------- */
.cta { position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 240, 79, .16), transparent 65%); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta h2 { max-width: 15ch; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.contact-card:hover { border-color: var(--line-strong); }
.contact-card img, .contact-card .mono-avatar { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.contact-card strong { display: block; font-weight: 500; }
.contact-card .role { font-size: .85rem; color: var(--muted); }
.contact-card .links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: .92rem; }
.contact-card .links a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); }
.contact-card .links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mono-avatar { display: grid; place-items: center; background: var(--f-800); color: var(--accent); font-family: var(--mono); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(64px, 8vw, 110px); padding-bottom: 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 34ch; font-size: .95rem; }
.footer-col h3 { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: #d3dac9; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; color: #d3dac9; line-height: 1.7; }
.footer-word { margin-top: clamp(56px, 8vw, 110px); font-size: clamp(3rem, 12.5vw, 13rem); line-height: .82; letter-spacing: -0.06em; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(236, 238, 228, .16); white-space: nowrap; user-select: none; overflow: hidden; }
.footer-bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .88rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--bone); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(56px, 7vw, 96px); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 85% 20%, rgba(40, 82, 23, .55), transparent 70%); }
.page-hero .hero-grid-bg { -webkit-mask-image: radial-gradient(70% 70% at 80% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(70% 70% at 80% 30%, #000 10%, transparent 70%); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: #a8b59c; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }
.page-hero h1 { margin-top: 22px; }
.page-hero .lead { margin-top: 22px; color: #b9c4ae; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-media { position: relative; aspect-ratio: 5/4.4; border-radius: var(--r-card); overflow: hidden; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; top: -9%; }
.page-hero-media .badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(8, 19, 10, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(236, 238, 228, .12); border-radius: 12px; color: var(--bone); font-size: .9rem; line-height: 1.3;
}
.page-hero-media .badge .ico-wrap { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--f-950); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.facts-row > div { padding: 22px 22px 0 0; }
.facts-row > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts-row strong { display: block; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.facts-row span { font-size: .9rem; color: var(--muted); }

/* Subnav (Sprungmarken) */
.subnav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease-out); }
.header-visible .subnav { top: var(--header-h); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px; font-size: .92rem; color: var(--muted); border: 1px solid transparent; transition: all .3s; }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--text); border-color: var(--line-strong); background: var(--surface); }
.subnav a .ico { width: 16px; height: 16px; }

/* Gewerk-Block */
.trade { scroll-margin-top: 140px; }
.trade-head { display: flex; align-items: center; gap: 16px; }
.trade-head .ico-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--f-900); color: var(--accent); flex: none; }
.trade-head .ico { width: 26px; height: 26px; }
.trade-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.trade-split .reveal-img { aspect-ratio: 4/3.6; position: sticky; top: 140px; }
.trade-split--rev > .reveal-img { order: 2; }
.trade h2 { margin-top: 22px; }
.trade .body { margin-top: 18px; }
.feature-list { display: grid; gap: 10px; margin-top: 32px; }
.feature {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.feature:hover { border-color: var(--line-strong); transform: translateX(4px); }
.feature .ico-wrap { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-2); color: var(--f-600); }
@media (prefers-color-scheme: dark) { .feature .ico-wrap { color: var(--accent); } }
.theme-dark .feature .ico-wrap { color: var(--accent); background: rgba(200, 240, 79, .08); }
.feature strong { display: block; font-weight: 500; letter-spacing: -0.01em; }
.feature p { font-size: .95rem; color: var(--muted); margin-top: 4px; }

/* Karten-Raster mit Spotlight */
.spot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 48px; }
.spot-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line);
}
.spot-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 240, 79, .14), transparent 60%); }
.spot-card:hover::before { opacity: 1; }
.spot-card > * { position: relative; }
.spot-card .ico--lg { color: var(--f-600); }
.theme-dark .spot-card .ico--lg { color: var(--accent); }
@media (prefers-color-scheme: dark) { .spot-card .ico--lg { color: var(--accent); } }
.spot-card h3 { margin-top: 18px; }
.spot-card p { margin-top: 10px; color: var(--muted); }
.spot-card ul { margin-top: 18px; display: grid; gap: 8px; }
.spot-card li { display: flex; gap: 10px; align-items: baseline; color: var(--text); font-size: .98rem; }
.spot-card li::before { content: ""; width: 10px; height: 1px; background: currentColor; opacity: .5; flex: none; transform: translateY(-4px); }
.spot-grid--3 { grid-template-columns: repeat(3, 1fr); }
.spot-card.is-wide { grid-column: span 2; }

/* Dunkles Band mit Liste */
.band { border-radius: 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.band-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Normen-Chips */
.norms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.norm {
  position: relative; display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface); min-width: 180px; flex: 1 1 220px; max-width: 360px;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.norm:hover { border-color: var(--f-600); transform: translateY(-3px); }
.norm b { font-family: var(--mono); font-weight: 500; font-size: .92rem; }
.norm span { font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* HOAI-Leistungsphasen */
.phases { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 48px; }
.phase { position: relative; padding: 18px 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.phase::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.phase:hover::after, .phase.is-lit::after { transform: scaleX(1); }
.phase .num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.phase strong { font-weight: 500; font-size: .98rem; line-height: 1.3; letter-spacing: -0.01em; }

/* Sticky-Stack Schritte */
.stack-steps { position: relative; margin-top: 56px; }
.stack-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start;
  min-height: 300px; padding: clamp(26px, 3.4vw, 48px); margin-bottom: 18px;
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transform-origin: center top;
}
.stack-card:nth-child(odd) { background: var(--f-900); color: var(--bone); border-color: transparent; }
.stack-card:nth-child(odd) p, .stack-card:nth-child(odd) li { color: #c3ccb9; }
.stack-card .step-n { font-family: var(--mono); font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.stack-card:nth-child(even) .step-n { color: var(--f-600); }
@media (prefers-color-scheme: dark) { .stack-card:nth-child(even) .step-n { color: var(--accent); } .stack-card:nth-child(odd) { background: #193a07; } }
.stack-card h3 { margin-bottom: 0; }
.stack-card p { color: var(--muted); }
.stack-card ul { display: grid; gap: 8px; margin-top: 14px; }
.stack-card li { display: flex; gap: 10px; color: var(--muted); font-size: .97rem; }
.stack-card li .ico { color: var(--accent); margin-top: 3px; }
.stack-card:nth-child(even) li .ico { color: var(--f-600); }

/* Info-Hinweis */
.note { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px; border-radius: var(--r-card); background: var(--accent); color: var(--f-950); margin-top: 40px; }
.note .ico { width: 30px; height: 30px; }
.note p { color: #24341a; }

/* Ressourcen */
.resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.resource { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.resource:hover { border-color: var(--line-strong); }
.resource strong { display: block; font-weight: 500; }
.resource span { display: block; font-size: .92rem; color: var(--muted); margin-top: 4px; }
.resource .ico { transition: transform .4s var(--ease-out); }
.resource:hover .ico { transform: translate(3px, -3px); }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em; }
.faq-q .pm { position: relative; width: 36px; height: 36px; flex: none; border-radius: 999px; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease-out); }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .pm { background: var(--accent); border-color: var(--accent); color: var(--f-950); }
.faq-item.is-open .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); max-width: 72ch; padding-bottom: 26px; }

/* Verwandte Leistungen */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.rel-card { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/4.6; color: var(--bone); display: flex; align-items: flex-end; padding: 24px; }
.rel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.rel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 10, 0) 35%, rgba(8, 19, 10, .88)); }
.rel-card:hover img { transform: scale(1.06); }
.rel-card div { position: relative; z-index: 1; width: 100%; }
.rel-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rel-card p { font-size: .93rem; color: #c9d2be; margin-top: 6px; }
.rel-card .ico { transition: transform .4s var(--ease-out); }
.rel-card:hover .ico { transform: translateX(5px); }

/* Leistungs-Übersicht */
.svc-index { margin-top: 56px; border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 60px 1.1fr 1.4fr 48px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-row .ico--lg { color: var(--f-600); }
@media (prefers-color-scheme: dark) { .svc-row .ico--lg { color: var(--accent); } }
.svc-row h3 { transition: transform .5s var(--ease-out); }
.svc-row p { color: var(--muted); }
.svc-row .go { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .5s var(--ease-out); }
.svc-row:hover h3 { transform: translateX(10px); }
.svc-row:hover .go { background: var(--accent); color: var(--f-950); border-color: var(--accent); transform: rotate(-45deg); }
.svc-hover-img { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 30; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .4s var(--ease-out); }
.svc-hover-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 56px; }
.person { border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 0.85fr 1fr; }
.person-photo { position: relative; min-height: 100%; aspect-ratio: 3/4; overflow: hidden; }
.person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.25); }
.person:hover .person-photo img { transform: scale(1.04); filter: grayscale(0); }
.person-photo .mono-avatar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; font-size: 3.2rem; letter-spacing: -0.04em; background: linear-gradient(160deg, var(--f-800), var(--f-950)); }
.person-body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; }
.person-body .role { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.person-body .tags { margin-top: 16px; }
.person-body .arrow-link { margin-top: auto; align-self: flex-start; padding-top: 18px; }
.person-cv { margin-top: 18px; }
.cv-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; font-size: .95rem; color: var(--link); }
.cv-toggle .ico { transition: transform .4s var(--ease-out); width: 16px; height: 16px; }
.person.is-open .cv-toggle .ico { transform: rotate(45deg); }
.cv { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.person.is-open .cv { grid-template-rows: 1fr; }
.cv > div { overflow: hidden; }
.cv h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 18px 0 10px; }
.cv li { position: relative; padding-left: 18px; font-size: .92rem; line-height: 1.5; color: var(--text); }
.cv li + li { margin-top: 8px; }
.cv li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--f-600); }
.cv li span { display: block; color: var(--muted); font-size: .84rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }

/* Forschung */
.partner-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.timeline-bar { position: relative; height: 64px; margin-top: 40px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; display: flex; }
.timeline-bar span { flex: 1; display: grid; place-items: center; font-family: var(--mono); font-size: .85rem; position: relative; z-index: 1; border-left: 1px solid var(--line); }
.timeline-bar span:first-child { border-left: 0; }
.timeline-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Karriere */
.job { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 48px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); }
.check-list .ico { color: var(--f-600); margin-top: 3px; }
@media (prefers-color-scheme: dark) { .check-list .ico { color: var(--accent); } }
.theme-dark .check-list .ico { color: var(--accent); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 500; }
.field label .req { color: var(--f-600); }
@media (prefers-color-scheme: dark) { .field label .req { color: var(--accent); } }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-input);
  padding: 14px 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--f-600); box-shadow: 0 0 0 4px rgba(58, 107, 37, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b3261e; }
.field .err { display: none; font-size: .85rem; color: #b3261e; }
@media (prefers-color-scheme: dark) { .field .err { color: #ffb4a9; } .field.has-error input, .field.has-error textarea { border-color: #ffb4a9; } }
.field.has-error .err { display: block; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills label { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .92rem; font-weight: 450; cursor: pointer; transition: all .25s; }
.topic-pills input:checked + label { background: var(--f-900); color: var(--bone); border-color: var(--f-900); }
@media (prefers-color-scheme: dark) { .topic-pills input:checked + label { background: var(--accent); color: var(--f-950); border-color: var(--accent); } }
.topic-pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--f-600); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--r-input); font-size: .95rem; }
.form-status.is-ok { display: block; background: rgba(200, 240, 79, .25); border: 1px solid var(--accent-2); }
.form-status.is-err { display: block; background: rgba(179, 38, 30, .1); border: 1px solid rgba(179, 38, 30, .4); }
.info-stack { display: grid; gap: 12px; }
.info-card { padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.info-card h3 { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 12px; }
.info-card address { font-style: normal; font-size: 1.1rem; line-height: 1.55; }
.info-card .links { display: grid; gap: 6px; margin-top: 12px; }
.info-card .links a { display: inline-flex; align-items: center; gap: 10px; color: var(--link); }
.info-card .links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Animations-Grundzustände (nur mit JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="fade"] { transform: none; }
.js .reveal-img[data-clip] { clip-path: inset(100% 0 0 0 round 16px); }
.reduced [data-reveal], .reduced .reveal-img[data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* Scroll-Fortschritt */
.progress-bar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: calc(var(--z-header) + 1); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; }
  .person-photo { aspect-ratio: 4/3.4; }
}
@media (max-width: 900px) {
  .page-hero-grid, .split, .cta-grid, .trade-split, .band-grid, .contact-grid, .job { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .trade-split--rev > .reveal-img { order: 0; }
  .trade-split .reveal-img { position: relative; top: 0; }
  .hero-meta { display: none; }
  .hero-copy { max-width: 100%; }
  .hpan-track { flex-direction: column; width: 100%; padding-top: 40px; }
  .svc-panel { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; }
  .svc-panel figure { aspect-ratio: 16/10; }
  .hpan-progress { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-cell.span-7, .bento-cell.span-5, .bento-cell.span-4, .bento-cell.span-8 { grid-column: span 2; }
  .bento-cell.row-2 { grid-row: auto; min-height: 380px; }
  .process-line { left: 27px; }
  .process-step { grid-template-columns: 56px 1fr; gap: 20px; }
  .process-step .node { grid-column: 1; }
  .process-step .card, .process-step:nth-child(even) .card { grid-column: 2; grid-row: 1; text-align: left; padding: 0; }
  .process-step .card p { margin-left: 0; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spot-grid, .spot-grid--3, .resources, .related, .team-grid, .partner-cols, .band-list { grid-template-columns: 1fr; }
  .spot-card.is-wide { grid-column: auto; }
  .stack-card { grid-template-columns: 1fr; position: relative; top: 0; }
  .svc-row { grid-template-columns: 44px 1fr 44px; }
  .svc-row p { grid-column: 2 / 4; grid-row: 2; }
  .svc-row .go { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .svc-hover-img { display: none; }
  .research-card { min-height: 560px; }
  .research-card::after { background: linear-gradient(180deg, rgba(8, 19, 10, .25), rgba(8, 19, 10, .94) 60%); }
  .zoom-media { clip-path: inset(10% 6% 10% 6% round 16px); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-text span { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell.span-7, .bento-cell.span-5, .bento-cell.span-4, .bento-cell.span-8 { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row > div + div { padding-left: 0; border-left: 0; }
  .note { grid-template-columns: 1fr; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .statement-text .w { opacity: 1; }
  .zoom-media { clip-path: none; }
  .zoom-copy { opacity: 1; }
}

/* Feinschliff nach Sichtprüfung */
.svc-panel--accent .ico--lg { color: var(--f-900); }
.research-card .eyebrow { color: var(--accent); }
@media (max-width: 900px) {
  .svc-panel--accent { width: 100% !important; }
  .svc-panel-body .arrow-link { margin-top: 24px; }
}
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-lines] .line > span { display: inline-block; }
.band-list { display: block; }
.band-list .feature-list { grid-template-columns: 1fr 1fr; margin-top: 0; }
.band-list .feature { align-content: start; }
.cta h2 { max-width: 18ch; }
@media (max-width: 900px) { .band-list .feature-list { grid-template-columns: 1fr; } }
.page-transition { background: linear-gradient(180deg, #2a5418, #163407); border-top: 2px solid var(--accent); }
