/* =========================================================================
   Bauunternehmung Markus Blaschyk GmbH – Webseite
   Markenwelt aus dem Logo: Nachtblau, Blau und Gold. Ruhig, editorial – nach dem Vorbild arhomes.
   Schriften: Cormorant Garamond (Überschriften) + Manrope (Text, Auszeichnung).
   ========================================================================= */

:root {
  --nacht: #0e2233;        /* tiefste Markenfläche: Nachtblau mit Petrol-Stich */
  --navy: #132b3f;         /* dunkle Abschnitte */
  --petrol: #173d4f;       /* Markenfläche (nach arhomes #002f3c) */
  --sand: #e7e2db;         /* helle Flächen: Beton-Sand */
  --graublau: #dde5e8;     /* helle Flächen: blasses Graublau */
  --blau: #1d4a8f;         /* Logo-Blau */
  --blau-hell: #2b5ea8;
  --gelb: #c9a24d;         /* Akzent Gold (Logo-Gelb des Transporters: #f2dc3c) – nur auf Blau/Dunkel */
  --weiss: #ffffff;
  --nebel: var(--sand);    /* helle Abschnitte */
  --stein: #d3ccc2;        /* Linien hell, warm */
  --ink: #191d21;
  --ink-2: #555a5f;
  --on-dark: #ffffff;
  --on-dark-2: #bccbd3;
  --linie-dunkel: rgba(255, 255, 255, .18);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --rand: clamp(20px, 5vw, 88px);
  --spalte: clamp(16px, 2vw, 32px);
  --abschnitt: clamp(96px, 11vw, 184px);
  --kopf: 112px;
  --easing: cubic-bezier(.22, .61, .36, 1);
  --easing-out: cubic-bezier(.16, 1, .3, 1);
  --foto: saturate(.9) contrast(1.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 12px); }
body { margin: 0; background: var(--weiss); color: var(--ink); font-family: var(--sans); font-size: 15.5px; line-height: 1.8; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 4px; }
.dunkel :focus-visible, .buehne :focus-visible, .menue :focus-visible, .fuss :focus-visible, .kopf :focus-visible, .seitenbuehne :focus-visible, .handy-leiste :focus-visible { outline-color: var(--gelb); }
.ist-gescrollt:not(.kopf-dunkel):not(.ist-menue-offen) .kopf :focus-visible { outline-color: var(--blau); }
.no-js .menue-knopf, .no-js .buehne-steuerung, .no-js .schieber-steuerung, .no-js .filter { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--gelb); color: var(--ink); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.todo { background: #fff1bf; color: #5c4400; padding: 1px 6px; border-radius: 2px; font-size: .92em; }
.nobr { white-space: nowrap; }

.rahmen { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--rand); }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalte); }

