/* =====================================================================
   DENKER Eigenheim & Bau – Stylesheet
   Grundlage: Pixel-Perfect-Webdesign-Analyse (denker.devmi.de, 15.09.2026)
   Motion: Emil-Kowalski-Regeln (starke ease-out-Kurve, nur transform/opacity,
   Hover nur mit Maus, Drücken = scale(.97), reduzierte Bewegung respektiert)
   ===================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Farben (Analyse Kap. 03) */
  --color-brand: #06814b;          /* CTA, Links, Icons, Fokus */
  --color-brand-dark: #056b3e;     /* Hover, grüner Text auf Salbei (4,6:1) */
  --color-brand-soft: #cedbcd;     /* Claim-Fläche, Footer, Menü */
  --color-mint: #e4ede4;
  --color-warm: #aea292;           /* Greige – Flächen, Deko, Headlines auf Dunkel */
  --color-warm-text: #968772;      /* Greige für große Headlines auf Hell (≥ 3:1) */
  --color-ink: #212123;
  --color-black: #000;
  --color-paper: #fff;
  --color-sand: #f7f6f2;
  --color-sand-deep: #edeae5;
  --color-muted: #e9e9e9;
  --color-line: #e2ded6;
  --color-text-soft: #55544f;

  /* Typografie (Kap. 04) */
  --font-sans: "Montserrat", Arial, Helvetica, sans-serif;
  --fs-display: clamp(2.25rem, 1.35rem + 3.9vw, 4.5rem);   /* 36 → 72 px */
  --fs-h2: clamp(1.625rem, 1.15rem + 2.05vw, 2.8125rem);    /* 26 → 45 px */
  --fs-h3: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);        /* 18 → 20 px */
  --fs-body: clamp(.9375rem, .9rem + .2vw, 1.0625rem);      /* 15 → 17 px */
  --fs-small: .9375rem;
  --fs-eyebrow: clamp(.8125rem, .76rem + .25vw, 1.0625rem);

  /* Raster (Kap. 05) */
  --container: 1290px;
  --gutter: clamp(20px, 3vw, 40px);
  --section-space: clamp(60px, 8.8vw, 120px);
  --header-h: 92px;

  /* Tiefe (Kap. 14) */
  --shadow-panel: 0 13px 49px -17px rgb(0 0 0 / .43);
  --shadow-card: 0 15px 64px -33px rgb(0 0 0 / .5);
  --shadow-card-hover: 0 22px 64px -28px rgb(0 0 0 / .45);

  /* Motion (Kowalski + Kap. 11) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --dur-press: 160ms;
  --dur-micro: 200ms;
  --dur-ui: 320ms;
  --dur-reveal: 680ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--color-brand); color: #fff; }
:focus-visible { outline: 3px solid var(--color-black); outline-offset: 4px; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--color-black); color: #fff; padding: 12px 18px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--schmal { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.sektion { padding-block: var(--section-space); position: relative; }
.sektion--sand { background: var(--color-sand); }
.sektion--eng { padding-block: calc(var(--section-space) * .6); }

/* ---------- Typografie ---------- */
.display {
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--color-warm-text);
}
.h-sektion {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-weight: 700;
  color: var(--color-ink);
}
.h-sektion--warm { color: var(--color-warm-text); }
.h-karte { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; }
.eyebrow {
  font-size: var(--fs-eyebrow);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 18px;
}
.lead { max-width: 607px; }
.lead p + p, .fliesstext p + p { margin-top: 1.1em; }
.fliesstext { max-width: 65ch; }
.fliesstext h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.2em 0 .6em; font-weight: 700; }
.fliesstext h3 { font-size: 1.125rem; margin: 1.8em 0 .5em; font-weight: 700; }
.fliesstext ul { padding-left: 1.2em; margin: .8em 0; }
.fliesstext li + li { margin-top: .3em; }
.fliesstext a { color: var(--color-brand-dark); text-underline-offset: 3px; }
.fliesstext table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: var(--fs-small); }
.fliesstext th, .fliesstext td { text-align: left; border-bottom: 1px solid var(--color-line); padding: 10px 12px 10px 0; vertical-align: top; }
.hinweis-box { background: var(--color-sand); border-left: 4px solid var(--color-brand); padding: 18px 22px; margin: 1.5em 0; }

