/* ==========================================================================
   A. Wünnenberg GmbH | Straßen- und Tiefbau seit 1888
   Design-System: Heritage Industrial
   Farben: Waldgrün (Logo), Kommunal-Orange (Fuhrpark), Asphalt
   Schrift: Barlow Condensed (Display, Straßenschild-Anmutung) + Barlow (Text)
   ========================================================================== */

:root {
  --asphalt: #101412;
  --asphalt-2: #171c19;
  --asphalt-3: #222924;
  --green-950: #00261a;
  --green-900: #013a27;
  --green-800: #014a32;
  --green-700: #00573a;
  --green-500: #2f7d5b;
  --signal: #f26b1d;
  --signal-600: #dd5a0f;
  --signal-soft: rgba(242, 107, 29, 0.14);

  --bg: #f2f3f0;
  --bg-2: #e7eae5;
  --surface: #ffffff;
  --ink: #111613;
  --ink-2: #2b332e;
  --muted: #59625c;
  --line: rgba(17, 22, 19, 0.12);
  --line-strong: rgba(17, 22, 19, 0.22);

  --on-dark: #eef1ec;
  --on-dark-muted: #a9b3ac;
  --line-dark: rgba(238, 241, 236, 0.14);

  --ff-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --radius: 2px;
  --cut: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 24px 60px -24px rgba(1, 38, 26, 0.35);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1311;
    --bg-2: #151a17;
    --surface: #1a201c;
    --ink: #e9ede8;
    --ink-2: #cfd6d0;
    --muted: #9aa49d;
    --line: rgba(233, 237, 232, 0.12);
    --line-strong: rgba(233, 237, 232, 0.24);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1311;
  --bg-2: #151a17;
  --surface: #1a201c;
  --ink: #e9ede8;
  --ink-2: #cfd6d0;
  --muted: #9aa49d;
  --line: rgba(233, 237, 232, 0.12);
  --line-strong: rgba(233, 237, 232, 0.24);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--asphalt); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--signal); color: var(--asphalt); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--dark { background: var(--asphalt); color: var(--on-dark); }
.section--green { background: var(--green-900); color: var(--on-dark); }
.section--alt { background: var(--bg-2); }

/* ---------- Typo ---------- */
.display, h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.95;
}
.h1 { font-size: clamp(2.9rem, 1.6rem + 5.6vw, 6.4rem); }
.h2 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.4rem); }
.h3 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); line-height: 1; }
.h4 { font-family: var(--ff-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1.1; letter-spacing: 0.01em; }
.text-signal { color: var(--signal); }
.text-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section--dark .text-outline, .section--green .text-outline { -webkit-text-stroke-color: var(--on-dark); }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.section--dark .lead, .section--green .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 66ch; color: var(--ink-2); }
.section--dark .prose, .section--green .prose { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }

.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--signal); --btn-fg: var(--asphalt);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; color: var(--btn-fg); background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--asphalt);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--signal); }
.btn:active { transform: scale(0.98); }
.btn i { font-size: 1.15em; transition: transform .4s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }
.btn--dark { --btn-bg: var(--green-700); --btn-fg: #fff; }
.btn--dark::after { background: var(--signal); }
.btn--dark:hover { color: var(--asphalt); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(238,241,236,.55); clip-path: none; }
.btn--ghost::after { background: var(--on-dark); }
.btn--ghost:hover { color: var(--asphalt); }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); clip-path: none; }
.btn--line::after { background: var(--ink); }
.btn--line:hover { color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem;
  border-bottom: 2px solid var(--signal); padding-bottom: 4px;
}
.link-arrow i { transition: transform .35s var(--ease-out); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Scroll-Fortschritt, Körnung, Seitenübergang ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-transition { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.page-transition span { background: var(--green-900); transform: scaleY(0); transform-origin: 50% 100%; }
.page-transition span:nth-child(even) { background: var(--green-800); }
.page-transition span:last-child { background: var(--signal); }
html.pt-enter .page-transition span { transform: scaleY(1); transform-origin: 50% 0; }

/* ---------- Intro-Loader (nur erster Besuch) ---------- */
.intro { position: fixed; inset: 0; z-index: 210; background: var(--green-900); display: grid; place-items: center; }
.intro__inner { display: grid; justify-items: center; gap: 18px; }
.intro__logo { width: min(360px, 70vw); clip-path: inset(0 100% 0 0); }
.intro__year { font-family: var(--ff-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .4em; color: var(--signal); opacity: 0; }
html:not(.js) .intro, html.intro-done .intro { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--on-dark);
  transition: background .4s, transform .5s var(--ease-out), box-shadow .4s, height .4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,20,18,.72), rgba(16,20,18,0));
  transition: opacity .4s;
}
.site-header.is-scrolled { background: rgba(16, 20, 18, 0.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link i { font-size: .8em; transition: transform .3s; }
.nav__item.is-open .nav__link i { transform: rotate(180deg); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.header-phone i { color: var(--signal); font-size: 1.1rem; }
.header-cta { min-height: 46px; padding: 0 20px; font-size: 1rem; }

/* Mega-Menü */
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  background: var(--asphalt-2); color: var(--on-dark); border-top: 1px solid var(--line-dark);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .55s var(--ease-out), visibility 0s .55s;
}
.nav__item.is-open .mega { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-out), visibility 0s; }
.mega__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-block: 40px 48px; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mega__link { display: flex; gap: 16px; padding: 14px 12px; border-left: 2px solid transparent; transition: background .3s, border-color .3s; }
.mega__link:hover, .mega__link:focus-visible { background: rgba(255,255,255,.04); border-color: var(--signal); }
.mega__link > i { font-size: 1.6rem; color: var(--signal); flex-shrink: 0; margin-top: 2px; }
.mega__link strong { display: block; font-family: var(--ff-display); font-size: 1.18rem; letter-spacing: .03em; text-transform: uppercase; font-weight: 700; }
.mega__link span span { display: block; color: var(--on-dark-muted); font-size: .92rem; line-height: 1.4; margin-top: 2px; }
.mega__preview { position: relative; overflow: hidden; min-height: 300px; background: var(--asphalt); }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s, transform 1.2s var(--ease-out); }
.mega__preview img.is-active { opacity: .9; transform: scale(1); }
.mega__preview-cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(0deg, rgba(16,20,18,.92), rgba(16,20,18,0)); font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Mobile-Menü */
.burger { display: none; width: 48px; height: 48px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; right: 20px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); right: 12px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--green-950); color: var(--on-dark);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list > li > a, .mobile-menu__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--ff-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; text-align: left; }
.mobile-menu__sub { display: none; padding: 0 0 16px; }
.mobile-menu__sub.is-open { display: grid; gap: 4px; }
.mobile-menu__sub a { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--on-dark-muted); font-size: 1.05rem; }
.mobile-menu__sub a i { color: var(--signal); }
.mobile-menu__foot { margin-top: 28px; display: grid; gap: 14px; }
.mobile-menu__foot a { display: flex; align-items: center; gap: 10px; }
.mobile-menu__foot i { color: var(--signal); }