/* ---------- Schrift ---------- */
.marke { font-family: var(--sans); font-size: 10.5px; font-weight: 650; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.marke::before { content: ""; display: inline-block; width: 27px; height: 2px; margin-right: 14px; vertical-align: middle; background: var(--gelb); position: relative; top: -1px; }
.marke--gelb { color: var(--gelb); }
.marke--blau { color: var(--blau); }
.titel-hero { font-family: var(--serif); font-size: clamp(60px, 8.4vw, 134px); line-height: .99; letter-spacing: -.035em; }
.titel-xl { font-family: var(--serif); font-size: clamp(50px, 7vw, 116px); line-height: .99; letter-spacing: -.035em; }
.titel-l { font-family: var(--serif); font-size: clamp(42px, 5.2vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
.titel-m { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -.025em; }
.titel-s { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.015em; }
em, .kursiv { font-style: italic; }
p { text-wrap: pretty; }
.titel-hero, .titel-xl, .titel-l, .titel-m, .vorspann, .zahl-text { text-wrap: balance; }
.vorspann { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.75; color: var(--ink-2); max-width: 36em; }
.dunkel .vorspann { color: var(--on-dark-2); }

/* ---------- Vorschau-Zeile ---------- */
.vorschau-hinweis { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 120; background: rgba(14, 34, 51, .8); color: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; pointer-events: none; backdrop-filter: blur(6px); }

/* ---------- Knöpfe ---------- */
.knopf { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 59px; padding: 17px 24px; background: var(--petrol); color: #fff; border: 1px solid var(--petrol); font: 650 12.5px/1.4 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .45s var(--easing), border-color .45s var(--easing); }
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gelb); transform: translateY(101%); transition: transform .5s var(--easing-out); }
.knopf:hover { color: var(--ink); border-color: var(--gelb); }
.knopf:hover::before { transform: translateY(0); }
.knopf--hell { background: #fff; color: var(--ink); border-color: #fff; }
.knopf--gelb { background: var(--gelb); color: var(--ink); border-color: var(--gelb); }
.knopf--gelb::before { background: #fff; }
.knopf--gelb:hover { border-color: #fff; }
.knopf--rahmen { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.knopf--rahmen-dunkel { background: transparent; color: var(--ink); border-color: var(--ink); }
.pfeil { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.12em; }
.knopf .pfeil { width: 17px; height: 17px; flex: none; transition: transform .35s var(--easing-out); }
.knopf:hover .pfeil { transform: translate(3px, -3px); }

/* Linien-Pfeil-Link wie bei Architekturbüros */
.linklinie { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.linklinie .strich { position: relative; width: 46px; height: 1px; background: currentColor; transition: width .5s var(--easing-out); }
.linklinie .strich::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.linklinie:hover .strich { width: 70px; }

/* ---------- Lade-Animation ---------- */
.lader { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: var(--nacht); color: var(--gelb); }
.js .lader.ist-aktiv { display: grid; }
.lader svg { width: min(220px, 46vw); height: auto; overflow: visible; }
.lader path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: zeichnen .7s var(--easing) forwards; }
.lader path:nth-child(2) { animation-delay: .12s; }
.lader path:nth-child(3) { animation-delay: .2s; }
.lader path:nth-child(4) { animation-delay: .06s; }
.lader path:nth-child(5) { animation-delay: .26s; }
.lader rect { opacity: 0; animation: einblenden .3s .5s forwards; }
.lader-text { position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font: 600 11px/1.6 var(--sans); letter-spacing: .2em; padding-inline: 24px; text-transform: uppercase; opacity: 0; animation: einblenden .5s .3s forwards; }
.lader.ist-fertig { transform: translateY(-100%); transition: transform .85s cubic-bezier(.76, 0, .24, 1); }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes einblenden { to { opacity: 1; } }

/* ---------- Kopf (nach Astra/arhomes: schlicht, Logo frei auf dem Foto) ---------- */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--kopf); color: #fff; transition: transform .55s var(--easing-out), background .45s var(--easing), box-shadow .45s var(--easing), height .45s var(--easing), color .45s var(--easing); }
body.kopf-weg .kopf { transform: translateY(-100%); }
body.kopf-weg .kopf:focus-within { transform: none; }
.kopf-innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-inline: 4.45%; }
.kopf-logo { position: relative; display: block; flex: none; width: clamp(170px, 15.5vw, 244px); transition: width .45s var(--easing); }
.kopf-logo img { display: block; width: 100%; height: auto; transition: opacity .4s var(--easing); }
.kopf-logo .logo-dunkel { position: absolute; left: 0; top: 0; opacity: 0; }
.kopf-rechts { display: flex; align-items: center; gap: 38px; font: 600 11.5px/1 var(--sans); }
.kopf-tel { color: inherit; text-decoration: none; letter-spacing: .06em; }
.kopf-tel:hover { color: var(--gelb); }
.kopf-tel + .kopf-tel { margin-left: -20px; }
.kopf-tel + .kopf-tel::before { content: "·"; margin-right: 14px; opacity: .6; }
.kopf-anfrage { display: flex; align-items: center; gap: 30px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .45); color: inherit; text-decoration: none; transition: border-color .3s, color .3s; }
.kopf-anfrage .pfeil { width: 14px; height: 14px; transition: transform .3s var(--easing-out); }
.kopf-anfrage:hover { border-color: var(--gelb); }
.kopf-anfrage:hover .pfeil { transform: translate(3px, -3px); }
.menue-knopf { display: flex; align-items: center; gap: 21px; padding: 15px 0 15px 31px; background: none; border: 0; border-left: 1px solid rgba(255, 255, 255, .3); color: inherit; font: 600 11.5px/1 var(--sans); cursor: pointer; }
.menue-icon { position: relative; display: block; width: 30px; height: 18px; }
.menue-icon i { position: absolute; left: 0; width: 30px; height: 1px; background: currentColor; transition: transform .35s var(--easing-out), top .35s var(--easing-out); }
.menue-icon i:first-child { top: 5px; }
.menue-icon i:last-child { top: 13px; }
.menue-knopf:hover .menue-icon i:first-child { transform: translateX(-4px); }
.ist-menue-offen .menue-icon i:first-child { top: 9px; transform: rotate(45deg); }
.ist-menue-offen .menue-icon i:last-child { top: 9px; transform: rotate(-45deg); }
.ist-gescrollt .kopf, .kopf--hell { --kopf: 86px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 rgba(24, 43, 62, .08), 0 10px 30px rgba(15, 21, 32, .05); backdrop-filter: saturate(1.4) blur(10px); }
.ist-gescrollt .kopf-logo { width: clamp(150px, 12vw, 190px); }
.ist-gescrollt .kopf .logo-hell, .kopf--hell .logo-hell { opacity: 0; }
.ist-gescrollt .kopf .logo-dunkel, .kopf--hell .logo-dunkel { opacity: 1; }
.ist-gescrollt .kopf-anfrage, .kopf--hell .kopf-anfrage { border-color: rgba(24, 43, 62, .3); }
.ist-gescrollt .menue-knopf, .kopf--hell .menue-knopf { border-left-color: rgba(24, 43, 62, .15); }
.ist-gescrollt .kopf-tel:hover { color: var(--blau); }
.ist-gescrollt.kopf-dunkel .kopf { background: rgba(14, 34, 51, .86); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.ist-gescrollt.kopf-dunkel .kopf .logo-hell { opacity: 1; }
.ist-gescrollt.kopf-dunkel .kopf .logo-dunkel { opacity: 0; }
.ist-gescrollt.kopf-dunkel .kopf-anfrage { border-color: rgba(255, 255, 255, .45); }
.ist-gescrollt.kopf-dunkel .menue-knopf { border-left-color: rgba(255, 255, 255, .3); }
.ist-gescrollt.kopf-dunkel .kopf-tel:hover { color: var(--gelb); }
.ist-menue-offen .kopf { background: transparent; box-shadow: none; backdrop-filter: none; color: #fff; }
.ist-menue-offen .kopf .logo-hell { opacity: 1; }
.ist-menue-offen .kopf .logo-dunkel { opacity: 0; }
.ist-menue-offen .kopf-tel, .ist-menue-offen .kopf-anfrage { visibility: hidden; }
.ist-menue-offen .menue-knopf { border-left-color: rgba(255, 255, 255, .3); }

/* ---------- Vollbild-Menü (nach Astra) ---------- */
.menue { position: fixed; inset: 0; z-index: 90; background: var(--nacht); color: #fff; display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; align-content: center; padding: calc(var(--kopf) + 40px) 4.45% 40px; overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--easing-out), visibility 0s .8s; }
.ist-menue-offen .menue { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--easing-out), visibility 0s 0s; }
.menue-schliessen { position: absolute; left: -9999px; top: 24px; z-index: 3; padding: 12px 18px; background: var(--gelb); color: var(--ink); border: 0; font: 650 13px/1 var(--sans); cursor: pointer; }
.menue-schliessen:focus-visible { left: 4.45%; outline-color: #fff; }
.menue-haupt .marke { margin-bottom: 22px; }
.menue-liste { counter-reset: m; }
.menue-liste li { overflow: hidden; overflow: clip; }
.menue-liste a { display: flex; align-items: baseline; gap: 22px; padding: 6px 0; text-decoration: none; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 54px); line-height: 1.22; letter-spacing: -.02em; color: #fff; transform: translateY(110%); transition: transform .9s var(--easing-out), color .3s; }
.menue-liste a::before { counter-increment: m; content: "0" counter(m); font: 500 10px/1 var(--sans); letter-spacing: .1em; color: rgba(255, 255, 255, .5); min-width: 18px; }
.menue-liste a::after { content: ""; flex: none; width: 22px; height: 22px; margin-left: auto; margin-right: 40px; background: var(--gelb); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12 4M5.5 3.5H12.5V10.5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12 4M5.5 3.5H12.5V10.5' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transform: translate(-14px, 14px); transition: opacity .3s, transform .3s var(--easing-out); }
.menue-liste a:hover, .menue-liste a[aria-current="page"] { color: var(--gelb); }
.menue-liste a:hover::after, .menue-liste a:focus-visible::after { opacity: 1; transform: none; }
.ist-menue-offen .menue-liste a { transform: translateY(0); }
.menue-liste li:nth-child(2) a { transition-delay: .05s; }
.menue-liste li:nth-child(3) a { transition-delay: .1s; }
.menue-liste li:nth-child(4) a { transition-delay: .15s; }
.menue-liste li:nth-child(5) a { transition-delay: .2s; }
.menue-liste li:nth-child(6) a { transition-delay: .25s; }
.menue-kontakt { align-self: end; padding: 0 0 15px 45px; border-left: 1px solid rgba(255, 255, 255, .18); opacity: 0; transition: opacity .6s .35s; }
.menue-satz { font: 400 clamp(26px, 2.2vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; margin-bottom: 30px; }
.menue-kontakt > a { display: block; color: #fff; text-decoration: none; font-size: 13px; line-height: 2.3; }
.menue-kontakt > a:hover { color: var(--gelb); }
.menue-kontakt address { margin-top: 24px; font-style: normal; font-size: 12px; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.menue-unten { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .7); opacity: 0; transition: opacity .6s .4s; }
.menue-unten a { color: var(--gelb); text-decoration: none; }
.ist-menue-offen .menue-kontakt, .ist-menue-offen .menue-unten { opacity: 1; }

/* ---------- Bühne (Startseite, nach Astra) ---------- */
.buehne { position: relative; height: 100svh; min-height: 700px; max-height: 1200px; overflow: hidden; background: var(--nacht); color: #fff; }
.buehne-bild { position: absolute; inset: 0; opacity: 0; transition: opacity 1.7s ease; }
.buehne-bild.ist-aktiv { opacity: 1; z-index: 1; }
.buehne-bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); transform: scale(1.04); }
.buehne-bild.ist-aktiv img { animation: kenburns 10s linear forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.1); } }
.buehne::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(9, 20, 29, .66), rgba(9, 20, 29, .16) 85%), linear-gradient(180deg, rgba(8, 20, 31, .5), rgba(8, 20, 31, 0) 32%, rgba(8, 20, 31, 0) 60%, rgba(9, 20, 29, .7)); }
.buehne-inhalt { position: absolute; z-index: 3; left: 0; right: 0; top: clamp(210px, 27svh, 350px); }
.buehne h1 .zeile { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.buehne h1 .zeile > span { display: inline-block; }
.buehne h1 em { margin-left: 2px; }
.buehne-unter { margin-top: 30px; font-size: 14px; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); line-height: 1.9; letter-spacing: .015em; color: rgba(255, 255, 255, .88); }
.buehne-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.js .buehne-knoepfe { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--easing) 1.05s, transform 1s var(--easing-out) 1.05s; }
.js .ist-bereit .buehne-knoepfe { opacity: 1; transform: none; }
.buehne-leiste { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; display: flex; align-items: flex-end; justify-content: space-between; }
.buehne-bildtext { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; line-height: 1.3; color: #fff; }
.buehne-bildtext span:first-child { font-size: 10.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.buehne-scroll { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; color: #fff; text-decoration: none; font-size: 10.5px; letter-spacing: .06em; }
.buehne-scroll span { font-size: 30px; font-weight: 300; line-height: 1; animation: nicken 2.4s var(--easing) infinite; }
@keyframes nicken { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.buehne-steuerung { display: flex; align-items: center; gap: 18px; padding-bottom: 2px; }
.buehne-zaehler { font: 500 12px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; flex-shrink: 0; }
.buehne-balken { display: flex; gap: 7px; }
.buehne-balken button { position: relative; width: 38px; height: 36px; padding: 0; background: none; border: 0; cursor: pointer; }
.buehne-balken button::before, .buehne-balken button i { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: rgba(255, 255, 255, .34); }
.buehne-balken button i { right: auto; width: 0; background: var(--gelb); }
.buehne-balken button.ist-aktiv i { animation: fortschritt var(--dauer, 7s) linear forwards; }
.buehne.ist-pausiert .buehne-balken button.ist-aktiv i { animation-play-state: paused; }
.buehne.ist-pausiert .buehne-bild.ist-aktiv img { animation-play-state: paused; }
@keyframes fortschritt { to { width: 100%; } }
.buehne-pause { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #fff; cursor: pointer; transition: border-color .3s, color .3s; }
.buehne-pause:hover { border-color: var(--gelb); color: var(--gelb); }
.buehne-pause svg { width: 11px; height: 11px; }
.js .buehne-leiste { opacity: 0; transition: opacity 1s var(--easing) .9s; }
.js .ist-bereit .buehne-leiste { opacity: 1; }

.ist-statisch .buehne { height: 900px; min-height: 0; }
.ist-statisch .lader, .ist-statisch .vorschau-hinweis, .ist-statisch .handy-leiste { display: none !important; }
.ist-statisch *, .ist-statisch *::before, .ist-statisch *::after { transition: none !important; animation: none !important; }

/* ---------- Laufband (bewegt sich mit dem Scrollen) ---------- */
.laufband { background: var(--nacht); color: rgba(255, 255, 255, .74); overflow: hidden; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.laufband-spur { display: flex; align-items: center; width: max-content; will-change: transform; }
.laufband-spur span { display: inline-flex; align-items: center; font: 600 13.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.laufband-spur span::after { content: ""; display: inline-block; width: 44px; height: 1px; margin: 0 38px 0 34px; background: var(--gelb); opacity: .8; }

/* ---------- Dunkle Abschnitte mit Hausmuster ---------- */
.dunkel { background: var(--nacht); color: #fff; position: relative; overflow: hidden; }
.hausmuster { position: absolute; pointer-events: none; color: rgba(255, 255, 255, .045); width: min(1100px, 90vw); }
.hausmuster svg { width: 100%; height: auto; }
.hausmuster--rechts { right: -8vw; top: 6%; }
.hausmuster--links { left: -14vw; bottom: -6%; }

/* ---------- Einstieg in die Inhalte ---------- */
.auftakt { padding: var(--abschnitt) 0 calc(var(--abschnitt) + 120px); }
.fuellsatz { margin-top: 34px; max-width: 21em; font-family: var(--serif); font-size: clamp(34px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -.012em; }
.fuellsatz h2, .fuellsatz p { display: inline; font: inherit; color: #fff; }
.fuellsatz em { color: var(--gelb); }
.js .fuellsatz .w { opacity: .38; transition: opacity .4s linear; }
.js .fuellsatz .w.an { opacity: 1; }
.auftakt-links { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 72px; }
.auftakt-links .linklinie { color: #fff; }
.auftakt-links .linklinie:hover { color: var(--gelb); }

/* Bild mit überlappender Karte */
.ueberlappung { position: relative; margin-top: -120px; z-index: 2; }
.ueberlappung-bild { grid-column: 4 / -1; grid-row: 1; position: relative; overflow: hidden; }
.ueberlappung-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: var(--foto); }
.karte { position: relative; background: #fff; color: var(--ink); padding: clamp(32px, 4vw, 64px); box-shadow: 0 30px 80px rgba(14, 34, 51, .14); }
.karte::before, .karte::after { content: ""; position: absolute; width: 22px; height: 22px; border-color: var(--blau); border-style: solid; }
.karte::before { right: 18px; bottom: 18px; border-width: 0 1px 1px 0; }
.karte::after { left: 18px; top: 18px; border-width: 1px 0 0 1px; }
.ueberlappung .karte { grid-column: 1 / span 5; grid-row: 1; align-self: end; margin-bottom: -80px; z-index: 3; }
.ueberlappung .karte .titel-m { margin: 18px 0 20px; }
.ueberlappung .karte p { color: var(--ink-2); }
.ueberlappung .karte .linklinie { margin-top: 30px; color: var(--blau); }

/* ---------- Leistungen: Bildschieber ---------- */
.leistungen { background: var(--nebel); padding: calc(var(--abschnitt) + 80px) 0 var(--abschnitt); }
.kopfzeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 5vw, 80px); }
.kopfzeile .marke { display: block; margin-bottom: 18px; }
.schieber-steuerung { display: flex; align-items: center; gap: 18px; }
.schieber-zaehler { font: 600 13px/1 var(--sans); letter-spacing: .2em; min-width: 72px; text-align: center; }
.schieber-pfeil { width: 58px; height: 58px; border: 1px solid currentColor; background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.schieber-pfeil:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.schieber-pfeil svg { width: 24px; height: 10px; }
.schieber-pfeil--zurueck svg { transform: rotate(180deg); }
.schieber { display: flex; gap: var(--spalte); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); padding-inline: var(--rand); padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.schieber::-webkit-scrollbar { display: none; }
.schieber.ist-ziehen { cursor: grabbing; scroll-snap-type: none; }
.schieber.ist-ziehen * { pointer-events: none; }
.leistung { flex: 0 0 clamp(280px, 27vw, 440px); scroll-snap-align: start; text-decoration: none; color: inherit; display: block; }
.leistung-bild { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stein); }
.leistung-bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); transform: scale(1.01); transition: transform 1.1s var(--easing-out); }
.leistung:hover .leistung-bild img { transform: scale(1.04); }
.leistung-nr { position: absolute; left: 18px; top: 16px; z-index: 2; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.leistung-hinweis { position: absolute; right: 16px; top: 14px; z-index: 2; background: var(--gelb); color: var(--ink); font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; }
.leistung h3 { font-family: var(--serif); font-size: clamp(26px, 2vw, 34px); line-height: 1.08; margin: 26px 0 10px; transition: color .3s; }
.leistung p { color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 30em; }
.leistung .linklinie { margin-top: 18px; color: var(--blau); }
.leistung:hover h3 { color: var(--blau); }

/* ---------- Zahlen ---------- */
.zahlen { padding: clamp(72px, 8vw, 128px) 0; border-bottom: 1px solid var(--stein); }
.zahlen--blau { background: var(--petrol); border: 0; color: #fff; }
.zahlen--blau .zahl { border-color: rgba(255, 255, 255, .25); }
.zahlen--blau .zahl-wert { color: var(--gelb); }
.zahlen--blau .zahl-text { color: #d7e2e7; }
.zahlen-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); }
.zahl { border-left: 1px solid var(--stein); padding-left: clamp(18px, 2vw, 32px); }
.zahl-wert { display: block; font-family: var(--serif); font-size: clamp(56px, 6.4vw, 110px); line-height: .95; color: var(--blau); font-variant-numeric: lining-nums tabular-nums; }
.zahl-text { display: block; margin-top: 14px; font: 600 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); max-width: 18em; }

/* ---------- WHG ---------- */
.whg { padding: var(--abschnitt) 0; }
.whg .raster { align-items: center; row-gap: 56px; }
.whg-bild { grid-column: 1 / span 6; position: relative; }
.whg-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--foto); }
.whg-siegel { position: absolute; right: -36px; bottom: 48px; width: 148px; height: 148px; border-radius: 50%; background: var(--gelb); color: var(--ink); display: grid; place-items: center; text-align: center; font: 700 11px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.whg-siegel strong { display: block; font-family: var(--serif); font-size: 46px; font-weight: 400; letter-spacing: 0; line-height: 1; text-transform: none; margin-bottom: 6px; }
.whg-text { grid-column: 8 / -1; }
.whg-text .titel-l { margin: 22px 0 28px; }
.umfang { margin: 40px 0; border-top: 1px solid var(--linie-dunkel); }
.umfang li { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--linie-dunkel); font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2; }
.umfang li span { font-style: italic; color: var(--gelb); }
.zertifikat { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 22px; background: rgba(255, 255, 255, .06); border: 1px solid var(--linie-dunkel); text-decoration: none; transition: background .3s, transform .5s var(--easing-out); }
.zertifikat:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.zertifikat img { background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transform: rotate(-3deg); transition: transform .5s var(--easing-out); }
.zertifikat:hover img { transform: rotate(0); }
.zertifikat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; color: #fff; }
.zertifikat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--on-dark-2); }

/* ---------- Projekte ---------- */
.projekte { padding: var(--abschnitt) 0 calc(var(--abschnitt) * .6); }
.projekte-kopf { grid-column: 1 / span 9; }
.projekte-kopf .marke { display: block; margin-bottom: 24px; }
.projekt-liste { margin-top: clamp(56px, 6vw, 96px); border-top: 1px solid var(--stein); }
.projekt { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--stein); position: relative; }
.projekt::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--blau); transition: width .8s var(--easing-out); }
.projekt-jahr { font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blau); }
.projekt-titel { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 42px); line-height: 1.1; transition: transform .6s var(--easing-out); }
.projekt-ort { font: 500 14px/1.4 var(--sans); color: var(--ink-2); text-align: right; }
.projekt-ort small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blau); margin-top: 6px; }

