/* ==========================================================================
   German Company Glasfaser — Design System
   Brand: Logo-Grün #378E42 + Schwarz
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand:       #378e42;
  --brand-lit:   #55b862;
  --brand-deep:  #26662f;
  --brand-soft:  #e9f4eb;
  --brand-tint:  rgba(55, 142, 66, .12);
  --grad-brand:  linear-gradient(112deg, #55b862 0%, #378e42 52%, #2a7134 100%);

  /* Surfaces */
  --ink:         #0d1210;
  --ink-2:       #141b17;
  --ink-3:       #1e2721;
  --surface:     #f5f6f3;
  --surface-2:   #ebeee9;
  --white:       #ffffff;

  /* Text */
  --text:        #101613;
  --text-muted:  #5b6761;
  --text-invert: #f4f6f3;
  --text-invert-muted: #98a49d;

  /* Lines */
  --line:        #e2e6df;
  --line-strong: #c9cfc6;
  --line-dark:   rgba(255, 255, 255, .11);

  /* Radii — modern, generous */
  --r-xs:  8px;
  --r-sm:  12px;
  --r:     18px;
  --r-lg:  26px;
  --r-xl:  34px;
  --r-full: 999px;

  /* Elevation — soft, layered */
  --sh-1: 0 1px 2px rgba(13, 18, 16, .05), 0 2px 6px -2px rgba(13, 18, 16, .06);
  --sh-2: 0 4px 14px -6px rgba(13, 18, 16, .10), 0 14px 34px -18px rgba(13, 18, 16, .16);
  --sh-3: 0 10px 26px -10px rgba(13, 18, 16, .14), 0 28px 60px -28px rgba(13, 18, 16, .30);
  --sh-brand: 0 12px 30px -12px rgba(55, 142, 66, .55);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "Cascadia Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Metrics */
  --container: 1260px;
  --gutter:    clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 138px);

  /* Motion */
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring:   cubic-bezier(.34, 1.56, .64, 1);
  --speed:    .38s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--speed) var(--ease); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.028em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.75rem, 6.8vw, 5.6rem);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.042em;
}

.h-section {
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -.034em;
}

.h-card {
  font-size: clamp(1.2rem, 1.8vw, 1.44rem);
  letter-spacing: -.018em;
}

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 62ch;
}

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 12px;
  background: var(--brand-soft);
  border: 1px solid rgba(55, 142, 66, .22);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: .71rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.on-dark .eyebrow {
  background: rgba(85, 184, 98, .12);
  border-color: rgba(85, 184, 98, .28);
  color: var(--brand-lit);
}
.on-dark .eyebrow::before { background: var(--brand-lit); }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.on-dark {
  background: var(--ink);
  color: var(--text-invert);
  position: relative;
  isolation: isolate;
}

.on-dark .lead, .on-dark p { color: var(--text-invert-muted); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-invert); }

.on-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  opacity: .04;
  pointer-events: none;
}

.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(42px, 5vw, 72px);
}

.section-head__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.section-head__index::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--line-strong);
  margin-right: 14px;
  vertical-align: middle;
}

.on-dark .section-head__index { color: var(--text-invert-muted); }
.on-dark .section-head__index::before { background: var(--line-dark); }

.grid-bg { position: relative; isolation: isolate; }

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--line-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 92% 74% at 62% 34%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 92% 74% at 62% 34%, #000 18%, transparent 76%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--speed) var(--spring),
              box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease),
              color var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}

.btn svg { flex: none; transition: transform var(--speed) var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 24%, rgba(255, 255, 255, .38) 48%, transparent 70%);
  transform: translateX(-118%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::before { transform: translateX(118%); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { box-shadow: 0 20px 42px -16px rgba(55, 142, 66, .68); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--text); color: #fff; border-color: var(--text); }

.btn--ghost-light {
  background: rgba(255, 255, 255, .05);
  color: var(--text-invert);
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn--ghost-light::before { background: linear-gradient(100deg, transparent 24%, rgba(255, 255, 255, .14) 48%, transparent 70%); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow svg { transition: transform var(--speed) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--brand-lit); }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--text-invert-muted);
  font-size: .8rem;
  border-bottom: 1px solid var(--line-dark);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  flex-wrap: wrap;
}

.topbar__list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
}