/* ---------- HERO Startseite ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh; display: flex; align-items: flex-end;
  color: var(--on-dark); background: var(--asphalt); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -3%; z-index: -3; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.12); }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(16,20,18,.92) 0%, rgba(16,20,18,.66) 38%, rgba(16,20,18,.08) 72%),
    linear-gradient(0deg, rgba(16,20,18,.95) 0%, rgba(16,20,18,0) 46%),
    linear-gradient(180deg, rgba(16,20,18,.55) 0%, rgba(16,20,18,0) 22%);
}
.hero__steam { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__paver { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__paver-cover {
  position: absolute; inset: 0; background: #0b0e0c url("../img/tx-asphalt.webp") center/520px auto;
  clip-path: inset(0 0 0 0);
}
.hero__paver-cover::after { content: ""; position: absolute; inset: 0; background: rgba(11,14,12,.72); }
.hero__seam {
  position: absolute; top: 0; bottom: 0; left: 0; width: 140px; margin-left: -70px;
  background: linear-gradient(90deg, rgba(242,107,29,0) 0%, rgba(242,107,29,.18) 40%, rgba(255,170,90,.95) 50%, rgba(242,107,29,.18) 60%, rgba(242,107,29,0) 100%);
  filter: blur(2px); mix-blend-mode: screen; opacity: 0;
}
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(120px, 15vh, 170px); }
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(3.1rem, 1.4rem + 6.4vw, 7.6rem); line-height: .9; max-width: 13ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { margin-top: 28px; max-width: 46ch; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #cdd5cf; }
.hero__ctas { margin-top: 38px; }
.hero__lane { position: absolute; left: 0; right: 0; bottom: 64px; height: 6px; z-index: 3; overflow: hidden; opacity: .9; }
.hero__lane span {
  position: absolute; inset: 0 -200px 0 0;
  background: repeating-linear-gradient(90deg, #f3f1e6 0 120px, transparent 120px 210px);
  animation: lane 2.6s linear infinite;
}
@keyframes lane { to { transform: translateX(-210px); } }
.hero__meta { position: absolute; z-index: 3; right: var(--gutter); bottom: 96px; display: grid; gap: 8px; justify-items: end; text-align: right; }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(16,20,18,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); font-size: .95rem; }
.hero__badge i { color: var(--signal); font-size: 1.4rem; }
.hero__badge strong { font-family: var(--ff-display); font-size: 1.15rem; letter-spacing: .04em; display: block; line-height: 1.1; text-transform: uppercase; }
.hero__badge small { color: var(--on-dark-muted); font-size: .85rem; }

/* ---------- Kennzahlen ---------- */
.stats { background: var(--green-900); color: var(--on-dark); position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--signal); vertical-align: top; position: relative; top: .2em; margin-left: 2px; }
.stat__label { margin-top: 10px; color: var(--on-dark-muted); font-size: .98rem; line-height: 1.4; max-width: 22ch; }