/* Baustellen-Streifen */
.baustellen { padding: clamp(64px, 7vw, 112px) 0 var(--abschnitt); }
.baustelle { flex: 0 0 clamp(300px, 38vw, 640px); scroll-snap-align: start; }
.baustelle:nth-child(even) { flex-basis: clamp(240px, 26vw, 440px); }
.baustelle-bild { overflow: hidden; background: var(--stein); }
.baustelle-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--foto); transition: transform 1.1s var(--easing-out); }
.baustelle:nth-child(even) .baustelle-bild img { aspect-ratio: 4 / 5; }
.baustelle:hover .baustelle-bild img { transform: scale(1.05); }
.baustelle figcaption { margin-top: 14px; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Familienbetrieb ---------- */
.familie { padding: var(--abschnitt) 0; background: var(--graublau); }
.familie .raster { align-items: start; row-gap: 64px; }
.familie-kopf { grid-column: 1 / span 5; position: sticky; top: calc(var(--kopf) + 48px); }
.familie-kopf .titel-l { margin: 22px 0 28px; }
.zeitleiste { grid-column: 7 / -1; position: relative; padding-left: 48px; }
.zeitleiste-linie { position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--stein); }
.zeitleiste-linie i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--blau); transform-origin: top; transform: scaleY(var(--fortschritt, 1)); }
.generation { position: relative; padding-bottom: clamp(56px, 6vw, 96px); }
.generation:last-child { padding-bottom: 0; }
.generation::before { content: ""; position: absolute; left: -54px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--graublau); border: 2px solid var(--blau); }
.generation-nr { font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--blau); }
.generation .titel-m { margin: 14px 0 12px; }
.generation p { color: var(--ink-2); max-width: 32em; }
.familie-bild { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalte); margin-top: clamp(40px, 5vw, 80px); }
.familie-bild figure { grid-column: 1 / span 8; grid-row: 1; overflow: hidden; }
.familie-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: var(--foto); }
.zitat { position: relative; grid-column: 7 / -1; grid-row: 1; align-self: end; margin: 0 0 -60px; z-index: 2; background: var(--petrol); color: #fff; padding: clamp(32px, 4vw, 60px); }
.zitat p { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.12; }
.zitat footer { margin-top: 22px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #e2c27a; }

/* ---------- Anfrage ---------- */
.anfrage { padding: var(--abschnitt) 0; text-align: center; }
.anfrage .titel-l { max-width: 14em; margin: 24px auto 22px; }
.anfrage .vorspann { margin-inline: auto; }
.anfrage-tel { display: inline-block; margin-top: 44px; font-family: var(--serif); font-size: clamp(46px, 6vw, 100px); line-height: 1; color: #fff; text-decoration: none; background: linear-gradient(var(--gelb), var(--gelb)) 0 100% / 0 2px no-repeat; padding-bottom: 8px; transition: background-size .7s var(--easing-out), color .3s; }
.anfrage-tel:hover { background-size: 100% 2px; color: var(--gelb); }
.anfrage-zweit { margin-top: 14px; font-size: 14px; color: var(--on-dark-2); }
.anfrage-zweit a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.anfrage-zweit a:hover { color: var(--gelb); border-color: var(--gelb); }
.formular { max-width: 860px; margin: clamp(56px, 6vw, 88px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px var(--spalte); text-align: left; }
.feld { display: flex; flex-direction: column; }
.feld--voll { grid-column: 1 / -1; }
.feld label { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 4px; }
.feld input, .feld select, .feld textarea { font: 400 17px/1.4 var(--sans); color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .45); border-radius: 0; padding: 12px 0; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.feld select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.feld select option { color: var(--ink); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: none; border-color: var(--gelb); box-shadow: 0 2px 0 var(--gelb); }
.formular-hinweis { grid-column: 1 / -1; font-size: 13.5px; color: var(--on-dark-2); }
.formular-hinweis a { color: #fff; }
.formular-senden { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 10px; }
.formular-status { grid-column: 1 / -1; text-align: center; color: var(--gelb); }
.formular-status:empty { display: none; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--linie-dunkel); background: #0a1a28; color: var(--on-dark-2); padding: clamp(72px, 7vw, 112px) 0 40px; font-size: 14.5px; }
.fuss-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--spalte); row-gap: 48px; }
.fuss-logo { grid-column: 1 / span 4; }
.fuss-logo img { width: min(300px, 100%); }
.fuss-spalte { grid-column: span 2; }
.fuss-spalte--breit { grid-column: span 3; }
.fuss h2 { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gelb); margin-bottom: 18px; }
.fuss a { color: #fff; text-decoration: none; display: inline-block; padding-block: 4px; }
.fuss a:hover { color: var(--gelb); }
.fuss-unten { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--linie-dunkel); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12.5px; }

/* ---------- Handy-Leiste ---------- */
.handy-leiste { display: none; }

/* ---------- Einblendungen (nur mit JS) ---------- */
.js [data-einblenden] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--easing-out), transform .6s var(--easing-out); transition-delay: var(--verz, 0s); }
.js [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }
.js [data-maske] { clip-path: inset(6% 6% 6% 6%); transition: clip-path 1.1s var(--easing-out); }
.js [data-maske] img { transform: scale(1.06); transition: transform 1.3s var(--easing-out); }
.js [data-maske].ist-sichtbar { clip-path: inset(0 0 0 0); }
.js [data-maske].ist-sichtbar img { transform: scale(1); }
.js .buehne h1 .zeile > span { transform: translateY(110%); transition: transform 1.2s var(--easing-out); transition-delay: var(--verz, 0s); }
.js .ist-bereit .buehne h1 .zeile > span { transform: none; }
.js .buehne-unter { opacity: 0; transition: opacity 1s var(--easing) .9s; }
.js .ist-bereit .buehne-unter { opacity: 1; }
[data-parallaxe] { will-change: transform; }
@media (prefers-reduced-motion: no-preference) { .js:not(.ist-statisch) [data-tiefe] { will-change: translate; } }
@media (max-width: 1100px) { .werte-raster .wert, .nachweis, .nachweis-bild, .kontaktweg { translate: none !important; } }
@media print { [data-tiefe] { translate: none !important; } }
.galerie--wechsel figure { transition: translate .45s var(--easing-out); }