/* ---------- Buttons & Links ---------- */
.aktionen { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  min-height: 49px; padding: 16px 30px;
  border: 0; border-radius: 0;
  font: 800 .9375rem/1 var(--font-sans);
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, transform var(--dur-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.button:active { transform: scale(.97); }
.button .icon { width: 18px; height: 18px; flex: none; }
.button--primary { background: var(--color-brand); color: #fff; }
.button--hell { background: #fff; color: var(--color-ink); }
.button--rahmen { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 2px currentColor; }
.button--breit { width: 100%; }
.button--header { font-size: 1.0625rem; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 15px 26px; }
@media (hover: hover) and (pointer: fine) {
  .button--primary:hover { background: var(--color-brand-dark); }
  .button--hell:hover { background: var(--color-sand-deep); }
  .button--rahmen:hover { background: var(--color-ink); color: #fff; }
}
.button[disabled] { opacity: .6; cursor: progress; }

.textlink {
  display: inline-flex; align-items: center; gap: 15px;
  font-size: .9375rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  color: var(--color-black); text-decoration: none;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.textlink__pfeil { width: 18px; height: 18px; flex: none; transition: transform var(--dur-micro) var(--ease-out); }
.textlink span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--dur-ui) var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .textlink:hover .textlink__pfeil { transform: translateX(4px); }
  .textlink:hover span { background-size: 100% 2px; }
}
.textlink--hell { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(247 246 242 / 0);
  transition: background-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgb(0 0 0 / .07); opacity: 0; transition: opacity var(--dur-ui) ease; }
.site-header.ist-gescrollt { background: rgb(247 246 242 / .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.site-header.ist-gescrollt::after { opacity: 1; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: clamp(20px, 5.1vw, 70px) clamp(20px, 2.9vw, 40px); }
.brand { display: block; width: clamp(170px, 19vw, 260px); flex: none; transform-origin: left center; transition: transform var(--dur-ui) var(--ease-out); }
.brand img { width: 100%; height: auto; }
.site-header.ist-gescrollt .brand { transform: scale(.86); }
.site-header__aktionen { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 34px); }
.burger {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--color-ink); background: none; border: 0; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-press) var(--ease-out);
}
.burger:active { transform: scale(.94); }
.burger__linien { display: grid; gap: 6px; width: 32px; }
.burger__linien span { display: block; height: 3px; background: currentColor; border-radius: 2px; transition: transform var(--dur-micro) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .burger:hover .burger__linien span:nth-child(2) { transform: translateX(6px); }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .button--header { width: 48px; height: 48px; min-height: 0; padding: 0; }
  .button--header span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .button--header .icon { width: 20px; height: 20px; }
}

/* ---------- Menü-Overlay ---------- */
.menue { position: fixed; inset: 0; z-index: 100; }
.menue__flaeche {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background: var(--color-brand-soft);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 20px) var(--gutter) 60px;
}
.menue__raster { width: min(100%, var(--container)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 8vw, 140px); align-items: center; }
.menue__signet { width: clamp(117px, 18vw, 260px); height: auto; color: var(--color-brand); }
.menue__kontakt { margin-top: 44px; display: grid; gap: 10px; font-size: var(--fs-small); font-weight: 600; }
.menue__kontakt a, .menue__kontakt p { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; }
.menue__kontakt .icon { width: 20px; height: 20px; color: var(--color-brand-dark); flex: none; margin-top: 1px; }
@media (hover: hover) and (pointer: fine) { .menue__kontakt a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.menue__links { display: grid; gap: 2px; }
.menue__links a {
  display: inline-block; padding: 4px 0;
  font-size: clamp(1.5625rem, 1.1rem + 2.1vw, 2.75rem); line-height: 1.2; font-weight: 700; letter-spacing: -.01em;
  color: var(--color-ink); text-decoration: none;
  transition: color var(--dur-micro) ease;
}
.menue__links a[aria-current="page"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .menue__links a:hover { color: var(--color-brand-dark); } }
.menue__recht { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 34px; }
.menue__recht a { font-size: var(--fs-small); font-weight: 700; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .menue__recht a:hover { text-decoration: underline; } }
.menue__zu {
  position: absolute; top: clamp(12px, 2vw, 24px); right: clamp(12px, 2.4vw, 40px);
  width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--color-sand); border: 0; color: #6c7c69;
  transition: transform var(--dur-press) var(--ease-out);
}
.menue__zu .icon { width: 28px; height: 28px; }
.menue__zu:active { transform: scale(.94); }
@media (max-width: 800px) {
  .menue__flaeche { align-items: flex-start; }
  .menue__raster { grid-template-columns: 1fr; }
  .menue__marke { order: 2; }
  .menue__kontakt { margin-top: 24px; }
  .menue__signet { display: none; }
}
body.menue-offen { overflow: hidden; }

/* Menü-Bewegung: Fläche blendet auf (320 ms), Links folgen versetzt. Schließen schneller (200 ms). */
@media (prefers-reduced-motion: no-preference) {
  html.js .menue__flaeche { opacity: 0; transition: opacity 200ms ease; }
  html.js .menue.ist-offen .menue__flaeche { opacity: 1; transition: opacity var(--dur-ui) var(--ease-out); }
  html.js .menue__links li, html.js .menue__marke, html.js .menue__recht { opacity: 0; transform: translateY(14px); transition: opacity 150ms ease, transform 150ms ease; }
  html.js .menue.ist-offen .menue__links li,
  html.js .menue.ist-offen .menue__marke,
  html.js .menue.ist-offen .menue__recht {
    opacity: 1; transform: none;
    transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
    transition-delay: calc(90ms + var(--i, 0) * 40ms);
  }
  html.js .menue.ist-offen .menue__marke { transition-delay: 60ms; }
  html.js .menue.ist-offen .menue__recht { transition-delay: 420ms; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__buehne { position: relative; height: clamp(440px, 72svh, 918px); overflow: hidden; background: var(--color-sand); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1200ms ease; }
.hero__slide.ist-aktiv { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.hero__buehne::before, .hero__buehne::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hero__buehne::before { top: 0; height: 22%; background: linear-gradient(var(--color-paper), rgb(255 255 255 / 0)); }
.hero__buehne::after { bottom: 0; height: 30%; background: linear-gradient(rgb(255 255 255 / 0), rgb(255 255 255 / .55)); }
.site-header + .hero, .site-header ~ .menue + main .hero { margin-top: 0; }
.hero__steuerung { position: absolute; z-index: 3; left: 50%; bottom: calc(clamp(80px, 11vw, 150px) + 14px); transform: translateX(-50%); display: flex; align-items: center; gap: 6px; }
.hero__punkt { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
.hero__punkt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(33 33 35 / .35); transition: background-color var(--dur-micro) ease, transform var(--dur-micro) var(--ease-out); }
.hero__punkt[aria-current="true"]::before { background: var(--color-ink); transform: scale(1.2); }
.hero__pause { width: 36px; height: 36px; display: grid; place-items: center; background: rgb(255 255 255 / .7); border: 0; color: var(--color-ink); margin-left: 6px; }
.hero__pause .icon { width: 16px; height: 16px; }
.claim-platte {
  position: relative; z-index: 4;
  width: min(100% - 2 * var(--gutter), 1268px);
  margin: calc(-1 * clamp(80px, 11vw, 150px)) auto 0;
  padding: clamp(28px, 4vw, 50px);
  background: rgb(206 219 205 / .77);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-panel);
}
.claim-platte h1, .claim-platte p { margin: 0; }
.claim-platte img { width: min(78%, 800px); margin-inline: auto; }
@media (max-width: 767px) {
  .hero__buehne { height: 68svh; min-height: 380px; }
  .claim-platte { margin-top: -54px; padding: 30px 22px; }
  .claim-platte img { width: 100%; }
  .hero__steuerung { bottom: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .hero__slide img { transform: scale(1.06); transition: transform 1500ms var(--ease-out); }
  html.js.ist-geladen .hero__slide img { transform: none; }
}

/* Auftritts-Kaskade (Eyebrow 0 – Headline 120 – Text 320 – Aktionen 520 ms) */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-kaskade { opacity: 0; transform: translateY(18px); }
  html.js.ist-geladen .hero-kaskade {
    opacity: 1; transform: none;
    transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out);
    transition-delay: calc(60ms + var(--k, 0) * 130ms);
  }
  html.js .claim-platte.hero-kaskade { transform: translateY(26px); }
}

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); }
  html.js .reveal.ist-sichtbar {
    opacity: 1; transform: none;
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
    transition-delay: min(calc(var(--i, 0) * 70ms), 490ms);
  }
  /* Bilder: ein Vorhang in Flächenfarbe gibt das Bild von oben nach unten frei (nur transform, einmalig) */
  html.js .reveal-bild { position: relative; overflow: hidden; }
  html.js .reveal-bild::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: var(--vorhang, #fff);
    transform-origin: 50% 100%;
  }
  html.js .reveal-bild > img { transform: scale(1.06); }
  html.js .reveal-bild.ist-sichtbar::after {
    transform: scaleY(0);
    transition: transform 900ms var(--ease-in-out);
    transition-delay: min(calc(var(--i, 0) * 70ms), 490ms);
  }
  html.js .reveal-bild.ist-sichtbar > img {
    transform: none;
    transition: transform 1400ms var(--ease-out);
    transition-delay: min(calc(var(--i, 0) * 70ms), 490ms);
  }
}
.sektion--sand, .kennzahlen--sand { --vorhang: var(--color-sand); }
.site-footer ul, .site-footer__zeile ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Signet-Wasserzeichen ---------- */
.signet { width: 100%; height: auto; }