.topbar__item svg { width: 14px; height: 14px; color: var(--brand-lit); }
.topbar a:hover { color: var(--brand-lit); }

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-invert);
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-lit);
  box-shadow: 0 0 0 0 rgba(85, 184, 98, .7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(85, 184, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 184, 98, 0); }
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 243, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -34px rgba(13, 18, 16, .55);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

/* Brand — echtes Logo */
.brand { display: inline-flex; align-items: center; flex: none; }

.brand__img {
  height: 46px;
  width: auto;
  transition: transform var(--speed) var(--spring);
}
.brand:hover .brand__img { transform: scale(1.04); }
.brand__img--light { display: none; }

.footer .brand__img,
.drawer .brand__img { height: 42px; }
.footer .brand__img--dark,
.drawer .brand__img--dark { display: none; }
.footer .brand__img--light,
.drawer .brand__img--light { display: block; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(13, 18, 16, .04);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 5px;
}

.nav__link {
  position: relative;
  padding: 9px 16px;
  font-size: .91rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: var(--r-full);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .8); }

.nav__link.is-active {
  color: #fff;
  font-weight: 600;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px -8px rgba(55, 142, 66, .7);
}

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Burger */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  place-items: center;
  gap: 5px;
  align-content: center;
  flex: none;
  background: var(--white);
}

.burger span {
  display: block;
  width: 19px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--speed) var(--ease), opacity .2s linear;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 89vw);
  z-index: 200;
  background: var(--ink);
  color: var(--text-invert);
  padding: 26px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(102%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .8);
}

.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.drawer__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-full);
  color: var(--text-invert);
  flex: none;
  transition: background var(--speed) var(--ease);
}
.drawer__close:hover { background: var(--ink-3); }

.drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--text-invert);
  transition: color var(--speed) var(--ease), padding-left var(--speed) var(--ease);
}

.drawer__link span {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--brand-lit);
  letter-spacing: .1em;
}

.drawer__link:hover { color: var(--brand-lit); padding-left: 6px; }
.drawer__cta { margin-top: 28px; }

.drawer__meta {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-invert-muted);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(13, 18, 16, .62);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* Scroll progress */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 300;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-brand);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 640px at 76% 4%, rgba(55, 142, 66, .22), transparent 62%),
    radial-gradient(760px 520px at 6% 96%, rgba(85, 184, 98, .1), transparent 66%),
    var(--ink);
  color: var(--text-invert);
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 116px) clamp(0px, 2vw, 20px);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  opacity: .045;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(38px, 4.6vw, 72px);
  align-items: center;
}

.hero__title { margin-block: 26px 26px; }
.hero__title em { font-style: normal; }
.hero__lead { color: var(--text-invert-muted); max-width: 56ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.trustrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.trustrow__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.trustrow__names { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }

.trustrow__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: rgba(244, 246, 243, .7);
}
.trustrow__name:hover { color: var(--brand-lit); }

/* Hero map card */
.mapcard {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  backdrop-filter: blur(6px);
  padding: 24px 24px 18px;
  box-shadow: var(--sh-3);
}

.mapcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}
.mapcard__head b { color: var(--brand-lit); font-weight: 500; }

.mapcard__stage { position: relative; display: grid; place-items: center; padding-block: 6px; }
.mapcard__stage svg { width: 100%; height: auto; max-height: 460px; overflow: visible; }