/* ---------- Zollstock: Lesefortschritt ---------- */
.zollstock { display: none; }
.js .zollstock { display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; pointer-events: none; }
.zollstock i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(15, 21, 32, .5) 1px, transparent 1px) 0 0 / 10px 2px repeat-x, linear-gradient(90deg, rgba(15, 21, 32, .75) 1px, transparent 1px) 0 0 / 50px 4px repeat-x, var(--gelb); }
.ist-menue-offen .zollstock { opacity: 0; }

/* ---------- Aufmaß-Linien auf dem Trägerfoto ---------- */
.aufmass { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.aufmass path, .aufmass circle { fill: none; stroke: var(--gelb); stroke-width: 3.5; stroke-linecap: square; }
.am-zug { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .am-zug { stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--easing) 1.2s; }
.js .ist-sichtbar .am-zug { stroke-dashoffset: 0; }
.aufmass .am-gestrichelt { stroke-width: 2.5; stroke-dasharray: 16 12; opacity: .85; }
.js .am-gestrichelt { opacity: 0 !important; transition: opacity 1s 2s; }
.js .ist-sichtbar .am-gestrichelt { opacity: .85 !important; }
.am-etikett { position: absolute; z-index: 3; transform: translateY(-50%); background: var(--gelb); color: var(--ink); font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 9px; white-space: nowrap; }
.am-etikett--mitte { transform: translate(-50%, -50%); }
.js .am-etikett { opacity: 0; transition: opacity .7s 2.3s; }
.js .ist-sichtbar .am-etikett { opacity: 1; }
.am-plankopf { position: absolute; left: 0; top: 0; z-index: 3; background: rgba(14, 34, 51, .92); color: #fff; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 13px 16px; border-left: 3px solid var(--gelb); }

/* ---------- Filmstreifen ---------- */
.film { position: relative; background: #fff; }
.film-klebe { padding: clamp(64px, 7vw, 112px) 0 var(--abschnitt); }
.film-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 3.6vw, 56px); }
.film-kopf .titel-l { margin-top: 18px; }
.film-zaehler { flex: none; font: 500 14px/1 var(--sans); letter-spacing: .12em; color: var(--ink-2); }
.film-zaehler span { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 72px); letter-spacing: 0; color: var(--blau); margin-right: 4px; }
.film-spur { display: flex; align-items: flex-end; gap: clamp(20px, 2.6vw, 44px); padding: 0 var(--rand); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: none; }
.film-spur::-webkit-scrollbar { display: none; }
.film-spur:focus-visible { outline-offset: -2px; }
.film-bild { flex: none; scroll-snap-align: start; }
.film-rahmen { overflow: hidden; background: var(--stein); }
.film-bild img { display: block; min-width: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.film-bild--quer .film-rahmen { width: min(76vw, 620px); aspect-ratio: 4 / 3; }
.film-bild--hoch .film-rahmen { width: min(58vw, 380px); aspect-ratio: 4 / 5; }
.film-bild figcaption { display: flex; gap: 12px; margin-top: 14px; font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.film-bild figcaption span { color: var(--blau); }
.film-ende { flex: none; scroll-snap-align: start; width: min(64vw, 380px); aspect-ratio: 4 / 5; margin-bottom: 30px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 3vw, 44px); background: var(--nacht); color: #fff; text-decoration: none; transition: background .4s var(--easing); }
.film-ende:hover { background: var(--petrol); }
.film-ende-titel { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 52px); line-height: 1.02; }
.film-ende-titel em { color: var(--gelb); }
.film-ende .pfeil { width: 40px; height: 40px; color: var(--gelb); transition: transform .5s var(--easing-out); }
.film-ende:hover .pfeil { transform: translate(6px, -6px); }
.film:not(.film--aktiv) .film-zaehler, .film:not(.film--aktiv) .film-leiste { display: none; }
.film-leiste { position: relative; height: 1px; margin-top: 36px; background: var(--stein); }
.film-leiste i { position: absolute; inset: 0; background: var(--blau); transform-origin: left; transform: scaleX(var(--p, 0)); }
.film--aktiv .film-klebe { position: sticky; top: 0; height: 100vh; overflow: hidden; overflow: clip; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--kopf) + 8px) 0 32px; }
.film--aktiv .film-spur { width: max-content; overflow: visible; scroll-snap-type: none; will-change: transform; }
.film--aktiv .film-bild--quer .film-rahmen { height: min(44vh, 470px); width: calc(min(44vh, 470px) * 4 / 3); }
.film--aktiv .film-bild--hoch .film-rahmen { height: min(53vh, 560px); width: calc(min(53vh, 560px) * .8); }
.film--aktiv .film-ende { height: min(53vh, 560px); width: calc(min(53vh, 560px) * .8); }
.film--aktiv .film-bild img { transform: translate3d(var(--x, 0), 0, 0) scale(1.06); will-change: transform; }