/* ---------- Startseite: Philosophie ---------- */
.intro { position: relative; overflow: hidden; padding-block: clamp(70px, 10vw, 150px) var(--section-space); }
.intro__signet { position: absolute; left: clamp(-160px, -6vw, -40px); top: 50%; transform: translateY(-46%); width: clamp(280px, 44vw, 640px); color: rgb(174 162 146 / .09); pointer-events: none; }
.intro__text { margin-left: clamp(0px, 34vw, 480px); max-width: 607px; position: relative; }
.intro__text .display { margin-bottom: 34px; }
@media (max-width: 900px) { .intro__text { margin-left: 0; } .intro__signet { left: auto; right: -30%; } }

/* ---------- Kennzahlen ---------- */
.kennzahlen { padding-block: clamp(34px, 5vw, 56px); border-block: 1px solid var(--color-line); background: var(--color-paper); }
.kennzahlen__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.kennzahlen__liste li { display: grid; gap: 8px; align-content: start; }
.kennzahlen__wert { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--color-warm-text); font-variant-numeric: tabular-nums; }
.kennzahlen__label { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; max-width: 22ch; }
@media (max-width: 767px) { .kennzahlen__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Leistungen (Salbei-Bühne) ---------- */
.leistungen-buehne { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--color-brand-soft) 0%, rgb(206 219 205 / .45) 55%, rgb(206 219 205 / 0) 100%); padding-block: var(--section-space); }
.leistungen-buehne__ghost { position: absolute; left: 50%; top: clamp(150px, 16vw, 250px); transform: translateX(-50%); font-size: clamp(6rem, 25vw, 22rem); font-weight: 800; line-height: .8; letter-spacing: -.02em; color: rgb(255 255 255 / .6); white-space: nowrap; pointer-events: none; user-select: none; }
.leistungen-buehne__kopf { position: relative; text-align: center; display: grid; justify-items: center; gap: 26px; margin-bottom: clamp(44px, 6vw, 80px); }
.leistungen-buehne__logo { width: clamp(180px, 20vw, 260px); }
.leistungen-buehne__kopf .h-sektion { max-width: 946px; font-size: clamp(1.875rem, 1.2rem + 2.9vw, 3.25rem); }
.leistungs-raster { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3.9vw, 50px); }
.leistungs-karte {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  min-height: 235px; padding: 40px;
  background: #fff; box-shadow: var(--shadow-card); color: var(--color-ink); text-decoration: none;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.leistungs-karte .signet { width: 40px; color: var(--color-brand); }
.leistungs-karte__text { font-size: var(--fs-small); color: var(--color-text-soft); margin-top: -8px; }
.leistungs-karte__pfeil { margin-top: auto; width: 22px; height: 22px; color: var(--color-brand); transition: transform var(--dur-micro) var(--ease-out); }
.leistungs-karte:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .leistungs-karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .leistungs-karte:hover .leistungs-karte__pfeil { transform: translateX(4px); }
}
@media (max-width: 1024px) { .leistungs-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .leistungs-raster { grid-template-columns: 1fr; } .leistungs-karte { min-height: 0; padding: 30px; } }

/* ---------- Editorial-Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px clamp(30px, 6vw, 90px); align-items: start; }
.split__text { max-width: 558px; padding-top: 6px; }
.split__text p + p { margin-top: 1.1em; }
.split .aktionen { margin-top: 26px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ---------- Mosaik ---------- */
.mosaik { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19.8vw, 256px); gap: clamp(12px, 2.5vw, 32px); margin-top: clamp(40px, 5vw, 70px); }
.mosaik__bild { position: relative; overflow: hidden; margin: 0; background: var(--color-sand-deep); }
.mosaik__bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); transition: transform 550ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mosaik__bild.ist-sichtbar:hover img, html:not(.js) .mosaik__bild:hover img { transform: scale(1.025); transition-delay: 0ms; } }
.m-a { grid-column: 1; grid-row: 1; }
.m-b { grid-column: 2 / span 2; grid-row: 1 / span 2; }
.m-c { grid-column: 4; grid-row: 1; }
.m-d { grid-column: 1; grid-row: 2 / span 2; }
.m-e { grid-column: 4; grid-row: 2; }
.m-f { grid-column: 2; grid-row: 3; }
.m-g { grid-column: 3 / span 2; grid-row: 3; }
@media (max-width: 767px) {
  .mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .mosaik__bild { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .mosaik .m-b, .mosaik .m-g { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .mosaik .m-f { display: none; }
}

/* ---------- Prozess-Teaser ---------- */
.prozess-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 8vw, 120px); align-items: center; }
.prozess-teaser__text { max-width: 520px; margin-left: clamp(0px, 5vw, 70px); }
.prozess-teaser__text p + p { margin-top: 1.1em; }
.zusagen { display: grid; gap: 0; border-top: 1px solid var(--color-line); }
.zusagen li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--color-line); align-items: baseline; }
.zusagen__nr { font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--color-warm-text); letter-spacing: -.02em; }
.zusagen strong { display: block; font-size: var(--fs-h3); line-height: 1.25; margin-bottom: 4px; }
.zusagen p { font-size: var(--fs-small); color: var(--color-text-soft); }
.zusagen--hell li { border-color: rgb(255 255 255 / .25); }
@media (max-width: 800px) { .prozess-teaser { grid-template-columns: 1fr; } .prozess-teaser__text { margin-left: 0; } }

