/* ============================================================
   Fliesen M.Khaleqi — Design-System (Neuaufbau 08/2026)
   Dunkler Rivera-Look · Petrol · Inter (lokal, variabel)
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: hsl(174 75% 32%);
  --petrol-bright: hsl(174 65% 45%);
  --petrol-soft: hsl(174 45% 62%);
  --petrol-dark: hsl(174 80% 22%);

  --bg: hsl(160 8% 5%);
  --bg-soft: hsl(160 7% 8%);
  --surface: hsl(160 6% 11%);
  --surface-2: hsl(160 5% 15%);
  --line: hsl(160 8% 20%);

  --text: hsl(150 10% 96%);
  --text-soft: hsl(150 6% 72%);
  --text-dim: hsl(150 4% 52%);

  --radius: 14px;
  --container: 1200px;
  --header-h: 74px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden: hidden macht body zum Scroll-Container und
     laesst den sticky Header haengen/springen */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--petrol); color: #fff; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Typografie ---------- */
.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--petrol-bright);
  margin-bottom: 14px;
}
.h-display {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900; line-height: .98;
  letter-spacing: -.015em; text-transform: uppercase;
}
.h-section {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 850; line-height: 1.06;
  letter-spacing: -.01em; text-transform: uppercase;
}
.h-display em, .h-section em { font-style: normal; color: var(--petrol-bright); }
.lead { color: var(--text-soft); font-size: 1.06rem; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font: inherit; font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.btn .arr { transition: transform .25s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-bright); }
.btn-dark { background: hsl(160 8% 10%); color: #fff; border: 1px solid var(--line); }
.btn-dark:hover { border-color: var(--petrol-bright); }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--petrol-bright); color: var(--petrol-soft); }

/* ---------- Topbar ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 9px 0; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: var(--petrol-bright); font-weight: 750; letter-spacing: .04em; }
.topbar .tagline { color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
@media (max-width: 880px) { .topbar .tagline { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(160 8% 5% / .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s;
}
/* Startseite: Header schwebt transparent über dem Video, wird beim Scrollen fest */
.site-header.transparent {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-weight: 800; letter-spacing: .07em; text-transform: uppercase; font-size: .92rem; line-height: 1.2; }
.brand-sub { display: block; font-size: .56rem; font-weight: 650; letter-spacing: .24em; color: var(--petrol-soft); }

.main-nav { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.main-nav a {
  font-size: .8rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); padding: 6px 0; position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--petrol-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after, .main-nav a:hover::after { transform: scaleX(1); }
.nav-tel { display: none; }
/* Telefon steht in der Topbar — im Header ausgeblendet (wie Vorlage) */
.header-tel { display: none; }
.header-cta { margin-left: 8px; }
@media (max-width: 1100px) { .header-tel { display: none; } }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); color: #fff;
  padding: 10px 12px; cursor: pointer; font-size: 1rem;
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 10px 4%; margin: 0;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .nav-tel { display: block; color: var(--petrol-soft); font-weight: 750; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .topbar .tagline { display: none; }
}
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: .78rem; }
  .brand-sub { display: none; }
  .header-cta { padding: 12px 16px; font-size: .72rem; }
}

/* ---------- Hero (Basis, genutzt von 404) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h) - 42px);
  display: grid; place-items: center;
  text-align: center; padding: 90px 0 110px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .5;
  animation: hero-zoom 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 90% at 50% 40%, transparent 40%, hsl(160 8% 5% / .5) 100%),
    linear-gradient(180deg, hsl(160 8% 5% / .35), hsl(160 8% 5% / .72) 70%, var(--bg));
}
/* Triptychon-Hintergrund: drei Projekte, getrennt wie Fugen */
.hero-showcase { perspective: 1200px; }
.hero-strip {
  position: absolute; inset: -6%; z-index: -2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.hero-strip .panel { overflow: hidden; will-change: transform; }
.hero-strip .panel img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .62;
  will-change: transform;
}
.hero-strip .p1 img { animation: panel-drift 26s ease-in-out infinite alternate; }
.hero-strip .p2 img { animation: panel-drift 20s ease-in-out -7s infinite alternate-reverse; opacity: .7; }
.hero-strip .p3 img { animation: panel-drift 30s ease-in-out -13s infinite alternate; }
@keyframes panel-drift {
  from { transform: scale(1.06) translateY(-1.5%); }
  to   { transform: scale(1.16) translateY(1.5%); }
}
/* Petrol-Lichtschimmer, der langsam über die Fugen wandert */
.hero-showcase::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, hsl(174 80% 55% / .13) 47%, transparent 62%);
  background-size: 260% 100%;
  animation: hero-sheen 9s ease-in-out infinite;
}
@keyframes hero-sheen {
  0%, 100% { background-position: 130% 0; }
  50% { background-position: -30% 0; }
}
@media (max-width: 760px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip .p1, .hero-strip .p3 { display: none; }
}