.map-outline {
  fill: rgba(255, 255, 255, .035);
  stroke: rgba(255, 255, 255, .26);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.map-route {
  fill: none;
  stroke: rgba(85, 184, 98, .38);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-pulse {
  fill: none;
  stroke: #6fd47e;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 26 300;
  filter: drop-shadow(0 0 5px rgba(111, 212, 126, .95));
  animation: dash 4.6s linear infinite;
}
.map-pulse--b { animation-duration: 5.8s; animation-delay: -1.6s; }
.map-pulse--c { animation-duration: 6.6s; animation-delay: -3.1s; }

@keyframes dash { to { stroke-dashoffset: -326; } }

.map-node { fill: var(--brand-lit); }

.map-node-ring {
  fill: none;
  stroke: var(--brand-lit);
  stroke-width: 1.4;
  transform-origin: center;
  transform-box: fill-box;
  animation: ripple 3.2s var(--ease-out) infinite;
}
.map-node-ring--2 { animation-delay: 1.1s; }
.map-node-ring--3 { animation-delay: 2.2s; }

@keyframes ripple {
  0%   { transform: scale(.4); opacity: .85; }
  100% { transform: scale(3.4); opacity: 0; }
}

.map-hq { fill: #fff; }

.map-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: rgba(244, 246, 243, .6);
}
.map-label--hq { fill: #7ee08d; }

.mapcard__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.mapcard__legend span { display: inline-flex; align-items: center; gap: 7px; }
.mapcard__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-lit); flex: none; }
.mapcard__legend i.is-line { width: 16px; height: 2px; border-radius: 2px; background: rgba(85, 184, 98, .6); }

.mapchip {
  position: absolute;
  right: -12px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r);
  box-shadow: 0 20px 42px -18px rgba(55, 142, 66, .85);
  animation: float 6s ease-in-out infinite;
}

.mapchip__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

.mapchip__txt {
  font-family: var(--font-mono);
  font-size: .63rem;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .92;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* Spec strip */
.specstrip {
  position: relative;
  z-index: 2;
  margin-top: clamp(44px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.spec { padding: 22px 20px 26px 0; border-right: 1px solid var(--line-dark); }
.spec:last-child { border-right: 0; }
.spec:not(:first-child) { padding-left: 20px; }

.spec__key {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.spec__val {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text-invert);
}

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--grad-brand);
  color: #fff;
  overflow: hidden;
  padding-block: 16px;
}

.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
  font-family: var(--font-mono);
  font-size: .79rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(38px, 5vw, 80px);
  align-items: start;
}

.rule-block { position: relative; padding-left: clamp(22px, 2.8vw, 34px); }

.rule-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
}

.strengths {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--sh-2);
  overflow: hidden;
}

.strengths__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.strengths__list { display: grid; gap: 4px; }

.strengths__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  font-size: 1rem;
  line-height: 1.5;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.strengths__list li:hover { background: var(--brand-soft); transform: translateX(4px); }

.tick {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  border-radius: var(--r-full);
  transition: background var(--speed) var(--ease);
}
.tick svg { width: 13px; height: 13px; color: var(--brand-deep); transition: color var(--speed) var(--ease); }
.strengths__list li:hover .tick { background: var(--grad-brand); }
.strengths__list li:hover .tick svg { color: #fff; }

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.stats {
  background:
    radial-gradient(720px 340px at 18% 0%, rgba(55, 142, 66, .18), transparent 68%),
    var(--ink-2);
}

.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.stat {
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: linear-gradient(158deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  transition: transform var(--speed) var(--ease-out), border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(85, 184, 98, .4);
  background: linear-gradient(158deg, rgba(85, 184, 98, .1), rgba(255, 255, 255, .015));
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-invert);
}

.stat__desc { margin-top: 6px; font-size: .87rem; line-height: 1.5; color: var(--text-invert-muted); }

/* --------------------------------------------------------------------------
   12. Services — moderne Karten
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 2.8vw, 36px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out),
              box-shadow .45s var(--ease),
              border-color .45s var(--ease);
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-3);
  border-color: rgba(55, 142, 66, .35);
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(55, 142, 66, .1), transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.service:hover::after { opacity: 1; }

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.service__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: var(--brand-soft);
  transition: background .45s var(--ease), transform .5s var(--spring), box-shadow .45s var(--ease);
}
.service__icon svg { width: 25px; height: 25px; color: var(--brand-deep); transition: color .45s var(--ease); }

.service:hover .service__icon {
  background: var(--grad-brand);
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--sh-brand);
}
.service:hover .service__icon svg { color: #fff; }

.service__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--text-muted);
  background: var(--surface-2);
  border-radius: var(--r-full);
  padding: 5px 12px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.service:hover .service__num { background: var(--brand-soft); color: var(--brand-deep); }

.service__title { margin-bottom: 11px; }
.service__text { font-size: .96rem; line-height: 1.62; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. Partners
   -------------------------------------------------------------------------- */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.partner {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.partner::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 142, 66, .16), transparent 68%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.partner:hover::before { opacity: 1; }

.partner:hover {
  transform: translateY(-8px);
  border-color: rgba(55, 142, 66, .35);
  box-shadow: var(--sh-3);
}

.partner__wordmark {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.035em;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.partner__tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: var(--r-full);
  padding: 6px 12px;
  white-space: nowrap;
}

.partner__text { position: relative; font-size: .97rem; line-height: 1.62; color: var(--text-muted); }

/* Partner CTA */
.partner-cta {
  background:
    radial-gradient(820px 460px at 86% 20%, rgba(55, 142, 66, .2), transparent 64%),
    var(--ink);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
}

.partner-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
}