/* ---------- Bauprojekte-Modul (Bild auf Muster) ---------- */
.projekt-modul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px clamp(40px, 7vw, 100px); align-items: center; }
.projekt-modul__komposition { position: relative; padding: 0 0 clamp(40px, 5vw, 64px) 0; }
.projekt-modul__muster { width: 72%; aspect-ratio: 520 / 590; background: var(--color-brand-soft) url("../img/muster-signet.svg") 0 0 / 280px 280px repeat; }
.projekt-modul__foto { position: absolute; right: 0; bottom: 0; width: 64%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-panel); }
.projekt-modul__text { max-width: 520px; }
.projekt-modul__text .display { margin-bottom: 28px; }
@media (max-width: 800px) { .projekt-modul { grid-template-columns: 1fr; } }
.projekt-leiste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .projekt-leiste { grid-template-columns: 1fr; } }

/* ---------- Projekt-Karten ---------- */
.projekt-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
@media (max-width: 1024px) { .projekt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projekt-raster { grid-template-columns: 1fr; } }
.projekt-karte { background: #fff; box-shadow: var(--shadow-card); transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.projekt-karte__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.projekt-karte__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-sand-deep); }
.projekt-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 550ms var(--ease-out); }
.projekt-karte__text { padding: 26px 28px 30px; display: grid; gap: 6px; }
.projekt-karte__ort { font-size: .8125rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-soft); }
.projekt-karte__titel { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; }
.projekt-karte__fakten { font-size: var(--fs-small); color: var(--color-text-soft); }
.projekt-karte__preis { margin-top: 8px; font-weight: 700; color: var(--color-brand-dark); }
@media (hover: hover) and (pointer: fine) {
  .projekt-karte:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .projekt-karte:hover .projekt-karte__bild img { transform: scale(1.025); }
}
.status { position: absolute; left: 0; top: 18px; padding: 8px 14px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--color-ink); }
.status--verfuegbar { background: var(--color-brand); color: #fff; }
.status--reserviert { background: var(--color-warm); color: var(--color-ink); }
.status--verkauft { background: var(--color-ink); color: #fff; }
.status--bau { background: var(--color-brand-soft); }

/* ---------- Leerzustand ---------- */
.leer { display: grid; grid-template-columns: auto 1fr; gap: 30px 50px; align-items: center; padding: clamp(30px, 5vw, 60px); background: var(--color-sand); }
.leer .signet { width: clamp(70px, 9vw, 120px); color: var(--color-brand); }
.leer h2 { margin-bottom: 12px; }
@media (max-width: 640px) { .leer { grid-template-columns: 1fr; } }

/* ---------- Kontaktbühne ---------- */
.kontaktbuehne { position: relative; padding-top: var(--section-space); background: linear-gradient(to bottom, transparent 0, transparent calc(100% - 220px), var(--color-brand-soft) calc(100% - 220px)); }
.kontaktbuehne__rahmen { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; box-shadow: var(--shadow-panel); position: relative; }
.kontaktbuehne__bild { position: relative; height: clamp(120px, 14vw, 190px); }
.kontaktbuehne__bild > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.kontaktbuehne__claim { position: absolute; left: 50%; top: 0; width: min(62%, 560px); transform: translate(-50%, -48%); filter: drop-shadow(0 4px 18px rgb(0 0 0 / .25)); }
.kontaktbuehne__panel { background: var(--color-ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 90px); padding: clamp(30px, 5vw, 70px); }
.kontaktbuehne__text { align-self: center; }
.kontaktbuehne__text .eyebrow { color: #fff; }
.h-kontakt { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.015em; font-weight: 700; color: var(--color-warm); margin-bottom: 22px; }
.kontaktbuehne__direkt { margin-top: 22px; font-weight: 700; }
.kontaktbuehne__direkt a { color: #fff; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .kontaktbuehne__panel { grid-template-columns: 1fr; }
  .kontaktbuehne__text { order: -1; }
  .kontaktbuehne__claim { width: 80%; }
}

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 16px; }
.feld { display: grid; gap: 7px; }
.feld-reihe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }
.feld label, .feld legend, .gruppe__titel { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.optional { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .75; margin-left: 4px; }
.feld input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .feld textarea, .feld select {
  width: 100%; min-height: 50px; padding: 12px 16px;
  font-size: 1rem; font-weight: 500;
  background: #fff; color: var(--color-ink);
  border: 1px solid #cfcac1; border-radius: 0;
  transition: border-color var(--dur-micro) ease, box-shadow var(--dur-micro) ease;
}
.feld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.feld input:focus-visible, .feld textarea:focus-visible, .feld select:focus-visible { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgb(6 129 75 / .35); }
.feld input[type="file"] { padding: 10px 0; font-size: var(--fs-small); }
.feld--check { grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .875rem; line-height: 1.5; }
.feld--check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--color-brand); }
.feld--check label { font-size: .875rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.feld--check a { color: inherit; text-underline-offset: 3px; }
.feld-hilfe { font-size: .8125rem; opacity: .8; }
.feld-fehler { font-size: .8125rem; font-weight: 700; color: #b3261e; }
.formular--dunkel .feld-fehler { color: #ffb4ab; }
.feld.hat-fehler input, .feld.hat-fehler textarea { border-color: #b3261e; }
.formular__status { font-size: .9375rem; font-weight: 600; }
.formular__status:empty { display: none; }
.formular__status.ist-fehler { color: #b3261e; }
.formular--dunkel .formular__status.ist-fehler { color: #ffb4ab; }
.formular--dunkel .feld input:not([type="checkbox"]), .formular--dunkel .feld textarea { border-color: #fff; }
.formular--dunkel .feld--check label, .formular--dunkel .feld label { color: #fff; }
.formular--karte { background: #fff; padding: clamp(24px, 4vw, 50px); box-shadow: var(--shadow-card); }

/* Erfolg */
.erfolg { display: grid; gap: 14px; }
.erfolg__haken { width: 56px; height: 56px; display: grid; place-items: center; background: var(--color-brand); color: #fff; }
.erfolg__haken .icon { width: 30px; height: 30px; }
.erfolg h3 { font-size: 1.5rem; line-height: 1.2; }
.erfolg ol { display: grid; gap: 8px; padding-left: 1.2em; }
.erfolg__ref { font-variant-numeric: tabular-nums; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .erfolg { animation: erfolg-ein 420ms var(--ease-out) both; }
  @keyframes erfolg-ein { from { opacity: 0; transform: translateY(10px); } }
}

/* Mehrstufiges Formular */
.stufen__fortschritt { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; font-size: .875rem; font-weight: 700; }
.stufen__balken { height: 4px; background: var(--color-sand-deep); margin-bottom: 30px; overflow: hidden; }
.stufen__balken span { display: block; height: 100%; width: 100%; background: var(--color-brand); transform-origin: left; transform: scaleX(var(--anteil, .25)); transition: transform var(--dur-ui) var(--ease-out); }
.stufe { border: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.stufe + .stufe { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--color-line); }
html.js .stufen.ist-aktiv .stufe + .stufe { margin-top: 0; padding-top: 0; border-top: 0; }
.stufe__titel { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; font-weight: 700; padding: 0; margin-bottom: 4px; }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .kacheln, .kacheln--3 { grid-template-columns: 1fr; } }
.kachel { position: relative; display: block; }
.kachel input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kachel span {
  display: flex; align-items: center; gap: 14px; min-height: 64px; height: 100%;
  padding: 16px 18px; border: 1px solid #cfcac1; background: #fff;
  font-weight: 600; line-height: 1.3;
  transition: border-color var(--dur-micro) ease, background-color var(--dur-micro) ease, transform var(--dur-press) var(--ease-out);
}
.kachel span::before { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid #b7b1a6; border-radius: 50%; transition: border-color var(--dur-micro) ease, box-shadow var(--dur-micro) ease; }
.kachel input[type="checkbox"] + span::before { border-radius: 2px; }
.kachel input:checked + span { border-color: var(--color-brand); background: #f1f7f2; }
.kachel input:checked + span::before { border-color: var(--color-brand); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--color-brand); }
.kachel input:focus-visible + span { outline: 3px solid var(--color-black); outline-offset: 2px; }
.kachel:active span { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .kachel:hover span { border-color: var(--color-ink); } }
.stufen__navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.stufen__navigation .button--rahmen { margin-right: auto; }
.zusammenfassung { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; padding: 20px 22px; background: var(--color-sand); font-size: var(--fs-small); }
.zusammenfassung dt { font-weight: 700; }
@media (max-width: 480px) { .zusammenfassung { grid-template-columns: 1fr; } .zusammenfassung dd { margin-bottom: 8px; } }
.bedingt[data-fuer] { display: grid; gap: 18px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .stufe.ist-neu { animation: stufe-ein var(--dur-ui) var(--ease-out) both; }
  @keyframes stufe-ein { from { opacity: 0; transform: translateX(16px); } }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 90px) clamp(70px, 10vw, 150px); min-height: clamp(380px, 56vh, 700px); display: flex; align-items: center; }
.seitenkopf__signet { position: absolute; left: clamp(-120px, -4vw, -30px); top: 50%; transform: translateY(-50%); width: clamp(300px, 46vw, 700px); color: rgb(174 162 146 / .1); pointer-events: none; }
.seitenkopf__inhalt { position: relative; }
.seitenkopf__text { margin-left: clamp(0px, 33vw, 470px); max-width: 640px; }
.seitenkopf .display { margin-bottom: 30px; }
.seitenkopf--kompakt { min-height: 0; }
.seitenkopf--kompakt .seitenkopf__text { margin-left: 0; max-width: 860px; }
@media (max-width: 900px) { .seitenkopf__text { margin-left: 0; } .seitenkopf__signet { left: auto; right: -35%; } }
.brotkrumen { margin-bottom: clamp(30px, 5vw, 60px); font-size: .8125rem; font-weight: 600; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0; }
.brotkrumen li + li::before { content: "/"; margin: 0 10px; opacity: .45; }
.brotkrumen a { text-decoration: none; color: var(--color-text-soft); }
@media (hover: hover) and (pointer: fine) { .brotkrumen a:hover { text-decoration: underline; } }

/* ---------- Auf einen Blick ---------- */
.blick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--color-line); background: #fff; }
.blick li { padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.blick li + li { border-left: 1px solid var(--color-line); }
.blick .icon { width: 26px; height: 26px; color: var(--color-brand); }
.blick strong { font-size: 1rem; line-height: 1.3; }
.blick span { font-size: .875rem; color: var(--color-text-soft); line-height: 1.45; }
@media (max-width: 1024px) { .blick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blick li + li { border-left: 0; } .blick li { border-top: 1px solid var(--color-line); } .blick li:nth-child(-n+2) { border-top: 0; } .blick li:nth-child(even) { border-left: 1px solid var(--color-line); } }
@media (max-width: 560px) { .blick { grid-template-columns: 1fr; } .blick li:nth-child(even) { border-left: 0; } .blick li:nth-child(2) { border-top: 1px solid var(--color-line); } }

/* ---------- Leistungs-Kapitel ---------- */
.kapitel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 110px); align-items: center; padding-block: clamp(50px, 7vw, 100px); scroll-margin-top: calc(var(--header-h) + 10px); }
.kapitel + .kapitel { border-top: 1px solid var(--color-line); }
.kapitel--gedreht .kapitel__bild { order: 2; }
.kapitel__bild { position: relative; }
.kapitel__bild img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.kapitel__nr { position: absolute; left: 0; bottom: 0; background: #fff; padding: 14px 20px; font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--color-warm-text); }
.kapitel__text .h-sektion { margin-bottom: 22px; }
.kapitel__text p + p { margin-top: 1em; }
.punkte { display: grid; gap: 10px; margin-top: 24px; }
.punkte li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-weight: 600; line-height: 1.45; }
.punkte .icon { width: 22px; height: 22px; color: var(--color-brand); margin-top: 1px; }
.ehrlich { margin-top: 26px; padding: 18px 22px; background: var(--color-sand); font-size: var(--fs-small); }
.ehrlich strong { display: block; margin-bottom: 4px; }
@media (max-width: 860px) { .kapitel { grid-template-columns: 1fr; } .kapitel--gedreht .kapitel__bild { order: 0; } }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--color-brand); color: #fff; }
.cta-band__inhalt { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 30px 60px; align-items: center; padding-block: clamp(50px, 7vw, 90px); }
.cta-band .h-sektion { color: #fff; margin-bottom: 14px; }
.cta-band :focus-visible { outline-color: #fff; }
@media (max-width: 800px) { .cta-band__inhalt { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 110px); align-items: start; }
.faq__kopf { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__kopf .h-sektion { margin-bottom: 20px; }
.faq__liste { border-top: 1px solid var(--color-line); }
.faq__eintrag { border-bottom: 1px solid var(--color-line); }
.faq__eintrag summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; line-height: 1.35; -webkit-tap-highlight-color: transparent; }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__icon { width: 24px; height: 24px; flex: none; color: var(--color-brand); transition: transform var(--dur-ui) var(--ease-out); }
.faq__eintrag[open] .faq__icon { transform: rotate(45deg); }
.faq__antwort { padding: 0 44px 24px 0; color: var(--color-text-soft); }
@media (max-width: 860px) { .faq__raster { grid-template-columns: 1fr; } .faq__kopf { position: static; } }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq__eintrag { interpolate-size: allow-keywords; }
    .faq__eintrag::details-content { height: 0; overflow: clip; transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete; }
    .faq__eintrag[open]::details-content { height: auto; }
  }
}

/* ---------- Referenzen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 50px); }
.chip {
  min-height: 44px; padding: 10px 18px; border: 1px solid #cfcac1; background: #fff;
  font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  transition: background-color var(--dur-micro) ease, color var(--dur-micro) ease, border-color var(--dur-micro) ease, transform var(--dur-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.chip span { font-weight: 500; opacity: .7; margin-left: 6px; }
.chip[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.chip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--color-ink); } }

.ref-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 19.8vw, 256px); gap: clamp(12px, 2.5vw, 32px); }
.ref-karte { position: relative; margin: 0; overflow: hidden; background: var(--color-sand-deep); }
.ref-karte.m-G { grid-column: span 2; grid-row: span 2; }
.ref-karte.m-H { grid-row: span 2; }
.ref-karte.m-B { grid-column: span 2; }
.ref-karte.m-V { grid-column: span 4; }
.ref-karte__knopf { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: zoom-in; display: block; -webkit-tap-highlight-color: transparent; }
.ref-karte__knopf:focus-visible { outline: 3px solid var(--color-black); outline-offset: -3px; }
.ref-karte img { width: 100%; height: 100%; object-fit: cover; transition: transform 550ms var(--ease-out); }
.ref-karte__label { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 20px); background: #fff; padding: 12px 16px 13px; display: grid; gap: 2px; pointer-events: none; }
.ref-karte__typ { font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.ref-karte__flaeche { font-size: .8125rem; font-weight: 600; color: var(--color-text-soft); }
@media (hover: hover) and (pointer: fine) { .ref-karte.ist-sichtbar:hover img, html:not(.js) .ref-karte:hover img { transform: scale(1.025); transition: transform 550ms var(--ease-out); transition-delay: 0ms; } }
@media (max-width: 1024px) {
  .ref-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .ref-karte, .ref-karte[class*="m-"] { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .ref-raster { grid-template-columns: 1fr; } }
.ref-raster.ist-einfach { grid-auto-rows: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ref-raster.ist-einfach .ref-karte { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) { .ref-raster.ist-einfach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ref-raster.ist-einfach { grid-template-columns: 1fr; } }
.ref-hinweis { margin-top: 18px; font-size: .875rem; color: var(--color-text-soft); }

/* Layer (dialog) */
.layer { width: min(100% - 32px, 1120px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: #fff; color: var(--color-ink); box-shadow: 0 30px 90px -20px rgb(0 0 0 / .55); overflow: auto; }
.layer::backdrop { background: rgb(20 20 22 / .72); }
.layer__raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.layer__bild { background: var(--color-sand-deep); display: grid; place-items: center; min-height: 280px; }
.layer__bild img { width: 100%; height: 100%; max-height: 78dvh; object-fit: contain; }
.layer__text { padding: clamp(24px, 3.5vw, 44px); display: grid; align-content: start; gap: 14px; }
.layer__text h2 { font-size: 1.75rem; line-height: 1.15; }
.layer__flaeche { font-size: 1.25rem; font-weight: 700; color: var(--color-warm-text); }
.layer__zu { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: #fff; box-shadow: 0 4px 18px rgb(0 0 0 / .15); z-index: 2; transition: transform var(--dur-press) var(--ease-out); }
.layer__zu:active { transform: scale(.94); }
.layer__nav { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; }
.layer__nav button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #cfcac1; background: #fff; transition: transform var(--dur-press) var(--ease-out); }
.layer__nav button:active { transform: scale(.94); }
.layer__zaehler { align-self: center; margin-left: 8px; font-size: .875rem; font-weight: 600; color: var(--color-text-soft); }
@media (max-width: 800px) { .layer__raster { grid-template-columns: 1fr; } .layer__bild img { max-height: 50dvh; } }
@media (prefers-reduced-motion: no-preference) {
  .layer[open] { animation: layer-ein 250ms var(--ease-out); }
  .layer[open]::backdrop { animation: backdrop-ein 250ms ease; }
  .layer.ist-schliessend { animation: layer-aus 160ms ease forwards; }
  .layer.ist-schliessend::backdrop { animation: backdrop-aus 160ms ease forwards; }
  @keyframes layer-ein { from { opacity: 0; transform: scale(.96); } }
  @keyframes layer-aus { to { opacity: 0; transform: scale(.98); } }
  @keyframes backdrop-ein { from { opacity: 0; } }
  @keyframes backdrop-aus { to { opacity: 0; } }
}

/* ---------- Schritte ---------- */
.schritt-buehne { background: linear-gradient(180deg, rgb(6 129 75 / .95) 0, rgb(6 129 75 / .95) 380px, rgb(6 129 75 / .12) 100%); padding-block: var(--section-space); color: #fff; }
.schritt-buehne__kopf { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 80px); text-align: center; }
.schritt-buehne__kopf .h-sektion { color: #fff; font-size: clamp(1.875rem, 1.2rem + 2.9vw, 3.25rem); margin-bottom: 20px; }
.schritt-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); counter-reset: schritt; }
.schritt { background: #fff; color: var(--color-ink); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-card); display: grid; align-content: start; gap: 12px; }
.schritt__nr { font-size: clamp(2.75rem, 2rem + 2.5vw, 4.5rem); line-height: 1; font-weight: 700; color: var(--color-warm-text); letter-spacing: -.03em; }
.schritt h3 { font-size: var(--fs-h3); line-height: 1.25; hyphens: auto; }
.schritt p { font-size: var(--fs-small); color: var(--color-text-soft); }
.schritt--anspruch { background: var(--color-brand); color: #fff; box-shadow: none; }
.schritt--anspruch h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; }
.schritt--anspruch p { color: #fff; }
.schritt--anspruch :focus-visible { outline-color: #fff; }
@media (max-width: 1024px) { .schritt-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .schritt-raster { grid-template-columns: 1fr; } }
.bildreihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 32px); }
.bildreihe img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bildreihe figure { margin: 0; }
@media (max-width: 600px) { .bildreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bildreihe figure:nth-child(3) { display: none; } }

/* ---------- Timeline ---------- */
.zeitleiste { position: relative; display: grid; gap: clamp(26px, 4vw, 44px); max-width: 1080px; margin-inline: auto; }
.zeitleiste::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 2px; background: var(--color-brand-soft); transform: translateX(-50%); }
.station { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(50px, 8vw, 110px); align-items: baseline; }
.station::before { content: ""; position: absolute; left: 50%; top: .55em; width: 14px; height: 14px; background: var(--color-brand); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--color-brand-soft); transform: translate(-50%, 0); border-radius: 50%; }
.station__jahr { text-align: right; font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--color-warm-text); }
.station__text { max-width: 440px; }
.station__text strong { display: block; font-size: var(--fs-h3); line-height: 1.3; margin-bottom: 4px; }
.station__text span { color: var(--color-text-soft); font-size: var(--fs-small); }
.station:nth-child(even) .station__jahr { order: 2; text-align: left; }
.station:nth-child(even) .station__text { order: 1; text-align: right; justify-self: end; }
@media (max-width: 760px) {
  .zeitleiste::before { left: 7px; }
  .station { grid-template-columns: 1fr; padding-left: 36px; }
  .station::before { left: 7px; top: .4em; }
  .station__jahr, .station:nth-child(even) .station__jahr { order: 0; text-align: left; margin-bottom: 8px; }
  .station:nth-child(even) .station__text { order: 1; text-align: left; justify-self: start; }
}

/* ---------- Karriere ---------- */
.karriere-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 7vw, 100px); align-items: center; }
.karriere-kopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .karriere-kopf { grid-template-columns: 1fr; } }
.vorteile { display: flex; flex-wrap: wrap; gap: 12px; }
.vorteile li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; font-weight: 700; font-size: .9375rem; box-shadow: var(--shadow-card); }
.vorteile .icon { width: 20px; height: 20px; color: var(--color-brand); }
.job { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 7vw, 100px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.job + .job { border-top: 1px solid var(--color-line); }
.job:nth-child(even) .job__bild { order: 2; }
.job__bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.job__text .display { margin-bottom: 22px; }
.aufklapper { margin-top: 26px; border-top: 1px solid var(--color-line); }
.ansprechpartner { display: grid; grid-template-columns: auto 1fr; gap: 20px 26px; align-items: center; padding: clamp(24px, 3vw, 36px); background: #fff; box-shadow: var(--shadow-card); }
.ansprechpartner .signet { width: 64px; color: var(--color-brand); }
.ansprechpartner p { font-size: var(--fs-small); }
.ansprechpartner a { color: var(--color-brand-dark); font-weight: 700; }
.bewerbung-buehne { background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-soft) 100%); padding-block: var(--section-space); }
.bewerbung-buehne__karte { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.bewerbung-buehne__karte .display { margin-bottom: 14px; }
@media (max-width: 860px) { .job { grid-template-columns: 1fr; } .job:nth-child(even) .job__bild { order: 0; } }

/* ---------- Kontaktseite ---------- */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(30px, 5vw, 70px); align-items: start; }
.kontakt-raster__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kontakt-raster__bild { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .kontakt-raster { grid-template-columns: 1fr; } .kontakt-raster__bild { position: static; } .kontakt-raster__bild img { aspect-ratio: 16 / 9; } }
.kontaktwege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); }
.kontaktweg { background: #fff; box-shadow: var(--shadow-card); padding: clamp(26px, 3vw, 40px); display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.kontaktweg .icon { width: 30px; height: 30px; color: var(--color-brand); margin-bottom: 8px; }
.kontaktweg strong { font-size: var(--fs-h3); }
.kontaktweg span { color: var(--color-brand-dark); font-weight: 700; overflow-wrap: anywhere; }
a.kontaktweg:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { a.kontaktweg:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); } }
@media (max-width: 800px) { .kontaktwege { grid-template-columns: 1fr; } }