.hero .h-display { font-size: clamp(3.4rem, 9vw, 7.2rem); line-height: .95; }
.hero .h-display em {
  background: linear-gradient(96deg, var(--petrol-bright) 5%, var(--petrol-soft) 55%, hsl(174 55% 86%) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .hero-actions .btn { padding: 18px 34px; font-size: .86rem; }
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(160 8% 10% / .8); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 34px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--petrol-bright); }
.hero .lead { margin: 26px auto 38px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim);
}

/* ---------- Hero Video (Startseite): helles Video, Inhalt links (niwo-Stil) ---------- */
.hero-video {
  text-align: left;
  margin-top: calc(-1 * var(--header-h) - 1px);
  padding-top: calc(var(--header-h) + 40px);
  min-height: 100vh;
}
.hero-video .hero-bg { position: absolute; inset: -30px; z-index: -2; will-change: transform; }
.hero-video .hero-bg video, .hero-video .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.hero-video::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, hsl(160 8% 5% / .82) 12%, hsl(160 8% 5% / .38) 55%, hsl(160 8% 5% / .18)),
    linear-gradient(180deg, hsl(160 8% 5% / .35), transparent 30%, transparent 70%, var(--bg) 99%);
}
.hero-video .h-display {
  text-transform: none;
  font-size: clamp(3rem, 6.8vw, 5.8rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.02;
}
.hero-video .lead { margin: 26px 0 38px; max-width: 52ch; }
.hero-video .hero-actions { justify-content: flex-start; }
.hero-video .hero-facts { justify-content: flex-start; }
.hero-video .overline { color: hsl(150 10% 88%); }
.scroll-line {
  display: block; width: 1px; height: 42px;
  margin: 10px auto 0; background: hsl(0 0% 100% / .5);
  animation: scroll-pulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.3); opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Hero Editorial (Startseite) ---------- */
.hero-editorial {
  display: block; text-align: left;
  min-height: 0; padding: clamp(70px, 10vh, 120px) 0 90px;
  background: var(--bg);
}
.hero-editorial::before { display: none; }

/* Fugenraster im Hintergrund — das Handwerk als Grafik */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(160 7% 13%) 1px, transparent 1px),
    linear-gradient(90deg, hsl(160 7% 13%) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(95% 110% at 30% 20%, black 25%, transparent 75%);
  mask-image: radial-gradient(95% 110% at 30% 20%, black 25%, transparent 75%);
}
.hero-grid-bg::before {
  content: ""; position: absolute; left: 0; top: 432px;
  width: 72px; height: 72px; background: var(--petrol); opacity: .16;
}
.hero-grid-bg::after {
  content: ""; position: absolute; left: 649px; top: 72px;
  width: 71px; height: 71px; border: 1px solid var(--petrol); opacity: .3;
}

.hero-layout {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.overline {
  display: flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--petrol-soft); margin-bottom: 28px;
}
.overline .rule { width: 44px; height: 1px; background: var(--petrol-bright); }
.hero-editorial .h-display { font-size: clamp(2.7rem, 5.6vw, 5.2rem); }
.hero-editorial .lead { margin: 28px 0 36px; }
.hero-editorial .hero-actions { justify-content: flex-start; align-items: center; gap: 26px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--petrol-soft); border-color: var(--petrol); }
.link-arrow .arr { transition: transform .25s var(--ease-out); }
.link-arrow:hover .arr { transform: translateX(4px); }

