/* =====================================================================
   1A Immobilie – Gestaltung
   ---------------------------------------------------------------------
   Ganz oben stehen Farben, Schrift und Abstände als Variablen.
   Wer die Optik anpassen will, ändert am besten nur diese Werte.
   ===================================================================== */

/* Schrift: Albert Sans (lokal gespeichert, eine Familie für alles) */
@font-face { font-family: "Albert Sans"; src: url("schriften/albert-sans-latin.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; src: url("schriften/albert-sans-latin-ext.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Ersatzschrift mit angepassten Maßen: verhindert, dass Text beim Laden "springt" */
@font-face { font-family: "Albert Sans Ersatz"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); font-weight: 100 500; size-adjust: 102.8%; ascent-override: 92.4%; descent-override: 24.3%; line-gap-override: 0%; }
@font-face { font-family: "Albert Sans Ersatz"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"); font-weight: 600 900; size-adjust: 96.1%; ascent-override: 98.8%; descent-override: 26%; line-gap-override: 0%; }

:root {
  /* ---- Farben (abgeleitet vom Logo-Grün #7ba98d) ---- */
  --dunkel:      #18241e;   /* dunkle Flächen */
  --dunkel-2:    #22312a;   /* etwas hellere dunkle Fläche */
  --grund:       #f4f6f3;   /* Seitenhintergrund */
  --flaeche:     #e5ece6;   /* abgesetzte helle Flächen */
  --weiss:       #ffffff;
  --tinte:       #2b3133;   /* Text (Logo-Grau, etwas dunkler) */
  --tinte-2:     #454e4b;   /* Nebentext */
  --gruen:       #3b6a4f;   /* Knöpfe */
  --gruen-tief:  #2f5a42;   /* Hover, grüner Text auf hell */
  --logo:        #7ba98d;   /* Logo-Grün: Akzent auf dunkel, Flächen */
  --logo-hell:   #9cc4ab;   /* helles Grün auf dunkel */
  --linie:       rgba(43, 49, 51, 0.12);
  --linie-hell:  rgba(244, 246, 243, 0.14);

  /* ---- Schrift ---- */
  --schrift: "Albert Sans", "Albert Sans Ersatz", Arial, sans-serif;
  --t-1:   clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
  --t-2:   clamp(2.125rem, 1.3rem + 2.9vw, 4rem);
  --t-3:   clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem);
  --t-gross: 1.25rem;
  --t-text:  1.0625rem;
  --t-klein: 0.9375rem;

  /* ---- Abstände ---- */
  --rand: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --abschnitt: clamp(80px, 9vw, 152px);
  --kopf-h: 76px;
  --radius: 2px;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font-family: var(--schrift); font-size: var(--t-text); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums;
}
body.menue-offen { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--logo); color: var(--dunkel); }
:focus-visible { outline: 2px solid var(--logo); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--dunkel); color: var(--grund); padding: 12px 18px; border-radius: var(--radius); width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung:focus { width: auto; height: auto; clip: auto; }

.rahmen { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: max(var(--rand), env(safe-area-inset-left)) max(var(--rand), env(safe-area-inset-right)); }
.abschnitt { padding-block: var(--abschnitt); }
.dunkel { background: var(--dunkel); color: var(--grund); }
.flaeche { background: var(--flaeche); }

/* ---------- Überschriften ---------- */
.titel-1, .titel-2, .titel-3 { font-weight: 500; letter-spacing: -0.028em; line-height: 1.02; }
.titel-1 { font-size: var(--t-1); letter-spacing: -0.035em; line-height: 0.98; }
.titel-2 { font-size: var(--t-2); }
.titel-3 { font-size: var(--t-3); line-height: 1.12; letter-spacing: -0.02em; }
.einleitungstext { font-size: var(--t-gross); line-height: 1.55; color: var(--tinte-2); max-width: 46ch; }
.dunkel .einleitungstext { color: rgba(244, 246, 243, 0.74); }

.kopfzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.kopfzeile .einleitungstext { margin-top: 20px; }

.textlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--gruen-tief); }
.textlink span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dunkel .textlink, .textlink--hell { color: var(--logo-hell); }

.pfeil { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .4s var(--kurve); }
a:hover > .pfeil, a:focus-visible > .pfeil { transform: translateX(4px); }

/* ---------- Knöpfe ---------- */
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--radius); border: 0;
  background: var(--gruen); color: var(--weiss); font-size: var(--t-text); font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, transform .2s var(--kurve);
}
.knopf:hover { background: var(--gruen-tief); }
.knopf:active { transform: scale(0.98); }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: var(--t-klein); }
.knopf--hell { background: var(--logo); color: var(--dunkel); }
.knopf--hell:hover { background: var(--logo-hell); }
.knopf--leise { background: var(--dunkel-2); color: var(--grund); }
.knopf--leise:hover { background: #2d3f36; }

/* =====================================================================
   KOPFZEILE & MENÜ
   ===================================================================== */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--tinte); transition: background-color .35s, transform .45s var(--kurve), color .35s; }