.callout {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  backdrop-filter: blur(6px);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  box-shadow: var(--sh-3);
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-brand);
}

.callout__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--brand-lit);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   14. Projects
   -------------------------------------------------------------------------- */
.ledger { display: grid; gap: 14px; }

.project {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 2.8vw, 34px) clamp(22px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.project::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.project:hover::before { transform: scaleY(1); }

.project:hover {
  transform: translateX(6px);
  border-color: rgba(55, 142, 66, .32);
  box-shadow: var(--sh-2);
}

.project__num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.055em;
  color: var(--line-strong);
  font-variant-numeric: tabular-nums;
  transition: color var(--speed) var(--ease);
}
.project:hover .project__num {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.project__meta { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  border-radius: var(--r-full);
  padding: 5px 12px;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.project:hover .chip { background: var(--brand-soft); color: var(--brand-deep); }

.project__text { font-size: 1rem; line-height: 1.62; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   15. Parallax — feststehender Hintergrund
   -------------------------------------------------------------------------- */
.parallax {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(96px, 13vw, 190px);
  background-color: var(--ink);
  background-image: url("../img/gallery/saugbagger-hdd-einsatz.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;   /* feststehender Hintergrund */
  color: var(--text-invert);
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(13, 18, 16, .93) 6%, rgba(13, 18, 16, .74) 48%, rgba(13, 18, 16, .55) 100%);
}

.parallax__inner { position: relative; z-index: 1; max-width: 780px; }
.parallax__title { margin: 20px 0 20px; }
.parallax__text { color: rgba(244, 246, 243, .84); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.62; }

.parallax__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  max-width: 620px;
}

.pmetric {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r);
  background: rgba(13, 18, 16, .42);
  backdrop-filter: blur(10px);
}

.pmetric__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--brand-lit);
}

.pmetric__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 246, 243, .7);
}