/* ---------- Giebel-Maske ---------- */
.giebel { clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
.js .giebel { clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1.7s var(--easing-out); }
.js .giebel.ist-sichtbar { clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }

/* ---------- Überschriften öffnen sich von unten (ohne Unschärfe) ---------- */
.js :is(.titel-xl, .titel-l, .titel-m)[data-einblenden] { opacity: 0; transform: none; transition: none; }
.js :is(.titel-xl, .titel-l, .titel-m)[data-einblenden].ist-sichtbar { opacity: 1; animation: titel-auf 1s var(--easing-out) var(--verz, 0s) both; }
@keyframes titel-auf { from { clip-path: inset(0 0 100% 0); transform: translateY(.25em); } to { clip-path: inset(-.2em -.2em -.3em -.2em); transform: none; } }

/* ---------- Seitenwechsel: Giebel-Vorhang (Chrome, Edge, Safari) ---------- */
@view-transition { navigation: auto; }
::view-transition { background: var(--nacht); }
::view-transition-old(root) { animation: vt-raus .45s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-giebel .85s cubic-bezier(.76, 0, .24, 1) .05s both; }
@keyframes vt-raus { to { opacity: 0; transform: translateY(-4vh); } }
@keyframes vt-giebel { 0% { clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%); } 55% { clip-path: polygon(0 34%, 50% 6%, 100% 34%, 100% 100%, 0 100%); } 100% { clip-path: polygon(0 0, 50% 0, 100% 0, 100% 100%, 0 100%); } }