.kopf__innen { max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: max(var(--rand), env(safe-area-inset-left)) max(var(--rand), env(safe-area-inset-right)); height: var(--kopf-h); display: flex; align-items: center; gap: 40px; }
.kopf.ist-fest { background: var(--grund); color: var(--tinte); }
.kopf.ist-weg { transform: translateY(-100%); }
.seite-index .kopf:not(.ist-fest) { color: var(--grund); background: var(--dunkel); }
.marke { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.marke__zeichen { width: 44px; height: auto; fill: var(--logo); }
.marke__wort { font-size: 1.625rem; font-weight: 300; letter-spacing: 0.01em; line-height: 1; }
.kopf__nav { display: flex; gap: 32px; margin-left: auto; }
.kopf__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-klein); font-weight: 500; }
.kopf__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--logo); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--kurve); }
.kopf__nav a:hover::after, .kopf__nav a[aria-current="page"]::after { transform: scaleX(1); }
.kopf__aktion { display: flex; align-items: center; gap: 24px; }
.kopf__tel { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-klein); font-weight: 600; }
.seite-index .kopf:not(.ist-fest) .knopf--klein { background: var(--logo); color: var(--dunkel); }
.seite-index .kopf:not(.ist-fest) .knopf--klein:hover { background: var(--logo-hell); }
.kopf__menue { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: var(--radius); }
.kopf__menue span { position: absolute; top: 23px; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--kurve); }
.kopf__menue span:first-child { transform: translateY(-4px); } .kopf__menue span:last-child { transform: translateY(4px); }
.kopf__menue[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.kopf__menue[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menue { position: fixed; inset: 0; z-index: 45; background: var(--dunkel); color: var(--grund); display: flex; flex-direction: column; justify-content: space-between; padding: 112px max(var(--rand), env(safe-area-inset-left)) 40px; opacity: 0; transition: opacity .35s; }
.menue[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.menue.ist-offen { opacity: 1; visibility: visible; pointer-events: auto; }
.menue__nav { display: flex; flex-direction: column; }
.menue__nav a { display: block; padding: 8px 0; font-size: clamp(2.25rem, 9vw, 3.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; transition: color .25s; }
.menue__nav a[aria-current="page"], .menue__nav a:hover { color: var(--logo); }
.menue__fuss { display: grid; gap: 20px; color: rgba(244, 246, 243, .72); }
.menue__fuss a { display: inline-block; padding-block: 6px; }
.menue__fuss .knopf { display: flex; }
body.menue-offen .kopf { color: var(--grund); background: transparent; }

/* =====================================================================
   STARTSEITE – Titelbereich (Text links, echtes Foto rechts)
   ===================================================================== */
.held { background: var(--dunkel); color: var(--grund); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(100svh, 700px); }
.held__inhalt { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: calc(var(--kopf-h) + 56px) clamp(32px, 5vw, 88px) clamp(48px, 6vw, 88px) max(var(--rand), calc((100vw - var(--max)) / 2)); }
.held__titel { max-width: 14ch; font-size: clamp(3rem, 1rem + 5vw, 6.25rem); line-height: .96; letter-spacing: -0.045em; }
.held__zeile { display: block; color: var(--logo-hell); font-weight: 300; }
.held__text { font-size: var(--t-gross); line-height: 1.55; color: rgba(244, 246, 243, .78); max-width: 34ch; }
.held__knoepfe { margin-top: 8px; }
.held__punkte { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: var(--t-klein); color: rgba(244, 246, 243, .72); }
.held__punkte li { display: inline-flex; align-items: center; gap: 10px; }
.held__punkte li::before { content: ""; width: 1px; height: 11px; background: var(--logo); }
.held__bild { position: relative; min-height: 420px; overflow: hidden; }
.held__bild img, .held__bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* =====================================================================
   STARTSEITE – Einleitung
   ===================================================================== */
.einleitung__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 112px); align-items: end; }
.einleitung__kopf { display: grid; gap: 20px; }
.einleitung__aussage { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; max-width: 30ch; color: var(--gruen-tief); }
.einleitung__text { display: grid; gap: 20px; justify-items: start; color: var(--tinte-2); font-size: var(--t-gross); line-height: 1.55; }
.einleitung__bild { margin-top: clamp(56px, 7vw, 104px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--flaeche); }
.einleitung__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* =====================================================================
   STARTSEITE – Leistungsliste mit Bildvorschau
   ===================================================================== */
.lliste { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lliste__reihen { display: grid; gap: 4px; }
.lliste__reihe { display: grid; grid-template-columns: minmax(0, 1fr) 28px; column-gap: 24px; align-items: center; grid-template-areas: "titel pfeil" "text pfeil" "bild bild"; padding: 22px 24px; border-radius: var(--radius); transition: background-color .3s; }
.lliste__titel { grid-area: titel; display: block; font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--grund); transition: color .3s; }
.lliste__text { grid-area: text; display: block; margin-top: 6px; color: rgba(244, 246, 243, .62); font-size: var(--t-klein); }
.lliste__hinweis { white-space: nowrap; }
.lliste__pfeil { grid-area: pfeil; color: var(--logo); opacity: .35; transition: opacity .3s, transform .4s var(--kurve); }
.lliste__pfeil .pfeil { width: 24px; height: 24px; }
.lliste__mobilbild { display: none; }
.lliste__reihe.is-aktiv, .lliste__reihe:hover { background: var(--dunkel-2); }
.lliste__reihe.is-aktiv .lliste__titel, .lliste__reihe:hover .lliste__titel { color: var(--logo-hell); }
.lliste__reihe.is-aktiv .lliste__pfeil, .lliste__reihe:hover .lliste__pfeil { opacity: 1; transform: translateX(4px); }
.lliste__vorschau { position: sticky; top: 112px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--dunkel-2); }
/* Alle Vorschaubilder liegen übereinander; nur das aktive ist sichtbar (weiche Überblendung, kein Nachladen beim Hovern) */
.lliste__vorschau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--kurve); }
.lliste__vorschau img.is-sichtbar { opacity: 1; }

