/* =========================================================
   Aktiv Holzbau – Design System
   Anthrazit · Taupe · Sand · Raleway (lokal gehostet)
   ========================================================= */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/raleway-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d1b1b;
  --charcoal: #282626;
  --charcoal-2: #322f2f;
  --taupe: #978673;
  --taupe-d: #7a6a58;
  --taupe-l: #b9aa98;
  --sand: #efe9e1;
  --paper: #f8f5f1;
  --white: #fff;
  --red: #d7261e;
  --muted: #6f6862;
  --line: rgba(40, 38, 38, .12);
  --line-light: rgba(255, 255, 255, .16);

  --font: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --radius: 4px;
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --shadow: 0 30px 60px -30px rgba(29, 27, 27, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--font); font-size: clamp(16px, 0.25vw + 15px, 18px); line-height: 1.7;
  color: var(--charcoal); background: var(--white); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
::selection { background: var(--taupe); color: #fff; }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- Typografie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe-d);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--light { color: var(--taupe-l); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); font-weight: 700; }
.h3 { font-size: clamp(1.3rem, 1.6vw, 1.6rem); }

/* Wort-für-Wort-Animation */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--wi) * 45ms + var(--d, 0s)); }
[data-split].is-in .w > span { transform: none; }

/* ---------- Buttons & Links ---------- */
.btn {
  --bg: var(--charcoal); --fg: #fff; --bd: var(--charcoal);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--taupe);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { --bd: var(--taupe); color: #fff; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--light { --bg: #fff; --fg: var(--charcoal); --bd: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--outline { --bg: transparent; --fg: var(--charcoal); --bd: var(--charcoal); }
.btn--dark { --bg: var(--charcoal); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .72rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--charcoal); padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.icon { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff;
  transition: background .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease), color .45s;
}
.site-header__inner { height: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; flex: none; width: 132px; }
.brand img { width: 100%; height: auto; transition: opacity .35s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 38px); margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: block; padding: 8px 0; text-decoration: none;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .9;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__list a[aria-current="page"] { opacity: 1; }
.nav__mobile-contact { display: none; }
.header-call .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--taupe); transform-origin: left; transform: scaleX(var(--p, 0)); }

.site-header.is-solid {
  --header-h: 70px; background: rgba(40, 38, 38, .92); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: background .45s var(--ease), height .45s var(--ease), transform .5s var(--ease), box-shadow .45s; }