/* ---------- Goldene Eckmarken beim Überfahren (Aufmaß-Sprache) ---------- */
.film-rahmen, .galerie button { position: relative; }
:is(.leistung-bild, .film-rahmen, .galerie button)::after { content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none; opacity: 0; transform: scale(1.04); transition: opacity .35s, transform .6s var(--easing-out);
  background: linear-gradient(var(--gelb), var(--gelb)) top left / 18px 2px no-repeat, linear-gradient(var(--gelb), var(--gelb)) top left / 2px 18px no-repeat, linear-gradient(var(--gelb), var(--gelb)) top right / 18px 2px no-repeat, linear-gradient(var(--gelb), var(--gelb)) top right / 2px 18px no-repeat, linear-gradient(var(--gelb), var(--gelb)) bottom left / 18px 2px no-repeat, linear-gradient(var(--gelb), var(--gelb)) bottom left / 2px 18px no-repeat, linear-gradient(var(--gelb), var(--gelb)) bottom right / 18px 2px no-repeat, linear-gradient(var(--gelb), var(--gelb)) bottom right / 2px 18px no-repeat; }
:is(.leistung:hover, .leistung:focus-visible) .leistung-bild::after, .film-bild:hover .film-rahmen::after, .galerie button:is(:hover, :focus-visible)::after { opacity: 1; transform: none; }

/* ---------- Dunkle Flächen ziehen beim Scrollen auf (ohne Eingriff ins Scrollen) ---------- */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  :is(.projekte, .leistungen, .familie, .galerie-bereich, .fragen, .werte, .nachweise, .kontaktwege, .ueberlappung, .detail, .ablauf, .film) + .dunkel { animation: aufziehen linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes aufziehen { from { clip-path: inset(0 var(--rand)); } to { clip-path: inset(0); } }
} }
.ist-statisch .dunkel { animation: none !important; clip-path: none !important; }

/* ---------- Kurzer Schluss auf Unterseiten ---------- */
.schluss { padding: clamp(96px, 9vw, 150px) 0; }
.schluss-innen { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.schluss .titel-l { margin-top: 22px; max-width: 12em; }
.schluss .anfrage-tel { margin-top: 0; }
.schluss-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* =========================================================================
   Unterseiten
   ========================================================================= */
.seitenbuehne { position: relative; min-height: 78svh; padding-top: calc(var(--kopf) + 40px); display: flex; align-items: flex-end; overflow: hidden; background: var(--nacht); color: #fff; }
.seitenbuehne--kurz { min-height: 0; padding-top: calc(var(--kopf) + 90px); }
.seitenbuehne-bild { position: absolute; inset: 0; }
.seitenbuehne-bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); transform: scale(1.02); }
.js .seitenbuehne-bild img { animation: kenburns-kurz 2.4s var(--easing-out) forwards; }
@keyframes kenburns-kurz { from { transform: scale(1.08); } to { transform: scale(1.02); } }
.seitenbuehne::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 20, 29, .78) 0%, rgba(9, 20, 29, .35) 55%, rgba(9, 20, 29, .1) 100%), linear-gradient(180deg, rgba(9, 20, 29, .5) 0%, rgba(9, 20, 29, 0) 30%, rgba(9, 20, 29, .55) 100%); }
.seitenbuehne--kurz::after { display: none; }
.seitenbuehne .rahmen { position: relative; z-index: 2; padding-bottom: clamp(56px, 9vh, 110px); }
.pfad { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); margin-bottom: 26px; }
.pfad a { color: #fff; text-decoration: none; }
.pfad a:hover { color: var(--gelb); }
.seitenbuehne h1 { max-width: 12em; text-shadow: 0 2px 40px rgba(0, 0, 0, .3); }
.seitenbuehne .vorspann { color: rgba(255, 255, 255, .9); margin-top: 28px; max-width: 34em; }
.seitenbuehne .buehne-knoepfe { justify-content: flex-start; margin-top: 38px; }
.seitenbuehne .bildtitel { position: absolute; right: var(--rand); bottom: 28px; z-index: 2; font: 500 12.5px/1 var(--sans); letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.js .seitenbuehne h1, .js .seitenbuehne .vorspann, .js .seitenbuehne .pfad { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--easing-out), transform 1.1s var(--easing-out); }
.js .ist-bereit .seitenbuehne h1, .js .ist-bereit .seitenbuehne .vorspann, .js .ist-bereit .seitenbuehne .pfad { opacity: 1; transform: none; }
.js .ist-bereit .seitenbuehne h1 { transition-delay: .1s; }
.js .ist-bereit .seitenbuehne .vorspann { transition-delay: .25s; }

/* Inhaltsverzeichnis */
.inhalt { padding: clamp(64px, 7vw, 112px) 0; }
.inhalt .raster { align-items: center; row-gap: 56px; }
.inhalt-text { grid-column: 1 / span 6; }
.inhalt-text .titel-m { margin-top: 22px; max-width: 14em; }
.inhalt-liste { display: grid; grid-template-columns: 1fr; gap: 0 var(--spalte); border-top: 1px solid var(--linie-dunkel); margin-top: 44px; }
.inhalt-liste a small { margin-left: auto; align-self: center; font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--gelb); padding: 6px 8px; }
.inhalt-bilder { grid-column: 8 / -1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nacht); }
.inhalt-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--foto); opacity: 0; transform: scale(1.08); transition: opacity .7s var(--easing), transform 1.4s var(--easing-out); }
.inhalt-bilder img.ist-aktiv { opacity: 1; transform: none; }
.inhalt-liste a { display: flex; align-items: baseline; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--linie-dunkel); text-decoration: none; font-family: var(--serif); font-size: clamp(26px, 2.3vw, 38px); line-height: 1.1; color: #fff; transition: color .3s, padding .5s var(--easing-out); }
.inhalt-liste a span { min-width: 2.4em; font: 600 11px/1 var(--sans); letter-spacing: .2em; font-variant-numeric: tabular-nums; color: var(--gelb); }
.inhalt-liste a:hover { color: var(--gelb); padding-left: 8px; }

/* Leistung im Detail: Bild + überlappende Karte, abwechselnd */
.detail { padding: clamp(80px, 9vw, 150px) 0; }
.detail--nebel { background: var(--nebel); }
.detail .raster { align-items: center; }
.detail-bild { grid-column: 1 / span 8; grid-row: 1; overflow: hidden; }
.detail-bild img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; filter: var(--foto); }
.detail .karte { grid-column: 7 / -1; grid-row: 1; z-index: 2; }
.detail--rechts .detail-bild { grid-column: 5 / -1; }
.detail--rechts .karte { grid-column: 1 / span 6; }
.detail .karte .titel-m { margin: 16px 0 18px; }
.detail .karte p { color: var(--ink-2); }
.detail .bildtitel-klein { display: block; margin-top: 12px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.haken { margin-top: 24px; border-top: 1px solid var(--stein); }
.haken li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--stein); font-size: 15px; line-height: 1.55; }
.haken li::before { content: ""; position: absolute; left: 0; top: 23px; width: 16px; height: 1px; background: var(--blau); }
.haken li::after { content: ""; position: absolute; left: 12px; top: 20px; width: 5px; height: 5px; border-top: 1px solid var(--blau); border-right: 1px solid var(--blau); transform: rotate(45deg); }
.detail .karte .linklinie { margin-top: 26px; color: var(--blau); }
.abzeichen { display: inline-block; background: var(--gelb); color: var(--ink); font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; margin-left: 10px; vertical-align: middle; }