/* =====================================================================
   STARTSEITE – Ablauf
   ===================================================================== */
/* Ablauf als Maßkette: durchgehende Linie, Maßstrich je Schritt */
.ablauf__schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: ablauf; }
.ablauf__schritte li { position: relative; counter-increment: ablauf; padding: 22px 32px 0 0; border-top: 1px solid var(--tinte-2); } /* Maßlinie – taste-skill-ignore */
.ablauf__schritte li::before { content: ""; position: absolute; left: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
.ablauf__schritte li:last-child::after { content: ""; position: absolute; right: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
.ablauf__schritte h3::before, .schritte__liste h3::before { /* echte Reihenfolge – taste-skill-ignore */ content: counter(ablauf, decimal-leading-zero); display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; color: var(--gruen-tief); font-variant-numeric: tabular-nums; }
.ablauf__schritte h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 10px; }
.ablauf__schritte p { color: var(--tinte-2); }

/* =====================================================================
   VORHER / NACHHER
   ===================================================================== */
.vergleich__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vergleich__kopf .einleitungstext { margin-top: 20px; }
.vergleich .vn { grid-column: 2; }
.vergleich .vn + .vn { margin-top: 56px; }
.vn__buehne { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--flaeche); touch-action: pan-y; user-select: none; }
.vn__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vn__vorher { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.vn__griff { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--weiss); pointer-events: none; }
.vn__griff > span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--weiss); display: grid; place-items: center; outline: 3px solid rgba(255,255,255,.35); transition: transform .3s var(--kurve); }
.vn__griff svg { width: 24px; height: 24px; fill: none; stroke: var(--gruen-tief); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vn__buehne:hover .vn__griff > span { transform: translate(-50%, -50%) scale(1.06); }
.vn__regler { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.vn__buehne:has(.vn__regler:focus-visible) .vn__griff > span { outline: 3px solid var(--logo); outline-offset: 3px; }
.vn__marke { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: var(--radius); background: rgba(24,36,30,.8); color: var(--grund); font-size: var(--t-klein); font-weight: 600; pointer-events: none; }
.vn__marke--vorher { left: 16px; } .vn__marke--nachher { right: 16px; }
.vn__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vn__etikett { margin-top: 8px; font-size: var(--t-klein); font-weight: 600; }
.vn__paar > div:last-child .vn__etikett { color: var(--gruen-tief); }
.vn__seite { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); }
.vn__seite img { width: 100%; height: 100%; object-fit: cover; }
.vn__text { margin-top: 20px; display: grid; gap: 6px; max-width: 640px; }
.vn__text h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.vn__text p { color: var(--tinte-2); }

/* =====================================================================
   STARTSEITE – Referenz-Raster
   ===================================================================== */

/* =====================================================================
   STARTSEITE – Versprechen
   ===================================================================== */
.versprechen__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 112px); }
.versprechen__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.versprechen__liste dt { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.versprechen__liste dd { color: var(--tinte-2); max-width: 36ch; }

/* =====================================================================
   KUNDENSTIMMEN (nur sichtbar, wenn welche eingetragen sind)
   ===================================================================== */
.stimmen__liste { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.stimme blockquote { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.stimme figcaption { margin-top: 16px; display: grid; font-size: var(--t-klein); }
.stimme figcaption span { color: var(--tinte-2); }

/* =====================================================================
   ANFRAGE-ASSISTENT
   ===================================================================== */
.anfrage { background: var(--flaeche); }
.anfrage__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.anfrage__kopf { position: sticky; top: 112px; }
.anfrage__kopf .einleitungstext { margin-top: 20px; }
.anfrage__versprechen { margin-top: 32px; display: grid; gap: 12px; }
.anfrage__versprechen li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.anfrage__versprechen li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.anfrage__karte { background: var(--weiss); border-radius: calc(var(--radius) * 2); overflow: hidden; }
.anfrage__form { padding: clamp(24px, 4vw, 48px); display: grid; gap: 36px; }
.anfrage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.anfrage legend { display: flex; align-items: baseline; gap: 12px; width: 100%; margin-bottom: 14px; padding: 0; font-weight: 600; font-size: var(--t-text); }
.anfrage__wert { margin-left: auto; font-weight: 600; color: var(--gruen-tief); }
.wahlen { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: var(--radius); background: var(--grund); font-size: var(--t-klein); font-weight: 500; transition: background-color .25s, color .25s; }
.wahl:hover span { background: var(--flaeche); }
.wahl input:checked + span { background: var(--gruen); color: var(--weiss); }
.wahl input:focus-visible + span { outline: 2px solid var(--logo); outline-offset: 2px; }
.anfrage__regler { width: 100%; height: 44px; accent-color: var(--gruen); cursor: pointer; }
.haken { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--t-klein); color: var(--tinte-2); cursor: pointer; }
.haken input { width: 18px; height: 18px; accent-color: var(--gruen); }
.anfrage__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feld { display: grid; gap: 6px; font-size: var(--t-klein); font-weight: 600; color: var(--tinte-2); }
.feld--breit { grid-column: 1 / -1; }
.feld input, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--grund); font-size: var(--t-text); font-weight: 400; color: var(--tinte); transition: border-color .25s, background-color .25s; }
.feld textarea { resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--logo); outline-offset: 1px; border-color: var(--gruen); background: var(--weiss); }
.feld input::placeholder, .feld textarea::placeholder { color: #6b716d; }
.anfrage__vorschau { background: var(--dunkel); color: var(--grund); padding: clamp(24px, 4vw, 48px); }
.anfrage__vorschau-kopf { font-size: var(--t-klein); font-weight: 600; color: var(--logo-hell); }
.anfrage__nachricht { margin-top: 14px; font-size: var(--t-text); line-height: 1.55; white-space: pre-line; min-height: 7.5em; }
.anfrage__knoepfe { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anfrage__klein { margin-top: 18px; font-size: var(--t-klein); color: rgba(244, 246, 243, .7); }
.anfrage__klein a { display: inline-block; padding-block: 10px; color: var(--grund); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   ABSCHLUSS (Kontaktaufruf unten auf den Unterseiten)
   ===================================================================== */
.abschluss__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 112px); align-items: end; }
.abschluss .einleitungstext { margin-top: 24px; }
.abschluss__wege { display: grid; gap: 4px; }
.abschluss__wege a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--dunkel-2); font-weight: 500; transition: background-color .3s; }
.abschluss__wege a:hover { background: #2d3f36; }
.abschluss__wege a span { color: rgba(244, 246, 243, .62); font-weight: 400; font-size: var(--t-klein); }
.abschluss__wege .knopf { justify-content: space-between; background: var(--logo); color: var(--dunkel); }
.abschluss__wege .knopf:hover { background: var(--logo-hell); }

/* =====================================================================
   FUSSBEREICH
   ===================================================================== */
.fuss { background: #121b16; color: rgba(244, 246, 243, .7); padding-block: clamp(64px, 7vw, 104px) 32px; font-size: var(--t-klein); }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; }
.fuss__marke p { margin-top: 20px; max-width: 340px; }
.marke--hell { color: var(--grund); }
.fuss__kopf { color: var(--grund); font-weight: 600; margin-bottom: 12px; }
.fuss ul { display: grid; }
.fuss li a { display: inline-block; padding-block: 10px; transition: color .25s; }
.fuss li:not(:has(a)) { padding-block: 7px; }
.fuss a:hover { color: var(--logo-hell); }
.fuss__unten { margin-top: 8px; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: var(--t-klein); color: rgba(244, 246, 243, .55); }

/* =====================================================================
   UNTERSEITEN – Seitenkopf
   ===================================================================== */
.seitenkopf { padding-top: calc(var(--kopf-h) + clamp(48px, 7vw, 112px)); }
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 112px); align-items: end; }
.pfad { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: var(--t-klein); color: var(--tinte-2); }
.pfad a { display: inline-block; padding: 10px 6px; margin-left: -6px; color: var(--gruen-tief); }
.pfad a:hover { text-decoration: underline; }