.hero-facts {
  display: flex; gap: clamp(26px, 4vw, 56px);
  margin-top: 52px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-facts li { font-size: .78rem; color: var(--text-dim); max-width: 170px; line-height: 1.5; }
.hero-facts strong {
  display: block; font-size: 1.06rem; font-weight: 850;
  color: var(--text); letter-spacing: .01em; margin-bottom: 5px;
}
.hero-facts li:last-child strong { color: var(--petrol-bright); letter-spacing: .18em; }

/* Hero-Bild: Fugenraster-Overlay + Reveal von unten */
.hero-media {
  position: relative; margin: 0; will-change: transform;
  animation: media-in 1.15s var(--ease-out) .4s both;
}
.hero-media img, .hero-media video {
  width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; display: block;
  animation: media-img-in 1.5s var(--ease-out) .4s both;
}
.hero-media::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  aspect-ratio: 4 / 4.8; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(hsl(0 0% 100% / .06) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / .06) 1px, transparent 1px);
  background-size: 25% 20%;
}
.hero-media figcaption {
  font-size: .7rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim); padding: 14px 2px 0;
}
@keyframes media-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes media-img-in { from { transform: scale(1.1); } to { transform: none; } }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img, .hero-media::before { aspect-ratio: 16 / 10; }
  .hero-facts { flex-wrap: wrap; }
  .hero-grid-bg::after { display: none; }
}

/* Headline: ruhige Zeilen-Choreografie */
.h-display .word { display: inline-block; white-space: nowrap; }
.h-display .ltr { display: inline-block; }
.split-ready .ltr {
  opacity: 0; transform: translateY(.55em);
  animation: ltr-in .8s var(--ease-out) forwards;
  animation-delay: calc(.1s + var(--i) * .035s);
}
.split-ready em.ltr-word {
  display: inline-block; opacity: 0; transform: translateY(.45em);
  animation: ltr-in .85s var(--ease-out) forwards;
  animation-delay: calc(.1s + var(--i) * .035s);
}
@keyframes ltr-in { to { opacity: 1; transform: none; } }

/* Gestaffelter Einstieg */
.hero-badge, .hero .lead, .hero-actions, .hero-scroll, .overline, .hero-facts { opacity: 0; animation: fade-up .9s var(--ease-out) forwards; }
.overline     { animation-delay: .05s; }
.hero-badge   { animation-delay: .05s; }
.hero .lead   { animation-delay: .85s; }
.hero-actions { animation-delay: 1s; }
.hero-facts   { animation-delay: 1.15s; }
.hero-scroll  { animation-delay: 1.6s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 56px;
}