/* Nachweise */
.nachweise { padding: var(--abschnitt) 0; }
.nachweis-raster { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: var(--spalte); margin-top: clamp(48px, 5vw, 80px); align-items: stretch; }
.nachweis { background: #fff; border: 1px solid var(--stein); padding: clamp(28px, 3vw, 44px); position: relative; }
.nachweis h3 { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin: 14px 0 22px; }
.nachweis dl div { padding: 12px 0; border-top: 1px solid var(--stein); display: grid; grid-template-columns: minmax(9.5em, max-content) 1fr; gap: 14px; font-size: 14.5px; line-height: 1.5; }
.nachweis dt { color: var(--ink-2); font-weight: 500; }
.nachweis-bild { display: block; background: var(--nacht); padding: 28px; text-decoration: none; color: #fff; transition: transform .6s var(--easing-out); }
.nachweis-bild:hover { transform: translateY(-6px); }
.nachweis-bild img { background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); transform: rotate(-2deg); transition: transform .6s var(--easing-out); }
.nachweis-bild:hover img { transform: rotate(0); }
.nachweis-bild > .linklinie { display: flex; margin-top: 22px; color: #fff; }

/* Ablauf */
.ablauf { padding: var(--abschnitt) 0; background: var(--nebel); }
.schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); margin-top: clamp(48px, 5vw, 80px); counter-reset: s; }
.schritte--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.schritt { position: relative; padding-top: 34px; border-top: 1px solid var(--stein); counter-increment: s; }
.schritt::before { content: counter(s, decimal-leading-zero); position: absolute; top: -1px; left: 0; padding-top: 12px; border-top: 2px solid var(--blau); font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--blau); width: 48px; }
.schritt h3 { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 38px); margin: 12px 0 10px; }
.schritt p { color: var(--ink-2); font-size: 15px; }

/* Fragen */
.fragen { padding: var(--abschnitt) 0; }
.fragen-liste { margin-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--stein); max-width: 980px; }
.fragen-liste details { border-bottom: 1px solid var(--stein); }
.fragen-liste summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; transition: color .3s; }
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::after { content: "+"; flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 300 22px/1 var(--sans); transition: transform .4s var(--easing-out), background .3s, color .3s; }
.fragen-liste details[open] summary::after { transform: rotate(45deg); background: var(--petrol); color: #fff; border-color: var(--petrol); }
.fragen-liste summary:hover { color: var(--blau); }
.fragen-liste details p { padding: 0 0 30px; max-width: 46em; color: var(--ink-2); }

/* Galerie */
.galerie-bereich { padding: var(--abschnitt) 0; background: var(--nebel); }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(32px, 3vw, 48px) 0; }
.filter button { padding: 12px 18px; background: transparent; border: 1px solid #a89f93; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; transition: all .3s; }
.filter button:hover { border-color: var(--petrol); color: var(--petrol); }
.filter button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--spalte); }
.galerie figure[hidden] { display: none; }
.galerie figure:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.galerie button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--stein); cursor: zoom-in; overflow: hidden; }
.galerie img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--foto); transition: transform 1s var(--easing-out); }
.galerie figure:nth-child(5n+1) img { aspect-ratio: auto; }
.galerie button:hover img { transform: scale(1.04); }
.galerie figure { display: flex; flex-direction: column; }
.galerie figcaption { margin-top: 10px; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.galerie figure:has(button:focus-visible) button { outline: 2px solid var(--blau); outline-offset: 4px; }
.grossansicht { border: 0; padding: 0; background: transparent; max-width: min(1300px, 94vw); max-height: 94vh; overflow: visible; }
.grossansicht::backdrop { background: rgba(10, 26, 40, .96); }
.grossansicht img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; }
.ga-titel { margin-top: 16px; text-align: center; color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.ga-knopf { position: fixed; width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font: 300 26px/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.ga-knopf:hover { background: var(--gelb); border-color: var(--gelb); color: var(--ink); }
.ga-knopf:focus-visible { outline-color: var(--gelb); }
.ga-zurueck { left: 20px; top: 50%; transform: translateY(-50%); }
.ga-vor { right: 20px; top: 50%; transform: translateY(-50%); }
.ga-zu { right: 20px; top: 20px; }

/* Werte */
.werte { padding: var(--abschnitt) 0; }
.werte-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalte); margin-top: clamp(48px, 5vw, 80px); }
.wert { padding-top: 26px; border-top: 1px solid var(--stein); position: relative; }
.wert-nr { font: 600 11px/1 var(--sans); letter-spacing: .2em; color: var(--blau); }
.wert h3 { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 38px); margin: 20px 0 12px; }
.wert p { color: var(--ink-2); }

/* Zielgruppen */
.fuer-wen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); margin-top: 48px; }
.fuer-wen li { border-top: 2px solid var(--gelb); padding-top: 18px; font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; color: #fff; }

/* Kontaktseite */
.kontaktwege { padding: clamp(80px, 8vw, 128px) 0; }
.kontaktwege-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); }
.kontaktweg { padding: 28px 0; border-top: 1px solid var(--stein); }
.kontaktweg .marke { display: block; color: var(--blau); margin-bottom: 14px; }
.kontaktweg a, .kontaktweg p { font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); line-height: 1.2; text-decoration: none; color: var(--ink); }
.kontaktweg a:hover { color: var(--blau); }
.kontaktweg small { display: block; margin-top: 10px; font: 500 14px/1.5 var(--sans); color: var(--ink-2); }
.kontaktweg small a { font: inherit; color: var(--blau); text-decoration: underline; }