.seitenkopf__text { font-size: var(--t-gross); line-height: 1.55; color: var(--tinte-2); max-width: 44ch; }
.seitenkopf__bild { margin-top: clamp(40px, 5vw, 72px); aspect-ratio: 21 / 8; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf--kurz { padding-bottom: clamp(48px, 6vw, 96px); }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 16px; border-left: 3px solid var(--gruen); background: var(--flaeche); border-radius: var(--radius); font-size: var(--t-klein); color: var(--tinte-2); max-width: 52ch; }
.status strong { color: var(--gruen-tief); font-weight: 600; }
.status__mass { flex: 0 0 32px; height: 9px; border-inline: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .45; } /* taste-skill-ignore: Maßlinie der Signatur */

/* Sprungleiste (Leistungen) */
.sprungleiste { position: sticky; top: var(--kopf-h); z-index: 20; margin-top: clamp(40px, 5vw, 64px); background: var(--grund); transition: transform .45s var(--kurve); }
.kopf-weg .sprungleiste { transform: translateY(calc(-1 * var(--kopf-h))); }
.sprungleiste__innen { padding-block: 22px 12px; }
/* Sprungleiste als Maßkette – gleiche Reihenfolge wie die Leistungen darunter */
.sprungleiste__kette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: schritt; }
.sprungleiste__kette li { position: relative; counter-increment: schritt; border-top: 1px solid var(--tinte-2); } /* Maßlinie – taste-skill-ignore */
.sprungleiste__kette li::before { content: ""; position: absolute; left: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
.sprungleiste__kette li:last-child::after { content: ""; position: absolute; right: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
.sprungleiste a { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 12px 0 10px; font-size: var(--t-klein); font-weight: 500; color: var(--tinte-2); transition: color .25s; }
.sprungleiste a::before { /* echte Reihenfolge – taste-skill-ignore */ content: counter(schritt, decimal-leading-zero); font-size: .8125rem; font-weight: 600; color: var(--gruen-tief); font-variant-numeric: tabular-nums; }
.sprungleiste a:hover { color: var(--tinte); }
.sprungleiste a.is-aktiv { color: var(--tinte); font-weight: 600; box-shadow: inset 0 3px 0 var(--gruen); } /* aktiver Abschnitt: kräftiger Maßstrich – taste-skill-ignore */

/* =====================================================================
   LEISTUNGEN – Bereiche
   ===================================================================== */
.bereiche { display: grid; gap: clamp(88px, 10vw, 160px); padding-block: var(--abschnitt); }
.bereich { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; scroll-margin-top: 160px; }
.bereich__tafel { grid-column: 1 / 7; }
.bereich__bild { position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); }
.bereich__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--kurve); }
.bereich:hover .bereich__bild img { transform: scale(1.02); }
.bereich__text { grid-column: 8 / 13; }
.bereich--rechts .bereich__tafel { grid-column: 7 / 13; order: 2; }
.bereich--rechts .bereich__text { grid-column: 1 / 6; order: 1; }
.bereich__absatz { margin-top: 20px; color: var(--tinte-2); font-size: var(--t-text); line-height: 1.6; }
.bereich__punkte { margin: 32px 0 36px; display: grid; gap: 18px; }
.bereich__punkte li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; font-size: var(--t-klein); }
.bereich__punkte strong { font-weight: 600; }
.bereich__punkte span { color: var(--tinte-2); }
.partner__raster, .region__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: center; }
.partner__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.partner__liste li { display: grid; gap: 4px; }
.partner__liste strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.partner__liste span { color: var(--tinte-2); font-size: var(--t-klein); }