/* --------------------------------------------------------------------------
   16. Galerie
   -------------------------------------------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  grid-auto-rows: 168px;
  gap: clamp(12px, 1.4vw, 18px);
}

.gal {
  position: relative;
  grid-row: span 2;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  isolation: isolate;
  box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}

.gal--tall { grid-row: span 3; }
.gal--wide { grid-column: span 2; }

.gal:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }

.gal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.gal:hover .gal__img { transform: scale(1.08); }

.gal__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 18, 16, .88) 0%, rgba(13, 18, 16, .3) 42%, transparent 68%);
  opacity: .82;
  transition: opacity .5s var(--ease);
}
.gal:hover .gal__veil { opacity: 1; }

.gal__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  transform: translateY(8px);
  opacity: .92;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease);
}
.gal:hover .gal__body { transform: translateY(0); opacity: 1; }

.gal__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .61rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(55, 142, 66, .92);
  border-radius: var(--r-full);
  padding: 4px 11px;
  margin-bottom: 9px;
}

.gal__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #fff;
  line-height: 1.3;
}

.gal__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .4s var(--ease), transform .4s var(--spring), background .3s var(--ease);
}
.gal:hover .gal__zoom { opacity: 1; transform: scale(1); }
.gal__zoom svg { width: 18px; height: 18px; }
.gal:hover .gal__zoom:hover { background: var(--brand); border-color: var(--brand); }

/* Platzhalter, solange ein Foto fehlt */
.gal.is-missing { background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, #e3e7e0 14px 28px); }
.gal.is-missing .gal__img { display: none; }
.gal.is-missing .gal__veil { background: linear-gradient(to top, rgba(13, 18, 16, .8), rgba(13, 18, 16, .25)); }

/* --------------------------------------------------------------------------
   17. Lightbox
   -------------------------------------------------------------------------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(8, 11, 10, .93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.lb.is-open { opacity: 1; visibility: visible; }

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.lb__count {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .18em;
  color: rgba(244, 246, 243, .68);
}
.lb__count b { color: var(--brand-lit); font-weight: 500; }

.lb__close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  flex: none;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--spring), border-color var(--speed) var(--ease);
}
.lb__close:hover { background: var(--brand); border-color: var(--brand); transform: rotate(90deg); }
.lb__close svg { width: 20px; height: 20px; }

.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.4vw, 30px) clamp(56px, 8vw, 104px);
  min-height: 0;
}

.lb__figure {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 250px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95);
  background: var(--ink-2);
}

.lb__img.slide-next { animation: slideNext .5s var(--ease-out) both; }
.lb__img.slide-prev { animation: slidePrev .5s var(--ease-out) both; }

@keyframes slideNext {
  from { opacity: 0; transform: translateX(56px) scale(.965); }
  to   { opacity: 1; transform: none; }
}
@keyframes slidePrev {
  from { opacity: 0; transform: translateX(-56px) scale(.965); }
  to   { opacity: 1; transform: none; }
}

.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(46px, 5vw, 58px);
  height: clamp(46px, 5vw, 58px);
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), transform var(--speed) var(--spring);
}
.lb__nav svg { width: 22px; height: 22px; }
.lb__nav--prev { left: clamp(8px, 1.6vw, 22px); }
.lb__nav--next { right: clamp(8px, 1.6vw, 22px); }
.lb__nav:hover { background: var(--brand); border-color: var(--brand); }
.lb__nav--prev:hover { transform: translateY(-50%) translateX(-4px); }
.lb__nav--next:hover { transform: translateY(-50%) translateX(4px); }

.lb__foot {
  padding: 16px clamp(16px, 3vw, 32px) clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: grid;
  gap: 16px;
  justify-items: center;
}

.lb__caption { text-align: center; max-width: 66ch; }

.lb__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -.02em;
}

.lb__tag {
  display: inline-block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-lit);
}

.lb__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
}

.lb__dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .26);
  transition: background .35s var(--ease), width .35s var(--spring);
}
.lb__dot:hover { background: rgba(255, 255, 255, .55); }
.lb__dot.is-active { width: 30px; background: var(--grad-brand); }

/* --------------------------------------------------------------------------
   18. Technology
   -------------------------------------------------------------------------- */
.tech__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.tech {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  padding: clamp(26px, 3vw, 38px);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  isolation: isolate;
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease);
}

.tech:hover { transform: translateY(-6px); border-color: rgba(85, 184, 98, .38); }

.tech::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(85, 184, 98, .14), transparent 62%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.tech:hover::after { opacity: 1; }

.tech__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  background: rgba(85, 184, 98, .12);
  transition: background .45s var(--ease), transform .5s var(--spring), box-shadow .45s var(--ease);
}
.tech__icon svg { width: 26px; height: 26px; color: var(--brand-lit); transition: color .45s var(--ease); }
.tech:hover .tech__icon { background: var(--grad-brand); transform: rotate(-6deg) scale(1.06); box-shadow: var(--sh-brand); }
.tech:hover .tech__icon svg { color: #fff; }

.tech__title { font-size: 1.16rem; margin-bottom: 9px; }
.tech__text { font-size: .95rem; line-height: 1.6; color: var(--text-invert-muted); }

.fleet {
  position: relative;
  margin-top: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  padding: clamp(24px, 2.8vw, 32px) clamp(26px, 3vw, 38px);
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-brand);
}

.fleet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 14px, transparent 14px 28px);
  pointer-events: none;
}

