/* SAG Sanierungsbau – Designsystem. Farben, Schriften und Abstände stehen hier oben als Variablen. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-variabel.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* Farben aus dem Logo */
  --gruen: #1db31d;          /* Logo-Grün, nur für Flächen und Akzente */
  --gruen-dunkel: #0e7a1a;   /* Buttons und Links (weißer Text erfüllt WCAG AA) */
  --gruen-tief: #0a5f14;
  --orange: #f9a800;         /* Logo-Orange, nur mit dunklem Text */
  --schwarz: #111411;
  --tinte: #1b1f1c;
  --grau: #565e58;
  --linie: #e3e0d6;
  --hell: #f6f4ee;
  --weiss: #fff;
  --schrift: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rand: 1.25rem;
  --breite: 1180px;
  --radius: 14px;
  --radius-gross: 22px;
  --schatten: 0 18px 40px -24px rgba(17, 20, 17, 0.35);
  --kopf-hoehe: 60px;
}
@media (min-width: 1000px) { :root { --rand: 2rem; --kopf-hoehe: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--weiss); -webkit-font-smoothing: antialiased; }
body.mit-leiste { padding-bottom: 72px; }
@media (min-width: 1000px) { body.mit-leiste { padding-bottom: 0; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--gruen-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--gruen-tief); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--schwarz); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--dunkel { background: var(--schwarz); color: #d9ddd9; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: var(--weiss); }
.kopfzeile { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.kopfzeile p { margin-top: 1rem; color: var(--grau); font-size: 1.125rem; }
.abschnitt--dunkel .kopfzeile p { color: #b9c0ba; }
.marke { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gruen-dunkel); }
.marke::before { content: ""; width: 26px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--orange) 0 33%, var(--schwarz) 33% 66%, var(--gruen) 66%); }
.abschnitt--dunkel .marke { color: #7fe07f; }
.abschnitt--dunkel .marke::before { background: linear-gradient(90deg, var(--orange) 0 33%, #fff 33% 66%, var(--gruen) 66%); }
.sprung { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 0.75rem 1rem; background: var(--schwarz); color: #fff; }
.sprung:focus { left: 0; }

/* Buttons */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0.8rem 1.5rem; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf:hover { transform: translateY(-1px); }
.knopf--haupt { background: var(--gruen-dunkel); color: #fff; }
.knopf--haupt:hover { background: var(--gruen-tief); color: #fff; }
.knopf--linie { background: transparent; border-color: var(--schwarz); color: var(--schwarz); }
.knopf--linie:hover { background: var(--schwarz); color: #fff; }
.knopf--orange { background: var(--orange); color: var(--schwarz); }
.knopf--orange:hover { background: #ffb81f; color: var(--schwarz); }
.knopf--klein { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.95rem; }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.kopf.gescrollt, .kopf.menue-offen { border-bottom-color: var(--linie); box-shadow: 0 8px 24px -20px rgba(17, 20, 17, 0.5); }
.kopf.menue-offen { background: #fff; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--kopf-hoehe); }
.kopf-logo { display: block; flex: none; }
.kopf-logo img { width: auto; height: 40px; }
@media (min-width: 1000px) { .kopf-logo img { height: 50px; } }
.kopf-nav { display: none; gap: 1.75rem; }
.kopf-nav a { position: relative; padding: 0.4rem 0; color: var(--tinte); font-weight: 600; font-size: 0.975rem; text-decoration: none; }
.kopf-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.kopf-nav a:hover::after, .kopf-nav a.aktiv::after { transform: scaleX(1); }
.kopf-rechts { display: flex; align-items: center; gap: 0.5rem; }
.kopf-tel { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 44px; height: 44px; border-radius: 999px; color: var(--schwarz); font-weight: 700; text-decoration: none; }
.kopf-tel svg { width: 22px; height: 22px; }
.kopf-tel-text { display: none; }
.kopf-anfrage { display: none; }
.kopf-menue { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--hell); color: var(--schwarz); cursor: pointer; }
.kopf-menue svg { width: 24px; height: 24px; }
@media (min-width: 1000px) {
  .kopf-nav { display: flex; }
  .kopf-menue { display: none; }
  .kopf-anfrage { display: inline-flex; }
}
@media (min-width: 1160px) { .kopf-tel-text { display: inline; } .kopf-tel { padding: 0 0.5rem; } .kopf-rechts { gap: 1rem; } }

.mobilmenue { position: fixed; inset: var(--kopf-hoehe) 0 0 0; z-index: 49; display: flex; flex-direction: column; gap: 0.25rem; padding: 1.25rem var(--rand) 2rem; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.mobilmenue.offen { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.mobilmenue > a:not(.knopf) { padding: 0.9rem 0; border-bottom: 1px solid var(--linie); color: var(--schwarz); font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.mobilmenue .knopf { margin-top: 1rem; }
.mobilmenue p { margin-top: 1.25rem; color: var(--grau); font-size: 0.95rem; }

/* Kopfbereich */
.buehne { position: relative; overflow: hidden; background: var(--hell); }
.buehne::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17, 20, 17, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 20, 17, 0.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, #000 0%, transparent 75%); pointer-events: none; }
.buehne-innen { position: relative; display: grid; gap: 2.5rem; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.buehne-text p.lead { margin-top: 1.25rem; max-width: 34rem; font-size: clamp(1.075rem, 2.2vw, 1.25rem); color: var(--grau); }
.buehne-text h1 span { color: var(--gruen-dunkel); }
.buehne-knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.buehne-knoepfe .knopf { flex: 1 1 auto; }
.buehne-bilder { position: relative; padding-bottom: 14%; }
.buehne-gross { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 4 / 3; }
.buehne-gross img { width: 100%; height: 100%; object-fit: cover; }
.buehne-klein { position: absolute; bottom: 0; width: 34%; aspect-ratio: 1; border: 5px solid var(--hell); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.buehne-klein img { width: 100%; height: 100%; object-fit: cover; }
.buehne-klein--1 { left: 5%; }
.buehne-klein--2 { left: 33%; bottom: 3%; }
.buehne-schild { position: absolute; right: 4%; bottom: 3%; display: flex; align-items: center; gap: 0.6rem; max-width: 46%; padding: 0.7rem 0.9rem; border-radius: var(--radius); background: var(--schwarz); color: #fff; font-size: 0.85rem; font-weight: 700; line-height: 1.25; box-shadow: var(--schatten); }
.buehne-schild i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--gruen); color: var(--schwarz); }
.buehne-schild svg { width: 18px; height: 18px; }
@media (min-width: 560px) { .buehne-knoepfe .knopf { flex: 0 0 auto; } }
@media (min-width: 1000px) {
  .buehne-innen { grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 3.5rem; }
  .buehne-schild { font-size: 0.95rem; }
}

.fakten { display: grid; gap: 0; border-top: 1px solid var(--linie); background: #fff; }
.fakten-liste { display: grid; grid-template-columns: 1fr; }
.fakten-liste li { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linie); }
.fakten-liste i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.fakten-liste li:nth-child(1) i { background: var(--orange); color: var(--schwarz); }
.fakten-liste li:nth-child(2) i { background: var(--schwarz); color: #fff; }
.fakten-liste li:nth-child(3) i { background: var(--gruen); color: var(--schwarz); }
.fakten-liste svg { width: 22px; height: 22px; }
.fakten-liste strong { display: block; color: var(--schwarz); line-height: 1.25; }
.fakten-liste span { color: var(--grau); font-size: 0.95rem; }
@media (min-width: 760px) {
  .fakten-liste { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .fakten-liste li { border-bottom: 0; padding: 1.5rem 0; }
  .fakten { border-bottom: 1px solid var(--linie); }
}

/* Leistungen */
.leistungen { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leistungen { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.leistung { position: relative; display: flex; gap: 1rem; padding: 1.35rem; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.leistung:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--schatten); }
.leistung i { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; }
.leistung svg { width: 26px; height: 26px; }
.leistung:nth-child(3n+1) i { background: var(--orange); color: var(--schwarz); }
.leistung:nth-child(3n+2) i { background: var(--schwarz); color: #fff; }
.leistung:nth-child(3n) i { background: var(--gruen); color: var(--schwarz); }
.leistung p { margin-top: 0.35rem; color: var(--grau); font-size: 0.975rem; line-height: 1.55; }
.leistung a { display: inline-block; margin-top: 0.6rem; font-weight: 700; font-size: 0.925rem; text-decoration: none; }
.leistung a::after { content: " →"; }
.leistung a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.leistung small { display: inline-block; margin-top: 0.6rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--hell); color: var(--grau); font-size: 0.8rem; font-weight: 600; }
@media (min-width: 1000px) { .leistung { flex-direction: column; padding: 1.75rem; } }

/* Alles aus einer Hand */
.zweispaltig { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .zweispaltig { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } .zweispaltig--bild-schmal { grid-template-columns: 1.15fr 0.85fr; } }
.zweispaltig p + p { margin-top: 1rem; }
.zweispaltig h2 + p { margin-top: 1.25rem; }
.haken { display: grid; gap: 0.7rem; margin-top: 1.75rem; }
.haken li { position: relative; padding-left: 2.1rem; font-weight: 600; }
.haken li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.35rem; height: 1.35rem; border-radius: 6px; background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111411' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.abschnitt--dunkel .haken li { color: #fff; }
.bildkarte { position: relative; border-radius: var(--radius-gross); overflow: hidden; }
.bildkarte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bildkarte figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; padding: 0.7rem 0.95rem; border-radius: 10px; background: rgba(17, 20, 17, 0.82); color: #fff; font-size: 0.9rem; font-weight: 600; backdrop-filter: blur(6px); }

/* Ablauf */
.ablauf { display: grid; gap: 1rem; counter-reset: schritt; }
@media (min-width: 700px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ablauf { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.ablauf li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); }
.ablauf li b { display: block; margin-bottom: 0.9rem; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--schwarz); }
.ablauf li b::after { content: ""; display: block; width: 36px; height: 5px; margin-top: 0.7rem; border-radius: 3px; background: var(--gruen); }
.ablauf li:nth-child(odd) b::after { background: var(--orange); }
.ablauf p { margin-top: 0.4rem; color: var(--grau); font-size: 0.975rem; line-height: 1.55; }

/* Referenzen */
.galerie { columns: 2; column-gap: 0.75rem; }
@media (min-width: 900px) { .galerie { columns: 3; column-gap: 1.25rem; } }
.galerie figure { position: relative; break-inside: avoid; margin-bottom: 0.75rem; border-radius: var(--radius); overflow: hidden; background: #ddd; }
@media (min-width: 900px) { .galerie figure { margin-bottom: 1.25rem; } }
.galerie img { width: 100%; transition: transform .5s ease; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.8rem 0.7rem; background: linear-gradient(transparent, rgba(17, 20, 17, 0.85)); color: #fff; font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.galerie figcaption span { display: block; font-weight: 500; font-size: 0.75rem; opacity: 0.85; }
@media (min-width: 900px) { .galerie figcaption { padding: 2.5rem 1.1rem 0.95rem; font-size: 1rem; } .galerie figcaption span { font-size: 0.82rem; } }
.mittig { margin-top: 2rem; text-align: center; }

/* Auftraggeber */
.objekte { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .objekte { grid-template-columns: 1fr 1fr; } }
.objekte li { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem; border-radius: var(--radius); background: #1e231f; border: 1px solid #2c332d; color: #fff; font-weight: 700; line-height: 1.3; }
.objekte svg { flex: none; width: 28px; height: 28px; color: var(--orange); }
.objekte li:nth-child(even) svg { color: #5fe05f; }
.kunden { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.kunden li { padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid #3a423b; color: #d9ddd9; font-size: 0.9rem; font-weight: 600; }

/* Über uns */
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; }
.zahlen li { padding: 1rem 0.75rem; border-radius: var(--radius); background: var(--hell); text-align: center; }
.zahlen strong { display: block; font-size: clamp(1.35rem, 4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; color: var(--schwarz); line-height: 1.1; }
.zahlen span { display: block; margin-top: 0.3rem; color: var(--grau); font-size: 0.8rem; line-height: 1.3; }
.werte { display: grid; gap: 0.9rem; }
.werte li { padding: 1.35rem; border-radius: var(--radius); border: 1px solid var(--linie); background: #fff; }
.werte li p { margin-top: 0.35rem; color: var(--grau); font-size: 0.975rem; line-height: 1.55; }
.werte li:nth-child(1) { border-left: 5px solid var(--orange); }
.werte li:nth-child(2) { border-left: 5px solid var(--schwarz); }
.werte li:nth-child(3) { border-left: 5px solid var(--gruen); }

/* Anfrage-Assistent */
.anfrage { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .anfrage { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; } }
.anfrage-text p { margin-top: 1.1rem; color: var(--grau); }
.anfrage-kontakt { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.anfrage-kontakt a { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--schwarz); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.anfrage-kontakt a:hover { color: var(--gruen-dunkel); }
.anfrage-kontakt svg { width: 22px; height: 22px; color: var(--gruen-dunkel); }
.assistent { padding: 1.35rem; border-radius: var(--radius-gross); background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten); }
@media (min-width: 700px) { .assistent { padding: 2.25rem; } }
.fortschritt { margin-bottom: 1.5rem; }
.fortschritt-text { font-size: 0.85rem; font-weight: 700; color: var(--grau); }
.fortschritt-spur { height: 6px; margin-top: 0.5rem; border-radius: 3px; background: var(--hell); overflow: hidden; }
.fortschritt-balken { height: 100%; width: 25%; border-radius: 3px; background: var(--gruen); transition: width .3s ease; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 1.1rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; color: var(--schwarz); }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.kachel { position: relative; }
.kachel input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kachel span { display: flex; align-items: center; min-height: 60px; padding: 0.7rem 0.9rem; border: 2px solid var(--linie); border-radius: 12px; background: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.25; transition: border-color .15s ease, background .15s ease; }
.kachel input:hover + span { border-color: #b9c0ba; }
.kachel input:checked + span { border-color: var(--gruen-dunkel); background: #ecf8ec; }
.kachel input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.felder { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .felder { grid-template-columns: 1fr 1fr; } .felder .voll { grid-column: 1 / -1; } }
.feld label { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; font-weight: 700; }
.feld input, .feld textarea { width: 100%; padding: 0.8rem 0.9rem; border: 2px solid var(--linie); border-radius: 10px; background: #fff; font: inherit; color: inherit; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--gruen-dunkel); }
.zustimmung { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--grau); }
.zustimmung input { flex: none; width: 22px; height: 22px; margin-top: 0.15rem; accent-color: var(--gruen-dunkel); }
.auswahl { margin-bottom: 1rem; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--hell); font-size: 0.9rem; }
.honig { position: absolute; left: -9999px; }
.assistent-fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.zurueck { border: 0; background: none; padding: 0.6rem 0; font: inherit; font-weight: 700; color: var(--grau); cursor: pointer; }
.zurueck:hover { color: var(--schwarz); }
.assistent-fuss .knopf { margin-left: auto; }
.hinweis { margin-top: 1rem; font-size: 0.8rem; color: var(--grau); }
.danke { display: none; text-align: center; padding: 1.5rem 0; }
.danke.sichtbar { display: block; }
.danke i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 18px; background: var(--gruen); color: var(--schwarz); }
.danke svg { width: 34px; height: 34px; }
.danke p { margin-top: 0.75rem; color: var(--grau); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kontakt */
.kontakt { display: grid; gap: 1rem; }
@media (min-width: 760px) { .kontakt { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.kontakt-karte { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); }
.kontakt-karte h3 { margin-bottom: 0.75rem; }
.kontakt-karte p { color: var(--grau); }
.kontakt-karte p + p { margin-top: 0.6rem; }
.kontakt-karte a { font-weight: 700; text-decoration: none; }
.kontakt-karte a:hover { text-decoration: underline; }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; color: var(--grau); }
.zeiten dt { font-weight: 600; color: var(--tinte); }
.zeiten dd { margin: 0; }

/* Fußzeile */
.fuss { background: var(--schwarz); color: #b9c0ba; font-size: 0.95rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss-oben { display: grid; gap: 2rem; padding: 3rem 0 2.25rem; }
@media (min-width: 800px) { .fuss-oben { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }
.fuss-logo { display: inline-block; padding: 0.7rem 0.9rem; border-radius: 12px; background: #fff; }
.fuss-logo img { width: auto; height: 46px; }
.fuss-oben p { margin-top: 1rem; max-width: 24rem; }
.fuss h2 { margin-bottom: 0.8rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7fe07f; }
.fuss li + li { margin-top: 0.4rem; }
.fuss-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid #2c332d; font-size: 0.875rem; }

/* Feste Leiste mobil */
.schnellleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.6rem; padding: 0.6rem var(--rand) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--linie); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .3s ease; }
.schnellleiste.sichtbar { transform: none; }
.schnellleiste .knopf { min-height: 48px; padding: 0.5rem 0.75rem; font-size: 0.95rem; }
@media (min-width: 1000px) { .schnellleiste { display: none; } }

/* Unterseiten (Impressum, Datenschutz, Fehlerseite) */
.text-seite { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.text-seite .rahmen { max-width: calc(46rem + 2 * var(--rand)); }
.text-seite h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.text-seite h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
.text-seite p + p { margin-top: 0.75rem; }
.platzhalter { margin: 1.5rem 0; padding: 1rem 1.2rem; border-radius: var(--radius); border: 2px dashed var(--orange); background: #fff8e6; }

/* Dezentes Einblenden */
@media (prefers-reduced-motion: no-preference) {
  .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .einblenden.da { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Karriere */
.band { background: var(--orange); color: var(--schwarz); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.band-innen { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .band-innen { grid-template-columns: 1fr auto; gap: 3rem; } }
.band .marke { color: var(--schwarz); }
.band .marke::before { background: linear-gradient(90deg, #fff 0 33%, var(--schwarz) 33% 66%, var(--gruen-dunkel) 66%); }
.band p:not(.marke) { margin-top: 0.75rem; max-width: 40rem; font-size: 1.1rem; }
.knopf--dunkel { background: var(--schwarz); color: #fff; }
.knopf--dunkel:hover { background: #2a302b; color: #fff; }
.kacheln--breit { grid-template-columns: 1fr; }
.feld small { display: block; margin-top: 0.3rem; color: var(--grau); font-size: 0.8rem; }
.feld input[type="file"] { padding: 0.6rem; border-style: dashed; font-size: 0.9rem; }
.anfrage-text .haken li { font-weight: 600; color: var(--tinte); }
.kurzschritte { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.kurzschritte li { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.9rem 0.45rem 0.45rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); font-weight: 700; font-size: 0.9rem; }
.kurzschritte b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--schwarz); color: #fff; font-size: 0.85rem; }
#bewerben h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }

/* ───────── Unterseiten, Menü mit Untermenü, Bewegung ───────── */
.lauflinie { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--orange), var(--gruen)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.kopf-nav { align-items: center; }
.kopf-nav a.aktiv { color: var(--gruen-dunkel); }
.nav-gruppe { position: relative; }
.nav-gruppe > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-gruppe > a svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-gruppe:hover > a svg, .nav-gruppe:focus-within > a svg { transform: rotate(180deg); }
.nav-unter { position: absolute; top: 100%; left: -1rem; min-width: 280px; padding: 0.6rem; margin-top: 0.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.nav-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; }
.nav-gruppe:hover .nav-unter, .nav-gruppe:focus-within .nav-unter { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.kopf-nav .nav-unter a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; font-weight: 600; }
.kopf-nav .nav-unter a::after { display: none; }
.kopf-nav .nav-unter a:hover { background: var(--hell); color: var(--gruen-dunkel); }
.mobil-unter { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.75rem 0 0.9rem; border-bottom: 1px solid var(--linie); }
.mobil-unter a { padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--hell); color: var(--tinte); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.mobilmenue > a.ohne-linie { border-bottom: 0; padding-bottom: 0.2rem; }

.seitenkopf { position: relative; overflow: hidden; background: var(--schwarz); color: #cfd5d0; }
.seitenkopf::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 90% at 75% 30%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 75% 30%, #000 0%, transparent 75%); }
.seitenkopf-licht { position: absolute; inset: 0; pointer-events: none; }
.seitenkopf-licht::before, .seitenkopf-licht::after { content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; border-radius: 50%; filter: blur(90px); opacity: 0.28; }
.seitenkopf-licht::before { right: -8%; top: -30%; background: var(--gruen); }
.seitenkopf-licht::after { left: -12%; bottom: -55%; background: var(--orange); opacity: 0.2; }
.seitenkopf-innen { position: relative; display: grid; gap: 2.25rem; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .seitenkopf-innen--bild { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 3.5rem; } }
.seitenkopf h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.seitenkopf .lead { margin-top: 1.25rem; max-width: 38rem; font-size: clamp(1.075rem, 2.1vw, 1.25rem); }
.seitenkopf .marke { color: #7fe07f; }
.seitenkopf .marke::before { background: linear-gradient(90deg, var(--orange) 0 33%, #fff 33% 66%, var(--gruen) 66%); }
.seitenkopf .knopf--linie { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.seitenkopf .knopf--linie:hover { background: #fff; color: var(--schwarz); }
.seitenkopf .knopf--haupt { background: var(--gruen); color: var(--schwarz); }
.seitenkopf .knopf--haupt:hover { background: #3fd03f; color: var(--schwarz); }
.pfad { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.5rem; font-size: 0.85rem; color: #98a19a; }
.pfad a { color: #cfd5d0; text-decoration: none; }
.pfad a:hover { color: #fff; text-decoration: underline; }
.seitenkopf-bild { border-radius: var(--radius-gross); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.seitenkopf-bild img { width: 100%; height: 100%; object-fit: cover; }

.umfang { padding: 1.75rem; border-radius: var(--radius-gross); background: var(--hell); }
.umfang h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.umfang .haken { margin-top: 1.25rem; }
.umfang .haken li { font-weight: 600; }
@media (min-width: 900px) { .umfang { padding: 2.25rem; } .zweispaltig--oben { align-items: start; } }
.hinweiskasten { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 5px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; font-size: 0.975rem; color: var(--grau); }
.weitere { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.weitere a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.1rem; border-radius: 999px; border: 1px solid var(--linie); background: #fff; color: var(--schwarz); font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.weitere a::after { content: "→"; color: var(--gruen-dunkel); transition: transform .2s ease; }
.weitere a:hover { border-color: var(--gruen-dunkel); transform: translateY(-2px); }
.weitere a:hover::after { transform: translateX(3px); }
.abschluss { position: relative; overflow: hidden; background: var(--schwarz); color: #cfd5d0; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.abschluss::before { content: ""; position: absolute; right: -10%; top: -60%; width: 520px; height: 520px; border-radius: 50%; background: var(--gruen); filter: blur(110px); opacity: 0.22; }
.abschluss-innen { position: relative; display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 860px) { .abschluss-innen { grid-template-columns: 1fr auto; gap: 3rem; } }
.abschluss h2 { color: #fff; }
.abschluss p { margin-top: 0.9rem; max-width: 40rem; }
.abschluss-knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.abschluss .knopf--haupt { background: var(--gruen); color: var(--schwarz); }
.abschluss .knopf--haupt:hover { background: #3fd03f; }
.abschluss .knopf--linie { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.abschluss .knopf--linie:hover { background: #fff; color: var(--schwarz); }
.gruppe + .gruppe { margin-top: clamp(3rem, 7vw, 5rem); }
.galerie--vier { columns: 2; }
@media (min-width: 900px) { .galerie--vier { columns: 4; } }
.galerie figure { cursor: zoom-in; }
.mehr-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; font-weight: 700; text-decoration: none; }
.mehr-link::after { content: "→"; transition: transform .2s ease; }
.mehr-link:hover::after { transform: translateX(4px); }
.fuss-spalten { display: grid; gap: 2rem; }
@media (min-width: 800px) { .fuss-oben { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }

/* Laufband mit den Gewerken */
.laufband { overflow: hidden; padding: 1.9rem 0 1.7rem; background: #fff; border-bottom: 1px solid rgba(17, 20, 17, 0.08); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.laufband-spur { display: flex; width: max-content; }
.laufband ul { display: flex; flex: none; }
.laufband li { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; width: clamp(8.5rem, 14vw, 11rem); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: var(--grau); }
.laufband li i { display: grid; place-items: center; color: var(--schwarz); }
.laufband li i svg { width: 40px; height: 40px; stroke-width: 1.5; }
.laufband li:nth-child(3n+1) i { color: var(--gruen-dunkel, #0e7a1a); }

/* Lichtkasten für die Referenzbilder */
.lichtkasten { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem; background: rgba(10, 12, 10, 0.92); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.lichtkasten.offen { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lichtkasten figure { display: grid; gap: 0.9rem; justify-items: center; transform: scale(0.96); transition: transform .3s ease; }
.lichtkasten.offen figure { transform: none; }
.lichtkasten img { max-width: min(1100px, 92vw); max-height: 78vh; width: auto; height: auto; border-radius: var(--radius); }
.lichtkasten figcaption { color: #fff; font-weight: 700; text-align: center; }
.lichtkasten button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; transition: background .2s ease; }
.lichtkasten button:hover { background: rgba(255, 255, 255, 0.28); }
.lichtkasten button svg { width: 24px; height: 24px; }
.lichtkasten .lk-zu { top: 1rem; right: 1rem; }
.lichtkasten .lk-vor { right: 1rem; top: 50%; margin-top: -24px; }
.lichtkasten .lk-zurueck { left: 1rem; top: 50%; margin-top: -24px; }

/* Bewegung: nur wenn der Besucher Bewegung nicht reduziert hat */
@media (prefers-reduced-motion: no-preference) {
  .aufbau { animation: sag-aufbau .9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .aufbau-2 { animation-delay: .12s; }
  .aufbau-3 { animation-delay: .24s; }
  .aufbau-4 { animation-delay: .36s; }
  .wisch { animation: sag-wisch 1.1s cubic-bezier(0.7, 0, 0.2, 1) .15s both; }
  .wisch img { animation: sag-zoom 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) .15s both; }
  .buehne-klein, .buehne-schild { animation: sag-aufbau .9s cubic-bezier(0.2, 0.7, 0.2, 1) both, sag-schweben 7s ease-in-out 1.6s infinite; }
  .buehne-klein--1 { animation-delay: .7s, 1.6s; }
  .buehne-klein--2 { animation-delay: .85s, 2.4s; }
  .buehne-schild { animation-delay: 1s, 3.2s; }
  .seitenkopf-licht::before { animation: sag-licht 16s ease-in-out infinite alternate; }
  .seitenkopf-licht::after { animation: sag-licht 20s ease-in-out -6s infinite alternate-reverse; }
  .abschluss::before { animation: sag-licht 18s ease-in-out infinite alternate; }
  .laufband-spur { animation: sag-laufband 45s linear infinite; }
  .laufband:hover .laufband-spur { animation-play-state: paused; }
  .leistungen .einblenden:nth-child(3n+2), .ablauf .einblenden:nth-child(2), .werte .einblenden:nth-child(2), .kontakt .einblenden:nth-child(2) { transition-delay: .1s; }
  .leistungen .einblenden:nth-child(3n), .ablauf .einblenden:nth-child(3), .werte .einblenden:nth-child(3), .kontakt .einblenden:nth-child(3) { transition-delay: .2s; }
  .ablauf .einblenden:nth-child(4) { transition-delay: .3s; }
  .galerie figure.einblenden { transform: translateY(18px) scale(0.97); }
  .galerie figure.einblenden.da { transform: none; }
  .ablauf li b::after { width: 0; transition: width .7s ease .35s; }
  .ablauf li.da b::after { width: 36px; }
  .leistung i { transition: transform .3s ease; }
  .leistung:hover i { transform: rotate(-6deg) scale(1.08); }
  .knopf--haupt, .knopf--dunkel, .knopf--orange { position: relative; overflow: hidden; }
  .knopf--haupt::after, .knopf--dunkel::after, .knopf--orange::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-18deg); transition: left .6s ease; }
  .knopf--haupt:hover::after, .knopf--dunkel:hover::after, .knopf--orange:hover::after { left: 120%; }
}
@keyframes sag-aufbau { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sag-wisch { from { clip-path: inset(0 100% 0 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes sag-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes sag-schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes sag-licht { from { transform: translate(0, 0) scale(1); } to { transform: translate(-9%, 12%) scale(1.2); } }
@keyframes sag-laufband { to { transform: translateX(-50%); } }
@media (min-width: 1000px) { .ablauf--drei { grid-template-columns: repeat(3, 1fr); } .werte--reihe { grid-template-columns: repeat(3, 1fr); } }
.zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zahlen span { hyphens: auto; overflow-wrap: anywhere; }
.anfrage > *, .zweispaltig > * { min-width: 0; }
.kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kacheln--breit { grid-template-columns: minmax(0, 1fr); }
.kachel span { overflow-wrap: anywhere; hyphens: auto; }

/* Vorher-Nachher-Regler */
.vergleich { --pos: 50%; }
.vergleich-bilder { position: relative; overflow: hidden; border-radius: var(--radius-gross); aspect-ratio: 4 / 3; background: #ddd; box-shadow: var(--schatten); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.vergleich-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vergleich-vorher { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich-muster { filter: grayscale(1) sepia(0.35) brightness(0.62) contrast(0.9); }
.vergleich-schild { position: absolute; top: 0.9rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(17, 20, 17, 0.82); color: #fff; font-size: 0.8rem; font-weight: 700; pointer-events: none; }
.vergleich-schild--vorher { left: 0.9rem; }
.vergleich-schild--nachher { right: 0.9rem; background: var(--gruen); color: var(--schwarz); }
.vergleich-griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 20, 17, 0.15); pointer-events: none; }
.vergleich-griff svg { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 11px; border-radius: 50%; background: #fff; color: var(--schwarz); box-shadow: 0 6px 18px rgba(17, 20, 17, 0.35); }
.vergleich-regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vergleich-bilder:has(.vergleich-regler:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.vergleich figcaption { margin-top: 0.8rem; color: var(--grau); font-size: 0.925rem; font-weight: 600; }
.vergleich-regler { touch-action: pan-y; }
.vergleich--hoch .vergleich-bilder { aspect-ratio: 4 / 5; }