/* =====================================================================
   REFERENZEN – Filter, Galerie, Großansicht
   ===================================================================== */
.galerie-bereich { padding-top: clamp(48px, 5vw, 72px); }
.filterleiste { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--flaeche); font-size: var(--t-klein); font-weight: 500; cursor: pointer; transition: background-color .25s, color .25s; }
.filter span { margin-left: 6px; color: var(--tinte-2); }
.filter:hover { background: #d8e2da; }
.filter.is-aktiv { background: var(--gruen); color: var(--weiss); }
.filter.is-aktiv span { color: rgba(255,255,255,.88); }
.galerie { columns: 3 300px; column-gap: 16px; }
.galerie__bild { break-inside: avoid; margin-bottom: 44px; scroll-margin-top: 120px; }
.galerie__bild[hidden] { display: none; }
.galerie__bild a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); cursor: zoom-in; }
.galerie__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--kurve); }
.galerie__bild a:hover img { transform: scale(1.03); }
.galerie__lupe { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--weiss); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.galerie__lupe svg { width: 18px; height: 18px; fill: none; stroke: var(--gruen-tief); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.galerie__bild a:hover .galerie__lupe, .galerie__bild a:focus-visible .galerie__lupe { opacity: 1; }
.galerie__bild figcaption { display: grid; gap: 2px; }
.galerie__kat { font-size: var(--t-klein); color: var(--tinte-2); padding-left: 0; }
.galerie__bild:target a { outline: 3px solid var(--logo); outline-offset: 4px; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: rgba(18, 27, 22, .97); color: var(--grund); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox::backdrop { background: rgba(18, 27, 22, .8); }
.lightbox__bild { max-width: calc(100vw - 200px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: var(--radius); }
.lightbox__text { padding: 20px; font-size: var(--t-klein); color: rgba(244, 246, 243, .78); }
.lightbox button { position: absolute; display: grid; place-items: center; min-width: 52px; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--dunkel-2); color: var(--grund); font-weight: 600; cursor: pointer; transition: background-color .25s; }
.lightbox button:hover { background: var(--gruen); }
.lightbox__zu { top: 20px; right: 20px; }
.lightbox__zurueck { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__weiter { right: 20px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   ÜBER UNS
   ===================================================================== */
.geschichte__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.geschichte__text { display: grid; gap: 20px; }
.geschichte__text > p { color: var(--tinte-2); font-size: var(--t-text); }
.geschichte__bilder { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; align-items: end; }
.geschichte__bilder .bildrahmen { overflow: hidden; border-radius: var(--radius); background: var(--flaeche); }
.geschichte__bilder img { width: 100%; height: 100%; object-fit: cover; }
.geschichte__bild-a { aspect-ratio: 4 / 5; }
.geschichte__bild-b { aspect-ratio: 3 / 4; }
.zahlen__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.zahlen__raster > div { display: grid; gap: 6px; }
.zahlen__raster strong { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--logo-hell); }
.zahlen__raster span { color: rgba(244, 246, 243, .72); max-width: 22ch; }
.werte__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.werte__bild { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); }
.werte__bild img { width: 100%; height: 100%; object-fit: cover; }
.werte__liste { margin-top: 40px; display: grid; gap: 28px; }
.werte__liste li { max-width: 46ch; }
.werte__liste h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.werte__liste p { margin-top: 4px; color: var(--tinte-2); }
.region__liste { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: var(--t-gross); font-weight: 500; }
.region__liste li:not(:last-child)::after { content: "·"; margin-inline: 14px; color: var(--gruen); }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.kontaktwege { padding-block: clamp(48px, 6vw, 88px) var(--abschnitt); }
.kontaktwege__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 112px); align-items: start; }
.kontaktwege__liste { display: grid; gap: clamp(28px, 3vw, 40px); margin: 0; }
.kontaktweg { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; }
.kontaktweg dt { font-size: var(--t-klein); font-weight: 600; color: var(--gruen-tief); }
.kontaktweg dd { margin: 0; display: grid; gap: 4px; }
.kontaktweg a { justify-self: start; padding-block: 8px; margin-block: -8px; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: transparent; transition: text-decoration-color .25s, color .25s; }
.kontaktweg a:hover { color: var(--gruen-tief); text-decoration-color: currentColor; }
.kontaktweg span { color: var(--tinte-2); font-size: var(--t-klein); }
.kontaktwege__bild { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.kontaktwege__bild img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   TEXTSEITEN (Impressum, Datenschutz)
   ===================================================================== */
.textseite { max-width: 68ch; padding-block: clamp(40px, 5vw, 72px) var(--abschnitt); margin-inline: 0; }
.textseite h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin-top: 48px; }
.textseite h2:first-child { margin-top: 0; }
.textseite h3 { font-size: var(--t-text); font-weight: 600; margin-top: 28px; }
.textseite p, .textseite ul { margin-top: 12px; color: var(--tinte-2); }
.textseite ul { list-style: disc; padding-left: 1.2em; }
.textseite a { color: var(--gruen-tief); text-decoration: underline; text-underline-offset: 3px; }
.textseite .hinweis { background: var(--flaeche); border-radius: var(--radius); padding: 20px 24px; color: var(--tinte); }