.fleet__label {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.fleet__text { position: relative; font-size: .98rem; line-height: 1.55; color: rgba(255, 255, 255, .9); flex: 1 1 340px; }

/* --------------------------------------------------------------------------
   19. Contact
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 3.6vw, 56px);
  align-items: start;
}

.infocards { display: grid; gap: 14px; }

@media (min-width: 560px) {
  .infocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.infocard {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(22px, 2.4vw, 28px);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.infocard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: rgba(55, 142, 66, .3); }

.infocard__head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }

.infocard__ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  transition: background .4s var(--ease);
}
.infocard__ico svg { width: 17px; height: 17px; color: var(--brand-deep); transition: color .4s var(--ease); }
.infocard:hover .infocard__ico { background: var(--grad-brand); }
.infocard:hover .infocard__ico svg { color: #fff; }

.infocard__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.infocard__value {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.35;
  word-break: break-word;
}
.infocard__value a:hover { color: var(--brand-deep); }

.infocard__note { margin-top: 7px; font-size: .85rem; color: var(--text-muted); }

/* Form */
.form-panel {
  position: relative;
  background:
    radial-gradient(620px 340px at 92% 4%, rgba(55, 142, 66, .22), transparent 66%),
    var(--ink);
  color: var(--text-invert);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3.4vw, 46px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-3);
}

.form-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  opacity: .045;
  pointer-events: none;
}

.form-panel__head { margin-bottom: 28px; }
.form-panel__title { font-size: clamp(1.45rem, 2.3vw, 1.9rem); margin: 14px 0 10px; }
.form-panel__text { font-size: .96rem; color: var(--text-invert-muted); }

.form-grid { display: grid; gap: 16px; }

@media (min-width: 620px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 7px; }

.field__label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}
.field__label b { color: var(--brand-lit); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--text-invert);
  font-size: .96rem;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.field textarea { resize: vertical; min-height: 122px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(152, 164, 157, .6); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 3px rgba(55, 142, 66, .2);
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a49d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field select option { background: var(--ink-2); color: var(--text-invert); }

.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #e0644d;
  box-shadow: 0 0 0 3px rgba(224, 100, 77, .14);
}

.field__error { font-size: .78rem; color: #f0917d; display: none; }
.field.has-error .field__error { display: block; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .85rem; line-height: 1.5; color: var(--text-invert-muted); }

.consent input {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

.consent a { color: var(--brand-lit); border-bottom: 1px solid rgba(85, 184, 98, .4); }
.consent a:hover { border-bottom-color: var(--brand-lit); }

.form-note { margin-top: 14px; font-family: var(--font-mono); font-size: .71rem; color: var(--text-invert-muted); }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--brand);
  border-left-width: 4px;
  border-radius: var(--r-sm);
  background: rgba(55, 142, 66, .14);
  font-size: .9rem;
  color: var(--text-invert);
}
.form-status.is-visible { display: block; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--text-invert-muted);
  padding-top: clamp(54px, 6vw, 88px);
  isolation: isolate;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 184, 98, .6), transparent);
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--noise);
  opacity: .04;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 62px);
}

.footer__about { margin-top: 20px; font-size: .93rem; line-height: 1.65; max-width: 42ch; }

.footer__title {
  font-family: var(--font-mono);
  font-size: .71rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-invert);
  margin-bottom: 18px;
}

.footer__list { display: grid; gap: 11px; font-size: .93rem; }
.footer__list a { display: inline-block; transition: color var(--speed) var(--ease), transform var(--speed) var(--ease); }
.footer__list a:hover { color: var(--brand-lit); transform: translateX(4px); }
.footer__list address { font-style: normal; line-height: 1.6; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: .73rem;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__legal a:hover { color: var(--brand-lit); }

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--r-full);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.85);
  box-shadow: var(--sh-brand);
  transition: opacity .35s var(--ease), transform .4s var(--spring), visibility .35s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.totop:hover { transform: translateY(-4px) scale(1.06); }
.totop svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   21. Legal pages
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 460px at 82% 10%, rgba(55, 142, 66, .2), transparent 64%),
    var(--ink);
  color: var(--text-invert);
  padding-block: clamp(58px, 7vw, 100px);
  position: relative;
  overflow: hidden;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
  margin-bottom: 22px;
}
.crumbs a:hover { color: var(--brand-lit); }
.crumbs span { color: var(--brand-lit); }

.prose { max-width: 78ch; }

.prose h2 {
  font-size: clamp(1.42rem, 2.4vw, 1.9rem);
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 56px;
  height: 3px;
  border-radius: var(--r-full);
  background: var(--grad-brand);
}

.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h2:first-child::before { display: none; }