/* ---------- Split (Philosophie / Über uns) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.media-card {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 14px;
  background: hsl(160 8% 7% / .92); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 20px;
  backdrop-filter: blur(8px);
}
.media-card .mk {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--petrol); color: #fff; font-weight: 800; font-size: .85rem;
}
.media-card h3 { font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.media-card p { font-size: .78rem; color: var(--text-soft); }
.split-body p + p { margin-top: 16px; }
.split-body p { color: var(--text-soft); }
.split-body .h-section { margin-bottom: 24px; }
.trust-row { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.trust { display: flex; gap: 13px; align-items: flex-start; }
.trust svg { flex: none; width: 26px; height: 26px; stroke: var(--petrol-bright); margin-top: 3px; }
.trust h3 { font-size: .9rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.trust p { font-size: .82rem; color: var(--text-dim); }

@media (max-width: 880px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Cards (Leistungen) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--petrol-dark); }
.card-media { aspect-ratio: 16 / 10.5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 1.14rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card-body p { font-size: .9rem; color: var(--text-soft); flex: 1; }
.card-link {
  font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--petrol-bright); display: inline-flex; gap: 8px; align-items: center;
}
.card-link:hover .arr { transform: translateX(4px); }
.card-link .arr { transition: transform .25s var(--ease-out); }

@media (max-width: 880px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Galerie / Referenzen-Teaser ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 3.6; border: 1px solid var(--line); display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, hsl(160 8% 4% / .92));
}
.gallery-item h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.gallery-item p { font-size: .78rem; color: var(--petrol-soft); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 880px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item { aspect-ratio: 4/3; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0;
  background: var(--petrol-dark);
  border-block: 1px solid var(--petrol);
}
.marquee-track {
  display: flex; gap: 44px; width: max-content;
  animation: marquee 30s linear infinite;
  font-size: .84rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase;
  color: hsl(174 40% 88%);
  white-space: nowrap;
}
.marquee-track span.sep { color: var(--petrol-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Prozess ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.step .num {
  font-size: 2.6rem; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1.5px var(--petrol-bright);
  line-height: 1; margin-bottom: 18px; display: block;
}
.step h3 { font-size: .98rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--text-soft); }
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 64px; text-align: center;
}
.stat .value { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.01em; }
.stat .value em { font-style: normal; color: var(--petrol-bright); }
.stat .label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 20px;
}
.quote .mark { font-size: 2.6rem; font-weight: 900; color: var(--petrol-bright); line-height: .5; margin-top: 12px; }
.quote blockquote { font-size: .95rem; color: var(--text-soft); flex: 1; }
.quote-person { display: flex; align-items: center; gap: 13px; }
.quote-person .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--petrol-dark); color: var(--petrol-soft);
  font-weight: 800; font-size: .8rem;
}
.quote-person h3 { font-size: .9rem; font-weight: 750; }
.quote-person p { font-size: .74rem; color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }
.stars { display: flex; gap: 5px; justify-content: center; margin: 18px 0 46px; color: var(--petrol-bright); font-size: 1.1rem; letter-spacing: .3em; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--petrol-dark), var(--petrol));
  text-align: center; padding: 100px 0;
}
.cta-band .h-section { color: #fff; }
.cta-band .lead { margin: 20px auto 36px; color: hsl(174 40% 90%); }
.cta-band .btn-dark { background: hsl(160 10% 7%); border-color: transparent; }
.cta-band .btn-dark:hover { background: hsl(160 10% 12%); }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  padding: 96px 0 72px; text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, hsl(174 75% 22% / .25), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin: 20px auto 0; }

/* ---------- Werte / Feature-Kacheln ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
}
.value svg { width: 30px; height: 30px; stroke: var(--petrol-bright); margin-bottom: 18px; }
.value h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.value p { font-size: .88rem; color: var(--text-soft); }
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Einzugsgebiet ---------- */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.region {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.region h3 {
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--petrol-bright); margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.region li { font-size: .88rem; color: var(--text-soft); padding: 4px 0; }
@media (max-width: 1000px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Detail (Split-Sektionen) ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-detail.reverse .service-media { order: 2; }
.service-media img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.service-detail .h-section { margin-bottom: 20px; }
.service-detail > div > p { color: var(--text-soft); }
.feature-list { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature { display: flex; gap: 14px; }
.feature svg { flex: none; width: 24px; height: 24px; stroke: var(--petrol-bright); margin-top: 2px; }
.feature h3 { font-size: .92rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.feature p { font-size: .84rem; color: var(--text-dim); }
@media (max-width: 880px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail.reverse .service-media { order: 0; }
}

/* ---------- Referenzen: Vorher/Nachher ---------- */
.project { margin-bottom: 110px; }
.project:last-child { margin-bottom: 0; }
.project-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.project-head .tag {
  font-size: .7rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
  color: var(--petrol-bright); border: 1px solid var(--petrol-dark);
  padding: 6px 14px; border-radius: 999px;
}
.project-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 850; text-transform: uppercase; letter-spacing: -.005em; }
.project > .lead { margin-bottom: 34px; }

.ba-slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  max-height: 640px;
  user-select: none; touch-action: none;
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none; user-select: none;
  transform: translateZ(0);
}
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); will-change: clip-path; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 3px; background: #fff; cursor: ew-resize; z-index: 2;
  transform: translateX(-50%) translateZ(0); will-change: left;
}
.ba-handle::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff; color: var(--bg);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em;
  padding: 9px 12px; border-radius: 999px; white-space: nowrap;
}
.ba-label {
  position: absolute; top: 16px; z-index: 1;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  background: hsl(160 8% 5% / .8); color: #fff;
  padding: 7px 14px; border-radius: 999px; pointer-events: none;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }

.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.project-gallery figure {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/4.5; position: relative;
}
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.project-gallery figure:hover img { transform: scale(1.05); }
.project-gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft);
  background: linear-gradient(180deg, transparent, hsl(160 8% 4% / .9));
}
@media (max-width: 880px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .ba-slider { aspect-ratio: 4/3; }
}

/* ---------- Kontakt ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: border-color .3s;
}
a.contact-card:hover { border-color: var(--petrol); }
.contact-card svg { flex: none; width: 26px; height: 26px; stroke: var(--petrol-bright); }
.contact-card h3 { font-size: .74rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.contact-card p { font-size: 1rem; font-weight: 650; }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px;
}
.form-card h2 { font-size: 1.3rem; font-weight: 850; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field :is(input, textarea, select):focus { outline: 2px solid var(--petrol); outline-offset: 0; border-color: transparent; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: block; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 10px; font-size: .82rem; font-weight: 650;
  transition: border-color .2s, background .2s;
}
.radio-pill input:checked + span { border-color: var(--petrol-bright); background: var(--petrol-dark); color: #fff; }
.form-note { font-size: .76rem; color: var(--text-dim); margin-top: 16px; }
.form-note a { color: var(--petrol-soft); text-decoration: underline; }
.form-status { margin-top: 16px; font-size: .88rem; font-weight: 650; color: var(--petrol-soft); display: none; }
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid, .radio-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 60px; }
.footer-brand p { font-size: .88rem; color: var(--text-soft); margin-top: 18px; max-width: 34ch; }
.site-footer h3 { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }
.site-footer li { padding: 5px 0; }
.site-footer li a { font-size: .9rem; color: var(--text-soft); transition: color .2s; }
.site-footer li a:hover { color: var(--petrol-soft); }
.footer-contact .label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.footer-contact li { padding: 8px 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding: 24px 0; font-size: .78rem; color: var(--text-dim);
}
.footer-bottom nav a { color: var(--text-soft); margin-left: 20px; }
.footer-bottom nav a:hover { color: var(--petrol-soft); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal-body { max-width: 780px; }
.legal-body > div { margin-bottom: 34px; }
.legal-body h2 {
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol-bright); margin-bottom: 10px;
}
.legal-body p { color: var(--text-soft); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; list-style: disc; color: var(--text-soft); }
.legal-body li { padding: 3px 0; }
.legal-body a { color: var(--petrol-soft); text-decoration: underline; }
.legal-body .todo {
  background: hsl(45 90% 55% / .16); border: 1px dashed hsl(45 90% 60%);
  color: hsl(45 90% 82%); padding: 2px 7px; font-weight: 650; border-radius: 4px;
}

/* ---------- Scroll-Reveal (weicher, mit Blur wie die Vorlage) ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  filter: blur(7px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }
/* Bilder in Cards/Galerien zoomen beim Einblenden sanft heraus */
.reveal .card-media img, .reveal.gallery-item img, .reveal .project-gallery img { transform: scale(1.12); transition: transform 1.2s var(--ease-out); }
.reveal.visible .card-media img, .reveal.visible.gallery-item img, .reveal.visible .project-gallery img { transform: scale(1); }
.card:hover .card-media img { transform: scale(1.06) !important; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .card, .card-media img, .gallery-item img, .project-gallery img { transition: none; transform: none; }
  .hero-media, .hero-media img, .hero-bg img,
  .hero-strip .panel img, .hero-showcase::after { animation: none; }
  .reveal { filter: none; }
  .split-ready .ltr, .split-ready em.ltr-word, .overline, .hero-facts,
  .hero-badge, .hero .lead, .hero-actions, .hero-scroll { animation: none; opacity: 1; transform: none; }
}