/* =====================================================================
   STARTSEITE – Reihenfolge einer Sanierung (Leiste unter dem Titelbereich)
   ===================================================================== */
.gewerkeleiste { background: var(--dunkel-2); color: var(--grund); }
.gewerkeleiste .rahmen { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 10fr); align-items: end; gap: 12px 40px; padding-block: 22px 18px; }
.gewerkeleiste__titel { font-size: var(--t-klein); color: rgba(244, 246, 243, .72); padding-bottom: 12px; }
/* Signatur „Aufmaß“: die Reihenfolge einer Sanierung als Maßkette – Linie mit Maßstrichen */
.gewerkeleiste__liste { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: schritt; }
.gewerkeleiste__liste li { position: relative; counter-increment: schritt; border-top: 1px solid rgba(156, 196, 171, .55); padding-top: 10px; } /* Maßlinie – taste-skill-ignore */
.gewerkeleiste__liste li::before { content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 11px; background: var(--logo-hell); }
.gewerkeleiste__liste li:last-child::after { content: ""; position: absolute; right: 0; top: -6px; width: 1px; height: 11px; background: var(--logo-hell); }
.gewerkeleiste__liste a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding-left: 10px; font-weight: 500; transition: color .25s; }
.gewerkeleiste__liste a::before { /* echte Reihenfolge der Arbeiten, keine Deko – taste-skill-ignore */ content: counter(schritt, decimal-leading-zero); font-size: .8125rem; font-weight: 600; color: var(--logo-hell); font-variant-numeric: tabular-nums; }
.gewerkeleiste__liste a:hover { color: var(--logo-hell); }

/* =====================================================================
   SANIERUNG – Anlässe, Gewerke, Ablauf, Fragen
   ===================================================================== */