.prose h3 { font-size: 1.12rem; margin-top: 30px; margin-bottom: 8px; }
.prose p { margin-top: 14px; color: var(--text-muted); }
.prose p strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--brand-deep); border-bottom: 1px solid rgba(38, 102, 47, .35); }
.prose a:hover { border-bottom-color: var(--brand-deep); }
.prose address { font-style: normal; margin-top: 14px; line-height: 1.7; color: var(--text-muted); }

.factsheet {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--sh-2);
}

.factsheet__row {
  display: grid;
  grid-template-columns: minmax(150px, 250px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
  transition: background var(--speed) var(--ease);
}
.factsheet__row:last-child { border-bottom: 0; }
.factsheet__row:hover { background: var(--brand-soft); }

.factsheet__key {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 3px;
}

.factsheet__val { font-weight: 500; line-height: 1.6; }

@media (max-width: 560px) {
  .factsheet__row { grid-template-columns: 1fr; gap: 5px; }
}

.rights { margin-top: 18px; display: grid; gap: 12px; }
.rights li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-muted); }

.rights li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* --------------------------------------------------------------------------
   22. Scroll-Animationen
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}

[data-reveal="up"],
[data-reveal=""]         { transform: translateY(34px); }
[data-reveal="down"]     { transform: translateY(-28px); }
[data-reveal="left"]     { transform: translateX(-42px); }
[data-reveal="right"]    { transform: translateX(42px); }
[data-reveal="scale"]    { transform: scale(.9); }
[data-reveal="zoom"]     { transform: scale(1.08); filter: blur(6px); }
[data-reveal="rise"]     { transform: translateY(52px) scale(.97); }
[data-reveal="flip"]     { transform: perspective(900px) rotateX(12deg) translateY(30px); transform-origin: top; }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; }
  .mapcard { max-width: 620px; margin-inline: auto; }
  .mapcard__stage svg { max-height: 400px; }
  .about__grid { grid-template-columns: 1fr; }
  .partner-cta__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec { border-bottom: 1px solid var(--line-dark); }
  .spec:nth-child(3n) { border-right: 0; }
  .spec:nth-last-child(-n+2) { border-bottom: 0; }
  .spec:nth-child(3n+1) { padding-left: 0; }
}

/* 7 Navigationspunkte brauchen früher das Burger-Menü */
@media (max-width: 1150px) {
  .nav { display: none; }
  .burger { display: grid; }
}

@media (max-width: 1250px) {
  .header__actions .btn { display: none; }
}

@media (max-width: 980px) {
  .project { grid-template-columns: 68px minmax(0, 1fr); }
  .project__text { grid-column: 2; }
  .tech__layout { grid-template-columns: 1fr; }
  .gal--wide { grid-column: span 1; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 16px; }
  .header__inner { min-height: 70px; }
  .brand__img { height: 38px; }
  .topbar__list .topbar__item--hours { display: none; }
  .topbar__badge { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .specstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .spec:nth-child(2n) { border-right: 0; }
  .spec:nth-child(2n+1) { padding-left: 0; }
  .spec:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .spec:last-child { border-bottom: 0; }
  .mapchip { right: 8px; bottom: 18px; padding: 12px 16px; }
  .mapchip__num { font-size: 1.35rem; }
  .parallax { background-attachment: scroll; }
  .parallax__metrics { grid-template-columns: 1fr; gap: 10px; }
  .gallery__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 118px; }
  .gal__title { font-size: .88rem; }
  .gal__body { padding: 13px 14px; }
  .lb__stage { padding: 12px 10px; }
  .lb__nav { top: auto; bottom: -6px; transform: none; }
  .lb__nav--prev:hover, .lb__nav--next:hover { transform: none; }
  .lb__img { max-height: calc(100vh - 300px); }
}

@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 14px; }
  .project__text { grid-column: 1; }
  .hero__actions .btn { width: 100%; }
  .totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
  .mapcard { padding: 16px 16px 14px; }
  .map-label { display: none; }
}

/* Touch: kein background-attachment: fixed (iOS-Bug) */
@media (hover: none) {
  .parallax { background-attachment: scroll; }
}

/* --------------------------------------------------------------------------
   24. Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .map-pulse { display: none; }
  .parallax { background-attachment: scroll; }
}