/* ---------- Querschnitt (Strata) ---------- */
.strata { background: var(--asphalt); color: var(--on-dark); position: relative; overflow: hidden; }
.strata__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 20px) 40px; }
.strata__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.strata__head { margin-bottom: 36px; }
.strata__steps { position: relative; min-height: 290px; }
.strata__step { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; }
.strata__step.is-active { opacity: 1; visibility: visible; }
.strata__step-k { font-family: var(--ff-display); color: var(--signal); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; }
.strata__step h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); margin: 10px 0 14px; }
.strata__step p { color: var(--on-dark-muted); max-width: 46ch; }
.strata__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-dark);
  font-size: .95rem; font-weight: 500; transition: background .3s, border-color .3s, color .3s;
}
.chip i { color: var(--signal); }
a.chip:hover { border-color: var(--signal); background: var(--signal-soft); }
.strata__progress { display: flex; gap: 8px; margin-top: 30px; }
.strata__progress span { height: 3px; flex: 1; background: var(--line-dark); position: relative; overflow: hidden; }
.strata__progress span::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(var(--p, 0)); transform-origin: left; }

.strata__visual { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.strata__stage { position: relative; aspect-ratio: 1 / 0.95; perspective: 1900px; perspective-origin: 50% 30%; }
.strata__stack {
  position: absolute; left: 50%; top: 66%; width: 58%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-40deg);
  transform-style: preserve-3d;
}
.slab {
  --t: 26px; --z: 0px; --c: #444;
  position: absolute; inset: 0; transform: translateZ(var(--z)); transform-style: preserve-3d;
  background-color: var(--c); background-size: cover;
  outline: 1px solid rgba(255,255,255,.06);
  transition: filter .5s, outline-color .5s;
}
.slab::before, .slab::after { content: ""; position: absolute; background: inherit; background-color: var(--c); }
.slab::before { left: 0; right: 0; top: 100%; height: var(--t); transform-origin: top; transform: rotateX(-90deg); filter: brightness(.62); }
.slab::after { top: 0; bottom: 0; left: 100%; width: var(--t); transform-origin: left; transform: rotateY(90deg); filter: brightness(.45); }
.slab.is-dim { filter: brightness(.42) saturate(.6); }
.slab.is-hot { outline: 2px solid var(--signal); outline-offset: 0; }
.slab--surface { --c: #3a3d3b; --t: 18px; background-image: linear-gradient(90deg, transparent 49.6%, rgba(242,107,29,.9) 49.6% 50.4%, transparent 50.4%), url("../img/tx-pflaster.webp"), url("../img/tx-asphalt.webp"); background-size: 100% 100%, 50% 100%, 50% 100%; background-position: 0 0, 0 0, 100% 0; background-repeat: no-repeat; }
.slab--base { --c: #6b6862; --t: 30px;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(0,0,0,.35) 0 3px, transparent 4px), radial-gradient(circle at 45% 80%, rgba(255,255,255,.12) 0 2px, transparent 3px);
  background-size: 22px 22px, 29px 29px, 17px 17px; }
.slab--frost { --c: #a9906a; --t: 34px;
  background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,.22) 0 1px, transparent 2px), radial-gradient(circle at 70% 70%, rgba(80,50,20,.3) 0 1px, transparent 2px);
  background-size: 9px 9px, 13px 13px; }