.seitenkopf__seite { display: grid; gap: 24px; justify-items: start; }
.leistungsteil { padding-top: var(--abschnitt); background: var(--grund); }
.leistungsteil__kopf { display: grid; gap: 20px; }
.anlaesse__kopf, .schritte__kopf { display: grid; gap: 20px; align-content: start; }
.anlaesse__kopf .einleitungstext, .schritte__kopf .einleitungstext { margin-top: 0; }
.anlaesse__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 112px); }
.anlaesse__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
.anlaesse__liste dt { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 12px; }
.anlaesse__liste dd { color: var(--tinte-2); max-width: 40ch; }
.schritte__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 112px); align-items: start; }
.schritte__kopf { position: sticky; top: calc(var(--kopf-h) + 32px); }
/* Ablauf im Detail: senkrechte Maßkette */
.schritte__liste { display: grid; counter-reset: ablauf; }
.schritte__liste li { position: relative; counter-increment: ablauf; padding: 0 0 40px 32px; border-left: 1px solid var(--tinte-2); } /* Maßlinie – taste-skill-ignore */
.schritte__liste li::before { content: ""; position: absolute; left: -7px; top: 0; width: 13px; height: 1px; background: var(--tinte); } /* Maßstrich – taste-skill-ignore */
.schritte__liste li:last-child { padding-bottom: 0; }
.schritte__liste li:last-child::after { content: ""; position: absolute; left: -7px; bottom: 0; width: 13px; height: 1px; background: var(--tinte); } /* Maßstrich – taste-skill-ignore */
.schritte__liste h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.schritte__liste p { color: var(--tinte-2); max-width: 60ch; }
.fragen__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 112px); align-items: start; }
.fragen__liste { display: grid; gap: 8px; }
.frage { border-radius: var(--radius); background: var(--flaeche); }
.frage summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 24px; font-size: 1.25rem; font-weight: 500; cursor: pointer; }
.frage summary::-webkit-details-marker { display: none; }
.frage__zeichen { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--gruen-tief); stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--kurve); }
.frage[open] .frage__zeichen { transform: rotate(45deg); }
.frage summary:hover { color: var(--gruen-tief); }
.frage p { padding: 0 24px 24px; color: var(--tinte-2); max-width: 64ch; }

/* =====================================================================
   SIGNATUR „AUFMASS“: Jedes Projektfoto ist eine nummerierte Tafel mit Maßlinie
   – wie in einem Architekturheft. Nummern zählen automatisch pro Seite.
   ===================================================================== */
body { counter-reset: tafel; }
.tafel { counter-increment: tafel; margin: 0; min-width: 0; }
.tafel__text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: var(--t-klein); line-height: 1.35; color: var(--tinte-2); }
.tafel__nr { flex: none; font-weight: 600; color: var(--gruen-tief); font-variant-numeric: tabular-nums; }
.tafel__nr::before { content: "Tafel " counter(tafel, decimal-leading-zero); } /* Bildnummer wie im Architekturheft – taste-skill-ignore */
.tafel__mass { flex: 1 1 40px; min-width: 40px; height: 9px; border-inline: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; opacity: .45; } /* Maßlinie, keine Fläche – taste-skill-ignore */
.tafel__titel { flex: 0 1 auto; min-width: 0; text-align: right; overflow-wrap: anywhere; }
.dunkel .tafel__text { color: rgba(244, 246, 243, .72); }
.dunkel .tafel__nr { color: var(--logo-hell); }
.held__tafel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px clamp(20px, 3vw, 40px); background: rgba(24, 36, 30, .86); color: rgba(244, 246, 243, .8); }
.held__tafel .tafel__nr { color: var(--logo-hell); }

/* =====================================================================
   SCHNELLKONTAKT (nur Handy) und FEHLERSEITE
   ===================================================================== */
.schnellkontakt { display: none; }

/* =====================================================================
   BEWEGUNG – nur Fotos bewegen sich, Text bleibt immer ruhig stehen.
   Fotos blenden beim Hineinscrollen weich ein und zoomen leicht zurück.
   ===================================================================== */