/* ---------- Objekt-Detail ---------- */
.objekt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(30px, 5vw, 70px); align-items: start; }
.galerie__haupt { position: relative; aspect-ratio: 4 / 3; background: var(--color-sand-deep); overflow: hidden; }
.galerie__haupt img { width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms ease; }
.galerie__daumen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.galerie__daumen button { padding: 0; border: 2px solid transparent; background: none; aspect-ratio: 4 / 3; overflow: hidden; }
.galerie__daumen button[aria-current="true"] { border-color: var(--color-brand); }
.galerie__daumen img { width: 100%; height: 100%; object-fit: cover; }
.objekt__seite { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.eckdaten { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; padding: 26px; background: var(--color-sand); font-size: var(--fs-small); }
.eckdaten dt { font-weight: 700; }
.objekt__preis { font-size: 1.75rem; font-weight: 700; color: var(--color-brand-dark); }
.energie { margin-top: 30px; font-size: var(--fs-small); }
@media (max-width: 960px) { .objekt { grid-template-columns: 1fr; } .objekt__seite { position: static; } }

/* ---------- News ---------- */
.news-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
@media (max-width: 960px) { .news-raster { grid-template-columns: 1fr; } }
.artikel__bild { margin: 30px 0 40px; }
.artikel__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.artikel__meta { font-size: .875rem; font-weight: 700; color: var(--color-text-soft); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Danke / 404 ---------- */
.danke-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.danke-schritte li { background: #fff; box-shadow: var(--shadow-card); padding: 28px; }
.danke-schritte strong { display: block; font-size: var(--fs-h3); margin: 8px 0 6px; }
@media (max-width: 760px) { .danke-schritte { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-brand-soft); color: var(--color-ink); }
.site-footer__raster { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 60px); padding-block: clamp(60px, 7vw, 100px) clamp(50px, 6vw, 80px); }
.site-footer__logo { display: block; width: 230px; margin-bottom: 26px; }
.site-footer__marke p { font-size: var(--fs-small); line-height: 1.6; max-width: 380px; }
.site-footer__titel { font-size: 1.375rem; line-height: 1; font-weight: 700; margin-bottom: 22px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer li a { font-size: var(--fs-small); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer li a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.kontaktliste { gap: 18px !important; }
.kontaktliste li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: var(--fs-small); line-height: 1.45; }
.kontaktliste .icon { width: 22px; height: 22px; color: var(--color-ink); }
.kontaktliste__label { display: block; font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.kontaktliste a { color: var(--color-brand-dark); font-weight: 600; overflow-wrap: anywhere; }
.site-footer__zeile { background: var(--color-muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding: 18px var(--gutter); font-size: .875rem; }
.site-footer__zeile ul { display: flex; gap: 20px; }
.site-footer__zeile a { text-decoration: none; }
.herz { color: var(--color-brand); }
@media (max-width: 1024px) { .site-footer__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer__raster { grid-template-columns: 1fr; } }

/* ---------- Hilfsklassen ---------- */
.zentriert { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-s { margin-bottom: 18px; }
.mb-m { margin-bottom: clamp(30px, 4vw, 50px); }
.mb-l { margin-bottom: clamp(40px, 6vw, 80px); }
.klein { font-size: .875rem; color: var(--color-text-soft); }

/* ---------- Druck ---------- */
@media print {
  .site-header, .menue, .kontaktbuehne, .site-footer__raster nav, .hero__steuerung { display: none !important; }
  .reveal, .hero-kaskade { opacity: 1 !important; transform: none !important; }
}

/* ---------- Reduzierte Bewegung: alles sofort im Endzustand (P4) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-kaskade, .reveal-bild, .reveal-bild > img { opacity: 1 !important; transform: none !important; }
  .reveal-bild::after { display: none !important; }
  .leistungs-karte:hover, .projekt-karte:hover, a.kontaktweg:hover { transform: none !important; }
}
.intro__text p + p { margin-top: 1.1em; }
.blick-sektion { padding-bottom: clamp(50px, 6vw, 80px); margin-top: calc(-1 * clamp(30px, 5vw, 70px)); position: relative; }

/* ---------- Ergänzungen ---------- */
.pt-0 { padding-top: 0 !important; }
.sektion--oben { padding-top: clamp(30px, 5vw, 60px); }
.cta-band .eyebrow, .schritt-buehne .eyebrow { color: #fff; }
.schritt--anspruch .aktionen { margin-top: 12px; }
.seitenkopf .lead + .eyebrow, .lead .eyebrow { margin: 26px 0 0; }
.split--mittig { align-items: center; }
.split--abstand { margin-top: clamp(50px, 7vw, 100px); }
.bildunterschrift { margin-top: 10px; }
.objekt__text { margin-top: clamp(40px, 5vw, 60px); }
.objekt__text .display { margin-bottom: 24px; }
.artikel__titel { margin-top: 14px; }
.artikel__lead { margin-top: 22px; font-weight: 600; }
.leer--abstand { margin-top: 40px; }
.ansprechpartner .eyebrow { margin-bottom: 6px; }
.danke-hinweis { margin-top: 30px; }
.projekt-modul__muster--grau { background-image: url("../img/muster-signet-grau.svg"); background-color: var(--color-sand-deep); }
figure { margin: 0; }
.fliesstext table { table-layout: fixed; }
.fliesstext th, .fliesstext td { overflow-wrap: anywhere; hyphens: auto; }
.leistungs-raster > li { display: flex; }
.leistungs-raster > li > .leistungs-karte { flex: 1; }
.feld .kachel, .kacheln .kachel { text-transform: none; letter-spacing: 0; font-size: .9375rem; font-weight: 600; }
.kachel span { hyphens: auto; overflow-wrap: anywhere; }
.punkte--schlicht li { display: block; position: relative; padding-left: 20px; font-weight: 500; }
.punkte--schlicht li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 2px; background: var(--color-brand); }
html:not(.js) .hero__steuerung, html:not(.js) .filter { display: none; }