/* Rechtstexte */
.prosa-bereich { padding: clamp(72px, 8vw, 120px) 0 var(--abschnitt); }
.prosa { max-width: 780px; }
.prosa h2 { font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); margin: 1.8em 0 .5em; }
.prosa h3 { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blau); margin: 1.8em 0 .5em; }
.prosa p { margin-bottom: 1em; color: var(--ink-2); }
.prosa a { color: var(--blau); }
.prosa ul { list-style: disc; margin: 0 0 1em 1.2em; padding: 0; color: var(--ink-2); }
.prosa li { margin-bottom: .35em; }
.hinweis { padding: 16px 20px; border-left: 3px solid #d4b400; background: #fbf4d2; color: #4f4300; font-size: 15px; margin-bottom: 2em; }

/* ---------- Leistungen als Bauakte: stehende Bildspalte, Texte laufen ---------- */
.akte { padding: clamp(80px, 8vw, 140px) 0 var(--abschnitt); }
.akte-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.akte-bilder { position: sticky; top: calc(var(--kopf) + 4vh); height: calc(100svh - var(--kopf) - 8vh); min-height: 440px; overflow: hidden; background: var(--stein); }
.akte-bild { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1); }
.akte-bild.ist-gezeigt { clip-path: inset(0); }
.akte-bild img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.akte-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 20, 29, 0) 55%, rgba(9, 20, 29, .6) 100%); }
.akte-nr { position: absolute; z-index: 2; left: 28px; bottom: 14px; font: 400 clamp(84px, 9vw, 150px)/.8 var(--serif); letter-spacing: -.03em; color: #fff; }
.am-etikett.akte-etikett { left: auto; right: 24px; top: 24px; transform: none; }
.js .am-etikett.akte-etikett { opacity: 1; }
.akte-eintrag { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; padding: 56px 0; border-top: 1px solid var(--stein); scroll-margin-top: var(--kopf); }
.akte-eintrag:first-child { border-top: 0; padding-top: 0; min-height: 64svh; justify-content: flex-start; }
.akte-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.akte-kopf .abzeichen { margin-left: 0; }
.akte-nummer { font: 400 24px/1 var(--serif); color: var(--blau); }
.akte-text .titel-m { margin: 18px 0; }
.akte-text > p { color: var(--ink-2); max-width: 34em; }
.akte-knopf { margin-top: 32px; }
.akte-bild-mobil { display: none; }

/* =========================================================================
   Tablet
   ========================================================================= */
@media (max-width: 1100px) {
  .kopf-tel { display: none; }
  .kopf-rechts { gap: 28px; }
  .buehne-scroll { display: none; }
  .ueberlappung-bild { grid-column: 3 / -1; }
  .ueberlappung .karte { grid-column: 1 / span 7; }
  .whg-bild { grid-column: 1 / span 6; }
  .whg-text { grid-column: 7 / -1; }
  .whg-siegel { right: 16px; bottom: -28px; width: 120px; height: 120px; }
  .nachweis-bild { grid-column: 1 / -1; display: flex; align-items: center; gap: 32px; }
  .nachweis-bild img { width: min(240px, 40%); }
  .detail-bild, .detail--rechts .detail-bild { grid-column: 1 / -1 !important; grid-row: 1; }
  .detail .karte, .detail--rechts .karte { grid-column: 3 / -1 !important; grid-row: 2; margin-top: -90px; }
  .whg-siegel strong { font-size: 36px; }
  .familie-kopf { grid-column: 1 / -1; position: static; }
  .zeitleiste { grid-column: 1 / -1; }
  .zahlen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .menue { grid-template-columns: 1fr; align-content: start; }
  .menue-kontakt { padding-left: 0; border-left: 0; }
  .menue-liste a::after { display: none; }
  .fuss-logo { grid-column: 1 / -1; }
  .fuss-spalte, .fuss-spalte--breit { grid-column: span 4; }
  .inhalt-text { grid-column: 1 / -1; }
  .akte-raster { display: block; }
  .akte-bilder { display: none; }
  .akte-bild-mobil { display: block; margin-bottom: 26px; }
  .akte-bild-mobil img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--foto); }
  .akte-bild-mobil figcaption { margin-top: 10px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
  .akte-eintrag, .akte-eintrag:first-child { min-height: 0; padding: 56px 0; border-top: 1px solid var(--stein); }
  .akte-eintrag:first-child { border-top: 0; padding-top: 0; }
  .inhalt-bilder { display: none; }
  .nachweis-raster { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .werte-raster { grid-template-columns: 1fr; }
  .fuer-wen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .kontaktwege-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
   Handy
   ========================================================================= */
@media (max-width: 760px) {
  :root { --kopf: 76px; }
  .menue-knopf, .filter button { min-height: 44px; }
  .buehne-balken { gap: 4px; }
  .buehne-balken button { width: 34px; height: 44px; }
  .buehne-balken button::before, .buehne-balken button i { top: 21px; }
  .buehne-pause { width: 44px; height: 44px; }
  .buehne-steuerung { gap: 8px; }
  .ist-menue-offen .kopf { background: var(--nacht); }
  html { scroll-padding-bottom: 80px; }
  body { font-size: 15.5px; padding-bottom: 64px; }
  .raster { grid-template-columns: minmax(0, 1fr); }
  .raster > * { grid-column: 1 / -1 !important; }
  .kopf-innen { padding-inline: var(--rand); }
  .kopf-logo, .ist-gescrollt .kopf-logo { width: 150px; }
  .kopf-anfrage { display: none; }
  .menue-knopf { padding: 12px 0 12px 20px; gap: 14px; }
  .ist-gescrollt .kopf { --kopf: 66px; }

  .buehne { min-height: 600px; }
  .ist-statisch .buehne { height: 780px; }
  .buehne-inhalt { top: auto; bottom: 104px; }
  .titel-hero { font-size: clamp(44px, 12.6vw, 60px); }
  .buehne-unter { margin-top: 22px; font-size: 13.5px; }
  .buehne-knoepfe { margin-top: 26px; }
  .buehne-knoepfe .knopf { width: 100%; }
  .buehne-bildtext, .buehne-scroll { display: none; }
  .buehne-leiste { bottom: 26px; justify-content: flex-end; }

  .auftakt { padding-bottom: calc(var(--abschnitt) + 40px); }
  .auftakt-links { flex-direction: column; gap: 20px; margin-top: 56px; }
  .ueberlappung { margin-top: -60px; }
  .ueberlappung .raster { display: block; }
  .ueberlappung-bild { margin-inline: calc(-1 * var(--rand)); }
  .ueberlappung .karte { margin: -48px 0 0; }
  .leistungen { padding-top: calc(var(--abschnitt) + 20px); }
  .leistung { flex-basis: 78vw; }
  .schieber-pfeil { width: 48px; height: 48px; }
  .zahlen-raster { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .zahl-wert { font-size: 52px; }
  .whg-siegel { right: 12px; bottom: -40px; width: 112px; height: 112px; font-size: 9.5px; }
  .whg-siegel strong { font-size: 32px; }
  .whg-bild { margin-inline: calc(-1 * var(--rand)); }
  .projekt { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .projekt-ort { text-align: left; }
  .baustelle, .baustelle:nth-child(even) { flex-basis: 76vw; }
  .zeitleiste { padding-left: 34px; }
  .generation::before { left: -40px; }
  .familie-bild { display: block; }
  .familie-bild figure { margin-inline: calc(-1 * var(--rand)); }
  .zitat { margin: -40px 0 0; }
  .formular { grid-template-columns: 1fr; }
  .fuss-spalte, .fuss-spalte--breit { grid-column: 1 / -1; }
  .vorschau-hinweis { display: none; }

  .seitenbuehne { min-height: 72svh; }
  .seitenbuehne--kurz { min-height: 0; padding-top: calc(var(--kopf) + 56px); }
  .seitenbuehne::after { background: linear-gradient(180deg, rgba(9, 20, 29, .55) 0%, rgba(9, 20, 29, .35) 40%, rgba(9, 20, 29, .8) 100%); }
  body.ist-menue-offen .handy-leiste { transform: translateY(100%); }
  body { background: #0a1a28; }
  main { background: #fff; }
  .seitenbuehne .bildtitel { display: none; }
  .seitenbuehne .buehne-knoepfe { align-items: stretch; }
  .seitenbuehne .buehne-knoepfe .knopf { max-width: none; }
  .am-etikett { font-size: 9.5px; padding: 5px 7px; letter-spacing: .08em; }
  .am-plankopf { font-size: 10px; padding: 9px 12px; }
  .am-etikett--unten { display: none; }
  .film-kopf { flex-direction: column; align-items: flex-start; }
  .film-zaehler { display: none; }
  .detail .raster { display: block; }
  .detail-bild { margin-inline: calc(-1 * var(--rand)); }
  .detail .karte, .detail--rechts .karte { margin: -56px 0 0; }
  .nachweis-raster { grid-template-columns: 1fr; }
  .nachweis dl div { grid-template-columns: 1fr; gap: 2px; }
  .schritte { grid-template-columns: 1fr; row-gap: 36px; }
  .galerie { grid-template-columns: 1fr 1fr; gap: 10px; }
  .galerie figure:nth-child(5n+1) { grid-column: span 2; grid-row: auto; }
  .galerie figure:nth-child(5n+1) img { aspect-ratio: 4 / 3; }
  .galerie figcaption { font-size: 10px; }
  .fuer-wen { grid-template-columns: 1fr; }
  .kontaktwege-raster { grid-template-columns: 1fr; }
  .schluss-innen { grid-template-columns: 1fr; }
  .ga-zurueck, .ga-vor { top: auto; bottom: 20px; transform: none; }
  .handy-leiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; height: 64px; box-shadow: 0 -10px 30px rgba(0, 0, 0, .15); transform: translateY(100%); transition: transform .5s var(--easing-out); }
  .ist-gescrollt .handy-leiste { transform: none; }
  .handy-leiste a { display: flex; align-items: center; justify-content: center; gap: 10px; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
  .handy-leiste a:first-child { background: var(--gelb); color: var(--ink); }
  .handy-leiste a:last-child { background: var(--petrol); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 1px 0 0 rgba(255, 255, 255, .12); }
}

/* =========================================================================
   Weniger Bewegung
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .buehne-bild.ist-aktiv img { animation: none; }
  .js [data-einblenden], .js [data-maske], .js [data-maske] img { opacity: 1; transform: none; clip-path: none; filter: none; }
  .js .giebel { clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
  .js .am-zug { stroke-dashoffset: 0; }
  .js .am-etikett { opacity: 1; }
  .js .fuellsatz .w { opacity: 1; }
  .buehne-scroll { display: none; }
}