@keyframes bild-ankommen { from { transform: scale(1.07); } to { transform: none; } }
.held__bild img, .held__bild video { animation: bild-ankommen 2.4s var(--kurve) both; }
.foto-wartet { opacity: 0; }
.foto-wartet img { transform: scale(1.06); }
.foto-zeigt { transition: opacity 1s var(--kurve); }
.foto-zeigt img { transition: transform 1.6s var(--kurve); }
.bereich__hinweis { margin-top: 16px; font-size: var(--t-klein); color: var(--tinte-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .foto-wartet { opacity: 1; } .foto-wartet img { transform: none; }
}
@media print { .foto-wartet { opacity: 1; } .foto-wartet img { transform: none; } }

/* =====================================================================
   TABLET (bis 1100 px)
   ===================================================================== */
@media (max-width: 1100px) {
  .kopf__nav, .kopf__tel { display: none; }
  .kopf__aktion { margin-left: auto; }
  .kopf__menue { display: block; margin-left: 0; }
  .held { grid-template-columns: 1fr; min-height: 0; }
  .held__inhalt { padding: calc(var(--kopf-h) + 40px) var(--rand) 48px; }
  .held__bild { min-height: 0; aspect-ratio: 4 / 3; }
  .ablauf__schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .ablauf__schritte li:nth-child(2)::after { content: ""; position: absolute; right: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
  .fuss__oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss__marke { grid-column: 1 / -1; }
  .kontaktwege__raster { grid-template-columns: 1fr; }
  .anfrage__raster, .abschluss__raster, .seitenkopf__raster, .anlaesse__raster, .schritte__raster, .fragen__raster { grid-template-columns: 1fr; }
  .schritte__kopf { position: static; }
  .einleitung__raster, .vergleich__raster, .versprechen__raster { grid-template-columns: 1fr; }
  .vergleich .vn { grid-column: 1; }
  .einleitung__text, .vergleich__kopf { max-width: 640px; }
  .gewerkeleiste .rahmen { grid-template-columns: 1fr; }
  .gewerkeleiste__titel { padding-bottom: 6px; }
  .anfrage__kopf { position: static; }
  .bereich, .bereich--rechts { grid-template-columns: 1fr; row-gap: 32px; }
  .bereich__tafel, .bereich--rechts .bereich__tafel, .bereich__text, .bereich--rechts .bereich__text { grid-column: 1; order: 0; }
  .bereich__bild { aspect-ratio: 16 / 10; }
  .bereich__text { max-width: 720px; }
}

/* =====================================================================
   HANDY (bis 760 px)
   ===================================================================== */
@media (max-width: 760px) {
  :root { --kopf-h: 68px; }
  .marke__zeichen { width: 38px; } .marke__wort { font-size: 1.25rem; }
  .kopf .knopf--klein { display: none; }
  .held__inhalt { gap: 22px; }
  .held__knoepfe .knopf { width: 100%; }
  .einleitung__bild { aspect-ratio: 4 / 3; }
  .lliste { grid-template-columns: 1fr; }
  .lliste__vorschau { display: none; }
  .lliste__reihe { padding: 16px; background: var(--dunkel-2); }
  .lliste__reihen { gap: 10px; }
  .lliste__mobilbild { display: block; grid-area: bild; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 16px; border-radius: var(--radius); }
  .ablauf__schritte { grid-template-columns: 1fr; row-gap: 0; }
  .ablauf__schritte li { border-top: 0; border-left: 1px solid var(--tinte-2); padding: 0 0 32px 24px; } /* taste-skill-ignore */
  .ablauf__schritte li::before { left: -7px; top: 0; width: 13px; height: 1px; } /* Maßstrich – taste-skill-ignore */
  .ablauf__schritte li:last-child { padding-bottom: 0; }
  .ablauf__schritte li:last-child::after, .ablauf__schritte li:nth-child(2)::after { content: none; }
  .vergleich .vn { grid-column: 1; }
  .vn__griff > span { width: 48px; height: 48px; }
  .versprechen__liste { grid-template-columns: 1fr; gap: 28px; }
  .anfrage__felder { grid-template-columns: 1fr; }
  .anfrage__knoepfe { grid-template-columns: 1fr; }
  .fuss__oben { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .fuss__unten { flex-direction: column; }
  .seitenkopf__bild { aspect-ratio: 4 / 3; }
  .bereich__punkte li { grid-template-columns: 1fr; gap: 2px; }
  .sprungleiste { position: static; }
  .sprungleiste__kette { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .sprungleiste__kette li:nth-child(3)::after { content: ""; position: absolute; right: 0; top: -7px; width: 1px; height: 13px; background: var(--tinte); }
  .partner__raster, .region__raster, .geschichte__raster, .werte__raster { grid-template-columns: 1fr; }
  .partner__liste { grid-template-columns: 1fr; }
  .werte__raster > .tafel { order: 2; }
  .anlaesse__liste { grid-template-columns: 1fr; gap: 32px; }
  .gewerkeleiste .rahmen { padding-block: 14px; }
  .gewerkeleiste__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .gewerkeleiste__liste li:nth-child(3)::after { content: ""; position: absolute; right: 0; top: -6px; width: 1px; height: 11px; background: var(--logo-hell); }
  .tafel__titel { text-align: left; }
  .frage summary { font-size: var(--t-text); padding: 14px 18px; }
  .frage p { padding: 0 18px 20px; }
  .galerie { columns: 1; }
  .kontaktweg { grid-template-columns: 1fr; }
  .kontaktwege__bild { aspect-ratio: 4 / 3; }
  .zahlen__raster { grid-template-columns: 1fr; gap: 32px; }
  .lightbox__bild { max-width: 100vw; max-height: calc(100dvh - 180px); border-radius: 0; }
  .lightbox__zurueck, .lightbox__weiter { top: auto; bottom: 20px; transform: none; }
  .lightbox__text { padding: 16px 88px 84px 20px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .schnellkontakt { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); background: var(--dunkel); transform: translateY(110%); transition: transform .35s var(--kurve); }
  .zeige-schnell .schnellkontakt, html:not(.js) .schnellkontakt { transform: none; }
  .schnellkontakt a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); background: var(--dunkel-2); color: var(--grund); font-size: var(--t-klein); font-weight: 600; }
  .schnellkontakt svg { width: 18px; height: 18px; fill: none; stroke: var(--logo-hell); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .schnellkontakt__haupt { background: var(--logo) !important; color: var(--dunkel) !important; }
  .zeige-schnell body.menue-offen .schnellkontakt { transform: translateY(110%); }
}