body.is-legal .site-header { background: var(--charcoal); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 22s var(--ease-io) both; }
@keyframes kenburns { from { transform: scale(1.18); filter: brightness(.6); } to { transform: scale(1.02); filter: brightness(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,18,.55) 0%, rgba(20,18,18,.12) 35%, rgba(20,18,18,.55) 70%, rgba(20,18,18,.92) 100%),
              linear-gradient(90deg, rgba(20,18,18,.6) 0%, rgba(20,18,18,0) 65%);
}
.hero__inner { padding-top: calc(var(--header-h) + 8vh); padding-bottom: 5vh; }
.hero__title { font-size: clamp(2.6rem, 7.2vw, 6.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; max-width: 13ch; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.3vw, 1.3rem); max-width: 40ch; font-weight: 400; color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light);
  padding-block: 26px 34px; gap: 24px;
}
.hero__facts > div { display: flex; align-items: center; gap: 16px; font-size: .92rem; color: rgba(255,255,255,.75); }
.hero__facts .icon { width: 34px; height: 34px; color: var(--taupe-l); flex: none; }
.hero__facts strong { display: block; color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 130px; width: 26px; height: 44px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: -10% 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease-io) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,18,.6), rgba(20,18,18,.25) 40%, rgba(20,18,18,.85)); }
.page-hero__inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 7vh, 80px); }
.page-hero__title { font-size: clamp(2.6rem, 6.5vw, 5.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.02; margin-bottom: .3em; }
.page-hero__lead { max-width: 52ch; font-size: clamp(1.02rem, 1.2vw, 1.2rem); color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Laufband ---------- */
.marquee { background: var(--charcoal); color: var(--taupe-l); overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--taupe); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--charcoal); color: #fff; }
.section--dark .h2 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--row .section__lead { max-width: 44ch; margin: 0; }
.section__lead { font-size: 1.1rem; color: var(--muted); }

/* Split (Brun-Stil: Taupe-Fläche + Bild) */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--taupe); color: #fff; }
.split .kicker { color: rgba(255,255,255,.8); }
.split .link-arrow { color: #fff; }
.split__text { padding: clamp(56px, 8vw, 120px) clamp(24px, 7vw, 110px); align-self: center; max-width: 720px; justify-self: end; }
.split__text p { color: rgba(255,255,255,.9); }
.split__media { margin: 0; position: relative; overflow: hidden; min-height: 420px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.split__media img.pos-top { object-position: 50% 15%; height: 100%; }
.split--reverse .split__text { order: 2; justify-self: start; }
.split--sand { background: var(--sand); color: var(--charcoal); }
.split--sand .kicker { color: var(--taupe-d); }
.split--sand .link-arrow { color: var(--charcoal); }
.split--sand .split__text p { color: var(--charcoal); }

/* Zahlen */
.stats { background: var(--charcoal); color: #fff; padding-block: clamp(50px, 6vw, 80px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 10px 28px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 200; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-l); font-weight: 600; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.services--large { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
.service {
  position: relative; background: var(--paper); padding: 38px 30px 34px; min-height: 270px; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.services--large .service { min-height: 240px; padding: 48px 48px 44px; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--charcoal); transform: translateY(101%); transition: transform .6s var(--ease); }
.service:hover::before { transform: none; }
.service:hover { color: #fff; }
.service__no { position: absolute; top: 26px; right: 28px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--taupe); }
.service__icon { width: 44px; height: 44px; color: var(--taupe-d); margin-bottom: 30px; transition: color .5s, transform .6s var(--ease); }
.service:hover .service__icon { color: var(--taupe-l); transform: translateY(-4px) scale(1.06); }
.service__title { font-size: 1.12rem; font-weight: 700; margin-bottom: .55em; }
.services--large .service__title { font-size: 1.45rem; }
.service__text { font-size: .93rem; line-height: 1.6; color: var(--muted); margin: 0; transition: color .5s; }
.service:hover .service__text { color: rgba(255,255,255,.75); }

/* Projektkarten */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.pgrid--feature { grid-template-columns: repeat(2, 1fr); }
.pcard { display: flex; flex-direction: column; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pcard.is-hidden { display: none; }
.pcard.is-filtering { opacity: 0; transform: scale(.97); }
.pcard__media {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--sand); border-radius: var(--radius);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45)); opacity: .7; transition: opacity .5s; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard:hover .pcard__media::after { opacity: 1; }
.pcard__badges { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 40px; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(29,27,27,.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge .icon { width: 14px; height: 14px; }
.badge--live { background: var(--red); }
.badge--live i, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.8s infinite; display: inline-block; }
.live-dot { background: var(--red); box-shadow: 0 0 0 0 rgba(215,38,30,.6); }
.kicker:has(.live-dot)::before { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215,38,30,.55); } 70% { box-shadow: 0 0 0 9px rgba(215,38,30,0); } 100% { box-shadow: 0 0 0 0 rgba(215,38,30,0); } }
.pcard__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--charcoal); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.pcard__zoom .icon { width: 20px; height: 20px; }
.pcard:hover .pcard__zoom, .pcard__media:focus-visible .pcard__zoom { transform: scale(1) rotate(-45deg); opacity: 1; }
.pcard__body { padding-top: 20px; }
.pcard__meta { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.pcard__title { font-size: 1.28rem; margin-bottom: 6px; }
.pcard__place { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .92rem; color: var(--muted); }
.pcard__place .icon { width: 16px; height: 16px; }
.pcard__text { margin: 10px 0 0; font-size: .95rem; color: var(--muted); }
.section--dark .pcard__place, .section--dark .pcard__text { color: rgba(255,255,255,.65); }
.section--dark .pcard__media { background: var(--charcoal-2); }
.pgrid--feature .pcard__title { font-size: 1.6rem; }

.empty { display: flex; gap: 22px; align-items: center; padding: 36px 40px; border: 1px dashed var(--taupe-l); border-radius: var(--radius); background: #fff; }
.empty__icon { width: 44px; height: 44px; color: var(--taupe); flex: none; }
.empty p { margin: 0; color: var(--muted); }
.empty strong { color: var(--charcoal); }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 40px; padding: 10px 18px; cursor: pointer;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: all .35s var(--ease);
}
.chip sup { font-size: .65rem; color: var(--taupe); margin-left: 2px; }
.chip:hover { border-color: var(--charcoal); }
.chip.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.chip.is-active sup { color: var(--taupe-l); }

/* Ablauf */
.process { background: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--taupe); transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-top: 0; }
.step__no {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 26px; border-radius: 50%;
  background: #fff; border: 1px solid var(--taupe); color: var(--taupe-d); font-weight: 700; font-size: .9rem; transition: background .5s, color .5s;
}
.step.is-in .step__no { background: var(--charcoal); color: #fff; border-color: var(--charcoal); transition-delay: var(--d, 0s); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* Team */
.avatars { display: flex; margin: 8px 0 28px; }
.avatars img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sand); margin-left: -12px; transition: transform .4s var(--ease); }
.avatars img:first-child { margin-left: 0; }
.avatars img:hover { transform: translateY(-6px); z-index: 1; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.member__img { margin: 0 0 22px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transform: scale(1.02); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.member:hover .member__img img { filter: none; transform: scale(1.07); }
.member__role { margin: 0 0 4px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--taupe); }
.member__name { font-size: 1.4rem; margin-bottom: 10px; }
.member__quote { margin: 0; font-style: italic; color: var(--muted); font-size: .98rem; }

.checks { list-style: none; padding: 0; margin: 0 0 34px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks .icon { width: 20px; height: 20px; color: var(--taupe-d); flex: none; }

/* CTA */
.cta { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/cta.webp") center / cover; opacity: .22; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding-block: clamp(64px, 9vw, 120px); }
.cta__title { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; max-width: 16ch; }
.cta__text { color: rgba(255,255,255,.75); margin: 0; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__list { list-style: none; margin: 0 0 32px; padding: 0; }
.contact__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list .icon { color: var(--taupe-d); flex: none; margin-top: 3px; }
.contact__list a { text-decoration: none; font-weight: 600; }
.contact__card { background: var(--charcoal); color: #fff; padding: 34px; border-radius: var(--radius); }
.contact__card p { color: rgba(255,255,255,.8); }
.form { background: #fff; padding: clamp(26px, 4vw, 52px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--charcoal); background: var(--paper);
  border: 1px solid transparent; border-bottom: 1px solid var(--line); border-radius: 2px; padding: 14px 16px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--taupe); box-shadow: 0 0 0 4px rgba(151,134,115,.15); }
.field em, .field-err { display: block; margin-top: 6px; color: var(--red); font-size: .85rem; font-style: normal; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 24px; }
.check input { width: 20px; height: 20px; accent-color: var(--charcoal); margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; margin-bottom: 22px; border-radius: var(--radius); background: var(--sand); }
.alert--ok { background: #e7f1e8; color: #23542b; }
.alert--err { background: #fbe9e8; color: #8d1d17; }
.alert .icon { flex: none; }

/* Rechtliches */
.legal { padding-top: calc(var(--header-h) + 70px); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; }
.notfound__code { font-size: clamp(6rem, 18vw, 12rem); font-weight: 200; line-height: 1; color: var(--taupe-l); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 80px 56px; }
.site-footer__brand img { width: 150px; height: auto; margin-bottom: 20px; }
.site-footer__title { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .link-arrow { color: var(--taupe-l); }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

.site-credit { flex-basis: 100%; text-align: center; font-size: .7rem; letter-spacing: .08em; opacity: .35; transition: opacity .3s var(--ease); }
.site-credit:hover, .site-credit:focus-within { opacity: .8; }
.site-credit a { color: inherit; text-decoration: none; }

.fab-call { display: none; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto 1fr auto; background: rgba(18,17,17,.97); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--gutter); }
.lb__title { margin: 0; font-size: 1rem; font-weight: 700; }
.lb__title small { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-l); font-weight: 600; }
.lb__count { font-size: .8rem; letter-spacing: .14em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.lb__btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); cursor: pointer; transition: background .3s, border-color .3s; }
.lb__btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; padding: 0 clamp(8px, 7vw, 110px); }
.lb__slide { max-width: 100%; max-height: calc(100svh - 200px); width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.lb__slide.is-leaving { opacity: 0; transform: translateX(var(--dir, 40px)) scale(.98); }
.lb__slide.is-entering { opacity: 0; transform: translateX(calc(var(--dir, 40px) * -1)) scale(.98); }
video.lb__slide { background: #000; width: min(100%, 1280px); }
.lb__prev, .lb__next { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.lb__prev { left: var(--gutter); } .lb__next { right: var(--gutter); }
.lb__thumbs { display: flex; gap: 8px; padding: 16px var(--gutter) 22px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button { position: relative; flex: none; width: 84px; aspect-ratio: 3/2; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; opacity: .45; background: #333; transition: opacity .3s, border-color .3s; }
.lb__thumbs button.is-active { opacity: 1; border-color: #fff; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumbs .icon { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 3px #000); }
.lb__spinner { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
html.lb-open { overflow: hidden; }

/* ---------- Scroll-Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Maske auf dem Bild, nicht auf dem beobachteten Element (IntersectionObserver berücksichtigt clip-path) */
.js [data-reveal="mask"] { opacity: 1; transform: none; }
.js [data-reveal="mask"] img { clip-path: inset(0 0 100% 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-io), transform 2.2s var(--ease); }
.js [data-reveal="mask"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js [data-split][data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; margin-left: 4px; border: 0; background: transparent; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header-call { margin-left: auto; }
  .header-call span { display: none; }
  .header-call { padding: 0 12px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
    background: var(--ink); clip-path: circle(0 at calc(100% - 40px) 35px); transition: clip-path .8s var(--ease-io); visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 35px); visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .06s); }
  .nav__list a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 700; letter-spacing: -.01em; text-transform: none; padding: 6px 0; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--taupe-l); }
  .nav__mobile-contact { display: grid; gap: 12px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-light); }
  .nav__mobile-contact a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: rgba(255,255,255,.8); }
  .nav__mobile-contact .icon { width: 20px; height: 20px; color: var(--taupe-l); }
  .brand { z-index: 2; width: 112px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__text, .split--reverse .split__text { order: 0; justify-self: stretch; max-width: none; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; padding-block: 22px 28px; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .services:not(.services--large) .service { padding: 24px 16px 22px; }
  .services:not(.services--large) .service__text { display: none; }
  .services:not(.services--large) .service__icon { width: 34px; height: 34px; margin-bottom: 16px; }
  .services:not(.services--large) .service__title { font-size: .98rem; margin: 0; hyphens: auto; }
  .service__no { top: 16px; right: 16px; }
  .services--large { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .services--large .service { padding: 36px 28px; }
  .pgrid, .pgrid--feature { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .site-footer__grid { grid-template-columns: 1fr; padding-block: 56px 32px; }
  .hero__facts > div:nth-child(n+2) { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .empty { flex-direction: column; align-items: flex-start; padding: 28px; }
  .lb__prev, .lb__next { display: none; }
  .lb__stage { padding: 0; }
  .lb__slide { max-height: calc(100svh - 180px); border-radius: 0; }
  .fab-call {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%; background: var(--taupe); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
    transform: scale(0); transition: transform .5s var(--ease);
  }
  .fab-call.is-visible { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="mask"], [data-split] .w > span { opacity: 1; transform: none; clip-path: none; }
}

@media print {
  .site-header, .fab-call, .cta, .marquee, .hero__scroll { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