.slab--pipes { --c: #5b4330; --t: 46px;
  background-image:
    linear-gradient(0deg, transparent 18%, #2a7fd4 18% 25%, transparent 25%),
    linear-gradient(0deg, transparent 38%, #e5c22a 38% 44%, transparent 44%),
    linear-gradient(0deg, transparent 56%, #2c9a58 56% 61%, transparent 61%),
    linear-gradient(0deg, transparent 74%, var(--signal) 74% 79%, transparent 79%),
    url("../img/tx-erde.webp");
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, cover; }
.slab--sewer { --c: #3d2e22; --t: 60px;
  background-image:
    linear-gradient(0deg, transparent 30%, rgba(0,0,0,.35) 30% 32%, #8d8a83 32% 40%, #b3afa6 40% 52%, #8d8a83 52% 62%, rgba(0,0,0,.35) 62% 64%, transparent 64%),
    linear-gradient(90deg, transparent 64%, #c9692b 64% 68%, transparent 68%),
    url("../img/tx-erde.webp");
  background-size: 100% 100%, 100% 100%, cover; filter: brightness(.8); }
.strata__gauge { position: relative; width: 74px; height: 78%; align-self: center; border-left: 1px solid var(--line-dark); }
.strata__gauge::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  background: repeating-linear-gradient(180deg, var(--on-dark-muted) 0 1px, transparent 1px 10%), repeating-linear-gradient(180deg, rgba(169,179,172,.5) 0 1px, transparent 1px 2.5%);
  background-size: 14px 100%, 7px 100%; background-repeat: no-repeat;
}
.strata__marker { position: absolute; left: -6px; top: 0; display: flex; align-items: center; gap: 10px; transform: translateY(-50%); }
.strata__marker::before { content: ""; width: 0; height: 0; border-left: 10px solid var(--signal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.strata__depth { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strata__depth small { display: block; font-size: .72rem; color: var(--on-dark-muted); letter-spacing: .12em; font-weight: 600; }
.strata__legend { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--on-dark-muted); }
.strata__legend span { display: inline-flex; align-items: center; gap: 6px; }
.strata__legend b { width: 14px; height: 6px; display: inline-block; }

/* ---------- Leistungen Bento ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 2.4vw, 32px); min-height: 240px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out);
}
.tile:hover { border-color: var(--signal); }
.tile__img { position: absolute; inset: 0; z-index: -2; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s var(--ease-out); }
.tile:hover .tile__img img { transform: scale(1.1); }
.tile--photo { color: var(--on-dark); border-color: transparent; }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,20,18,.92) 0%, rgba(16,20,18,.35) 55%, rgba(16,20,18,.05) 100%); }
.tile--green { background: var(--green-800); color: var(--on-dark); border-color: transparent; }
.tile--signal { background: var(--signal); color: var(--asphalt); border-color: transparent; }
.tile__icon { position: absolute; top: clamp(22px, 2.4vw, 32px); left: clamp(22px, 2.4vw, 32px); font-size: 2rem; color: var(--signal); }
.tile--signal .tile__icon { color: var(--asphalt); }
.tile__arrow {
  position: absolute; top: clamp(18px, 2vw, 26px); right: clamp(18px, 2vw, 26px); width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid currentColor; opacity: .7; transition: background .4s, color .4s, transform .5s var(--ease-out), opacity .4s, border-color .4s;
}
.tile:hover .tile__arrow { background: var(--signal); color: var(--asphalt); border-color: var(--signal); opacity: 1; transform: rotate(-45deg); }
.tile--signal:hover .tile__arrow { background: var(--asphalt); color: var(--signal); border-color: var(--asphalt); }
.tile h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: .98; }
.tile p { margin-top: 10px; font-size: .98rem; line-height: 1.5; max-width: 40ch; opacity: .86; }
.tile__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.tile:hover .tile__bar { transform: scaleX(1); }
.tile--signal .tile__bar { background: var(--asphalt); }
.bento .t-a { grid-column: span 7; grid-row: span 2; min-height: 520px; }
.bento .t-b { grid-column: span 5; grid-row: span 1; }
.bento .t-c { grid-column: span 5; grid-row: span 1; }
.bento .t-d { grid-column: span 4; min-height: 320px; }
.bento .t-e { grid-column: span 4; min-height: 320px; }
.bento .t-f { grid-column: span 4; min-height: 320px; }
.bento .t-g { grid-column: span 5; min-height: 300px; }
.bento .t-h { grid-column: span 7; min-height: 300px; }

/* ---------- Fuhrpark-Akkordeon ---------- */
.fleet { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fleet__acc { display: flex; gap: 10px; height: clamp(360px, 42vw, 520px); }
.fleet__item { position: relative; flex: 1; overflow: hidden; min-width: 0; transition: flex 0.8s var(--ease-out); cursor: pointer; background: var(--asphalt); }
.fleet__item.is-active { flex: 4.2; }
.fleet__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .6s, transform 1.2s var(--ease-out); }
.fleet__item.is-active img { filter: saturate(1.05); }
.fleet__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,20,18,.85), rgba(16,20,18,0) 50%); }
.fleet__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--on-dark); opacity: 0; transform: translateY(12px); transition: opacity .5s .15s, transform .6s .15s var(--ease-out); }
.fleet__item.is-active .fleet__cap { opacity: 1; transform: none; }
.fleet__cap strong { font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; display: block; }
.fleet__cap span { color: var(--on-dark-muted); font-size: .95rem; }
.fleet__tab { position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--ff-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); transition: opacity .3s; white-space: nowrap; }
.fleet__item.is-active .fleet__tab { opacity: 0; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist i { color: var(--signal); font-size: 1.2rem; margin-top: 3px; flex-shrink: 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding-block: 22px; }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); text-transform: uppercase; white-space: nowrap; }
.marquee__item i { color: var(--signal); font-size: .7em; }
.marquee__item.is-outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Referenz-Streifen ---------- */
.refstrip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--signal) transparent; }
.refstrip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.refstrip.is-drag a { pointer-events: none; }
.refstrip::-webkit-scrollbar { height: 4px; }
.refstrip::-webkit-scrollbar-thumb { background: var(--signal); }
.refcard { flex: 0 0 clamp(250px, 28vw, 380px); scroll-snap-align: start; }
.refcard__img { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--bg-2); }
.refcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.refcard:hover .refcard__img img { transform: scale(1.06); }
.refcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.refcard__meta strong { font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; display: block; line-height: 1.1; }
.refcard__meta span { color: var(--muted); font-size: .93rem; }
.refstrip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.refstrip-nav { display: flex; gap: 8px; }
.icon-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 1.2rem; transition: background .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--signal); border-color: var(--signal); color: var(--asphalt); }

