/* Archivo (SIL Open Font License) – lokal gehostet, keine Verbindung zu Google */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================
   mehda bau — Farbsystem
   FLÄCHEN   Weiß #FFFFFF und Beige #EBE4D8 im Wechsel, Navy #00124A als Akzentfläche.
             Reihenfolge: Hero weiß · Leistungen beige · Bauweise weiß · Referenzen navy ·
             Warum wir (beige/weiß/navy) · Anfrage beige · FAQ weiß · Footer beige
   SCHRIFT   immer Navy auf Hell, Weiß auf Navy
   BUTTONS   Navy auf Hell, Weiß auf Navy – nie Gold
   GOLD      #B8894D nur als Detail: Haarlinien, kleine Nummern, aktive Marker,
             Fokus/Hover – keine großen Flächen
   ========================================================== */
:root {
  --oat: #ebe4d8;
  --oat-2: #ded5c5;
  --oat-3: #d4c9b6;
  --pearl: #ffffff;
  --white: #ffffff;
  --navy: #00124a;
  --navy-2: #14286a;
  --onyx: #00124a;
  --brass: #b8894d;
  --brass-2: #cfa369;
  --muted: #565c78;
  --line: rgb(0 18 74 / 0.14);
  --on-navy: #ffffff;
  --on-navy-dim: rgb(255 255 255 / 0.66);
  --font: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --g: 18px;
  --sec: 96px;
  --nav: 72px;
}
@media (min-width: 768px) { :root { --g: 36px; --sec: 128px; } }
@media (min-width: 1100px) { :root { --g: 56px; --sec: 150px; --nav: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font); font-size: 0.97rem; line-height: 1.55; color: var(--navy); background: var(--oat); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { list-style: none; padding: 0; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--navy); color: var(--oat); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 300; left: 12px; top: -60px; padding: 10px 14px; background: var(--navy); color: var(--oat); }
.skip:focus { top: 12px; }

/* ---------- Typo ---------- */
.label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.h2 { font-size: clamp(2rem, 5.2vw, 3.9rem); font-weight: 700; font-stretch: 78%; line-height: 0.98; letter-spacing: -0.03em; }
.head { display: grid; gap: 16px; padding: 0 var(--g); margin-bottom: 40px; }
.head--row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.head--row > div:first-child { display: grid; gap: 16px; }
@media (min-width: 1100px) { .head { margin-bottom: 64px; } }
.more { font-size: 0.85rem; font-weight: 600; text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; }

/* ---------- Balken-Button (Text | Messing-Quadrat) ---------- */
.bar {
  display: inline-grid; grid-auto-flow: column; grid-template-columns: 1fr auto auto; align-items: center;
  --bh: 52px; min-height: var(--bh); padding: 0 0 0 20px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--onyx); color: var(--pearl); text-decoration: none; text-align: left;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color 250ms ease, transform 160ms var(--ease);
}
.bar small { padding: 0 16px; font-size: 0.78rem; font-weight: 400; color: rgb(246 242 234 / 0.55); }
.bar i { display: grid; place-items: center; align-self: stretch; width: var(--bh); min-height: var(--bh); margin-left: 4px; background: var(--navy-2); color: var(--brass-2); font-style: normal; font-size: 1.05rem; border-radius: 0 2px 2px 0; transition: background-color 250ms ease; }
.bar:active { transform: scale(0.97); }
.bar--sm { --bh: 42px; padding-left: 16px; font-size: 0.88rem; }
.bar--lg { --bh: 62px; padding-left: 24px; font-size: 1.02rem; }
.bar--block { display: grid; width: 100%; }
.bar--ochre { background: var(--white); color: var(--navy); }
.bar--ochre i { background: var(--navy); color: var(--brass-2); }
.bar--ochre small { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .bar:hover { background: var(--navy-2); }
  .bar:hover i { background: var(--brass); color: var(--navy); }
  .bar--ochre:hover { background: var(--oat); }
  .bar--ochre:hover i { background: var(--navy-2); color: var(--brass-2); }
}

/* ==========================================================
   NAV + Anchor-Pop-Menü
   ========================================================== */
.nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 24px; height: var(--nav); padding: 0 var(--g); background: rgb(255 255 255 / 0.94); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgb(0 18 74 / 0.08); transition: box-shadow 300ms ease; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: none; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__tel { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.nav__tel svg, .dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.nav__tel span { display: none; }
.nav__cta { display: none; }

.pop { position: relative; }
.nav__menu { position: relative; width: 42px; height: 42px; border: 0; border-radius: 2px; background: var(--navy); cursor: pointer; transition: transform 160ms var(--ease); }
.nav__menu:active { transform: scale(0.94); }
.nav__menu i, .nav__menu i::before { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--oat); transition: transform 400ms var(--ease); }
.nav__menu i { top: 17px; }
.nav__menu i::before { content: ""; left: 0; right: 0; top: 6px; }
.nav__menu[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
.nav__menu[aria-expanded="true"] i::before { transform: translateY(-6px) rotate(-90deg); }
.pop__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(310px, calc(100vw - 2 * var(--g)));
  display: grid; gap: 14px; padding: 14px; border-radius: 4px; background: var(--navy); color: var(--oat);
  box-shadow: 0 30px 60px -20px rgb(0 18 74 / 0.5);
  transform-origin: calc(100% - 21px) -10px; transition: transform 450ms var(--spring), opacity 200ms ease, visibility 0s;
}
.pop__panel[hidden] { display: grid; visibility: hidden; opacity: 0; transform: scale(0.3); transition: transform 250ms var(--ease), opacity 180ms ease, visibility 0s 250ms; }
.pop__panel nav { display: grid; }
.pop__panel nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 6px; border-bottom: 1px solid rgb(235 228 216 / 0.12); font-size: 1.5rem; font-weight: 700; font-stretch: 70%; text-transform: uppercase; letter-spacing: 0.005em; text-decoration: none; transition: opacity 300ms ease, transform 450ms var(--ease); }
.pop__panel nav small { font-size: 0.72rem; font-weight: 500; color: var(--brass-2); }
.pop__panel[hidden] nav a { opacity: 0; transform: translateY(8px); }
.pop__panel nav a:nth-child(2) { transition-delay: 40ms; } .pop__panel nav a:nth-child(3) { transition-delay: 80ms; }
.pop__panel nav a:nth-child(4) { transition-delay: 120ms; } .pop__panel nav a:nth-child(5) { transition-delay: 160ms; }
.pop__panel .bar { display: grid; }
.pop__tel { text-align: center; font-size: 0.92rem; color: var(--on-navy-dim); text-decoration: none; padding-bottom: 2px; }
@media (min-width: 1100px) {
  .nav { gap: 48px; }
  .nav__logo img { height: 66px; }
  .nav__links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
  .nav__end { margin-left: 0; }
  .nav__links > a, .dd__top { display: inline-flex; align-items: center; gap: 6px; font-size: 0.98rem; font-weight: 500; color: var(--navy); text-decoration: none; padding: 6px 0; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1.5px no-repeat; transition: background-size 350ms var(--ease); }
  .nav__links > a:hover, .dd__top:hover { background-size: 100% 1.5px; }
  .nav__tel { display: none; }
  .pop { display: none; }
}


/* Klassischer Button (Referenz-Landingpage) */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 18px; border-radius: 3px; background: var(--navy); color: #fff; font-size: 0.92rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 250ms ease, transform 160ms var(--ease); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--lg { height: 52px; padding: 0 22px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--navy-2); } .btn:hover svg { transform: translateX(3px); } }
.btn.nav__cta { display: none; }
@media (min-width: 420px) { .btn.nav__cta { display: inline-flex; } }
/* Leistungen-Dropdown */
.dd { position: relative; }
.dd__top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.dd__panel { position: absolute; left: -18px; top: calc(100% + 22px); min-width: 250px; display: grid; padding: 8px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgb(0 18 74 / 0.06), 0 24px 50px -18px rgb(0 18 74 / 0.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 200ms ease, transform 300ms var(--ease), visibility 0s 300ms; }
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd:hover .dd__top svg, .dd:focus-within .dd__top svg { transform: rotate(180deg); }
.dd__panel a { display: flex; align-items: baseline; gap: 14px; padding: 11px 12px; border-radius: 3px; font-size: 0.95rem; font-weight: 500; color: var(--navy); text-decoration: none; transition: background-color 200ms ease; }
.dd__panel a small { font-size: 0.7rem; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.dd__panel a:hover, .dd__panel a:focus-visible { background: rgb(0 18 74 / 0.05); }

/* ==========================================================
   HERO — MEHDA in Riesenschrift, davor das Projektfoto in klarem Rahmen.
   Beim Scrollen wächst das Foto nach vorn, der Name rückt zurück.
   ========================================================== */
.hero { position: relative; background: #fff; }
.hero__stage { position: relative; isolation: isolate; display: flex; flex-direction: column; background: #fff; }
.hero__media { position: relative; order: 2; aspect-ratio: 4 / 3.1; overflow: hidden; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 78%; transform-origin: 60% 80%; will-change: transform; }
.hero__veil { display: none; }
.hero__copy { position: relative; z-index: 2; order: 1; padding: 34px var(--g) 36px; will-change: transform, opacity; }
.hero__kicker { display: flex; align-items: center; gap: 18px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em; white-space: nowrap; text-transform: uppercase; color: var(--navy); }
.hero__kicker::after { content: ""; flex: 0 1 110px; height: 1px; background: rgb(0 18 74 / 0.35); }
.hero__title { margin: 20px 0 22px; color: var(--navy); }
.hero__name { display: block; font-size: 23vw; font-weight: 800; font-stretch: 92%; line-height: 0.84; letter-spacing: -0.025em; }
.hero__sub { display: block; margin-top: 0.22em; font-size: 10.2vw; font-weight: 300; font-stretch: 100%; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; }
.hero__lead { max-width: 40ch; font-size: 1rem; line-height: 1.55; color: #3a4060; }
.hero__btn { margin-top: 26px; }
/* Kurz-Fakten unter dem Hero */
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; background: #fff; border-top: 1px solid rgb(0 18 74 / 0.08); border-bottom: 1px solid rgb(0 18 74 / 0.08); }
.facts li { display: flex; align-items: center; gap: 12px; padding: 18px var(--g); }
.facts li:nth-child(odd) { border-right: 1px solid rgb(0 18 74 / 0.12); }
.facts li:nth-child(-n+2) { border-bottom: 1px solid rgb(0 18 74 / 0.08); }
.facts svg { flex: none; width: 32px; height: 32px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.facts span { display: grid; gap: 1px; font-size: 0.86rem; line-height: 1.3; color: var(--navy); }
.facts b { font-weight: 500; }
@media (min-width: 1000px) {
  /* Proportionen wie Referenz: Hero ≈ 35 % der Breite hoch, Foto ab ca. 30 % der Breite */
  .hero__stage { display: block; height: max(34.8vw, 470px); overflow: hidden; }
  .hero__media { position: absolute; inset: 0 0 0 29%; aspect-ratio: auto; clip-path: none; }
  .hero__img { object-position: 50% 66%; }
  /* weiße Fläche läuft diagonal ins Foto aus, dazu zwei feine Glas-Streifen */
  .hero__veil { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(115deg, transparent 43.5%, rgb(255 255 255 / 0.32) 44%, rgb(255 255 255 / 0.1) 47.5%, transparent 48%, transparent 51%, rgb(255 255 255 / 0.22) 51.3%, transparent 55%),
      linear-gradient(115deg, #fff 0%, #fff 34%, rgb(255 255 255 / 0.9) 38%, rgb(255 255 255 / 0.5) 42%, rgb(255 255 255 / 0) 47.5%); }
  .hero__copy { position: absolute; left: 4.7vw; top: 4vw; width: 40vw; padding: 0; }
  .hero__kicker { font-size: max(0.72rem, 0.9vw); letter-spacing: 0.3em; gap: 1.6vw; }
  .hero__kicker::after { flex-basis: 11vw; }
  .hero__title { margin: 1.5vw 0 0; }
  .hero__name { font-size: max(6.4rem, 10.4vw); }
  .hero__sub { margin-top: 0.5vw; font-size: max(2.9rem, 4.6vw); }
  .hero__lead { margin-top: 2vw; max-width: 32.5vw; font-size: max(1rem, 1.22vw); }
  .hero__btn { margin-top: 2vw; height: max(46px, 3.1vw); }
}
.svc__list { padding: 0 var(--g); }
.svc__name { display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; }
.svc__item:first-child .svc__name { border-top: 1px solid var(--line); }
.svc__name small { width: 2ch; font-size: 0.72rem; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.svc__name span { font-size: clamp(2.3rem, 10vw, 6.4rem); font-weight: 800; font-stretch: 62%; line-height: 0.9; letter-spacing: -0.005em; text-transform: uppercase; color: rgb(0 18 74 / 0.24); transition: color 400ms var(--ease), transform 500ms var(--ease); }
.svc__item.is-active .svc__name span { color: var(--navy); }
@media (max-width: 1099px) {
  .svc__panel { max-height: 0; overflow: hidden; transition: max-height 600ms var(--ease); }
  .svc__item.is-active .svc__panel { max-height: 620px; }
  .svc__panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; margin-top: 14px; }
  .svc__panel p { margin: 12px 0 14px; max-width: 40ch; color: var(--muted); }
  .svc__links { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .svc__list { display: grid; grid-template-columns: 1.15fr 1fr; grid-auto-rows: auto; column-gap: 6vw; }
  .svc__item { display: contents; }
  .svc__name { grid-column: 1; padding: 8px 0; }
  .svc__name:hover span { color: rgb(0 18 74 / 0.55); transform: translateX(10px); }
  .svc__item.is-active .svc__name span { transform: translateX(10px); }
  .svc__panel { grid-column: 2; grid-row: 1 / span 7; align-self: start; display: grid; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 400ms ease, transform 600ms var(--ease), visibility 0s 400ms; }
  .svc__item.is-active .svc__panel { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms ease, transform 700ms var(--ease), visibility 0s; }
  .svc__panel img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 2px; }
  .svc__panel p { max-width: 36ch; font-size: 1.05rem; color: var(--muted); }
  .svc__links { display: flex; align-items: center; gap: 22px; }
}

/* ==========================================================
   BAUWEISE — Text links (aktive Ebene), Explosionszeichnung rechts
   ========================================================== */
.build { background: var(--white); }
.build__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: grid; grid-template-rows: 1fr auto; gap: 8px; padding: calc(var(--nav) + 14px) var(--g) 86px; }
.build__svg { position: relative; min-height: 240px; grid-row: 1; }
.build__svg { container-type: size; }
.build { overflow-x: clip; }
@media (max-width: 1099px) { .iso { left: calc(50% - 24px); } .iso__tag i { width: 18px; } }
.iso { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(100cqw, 100cqh / 1.5); aspect-ratio: 1 / 1.5; }
.iso::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 4%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 18 74 / 0.22), transparent); filter: blur(6px); }
.iso__item { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 1; will-change: transform; }
.iso__layer { width: 100%; height: 100%; transition: opacity 600ms var(--ease), filter 600ms var(--ease), translate 800ms var(--ease), scale 800ms var(--ease); filter: drop-shadow(0 18px 18px rgb(0 18 74 / 0.18)); }
/* Fokus: aktive Ebene farbig, mit Messing-Kontur, leicht nach vorn; der Rest wird zur hellen Skizze */
.iso.is-focus .iso__layer { opacity: 0.38; filter: grayscale(1) brightness(1.25) contrast(0.6); }
.iso.is-focus .is-active .iso__layer { opacity: 1; scale: 1.04; translate: -2% 0;
  filter: drop-shadow(1.5px 0 0 var(--brass)) drop-shadow(-1.5px 0 0 var(--brass)) drop-shadow(0 1.5px 0 var(--brass)) drop-shadow(0 -1.5px 0 var(--brass)) drop-shadow(0 22px 22px rgb(0 18 74 / 0.3)); }
.iso__tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; translate: 0 -50%; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 400ms ease; }
.iso__tag i { position: relative; width: 34px; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease); }
.iso__tag i::before { content: ""; position: absolute; left: -4px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px rgb(184 137 77 / 0.25); }
.iso__tag b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brass); color: var(--onyx); font-size: 0.72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.iso__tag em { display: none; font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.iso.is-focus .is-active .iso__tag { opacity: 1; transition-delay: 200ms; }
.iso.is-focus .is-active .iso__tag i { transform: scaleX(1); transition-delay: 200ms; }
@media (min-width: 1100px) { .iso__tag em { display: inline; } .iso__tag i { width: 56px; } }
.build__text { grid-row: 2; display: grid; gap: 14px; }
.build__head { display: grid; gap: 8px; }
.build__head .h2 { font-size: clamp(1.7rem, 4vw, 3.4rem); }
.build__steps { display: grid; }
.build__steps li { grid-area: 1 / 1; display: grid; gap: 4px; align-content: start; opacity: 0; transform: translateY(14px); transition: opacity 350ms ease, transform 600ms var(--ease); }
.build__steps li.is-current { opacity: 1; transform: none; }
.build__steps b { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; color: var(--brass); }
.build__steps em { font-style: normal; color: var(--muted); }
.build__steps h3 { font-size: clamp(2.2rem, 9vw, 6.2rem); font-weight: 800; font-stretch: 62%; line-height: 0.9; text-transform: uppercase; }
.build__steps p { max-width: 34ch; font-size: 0.95rem; color: var(--muted); }
.build__ticks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.build__ticks i { height: 2px; background: var(--line); transition: background-color 400ms ease; }
.build__ticks i.is-on { background: var(--navy); }
.build__cta { display: none; }
@media (min-width: 1100px) {
  .build__stage { grid-template-columns: 0.9fr 1.3fr; grid-template-rows: 1fr; column-gap: 5vw; padding: calc(var(--nav) + 32px) var(--g) 48px; }
  .build__text { grid-row: 1; grid-column: 1; align-content: center; gap: 28px; }
  .build__svg { grid-row: 1; grid-column: 2; }
  .build__steps p { font-size: 1.08rem; }
  .build__ticks { max-width: 420px; }
  .build__cta { display: inline-grid; justify-self: start; }
}

/* ==========================================================
   REFERENZEN — Bauplan-Galerie: Raster, Bemaßung, Plankopf
   ========================================================== */
.work { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy);
  background-image: linear-gradient(rgb(235 228 216 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(235 228 216 / 0.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px; }
.work__stage { position: relative; padding: var(--sec) 0 64px; }
.work .label { color: var(--brass-2); }
.work__bg { position: absolute; left: 0; top: 50%; translate: 0 -50%; margin: 0; white-space: nowrap; font-size: 34vw; font-weight: 800; font-stretch: 62%; line-height: 0.8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgb(235 228 216 / 0.09); pointer-events: none; user-select: none; }
.work__head { position: relative; display: grid; gap: 14px; padding: 0 var(--g); margin-bottom: 36px; }
.work__count { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.work__count b { font-size: 2.4rem; font-weight: 300; font-stretch: 70%; line-height: 1; color: var(--brass-2); }
.work__count span { font-size: 0.8rem; color: var(--on-navy-dim); }
.rail { position: relative; display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--g); scroll-padding-inline: var(--g); overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.ref { position: relative; flex: none; display: grid; gap: 10px; width: 76vw; scroll-snap-align: start; }
/* Bemaßungslinie über dem Bild */
.dim { display: flex; align-items: center; gap: 10px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.dim em { font-style: normal; }
.dim i { position: relative; flex: 1; height: 1px; background: currentColor; opacity: 0.75; }
.dim i::before { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor; }
.dim i:first-child::before { left: 0; }
.dim i:last-child::before { right: 0; }
.reveal { --r: 0px; --x: 50%; --y: 50%; position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--navy-2); }
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Duoton ist vorberechnet (assets/img/*-duo.jpg) – kein SVG-Filter beim Scrollen */
.reveal img:last-child { clip-path: circle(var(--r) at var(--x) var(--y)); transition: clip-path 700ms var(--ease); }
/* Sucher-Ecken */
.reveal::after { content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none; --c: rgb(246 242 234 / 0.8); --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px var(--l) no-repeat; }
.reveal.is-seen { --r: 120%; }
@media (hover: hover) and (pointer: fine) { .reveal.is-seen { --r: 0px; } .reveal:hover { --r: 190px; } }
/* große Konturziffer */
.ref[data-n]::after { content: attr(data-n); position: absolute; right: 14px; bottom: 54px; z-index: 3; pointer-events: none; font-size: clamp(4.5rem, 16vw, 8rem); font-weight: 800; font-stretch: 62%; line-height: 0.8; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1px rgb(246 242 234 / 0.75); }
/* Plankopf */
.ref figcaption { display: grid; grid-template-columns: 3em 1fr auto; align-items: stretch; border: 1px solid rgb(235 228 216 / 0.2); font-size: 0.84rem; }
.ref figcaption > * { display: flex; align-items: center; padding: 9px 10px; }
.ref figcaption > * + * { border-left: 1px solid rgb(235 228 216 / 0.2); }
.ref figcaption small { font-size: 0.68rem; color: var(--brass-2); font-variant-numeric: tabular-nums; }
.ref b { font-weight: 600; }
.ref figcaption span { color: var(--on-navy-dim); font-size: 0.78rem; letter-spacing: 0.04em; }
.ref--cta { display: grid; align-content: space-between; aspect-ratio: 4 / 5; padding: 22px; border-radius: 2px; background: var(--white); color: var(--navy); text-decoration: none; transition: background-color 300ms ease; }
.ref--cta span { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; font-stretch: 62%; line-height: 0.92; text-transform: uppercase; }
.ref--cta i { justify-self: end; display: grid; place-items: center; width: 64px; height: 64px; background: var(--onyx); color: var(--brass-2); font-style: normal; font-size: 1.5rem; border-radius: 2px; transition: transform 500ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .ref--cta:hover { background: var(--oat); } .ref--cta:hover i { transform: translate(4px, -4px); } }
.work__bar { position: relative; height: 2px; margin: 28px var(--g) 0; background: rgb(235 228 216 / 0.14); }
.work__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0.08)); background: var(--brass-2); }
@media (min-width: 700px) { .ref { width: 42vw; } }
@media (min-width: 1100px) {
  .work__stage { height: 100vh; height: 100svh; padding: calc(var(--nav) + 24px) 0 40px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
  .work__stage > .rail { min-width: 0; }
  .work__head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 24px; }
  .work__head .label { grid-column: 1 / -1; }
  .work__count b { font-size: 4rem; }
  /* Kartengröße folgt der Fensterhöhe, damit Bemaßung, Bild und Plankopf immer ganz sichtbar sind */
  .rail { --h: clamp(220px, calc(100vh - 400px), 560px); --h: clamp(220px, calc(100svh - 400px), 560px); overflow: visible; scroll-snap-type: none; align-items: center; gap: 5vw; padding-left: var(--g); padding-right: var(--g); will-change: transform; }
  .rail .ref .reveal { aspect-ratio: auto; }
  .ref:nth-child(3n + 1) { width: calc(var(--h) * 0.8); }
  .ref:nth-child(3n + 1) .reveal { height: var(--h); }
  .ref:nth-child(3n + 2) { width: calc(var(--h) * 0.99); align-self: flex-end; }
  .ref:nth-child(3n + 2) .reveal { height: calc(var(--h) * 0.74); }
  .ref:nth-child(3n) { width: calc(var(--h) * 0.65); align-self: flex-start; }
  .ref:nth-child(3n) .reveal { height: calc(var(--h) * 0.86); }
  .rail .ref--cta { width: calc(var(--h) * 0.85); height: calc(var(--h) * 0.85); aspect-ratio: auto; align-self: center; }
  .ref--cta span { font-size: calc(var(--h) * 0.1); }
  .ref[data-n]::after { font-size: calc(var(--h) * 0.22); right: -0.18em; }
  /* Parallaxe im Bildausschnitt */
  .motion .reveal img { left: -7%; width: 114%; max-width: none; }
}

/* ==========================================================
   SECHS GRÜNDE — Vollbild-Zähler, Farbe wechselt je Grund
   ========================================================== */
.why { position: relative; }
.why__stage {
  --bg: var(--navy); --fg: var(--white); --gl: var(--white); --dim: var(--on-navy-dim); --tick: rgb(255 255 255 / 0.2);
  position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px;
  padding: calc(var(--nav) + 18px) var(--g) 100px;
  background: var(--bg); color: var(--fg);
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.why__stage[data-tone="oat"] { --bg: var(--oat); --fg: var(--navy); --gl: var(--navy); --dim: var(--muted); --tick: var(--line); }
.why__stage[data-tone="white"] { --bg: var(--white); --fg: var(--navy); --gl: var(--navy); --dim: var(--muted); --tick: var(--line); }
.why__head { display: grid; gap: 10px; padding-right: 90px; }
.why__head .label { opacity: 0.8; }
.why__title { font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 700; font-stretch: 78%; line-height: 1; letter-spacing: -0.03em; }
.why__count { position: absolute; top: calc(var(--nav) + 14px); right: var(--g); display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.why__count b { font-size: 2.4rem; font-weight: 300; font-stretch: 70%; line-height: 1; }
.why__count span { font-size: 0.8rem; color: var(--dim); }
.why__list { position: relative; display: grid; min-height: 0; }
/* Leitwort als Konturschrift im Hintergrund – füllt die Fläche, wechselt je Grund */
.why__list li::before { content: attr(data-word); position: absolute; left: 0; top: 0; z-index: -1; max-width: 100%; font-size: clamp(3.5rem, 15vw, 15rem); font-weight: 800; font-stretch: 62%; line-height: 0.85; text-transform: uppercase; letter-spacing: -0.01em; color: transparent; -webkit-text-stroke: 1.2px var(--tick); opacity: 0; translate: 0 30px; transition: opacity 600ms ease, translate 900ms var(--ease); pointer-events: none; }
.why__list li.is-current::before { opacity: 1; translate: 0 0; transition-delay: 120ms; }
.why__list li { position: relative; z-index: 0; grid-area: 1 / 1; display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 18px; min-height: 0; }
.why__g { display: block; overflow: hidden; padding-top: 0.05em; }
.why__g b { display: block; font-size: min(36vh, 52vw); font-weight: 800; font-stretch: 62%; line-height: 0.8; letter-spacing: -0.03em; white-space: nowrap; color: var(--gl); transform: translateY(108%); transition: transform 900ms var(--ease), color 700ms var(--ease); }
.why__g sup { font-size: 0.34em; vertical-align: 1.25em; margin-left: 0.04em; color: var(--fg); }
.why__list li.is-current .why__g b { transform: none; }
.why__list li.is-past .why__g b { transform: translateY(-108%); }
.why__txt { display: grid; gap: 8px; opacity: 0; translate: 0 14px; transition: opacity 350ms ease, translate 700ms var(--ease); }
.why__list li.is-current .why__txt { opacity: 1; translate: 0 0; transition-delay: 160ms; }
.why__txt h3 { font-size: clamp(2rem, 8vw, 5.4rem); font-weight: 800; font-stretch: 62%; line-height: 0.9; text-transform: uppercase; letter-spacing: -0.01em; }
.why__txt p { max-width: 34ch; color: var(--dim); }
.why__foot { display: grid; gap: 18px; }
.why__ticks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.why__ticks i { height: 2px; background: var(--tick); transition: background-color 400ms ease; }
.why__ticks i.is-on { background: var(--fg); }
.why__cta { display: none; background: var(--fg); color: var(--bg); transition: background-color 700ms var(--ease), color 700ms var(--ease); }
.why__cta small { color: inherit; opacity: 0.6; }
.why__stage[data-tone="navy"] .why__cta { background: var(--white); color: var(--navy); }
/* Übersicht aller sechs Gründe (Desktop) – die aktive Zeile wird markiert */
.why__index { display: none; }
.why__index li { position: relative; display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; padding: 15px 0 15px 0; border-top: 1px solid var(--tick); color: var(--dim); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.005em; transition: color 500ms var(--ease), padding 600ms var(--ease); }
.why__index li:last-child { border-bottom: 1px solid var(--tick); }
.why__index small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.why__index li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--fg); transition: width 700ms var(--ease); }
.why__index li.is-on { color: var(--fg); padding-left: 14px; }
.why__index li.is-on::before { width: 100%; }
.why__index li.is-on small { color: var(--gl); }
.why__stage[data-tone="navy"] .why__index li.is-on small { color: var(--brass-2); }
@media (min-width: 1000px) {
  .why__stage { grid-template-columns: minmax(0, 1fr) minmax(260px, 22vw); column-gap: 5vw; }
  .why__head, .why__foot { grid-column: 1 / -1; }
  .why__list { grid-column: 1; grid-row: 2; }
  .why__index { display: block; grid-column: 2; grid-row: 2; align-self: center; }
  .why__list li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr; column-gap: 3vw; }
  .why__g b { font-size: min(64vh, 27vw); }
  .why__txt { padding-bottom: 3vh; }
  .why__txt p { font-size: 1.08rem; }
  .why__count b { font-size: 4rem; }
  .why__stage { padding-bottom: 44px; }
  .why__foot { grid-template-columns: minmax(0, 420px) auto; justify-content: space-between; align-items: center; }
  .why__cta { display: inline-grid; }
}
/* ohne Bewegung: Gründe untereinander */
.no-motion .why__stage { height: auto; display: block; padding: var(--sec) var(--g); }
.no-motion .why__list { gap: 56px; margin-top: 40px; }
.no-motion .why__list li { grid-area: auto; }
.no-motion .why__g b { transform: none; font-size: 30vw; }
.no-motion .why__txt { opacity: 1; translate: none; }
.no-motion .why__count, .no-motion .why__ticks { display: none; }

/* ==========================================================
   ANFRAGE — Navy-Panel mit heller Formularkarte in drei Schritten
   ========================================================== */
.ask { padding: var(--sec) var(--g); background: var(--oat); }
.ask__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px 14px 14px; border-radius: 4px; background: var(--navy); color: var(--on-navy); }
.ask__side { display: grid; gap: 16px; align-content: start; padding: 0 6px; }
.ask__side .label { color: var(--brass-2); }
.ask__trust { display: grid; gap: 6px; font-size: 0.9rem; color: var(--on-navy-dim); }
.ask__trust li::before { content: "— "; color: var(--brass-2); }
.ask__tel { display: grid; gap: 2px; margin-top: 8px; font-size: 1.6rem; font-weight: 700; font-stretch: 80%; text-decoration: none; font-variant-numeric: tabular-nums; }
.ask__tel small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-dim); }
.ask__form { min-width: 0; display: grid; gap: 0; padding: 8px 20px 22px; border-radius: 3px; background: var(--pearl); color: var(--navy); }
/* Schritte */
.step { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; float: left; width: 100%; }
.step legend + * { clear: both; }
.step legend b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.7rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); transition: background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease); }
.step.is-done legend b { background: var(--brass); color: var(--onyx); box-shadow: none; }
.step em, .fl em { font-style: normal; font-size: 0.72rem; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
/* Auswahl-Kacheln */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(0 18 74 / 0.22); font-size: 0.9rem; font-weight: 600; transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 160ms var(--ease); }
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color 250ms ease, box-shadow 250ms ease; }
.chip input:checked + span { background: var(--navy); color: var(--pearl); box-shadow: none; }
.chip input:checked + span::before { background: var(--brass-2); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked) + span { box-shadow: inset 0 0 0 1px var(--navy); } }
/* Felder mit schwebendem Label */
.fields { display: grid; gap: 4px 20px; }
.fl { position: relative; display: block; }
.fl input, .fl textarea { display: block; width: 100%; padding: 24px 0 8px; border: 0; border-bottom: 1px solid rgb(0 18 74 / 0.25); border-radius: 0; background: transparent; color: var(--navy); font-size: 1.12rem; font-weight: 600; transition: border-color 250ms ease; }
.fl textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.fl > span { position: absolute; left: 0; top: 24px; font-size: 1.02rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 300ms var(--ease), color 300ms ease; }
.fl input:focus, .fl textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span,
.fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(0.74); color: var(--brass); }
.fl [aria-invalid="true"] { border-bottom-color: #c2412d; box-shadow: 0 1px 0 #c2412d; }
.fl [aria-invalid="true"] + span { color: #c2412d; }
.ask__send { display: grid; gap: 12px; padding-top: 22px; }
@media (max-width: 599px) { .ask__send .bar small { display: none; } }
.ask__note { font-size: 0.8rem; color: var(--muted); }
.ask__status { font-weight: 600; color: var(--navy); }
.ask__status:empty { display: none; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; } .fl--wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .ask__in { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.5fr); gap: 5vw; padding: 64px 22px 22px 64px; }
  .ask__side { align-content: center; padding: 0 0 42px; }
  .ask__form { padding: 12px 44px 36px; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: var(--sec) 0; background: var(--white); }
.faq__list { padding: 0 var(--g); max-width: 980px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 48px 18px 0; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.1rem; font-weight: 400; transition: transform 400ms var(--ease), background-color 250ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brass); box-shadow: none; }
.faq details > div { padding: 0 0 20px; max-width: 62ch; font-size: 0.94rem; color: var(--muted); }
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 400ms var(--ease), content-visibility 400ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (min-width: 1000px) { .faq { display: grid; grid-template-columns: 1fr 1.6fr; } .faq .head { align-content: start; } .faq__list { padding-left: 0; } }