/* ---------- Erbe / Bochum ---------- */
.heritage { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--on-dark); overflow: hidden; isolation: isolate; background: var(--green-950); }
.heritage__bg { position: absolute; inset: -10% 0; z-index: -2; }
.heritage__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 35%; filter: grayscale(.35) contrast(1.05); }
.heritage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,38,26,.55) 0%, rgba(0,38,26,.82) 45%, rgba(0,38,26,.93) 70%), linear-gradient(0deg, rgba(0,38,26,.7), rgba(0,38,26,0) 60%); }
.heritage .prose { color: #d3dbd5; }
.heritage__year { font-family: var(--ff-display); font-weight: 800; font-size: clamp(6rem, 3rem + 14vw, 17rem); line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px rgba(242,107,29,.85); font-variant-numeric: tabular-nums; }
.heritage__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.heritage blockquote { font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); text-transform: uppercase; line-height: 1.08; }
.heritage cite { display: block; margin-top: 16px; font-style: normal; color: var(--on-dark-muted); font-size: .98rem; }

/* ---------- Ablauf (Linie zeichnet sich) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 56px; }
.process__line { position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--line); }
.process__line span { position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.process__step { position: relative; }
.process__dot { position: absolute; top: -48px; left: 0; width: 22px; height: 22px; background: var(--bg); border: 2px solid var(--signal); transform: rotate(45deg); }
.process__step i { font-size: 2.2rem; color: var(--signal); }
.process__step h3 { font-size: 1.7rem; margin: 14px 0 10px; }
.process__step p { color: var(--muted); font-size: .98rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--signal); color: var(--asphalt); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta .h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.4rem); }
.cta__stripes { position: absolute; right: -6%; top: 0; bottom: 0; width: 46%; z-index: -1; opacity: .16;
  background: repeating-linear-gradient(-45deg, var(--asphalt) 0 26px, transparent 26px 52px); }
.cta__contacts { display: grid; gap: 4px; }
.cta__contact { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(16,20,18,.22); transition: padding .4s var(--ease-out); }
.cta__contact:hover { padding-left: 10px; }
.cta__contact i { font-size: 1.6rem; }
.cta__contact strong { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); display: block; line-height: 1; text-transform: uppercase; }
.cta__contact span { font-size: .92rem; opacity: .8; }
.cta .btn { --btn-bg: var(--asphalt); --btn-fg: var(--on-dark); }
.cta .btn::after { background: var(--green-700); }
.cta .btn:hover { color: #fff; }

/* ---------- Footer + Demo-Balken ---------- */
.site-footer { background: var(--asphalt); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 34ch; }
.site-footer h3 { font-family: var(--ff-display); font-size: 1.1rem; letter-spacing: .14em; color: var(--on-dark); margin-bottom: 18px; font-weight: 700; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--signal); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact i { color: var(--signal); margin-top: 5px; }
.footer__giant { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; font-size: clamp(4rem, 1rem + 13.6vw, 15.5rem); line-height: .8; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(238,241,236,.13); white-space: nowrap; margin-top: clamp(48px, 7vw, 96px); text-align: center; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.footer__credits { font-size: .78rem; opacity: .7; max-width: 80ch; }
.footer__credits a { text-decoration: underline; }

.demo-bar { background: var(--signal); color: var(--asphalt); position: relative; z-index: 5; }
.demo-bar__inner { display: flex; align-items: center; gap: 18px 28px; padding-block: 18px; flex-wrap: wrap; }
.demo-bar__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; background: var(--asphalt); color: var(--signal); font-size: 1.4rem; }
.demo-bar__text { flex: 1 1 420px; font-size: .98rem; line-height: 1.5; }
.demo-bar__text strong { font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; margin-right: 6px; }
.demo-bar .btn { --btn-bg: var(--asphalt); --btn-fg: var(--on-dark); min-height: 48px; font-size: 1rem; }
.demo-bar .btn::after { background: var(--green-700); }
.demo-bar .btn:hover { color: #fff; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--asphalt); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; clip-path: inset(0 0 0 0); }
.page-hero__media img { width: 100%; height: 115%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,20,18,.9) 0%, rgba(16,20,18,.55) 50%, rgba(16,20,18,.15) 100%), linear-gradient(0deg, rgba(16,20,18,.9) 0%, rgba(16,20,18,0) 50%); }
.page-hero__content { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(56px, 8vw, 96px); width: 100%; }
.page-hero h1 { font-size: clamp(2.8rem, 1.5rem + 5vw, 6.2rem); max-width: 16ch; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero h1 .line > span { display: inline-block; }
.page-hero .lead { color: #cdd5cf; margin-top: 24px; max-width: 54ch; }
.page-hero .btn-row { margin-top: 34px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; font-size: .92rem; color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb i { font-size: .8em; }
.page-hero--type { min-height: auto; background: var(--asphalt); }
.page-hero--type::before { display: none; }
.page-hero--type .page-hero__content { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- Leistungsseite ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.factbox { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); }
.factbox h2 { font-size: 1.6rem; margin-bottom: 18px; }
.factbox dl { display: grid; gap: 0; }
.factbox dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.factbox dt { color: var(--muted); font-size: .93rem; }
.factbox dd { font-weight: 600; font-size: .98rem; }
.factbox .btn { width: 100%; margin-top: 24px; }
.factbox__phone { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 14px; font-weight: 600; }
.factbox__phone i { color: var(--signal); }

.scope { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.scope__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.scope__item:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.scope__item i { font-size: 2rem; color: var(--signal); }
.scope__item h3 { font-size: 1.5rem; line-height: 1.05; margin-bottom: 8px; }
.scope__item p { color: var(--muted); font-size: .98rem; }

.media-band { position: relative; height: clamp(320px, 56vw, 720px); overflow: hidden; }
.media-band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.media-band__cap { position: absolute; left: var(--gutter); bottom: 24px; z-index: 1; background: var(--asphalt); color: var(--on-dark); padding: 14px 18px; max-width: 46ch; font-size: .95rem; }
.media-band__cap strong { color: var(--signal); font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }

.vsteps { display: grid; gap: 0; position: relative; padding-left: 64px; }
.vsteps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.vsteps__fill { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--signal); transform: scaleY(0); transform-origin: top; }
.vstep { position: relative; padding-bottom: 44px; }
.vstep:last-child { padding-bottom: 0; }
.vstep__num { position: absolute; left: -64px; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--asphalt); border: 2px solid var(--signal); color: var(--signal); font-family: var(--ff-display); font-weight: 800; font-size: 1.1rem; }
.vstep h3 { font-size: 1.7rem; margin-bottom: 8px; padding-top: 6px; }
.vstep p { color: var(--on-dark-muted); max-width: 58ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }

.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.variant { background: var(--surface); border: 1px solid var(--line); padding: 26px; transition: border-color .4s, transform .5s var(--ease-out); }
.variant:hover { border-color: var(--signal); transform: translateY(-4px); }
.variant__k { font-family: var(--ff-display); font-weight: 800; font-size: 2.6rem; color: var(--signal); line-height: 1; }
.variant h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.variant p { color: var(--muted); font-size: .96rem; }
.variants--wide .variant:first-child { background: var(--green-800); color: var(--on-dark); border-color: transparent; }
.variants--wide .variant:first-child p { color: var(--on-dark-muted); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery figure { position: relative; overflow: hidden; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(0deg, rgba(16,20,18,.85), transparent); color: var(--on-dark); font-size: .92rem; }
.gallery .g-1 { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery .g-2 { grid-column: span 5; aspect-ratio: auto; }
.gallery .g-3 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.gallery .g-4 { grid-column: span 4; aspect-ratio: 4 / 3.4; }
.gallery .g-5 { grid-column: span 4; aspect-ratio: 4 / 3.4; }

.faq { border-top: 1px solid var(--line-strong); }
.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-family: var(--ff-display); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); text-transform: uppercase; line-height: 1.15; }
.faq__q i { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .45s var(--ease-out), background .3s, color .3s, border-color .3s; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); color: var(--asphalt); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--muted); max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: 24px; color: var(--on-dark); overflow: hidden; isolation: isolate; }
.related img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease-out); }
.related a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(16,20,18,.9), rgba(16,20,18,.1)); }
.related a:hover img { transform: scale(1.07); }
.related h3 { font-size: 1.8rem; }
.related span { display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--signal); font-weight: 600; }