/* ==========================================================
   FOOTER
   ========================================================== */
.foot { position: relative; overflow: hidden; padding: 56px var(--g) calc(96px + env(safe-area-inset-bottom)); background: var(--oat); border-top: 1px solid var(--line); display: grid; gap: 36px; }
.foot__top { display: grid; gap: 28px; justify-items: start; }
.foot__logo { width: 180px; }
.foot__social { order: 3; }
.foot__top .bar { display: grid; width: 100%; }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.foot__grid div { display: grid; gap: 2px; align-content: start; }
.foot__grid small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.foot__grid a, .foot__grid address { font-style: normal; text-decoration: none; }
.foot__grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot__call { display: grid; gap: 6px; padding-top: 28px; border-top: 1px solid var(--line); text-decoration: none; }
.foot__call small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.foot__call span { font-size: 15.5vw; font-weight: 800; font-stretch: 62%; line-height: 0.85; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--navy); background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 0.06em no-repeat; transition: color 400ms var(--ease), background-size 600ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .foot__call:hover span { color: var(--brass); background-size: 100% 0.06em; } }
.foot__copy { font-size: 0.76rem; color: var(--muted); }
@media (min-width: 1000px) {
  .foot { padding-bottom: 36px; }
  .foot__top { grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: end; }
  .foot__social { order: 0; justify-self: end; }
  .foot__logo { width: 280px; }
  .foot__top .bar { width: auto; min-width: 380px; }
  .foot__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Dock (mobil) ---------- */
.dock { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 52px 52px 1fr; gap: 6px; transform: translateY(calc(100% + 24px)); transition: transform 500ms var(--spring); filter: drop-shadow(0 14px 24px rgb(0 18 74 / 0.35)); }
.dock.is-on { transform: none; }
.dock__call { display: grid; place-items: center; height: 52px; border-radius: 2px; background: var(--pearl); color: var(--navy); }
.dock__call:active { transform: scale(0.95); }
.dock .bar { display: grid; }
.dock__wa { background: var(--wa) !important; color: #fff !important; }
.dock__wa svg { width: 24px; height: 24px; }
@media (min-width: 1100px) {
  /* Desktop: nur ein schwebender WhatsApp-Button unten rechts */
  .dock { left: auto; right: 28px; bottom: 28px; grid-template-columns: 58px; }
  .dock > :not(.dock__wa) { display: none; }
  .dock__wa { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 12px 28px -8px rgb(37 211 102 / 0.55); transition: transform 300ms var(--ease); }
  .dock__wa svg { width: 28px; height: 28px; }
  .dock__wa:hover { transform: translateY(-3px); }
}

/* ---------- WhatsApp / Instagram – Originalfarben ---------- */
:root { --wa: #25d366; --wa-2: #1ebe5b; --ig: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); }
.ico-wa { fill: currentColor; stroke: none; }
.ico-ig { fill: none; stroke: currentColor; stroke-width: 1.9; }
.ico-ig .dot { fill: currentColor; stroke: none; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social__btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 3px; color: #fff; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: filter 250ms ease, transform 160ms var(--ease); }
.social__btn svg { width: 20px; height: 20px; }
.social__btn--wa { background: var(--wa); }
.social__btn--ig { background: var(--ig); }
.social__btn:hover { filter: brightness(1.06) saturate(1.08); }
.social__btn:active { transform: scale(0.97); }
.pop__social { display: flex; justify-content: center; gap: 10px; }
.pop__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.pop__social svg { width: 22px; height: 22px; }
.pop__social .is-wa { background: var(--wa); }
.pop__social .is-ig { background: var(--ig); }
.foot__grid div a + a { margin-top: 2px; }

/* ---------- Impressum ---------- */
.legal { max-width: 1100px; padding: 64px var(--g) var(--sec); background: #fff; }
.legal-page { background: #fff; }
.legal__title { margin: 18px 0 48px; font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 800; font-stretch: 92%; line-height: 0.9; letter-spacing: -0.025em; }
.legal__grid { display: grid; gap: 0; }
.legal__grid section { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); }
.legal__grid h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.legal__grid p { font-size: 1.02rem; line-height: 1.6; }
.legal__grid a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.legal__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legal-page .nav__end .btn { display: none; }
.foot--legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px var(--g); }
@media (max-width: 559px) { .legal__back span { display: none; } }
@media (min-width: 560px) { .legal-page .nav__end .btn { display: inline-flex; } }
@media (min-width: 900px) {
  .legal { padding-top: 96px; padding-left: var(--g); }
  .legal__grid { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}

/* ---------- Bewegung: Ausgangszustände ---------- */
.motion [data-lines] { visibility: hidden; }
.motion [data-lines].is-split { visibility: visible; }
.motion [data-rise] { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  .reveal img:last-child { transition: none; }
}
.legal-page .nav__end { margin-left: auto !important; }

/* Lesbarkeit & Touch-Flächen (Smartphone): kleinste Schrift 12 px, Links mind. 44 px hoch */
.hero__kicker { font-size: max(0.64rem, 12px); }
.label { font-size: max(0.72rem, 12px); }
.dim { font-size: max(0.62rem, 11px); }
.foot__grid a, .foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__links { gap: 0 18px; }
@media (max-width: 419px) {
  .hero__kicker { white-space: normal; letter-spacing: 0.16em; line-height: 1.5; text-wrap: balance; }
  .hero__kicker::after { display: none; }
}

/* ---------- Leistungsseiten (v2.2) ---------- */
.service-page { background: var(--white, #fff); }
.pg-hero { padding: calc(var(--nav) + 24px) var(--g) 56px; background: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 0.8rem; color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.pg-hero__grid { display: grid; gap: 36px; align-items: center; }
.pg-hero__copy { display: grid; gap: 20px; }
.pg-hero__title { margin: 0; font-size: clamp(2.2rem, 6.4vw, 4.6rem); font-weight: 800; font-stretch: 82%; line-height: 0.95; letter-spacing: -0.03em; text-wrap: balance; }
.pg-hero__lead { margin: 0; max-width: 54ch; font-size: 1.05rem; color: var(--muted); }
.pg-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pg-hero__tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.pg-hero__tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.pg-hero__media { margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--oat); }
.pg-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-text, .pg-steps { padding: 64px var(--g); max-width: 900px; }
.pg-text h2, .pg-steps h2 { margin: 40px 0 14px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; font-stretch: 82%; line-height: 1.05; letter-spacing: -0.02em; }
.pg-text h2:first-child, .pg-steps h2:first-child { margin-top: 0; }
.pg-text p { max-width: 64ch; font-size: 1.02rem; line-height: 1.65; }
.pg-text ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-text li { position: relative; padding-left: 22px; }
.pg-text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--brass); }
.pg-steps { background: var(--oat); max-width: none; }
.pg-steps ol { counter-reset: s; padding: 0; list-style: none; display: grid; gap: 1px; max-width: 900px; background: var(--line); }
.pg-steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; background: var(--oat); }
.pg-steps li::before { content: counter(s, decimal-leading-zero); font-weight: 700; color: var(--brass); }
.pg-refs { padding: var(--sec) 0; background: #fff; }
.pg-refs__grid { display: grid; gap: 28px; padding: 0 var(--g); margin: 0; list-style: none; }
.pg-ref img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 14px; }
.pg-ref h3 { margin: 4px 0; font-size: 1.15rem; }
.pg-ref__cat, .pg-ref__loc { margin: 0; font-size: 0.8rem; color: var(--muted); }
.pg-ref__cat { color: var(--brass); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.pg-refs__more { padding: 28px var(--g) 0; }
@media (min-width: 760px) { .pg-refs__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .pg-hero { padding-bottom: 88px; }
  .pg-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .pg-text, .pg-steps { padding: 96px var(--g); }
}

/* ---------- v2.2: Hero mit zwei Buttons, Fakten-Leiste mit Symbol über Text ---------- */
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--brass { background: var(--brass); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--brass:hover { background: #a3763d; }
  .btn--ghost:hover { background: var(--navy); color: #fff; }
}
@media (max-width: 419px) { .hero__btns .btn { flex: 1 1 100%; justify-content: space-between; } }
@media (min-width: 1000px) {
  .hero__btns { margin-top: 2vw; }
  .hero__btns .btn { height: max(46px, 3.1vw); }
}

/* ---------- v2.2: Anfrage – Baustellenfoto, Text links, Formular als Karte ---------- */
.ask { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.ask__bg { position: absolute; inset: 0; z-index: -1; }
.ask__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }
.ask__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(0 18 74 / 0.94) 0%, rgb(0 18 74 / 0.82) 40%, rgb(0 18 74 / 0.9) 100%); }
.ask__in { padding: 0; border-radius: 0; background: none; }
.ask__side { padding: 0; }
.ask__side .h2 { color: #fff; }
.ask__form { position: relative; overflow: hidden; padding-top: 14px; border-radius: 4px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.08); }
.ask__progress { position: absolute; inset: 0 0 auto; height: 4px; background: rgb(0 18 74 / 0.08); }
.ask__progress i { display: block; height: 100%; width: 33.4%; background: var(--brass); transition: width 600ms var(--ease); }
.ask__form:has([data-step="2"].is-done) .ask__progress i { width: 66.7%; }
.ask__form:has([data-step="3"].is-done) .ask__progress i { width: 100%; }
@media (min-width: 1100px) {
  .ask__bg::after { background: linear-gradient(100deg, rgb(0 18 74 / 0.96) 0%, rgb(0 18 74 / 0.86) 38%, rgb(0 18 74 / 0.55) 70%, rgb(0 18 74 / 0.4) 100%); }
  .ask__in { max-width: 1400px; margin: 0 auto; padding: 0; gap: 6vw; align-items: center; }
  .ask__side { padding: 0; }
  .ask__form { padding: 18px 44px 36px; }
}

/* ---------- v2.2b: Formular kompakter ---------- */
@media (min-width: 1100px) {
  .ask__in { grid-template-columns: minmax(0, 1fr) minmax(0, 580px); justify-content: space-between; gap: 6vw; }
  .ask__form { padding: 14px 32px 28px; }
}
.step { padding: 16px 0; }
.step legend { margin-bottom: 12px; font-size: 1rem; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chip span { width: 100%; min-height: 40px; padding: 0 12px; font-size: 0.86rem; }
@media (min-width: 560px) { .chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } .chip span { padding: 0 10px; } }
.fields { gap: 0 18px; }
.fl input, .fl textarea { padding: 22px 0 6px; font-size: 1.02rem; }
.fl > span { top: 22px; font-size: 0.96rem; }
.fl textarea { min-height: 72px; }
.ask__send { padding-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip span { width: auto; white-space: nowrap; padding: 0 12px; }
@media (min-width: 560px) { .chip span { padding: 0 11px; } }
/* WhatsApp-Logo ist eine Fläche – nie als Kontur zeichnen */
.dock .ico-wa, .social .ico-wa, svg.ico-wa { fill: currentColor !important; stroke: none !important; }

/* ---------- v2.2c: Fakten als „Maßkette“ wie auf einem Bauplan ---------- */
/* dunkelblaues Band unter dem Foto; eine Messinglinie läuft hindurch, Schrägstriche markieren die Abschnitte,
   die Symbole sitzen wie Maßangaben auf der Linie */
.facts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 8px var(--g) 22px; list-style: none;
  border: 0; background: var(--navy); color: #fff; }
.facts li { position: relative; display: grid; justify-items: start; align-content: start; gap: 10px; padding: 18px 14px 6px 0; border: 0; }
.facts li::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: rgb(207 163 105 / 0.55); }
.facts li::after { content: ""; position: absolute; left: -1px; top: 29px; width: 1px; height: 15px; background: var(--brass-2); transform: rotate(45deg); }
.facts svg { position: relative; z-index: 1; flex: none; width: 36px; height: 36px; padding: 0 10px 0 0; box-sizing: content-box;
  background: var(--navy); fill: none; stroke: var(--brass-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.facts span { display: grid; gap: 2px; font-size: 0.86rem; line-height: 1.3; color: rgb(255 255 255 / 0.66); }
.facts b { font-size: 1rem; font-weight: 600; color: #fff; }
@media (min-width: 1000px) {
  .facts { grid-template-columns: repeat(4, 1fr); padding: 1.2vw 4.7vw 2vw; }
  .facts li { padding: 1vw 2vw 0.4vw 0; gap: 0.9vw; }
  .facts li::before { top: calc(1vw + max(18px, 1.3vw)); }
  .facts li::after { top: calc(1vw + max(18px, 1.3vw) - 7px); }
  .facts li:last-child { padding-right: 0; }
  .facts li:last-child::before { right: 0; }
  .facts svg { width: max(36px, 2.6vw); height: max(36px, 2.6vw); padding-right: 1vw; }
  .facts span { font-size: max(0.88rem, 0.95vw); }
  .facts b { font-size: max(1rem, 1.15vw); }
}
.svc { padding-top: var(--sec); }
.facts li:nth-child(n) { border: 0; }
/* Maßkette: Abstand zwischen Schrägstrich und Symbol, Text bündig unter dem Symbol, Endstrich rechts */
.facts svg { margin-left: 14px; padding: 0 10px; }
.facts span { padding-left: 24px; padding-right: 6px; }
.facts::after { content: ""; position: absolute; right: var(--g); width: 1px; height: 15px; background: var(--brass-2); transform: rotate(45deg); }
.facts::after { top: calc(8px + 18px + 29px - 18px); }
.facts::after { display: none; }
@media (min-width: 1000px) {
  .facts { padding-top: 1.6vw; padding-bottom: 2.4vw; }
  .facts svg { margin-left: 1.2vw; padding: 0 0.8vw; }
  .facts span { padding-left: calc(1.2vw + 0.8vw); }
  .facts::after { display: block; right: calc(4.7vw - 1px); top: calc(1.6vw + 1vw + max(18px, 1.3vw) - 7px); }
}