/* ---------- Leistungs-Übersicht: Hover-Liste ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc-row { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr) 60px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out), color .3s; }
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--asphalt); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.svc-row:hover { color: var(--on-dark); padding-inline: 24px; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row__icon { font-size: 2.4rem; color: var(--signal); }
.svc-row h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); }
.svc-row p { color: var(--muted); transition: color .3s; }
.svc-row:hover p { color: var(--on-dark-muted); }
.svc-row__arrow { font-size: 1.8rem; justify-self: end; transition: transform .5s var(--ease-out), color .3s; }
.svc-row:hover .svc-row__arrow { transform: rotate(-45deg); color: var(--signal); }
.svc-float { position: fixed; left: 0; top: 0; z-index: 50; width: 340px; aspect-ratio: 4 / 3; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s, transform .45s var(--ease-out); }
.svc-float.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.svc-float img.is-active { opacity: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.tag i { color: var(--signal); }

/* ---------- Unternehmen: horizontale Zeitleiste ---------- */
.htl { background: var(--green-950); color: var(--on-dark); overflow: hidden; }
.htl__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 24px) 48px; }
.htl__track { display: flex; gap: clamp(20px, 3vw, 40px); padding-inline: var(--gutter); width: max-content; margin-top: 48px; }
.htl__card { position: relative; flex: 0 0 clamp(290px, 34vw, 480px); padding-top: 64px; }
.htl__card::before { content: ""; position: absolute; left: 0; right: calc(-1 * clamp(20px, 3vw, 40px)); top: 22px; height: 2px; background: var(--line-dark); }
.htl__card::after { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; background: var(--signal); transform: rotate(45deg); }
.htl__year { font-family: var(--ff-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: .9; color: var(--signal); }
.htl__card h3 { font-size: 1.8rem; margin: 14px 0 10px; }
.htl__card p { color: var(--on-dark-muted); }
.htl__card figure { margin-top: 22px; aspect-ratio: 16 / 9; overflow: hidden; }
.htl__card figure img { width: 100%; height: 100%; object-fit: cover; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.value { padding: 36px 32px 36px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value i { font-size: 2.4rem; color: var(--signal); }
.value h3 { font-size: 1.9rem; margin: 16px 0 10px; }
.value p { color: var(--muted); }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.person { background: var(--surface); border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; }
.person__mono { width: 76px; height: 76px; display: grid; place-items: center; background: var(--green-800); color: var(--on-dark); font-family: var(--ff-display); font-weight: 800; font-size: 1.8rem; letter-spacing: .04em; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.person h3 { font-size: 1.6rem; }
.person p { color: var(--muted); font-size: .96rem; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.badge-card { display: flex; gap: 18px; align-items: center; padding: 26px; border: 1px solid var(--line-dark); }
.badge-card i { font-size: 2.4rem; color: var(--signal); }
.badge-card strong { display: block; font-family: var(--ff-display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; color: var(--on-dark); }
.badge-card span { color: var(--on-dark-muted); font-size: .94rem; }

/* ---------- Referenzen ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border: 1px solid var(--line-strong); font-family: var(--ff-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--signal); }
.filter.is-active { background: var(--asphalt); color: var(--on-dark); border-color: var(--asphalt); }
:root[data-theme="dark"] .filter.is-active { background: var(--signal); color: var(--asphalt); border-color: var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .filter.is-active { background: var(--signal); color: var(--asphalt); border-color: var(--signal); } }
.masonry { columns: 3 300px; column-gap: 14px; }
.mitem { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; cursor: zoom-in; background: var(--bg-2); transition: opacity .4s, transform .5s var(--ease-out); }
.mitem.is-hidden { display: none; }
.mitem img { width: 100%; transition: transform 1s var(--ease-out); }
.mitem:hover img { transform: scale(1.05); }
.mitem figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: var(--on-dark); background: linear-gradient(0deg, rgba(16,20,18,.9), transparent); transform: translateY(30%); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.mitem:hover figcaption, .mitem:focus-visible figcaption { transform: none; opacity: 1; }
.mitem figcaption strong { display: block; font-family: var(--ff-display); font-size: 1.3rem; text-transform: uppercase; }
.mitem figcaption span { font-size: .9rem; color: var(--on-dark-muted); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,13,11,.94); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; width: auto; object-fit: contain; transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox__cap { color: var(--on-dark); margin-top: 16px; text-align: center; }
.lightbox__cap strong { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.3rem; display: block; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; color: var(--on-dark); border-color: var(--line-dark); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Karriere ---------- */
.jobs { display: grid; gap: 12px; }
.job { background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.job.is-open { border-color: var(--signal); }
.job__head { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 26px 28px; text-align: left; }
.job__head h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.job__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: .94rem; margin-top: 6px; }
.job__meta span { display: inline-flex; gap: 6px; align-items: center; }
.job__type { padding: 6px 12px; background: var(--signal-soft); color: var(--signal-600); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.job__head > i { font-size: 1.4rem; transition: transform .4s var(--ease-out); }
.job.is-open .job__head > i { transform: rotate(180deg); }
.job__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.job.is-open .job__body { grid-template-rows: 1fr; }
.job__body > div { overflow: hidden; }
.job__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 28px 28px; }
.job__cols h4 { font-family: var(--ff-display); text-transform: uppercase; font-size: 1.2rem; margin-bottom: 12px; }
.job__cols .checklist { font-size: .97rem; color: var(--ink-2); }

/* ---------- Kontakt / Formular ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field__help { font-size: .86rem; color: var(--muted); }
.field__error { font-size: .88rem; color: #b42318; font-weight: 600; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #b42318; }
.field.has-error .field__error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--line-strong); font-size: .95rem; font-weight: 500; transition: background .3s, border-color .3s, color .3s; }
.pill input:checked + span { background: var(--asphalt); border-color: var(--asphalt); color: var(--on-dark); }
.pill input:checked + span i { color: var(--signal); }
.pill input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--signal); margin-top: 2px; flex-shrink: 0; }
.form__success { display: none; padding: 28px; background: var(--green-800); color: var(--on-dark); }
.form__success.is-visible { display: block; }
.form__success i { font-size: 2.4rem; color: var(--signal); }
.form__success h3 { font-size: 1.8rem; margin: 12px 0 8px; }
.form .btn { justify-self: start; }
.contact-card { background: var(--asphalt); color: var(--on-dark); padding: clamp(24px, 3vw, 40px); }
.contact-card h2 { font-size: 1.9rem; margin-bottom: 20px; }
.contact-card li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.contact-card li i { color: var(--signal); font-size: 1.3rem; margin-top: 2px; }
.contact-card small { display: block; color: var(--on-dark-muted); font-size: .86rem; }
.contact-card a:hover { color: var(--signal); }
.map { margin-top: 14px; aspect-ratio: 4 / 3; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Reveal-Basis (JS aktiviert) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-clip] { clip-path: inset(0 0 100% 0); }
.js .page-hero__media { clip-path: inset(0 0 100% 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav__link { padding-inline: 10px; }
}
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .strata__grid { grid-template-columns: 1fr; gap: 12px; }
  .strata__pin { align-items: flex-start; }
  .strata__visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .strata__stage { aspect-ratio: 1 / .78; }
  .strata__head { margin-bottom: 16px; }
  .strata__head .h2 { font-size: 2rem; }
  .strata__steps { min-height: 300px; }
  .strata__stack { top: 76%; width: 52%; }
  .strata__pin { padding-top: calc(var(--header-h) + 4px); }
  .fleet, .heritage__grid, .cta__grid, .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .factbox, .sticky-col { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento .t-a { grid-column: span 12; min-height: 440px; }
  .bento .t-b, .bento .t-c { grid-column: span 6; }
  .bento .t-d, .bento .t-e, .bento .t-f { grid-column: span 6; }
  .bento .t-f { grid-column: span 12; }
  .bento .t-g, .bento .t-h { grid-column: span 12; }
  .mega { display: none; }
  .svc-row { grid-template-columns: 56px 1fr 40px; }
  .svc-row p { grid-column: 2 / 3; }
  .svc-float { display: none; }
  .hero__meta { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 66px; }
  .logo img { height: 28px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; min-height: 280px !important; }
  .fleet__acc { flex-direction: column; height: 620px; }
  .fleet__tab { writing-mode: horizontal-tb; transform: translateX(-50%); bottom: 50%; transform: translate(-50%, 50%); }
  .process { grid-template-columns: 1fr; padding-top: 0; padding-left: 44px; gap: 36px; }
  .process__line { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process__line span { transform: scaleY(0); transform-origin: top; }
  .process__dot { left: -44px; top: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope__item, .scope__item:nth-child(even) { padding: 26px 0; border-left: 0; }
  .variants { grid-template-columns: 1fr; }
  .variants--wide .variant:first-child { grid-column: auto; }
  .gallery { grid-template-columns: 1fr; }
  .gallery > * { grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }
  .related { grid-template-columns: 1fr; }
  .values, .badges, .people { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .person { grid-template-columns: 60px 1fr; padding: 22px; }
  .person__mono { width: 60px; height: 60px; font-size: 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .job__head { grid-template-columns: 1fr auto; padding: 22px; }
  .job__type { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .job__cols { grid-template-columns: 1fr; padding: 0 22px 22px; }
  .hero__content { padding-bottom: 120px; }
  .hero__lane { bottom: 48px; }
  .svc-row { grid-template-columns: 1fr 32px; padding: 24px 0; gap: 10px 16px; }
  .svc-row__icon { display: none; }
  .svc-row p { grid-column: 1 / -1; grid-row: 2; }
  .svc-row:hover { padding-inline: 0; color: inherit; }
  .svc-row:hover::before { transform: scaleY(0); }
  .svc-row:hover p { color: var(--muted); }
  .demo-bar .btn { width: 100%; }
  .media-band__cap { right: var(--gutter); }
  .page-hero { min-height: 72svh; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .hero__img { object-position: 42% 50%; }
  .strata__steps { min-height: 330px; }
  .strata__step p { font-size: .95rem; }
  .strata__step h3 { font-size: 1.7rem; margin: 6px 0 8px; }
  .chip { padding: 6px 10px; font-size: .86rem; }
  .strata__legend { font-size: .75rem; gap: 4px 10px; }
  .strata__progress { margin-top: 12px; }
  .strata__gauge { width: 64px; }
}

/* ---------- Reduzierte Bewegung ---------- */
@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-clip], .js .page-hero__media { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__paver, .hero__steam, .grain, .intro { display: none !important; }
  .hero__img { transform: none; }
  .marquee__track { animation: none; }
  .strata__step { position: static; opacity: 1; visibility: visible; margin-bottom: 36px; }
  .strata__steps { min-height: 0; }
}

/* ---------- Fallbacks ---------- */
html:not(.js) .hero__paver { display: none; }
html:not(.js) .hero__img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .htl__track { width: auto; overflow-x: auto; padding-bottom: 16px; }
  .strata__pin { padding-block: 96px; }
}
