/* NSB Bau – gemeinsames Stylesheet
   Werte 1:1 aus der bisherigen Website übernommen, ohne Fremd-Framework.
   Breakpoints wie im Original: 991px (Tablet), 767px (Mobil quer), 479px (Mobil). */

:root {
  --blau: #284e75;
  --blau-dunkel: #203768;
  --orange: #fe9361;
  --hellblau: #c0d2ec;
  --linie: #e4ebf3;
  --hover: #1a1b1fbf;
  --fokus: #0050bd;
  --text: #333;
  --raleway: "Raleway", sans-serif;
  --bitter: "Bitter", serif;
  --mukta: "Mukta Mahee", sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; height: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; min-height: 100%; background-color: #fff; color: var(--text);
  font-family: var(--mukta); font-size: 14px; line-height: 20px;
}
main, header, footer, nav, section { display: block; }
img { max-width: 100%; height: auto; vertical-align: middle; display: inline-block; border: 0; }
a { background-color: transparent; }
strong, b { font-weight: 700; }
h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; font-weight: 700; }
h1, h2 { font-size: 38px; line-height: 44px; }
h3 { font-size: 24px; line-height: 30px; }
p { margin-top: 0; margin-bottom: 10px; }
ul, ol { margin-top: 0; margin-bottom: 10px; padding-left: 40px; }
button, input, textarea { color: inherit; font: inherit; margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprunglink {
  position: absolute; left: 8px; top: -60px; z-index: 2000; padding: 10px 16px;
  background: #fff; color: var(--blau); font-family: var(--raleway); border-radius: 6px;
}
.sprunglink:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; }

/* Container (entspricht der alten 940px-Spalte, verhindert Margin-Collapsing wie im Original) */
.container { max-width: 940px; margin-left: auto; margin-right: auto; }
.container::before, .container::after { content: " "; display: table; grid-area: 1 / 1 / 2 / 2; }
.container::after { clear: both; }
@media (max-width: 991px) { .container { max-width: 728px; } }
@media (max-width: 479px) { .container { max-width: none; } }

/* Raster und Zellen */
.raster {
  display: grid; grid-row-gap: 20px; grid-column-gap: 20px; grid-auto-columns: 1fr;
  justify-content: center; padding: 20px;
}
.zelle { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.container-block { max-width: 940px; margin-left: auto; margin-right: auto; display: block; }
@media (max-width: 991px) { .container-block { max-width: 728px; } }
@media (max-width: 767px) { .container-block { max-width: none; } }

/* ---------- Buttons ---------- */
.btn, .btn-link {
  display: inline-block; cursor: pointer; border: 0; line-height: inherit;
  text-decoration: none; -webkit-appearance: button; appearance: button;
}
.btn {
  color: #fff; text-align: center; background-color: var(--orange); border-radius: 6px;
  padding: 10.5px 86.5px; font-family: var(--raleway); font-size: 18px; font-weight: 400;
}
.btn-link {
  color: var(--orange); background-color: #fff; border-radius: 6px; padding: 9px 15px 9px 0;
  font-family: var(--raleway); font-size: 18px; font-weight: 400; text-decoration: underline;
}
@media (max-width: 479px) { .btn { max-width: 300px; padding-left: 40px; padding-right: 40px; } }

/* ---------- Kopf und Navigation ---------- */
.kopf { position: sticky; top: 0; z-index: 1000; background-color: #fff; }
.kopf__leiste {
  position: relative; width: 100%; max-width: 1140px; margin: 0 auto; padding: 20px;
}
.kopf__leiste::before, .kopf__leiste::after { content: " "; display: table; grid-area: 1 / 1 / 2 / 2; }
.kopf__leiste::after { clear: both; }
.kopf__inhalt { width: 100%; max-width: 940px; margin-left: auto; margin-right: auto; }
.kopf__reihe { display: flex; justify-content: space-between; align-items: center; }
.kopf__marke { position: relative; color: var(--text); text-decoration: none; }
.kopf__logo { width: 150px; }
.nav { position: relative; }
.nav__liste {
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; margin: 0; padding-left: 0;
}
.nav__link {
  color: var(--blau); letter-spacing: .25px; margin-left: 5px; margin-right: 5px; padding: 5px 10px;
  font-family: var(--mukta); font-size: 16px; font-weight: 400; line-height: 20px; text-decoration: none;
}
.nav__link--akzent { margin-right: 20px; }
.nav__link:hover { color: var(--hover); }
.nav__link:focus-visible { outline: 2px solid var(--fokus); outline-offset: 0; color: var(--fokus); border-radius: 4px; }
.nav__gruppe { padding-right: 21px; }
.nav-toggle {
  display: none; position: relative; cursor: pointer; padding: 12px; border: 0; background: none;
  color: var(--text); font-size: 24px; line-height: 1; -webkit-tap-highlight-color: transparent;
}
.nav-toggle svg { display: block; }
.nav-toggle[aria-expanded="true"] { color: #fff; background-color: #a6b1bf; }

@media (max-width: 991px) {
  .kopf__inhalt { max-width: 728px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; min-width: 200px; text-align: center; background: transparent; }
  .kopf.ist-offen .nav { display: block; }
  .nav__liste {
    background-color: #fff; border-radius: 50px; flex-wrap: wrap; justify-content: space-around;
    margin-top: 10px; padding: 20px; box-shadow: 0 8px 50px #0000000d;
  }
  .nav__link { padding-left: 5px; padding-right: 5px; }
  .nav__link--akzent { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 767px) {
  .nav__liste { border-radius: 20px; flex-direction: column; padding-bottom: 30px; }
  .nav__link { padding-top: 10px; padding-bottom: 10px; display: inline-block; }
  .nav__link--akzent { margin-right: 5px; }
  .nav__kontakt { margin-top: 10px; }
}
@media (max-width: 479px) {
  .kopf__inhalt { max-width: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background-color: #f5f7fa; background-image: url(/img/hero-ihr-partner-fuer-ihr-vorhaben.jpg);
  background-position: 100%; background-size: cover; border-bottom: 1px solid var(--linie);
  min-height: 970px; margin-bottom: -3px; padding: 80px 30px;
}
.hero.hero--leistungen { background-image: url(/img/leistungen-header.png); background-position: 0 0; background-size: auto; min-height: 600px; }
.hero.hero--referenzen { background-image: url(/img/referenzen-header.jpg); min-height: 600px; }
.hero-seite {
  position: relative; background-color: #f5f7fa; background-image: url(/img/blog-header.jpg);
  background-position: 50%; background-size: cover; border-bottom: 1px solid var(--linie);
  min-height: 970px; padding: 80px 30px;
}
.hero-seite.hero-seite--team { background-image: url(/img/werde-teil-des-teams-header.jpg); min-height: 500px; }
.hero-seite.hero-seite--sicherheit { background-image: url(/img/blog-sicherheitsaspekte-in-der-schadstoffbeseitigung.jpg); }
.hero-seite.hero-seite--materialien { background-image: url(/img/blog-materialien-in-der-schadstoffsanierung.jpg); }
.hero-seite.hero-seite--nachhaltigkeit { background-image: url(/img/blog-nachhaltigkeit-in-der-baubranche.jpg); }
.hero-seite.hero-seite--feuer { background-image: url(/img/blog-umgang-mit-brandschaeden.jpg); }
.hero-seite.hero-seite--erdbau { background-image: url(/img/blog-erdarbeiten-von-grund-auf-vorschaubild.png); }
.hero__inhalt { width: 100%; max-width: 940px; margin: 0 auto auto; padding-top: 25vh; }
.hero__reihe { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
.hero__text { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; max-width: 46%; }
.hero__titel {
  color: #fff; width: 740px; padding-bottom: 33px;
  font-family: var(--raleway); font-size: 55px; line-height: 71px;
}
.hero__titel--blau { color: var(--blau); }

/* ---------- Blaues Band ---------- */
.band {
  position: relative; display: flex; align-items: center; min-height: 635px; max-height: 635px;
  padding: 80px 30px; background-color: var(--blau);
}
.band__inhalt { color: var(--hellblau); width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.band__text {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  text-align: center; max-width: 800px; margin-left: auto; margin-right: auto;
}
.band__titel {
  color: #fff; max-width: 1200px; margin-top: 0; padding: 24px;
  font-family: var(--raleway); font-size: 40px; font-weight: 700;
}
.band__absatz { color: #fff; max-width: 1178px; padding-bottom: 40px; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.band__zitat {
  color: #fcfdff; text-align: center; font-family: var(--raleway);
  font-size: 40px; font-style: italic; font-weight: 700; line-height: 54px;
}

/* ---------- Abschnitte ---------- */
.abschnitt { display: block; position: relative; padding: 80px 30px 140px; }
.abschnitt__inhalt { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-top: 80px; padding-bottom: 0; }
.abschnitt__titel {
  color: var(--blau); text-align: center; letter-spacing: -.015em; padding-bottom: 24px;
  font-family: var(--raleway); font-size: 40px; font-weight: 700; line-height: 72px;
}
.raster-vorteile { grid-column-gap: 50px; grid-row-gap: 50px; grid-template-columns: 1fr 1fr 1fr; }
.vorteil__icon { max-width: 80%; margin-left: auto; margin-right: auto; padding-top: 20px; padding-bottom: 40px; }
.vorteil__text {
  color: var(--blau); text-align: center; letter-spacing: -.015em; height: 110px;
  margin-left: auto; margin-right: auto; padding-top: 10px; padding-bottom: 45px;
  font-family: var(--raleway); font-size: 24px; font-weight: 400; line-height: 36px;
}
.raster-leistungen { grid-column-gap: 50px; grid-row-gap: 50px; grid-template-columns: 1fr 1fr 1fr; }
.titel-klein {
  color: var(--blau); text-align: left; letter-spacing: -.015em; height: 90px; min-height: 90px;
  padding-top: 10px; padding-bottom: 45px;
  font-family: var(--raleway); font-size: 24px; font-weight: 700; line-height: 36px;
}
.text { color: var(--blau); margin-bottom: 20px; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.text-fliess { color: var(--blau-dunkel); text-align: left; padding: 10px 20px 10px 10px; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.text-spalte { color: var(--blau); text-align: left; min-height: 200px; padding: 10px 20px 10px 10px; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.text-zentriert { color: var(--blau); text-align: center; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.text-dunkel { color: var(--blau-dunkel); }
.schrift-raleway { font-family: var(--raleway); font-weight: 400; }

/* Bildbänder (Hintergrundbilder zwischen Abschnitten) */
.bildband { background-position: 50%; background-size: cover; height: 50vh; }
.bildband--sorgfalt { background-image: url(/img/wir-arbeiten-sorgfaeltig.jpg); background-position: 50% 0; }
.bildband--asbest { background-image: url(/img/wir-befreien-ihr-zuhause-von-asbest.png); background-position: 50% 0; }
.bildband--leiter { background-image: url(/img/ueber-uns-wir-steigen-auf-die-leiter.png); }
.bildband--sanierung { background-image: url(/img/referenzen-sanierungsarbeiten.png); }
.bildband--erdbau { background-image: url(/img/leistungen-wir-machen-ihre-erdbauarbeiten.png); background-position: 50% 100%; }
.bildband--jobs { background-image: url(/img/jobs-arbeite-mit-uns.jpg); background-position: 0 0; }
.bildband-hoch { background-image: url(/img/leistungen-header.png); background-position: 0 0; background-size: cover; min-height: 782px; }

/* Bild-Text-Zeilen */
.zeile { max-width: 1240px; margin-left: auto; margin-right: auto; padding-top: 100px; padding-bottom: 100px; }
.zeile-links { max-width: 1240px; margin-left: auto; margin-right: auto; padding-top: 60px; }
.raster-2 { grid-column-gap: 60px; grid-row-gap: 60px; grid-template-columns: 1fr 1fr; }
.raster-werte { grid-template-columns: 1fr 1fr; }
.bild { width: auto; padding-top: 20px; padding-left: 20px; }
.bild-mittig { margin-top: auto; margin-bottom: auto; }
.titel-mittel {
  color: var(--blau); text-align: left; letter-spacing: -.015em; padding-top: 0; padding-bottom: 24px;
  font-family: var(--raleway); font-size: 40px; font-weight: 600; line-height: 50px;
}
.einleitung { max-width: 1000px; margin: 120px auto 0; padding-bottom: 60px; }
.einleitung__titel { color: var(--blau); text-align: center; padding-bottom: 20px; font-family: var(--raleway); font-weight: 700; }
.aktion { text-align: center; }
.aktion--abstand { padding-top: 10px; }
.abschnitte { max-width: 1240px; margin-left: auto; margin-right: auto; padding-bottom: 120px; }
.titel-wert { color: var(--blau-dunkel); text-align: left; margin-bottom: 24px; font-family: var(--raleway); font-weight: 700; }

/* ---------- Referenzen und Slider ---------- */
.referenzen { position: relative; padding: 80px 30px; }
.referenzen-start { padding-top: 100px; padding-bottom: 100px; }
.referenzen__inhalt { width: 100%; margin-left: auto; margin-right: auto; }
.referenzen__titel {
  color: var(--blau); text-align: center; margin-bottom: 16px;
  font-family: var(--raleway); font-weight: 700; font-size: 32px; line-height: 36px;
}
.referenzen__untertitel {
  color: var(--blau); text-align: center; letter-spacing: -.015em; height: 90px; min-height: 90px;
  padding-top: 0; padding-bottom: 45px;
  font-family: var(--raleway); font-size: 24px; font-weight: 700; line-height: 36px;
}
.referenzen__aktion { display: flex; flex-direction: row; justify-content: center; padding-top: 60px; padding-bottom: 60px; }

.slider { position: relative; clear: both; text-align: center; height: 510px; margin-top: 50px; margin-left: 20px; }
.slider__spur {
  position: relative; display: flex; height: 510px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__spur::-webkit-scrollbar { display: none; }
.slider__folie {
  position: relative; flex: 0 0 100%; max-width: 400px; min-height: 500px; max-height: 500px; height: 100%;
  margin-right: 5%; border-radius: 10px; text-align: left; white-space: normal; scroll-snap-align: start;
}
.slider__punkte { position: static; height: 40px; margin-top: 40px; padding-top: 10px; font-size: 10px; text-align: center; }
.slider__punkt {
  display: inline-block; position: relative; width: 1em; height: 1em; margin: 0 12px .5em; padding: 0;
  border: 0; border-radius: 100%; background-color: #2226; cursor: pointer; transition: background-color .1s; vertical-align: top;
}
.slider__punkt[aria-current="true"] { background-color: #222; }
.karte {
  background-color: #fff; border-radius: 20px; width: 400px; height: 500px; padding-bottom: 24px;
  box-shadow: 0 4px 5px #0003;
}
.karte__bild { min-width: 400px; min-height: 296px; }
.karte__info { display: flex; flex-direction: column; align-items: flex-start; padding-left: 24px; padding-right: 24px; }
.karte__titel { color: var(--blau-dunkel); margin-bottom: 12px; font-family: var(--raleway); font-weight: 400; }
.karte__titel-text { color: var(--blau); font-weight: 500; }
.karte__text { color: var(--blau-dunkel); margin-bottom: 20px; font-family: var(--raleway); font-weight: 400; }

/* ---------- Kundenstimmen ---------- */
.stimmen { max-width: 994px; margin-left: auto; margin-right: auto; padding-bottom: 108px; }
.stimmen__titel {
  color: var(--blau); text-align: center; margin-top: 100px; margin-bottom: 40px;
  font-family: var(--raleway); font-size: 40px; font-weight: 700;
}
.raster-stimmen { grid-template-columns: 1fr 1fr 1fr; }
.stimme__titel {
  display: block; color: var(--blau); margin-top: 20px; margin-bottom: 10px;
  font-family: var(--bitter); font-size: 22px; font-weight: 400; line-height: 44px;
}
.stimme__text { color: var(--blau); text-align: left; min-height: 200px; padding: 10px 20px 10px 0; font-family: var(--bitter); }
.stimme__name { color: var(--blau); }

/* ---------- Kasten (Kontakt, Impressum, Datenschutz) ---------- */
.kasten { padding-bottom: 40px; }
.kasten__inhalt { max-width: 1200px; padding-top: 56px; }
.kasten__titel {
  color: var(--blau); text-align: center; padding-bottom: 60px;
  font-family: var(--raleway); font-size: 40px; font-weight: 700;
}
.impressum-text {
  color: var(--blau); text-align: left; width: 85vw; margin-left: auto; margin-right: auto;
  padding: 10px 20px 10px 10px; font-family: var(--mukta); font-size: 18px;
}
.rechtstext {
  color: var(--blau-dunkel); width: 80vw; margin-left: auto; margin-right: auto;
  font-family: var(--bitter); font-size: 18px; overflow-wrap: anywhere;
}
.rechtstext::before, .rechtstext::after { content: " "; display: table; grid-area: 1 / 1 / 2 / 2; }
.rechtstext::after { clear: both; }

/* Kontaktbereich */
.raster-kontakt { grid-template-columns: 1fr 1fr; }
.kontakt__info { padding-left: 60px; }
.raster-kontaktdaten { grid-template-rows: auto auto auto; grid-template-columns: .25fr 1fr; }
.kontakt__einleitung { grid-column: span 2; }
.kontakt__text { color: var(--blau); text-align: left; font-family: var(--bitter); font-size: 18px; line-height: 30px; }
.formular-block { display: flex; flex-direction: column; align-items: center; min-width: 600px; margin: 0 0 15px; }
.formular { color: var(--blau); font-family: var(--bitter); }
.feld {
  display: block; width: 100%; height: 38px; margin-bottom: 10px; padding: 8px 12px;
  font-size: 14px; line-height: 1.42857; color: var(--blau-dunkel); vertical-align: middle;
  background-color: #fff; border: 1px solid #ccc; border-radius: 0;
}
.feld::placeholder { color: #999; }
.feld:focus { border-color: #3898ec; outline: 0; }
.feld:focus-visible { outline: 2px solid var(--fokus); outline-offset: 0; }
.feld--text { height: auto; margin-bottom: 24px; overflow: auto; }
.checkbox { display: block; margin-bottom: 5px; padding-left: 20px; font-weight: 700; }
.checkbox::before, .checkbox::after { content: " "; display: table; grid-area: 1 / 1 / 2 / 2; }
.checkbox::after { clear: both; }
.checkbox__feld { float: left; margin: 4px 0 0 -20px; line-height: normal; box-sizing: border-box; padding: 0; }
.checkbox__text { display: inline-block; cursor: pointer; margin-bottom: 0; font-weight: 400; color: var(--blau); padding-bottom: 33px; }
.hp { display: none; }

/* Danke- und Fehlerseite */
.hinweis { text-align: center; }
.hinweis .text-zentriert { margin-bottom: 30px; }

/* ---------- Fuß ---------- */
.fuss { position: relative; padding: 80px 30px 40px; border-bottom: 1px solid var(--linie); }
.fuss__inhalt { width: 100%; max-width: 940px; margin-left: auto; margin-right: auto; }
.fuss__reihe { display: flex; justify-content: space-between; align-items: flex-start; }
.fuss__marke { display: inline-block; max-width: 100%; }
.fuss__logo { width: auto; min-height: 50px; max-height: 100px; }
.fuss__spalte { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; padding-left: 40px; }
.fuss__link { color: var(--blau); padding-bottom: 10px; font-family: var(--raleway); font-size: 16px; text-decoration: none; }
.fuss__link:hover { color: var(--hover); }
.fuss__aktion { width: 315px; max-width: 100%; margin: 0; }
.fuss__aktion-innen { padding-left: 20px; }
.fuss__aktion-knopf { text-align: right; padding-left: 20px; padding-right: 20px; }
.fuss__trenner { background-color: var(--linie); width: 100%; height: 1px; margin-top: 40px; margin-bottom: 40px; }
.fuss__unten { display: flex; justify-content: space-between; align-items: center; }
.fuss__copyright { color: var(--blau); font-family: var(--raleway); }
.fuss__social { display: flex; justify-content: flex-start; align-items: center; margin-top: 0; margin-left: -12px; }
.fuss__social-link { display: inline-block; max-width: 100%; margin-left: 12px; }

/* ---------- Tablet (bis 991px) ---------- */
@media (max-width: 991px) {
  .hero { background-position: 100%; }
  .hero-seite { background-position: 100%; }
  .hero__inhalt { max-width: 728px; }
  .hero__reihe { flex-direction: column; justify-content: flex-start; align-items: flex-start; margin-bottom: -40px; }
  .hero__text { max-width: 100%; margin-bottom: 40px; }
  .hero__titel { font-size: 40px; }
  .band__inhalt { max-width: 728px; }
  .band__titel { width: 768px; font-size: 34px; }
  .band__zitat { font-size: 30px; }
  .abschnitt__titel { font-size: 34px; }
  .abschnitt__inhalt { max-width: 728px; }
  .raster-vorteile { grid-template-columns: 1fr; }
  .vorteil__text { font-size: 28px; }
  .raster-leistungen { grid-template-columns: 1fr 1fr; }
  .raster-leistungen > .zelle--breit { grid-column: span 2; }
  .titel-klein { font-size: 28px; }
  .raster-2 { grid-template-columns: 1fr; }
  .raster-2 > .zelle--zuerst { order: -9999; }
  .bild { width: 100%; margin-left: auto; margin-right: auto; padding-top: 0; padding-left: 0; }
  .titel-mittel { font-size: 40px; }
  .referenzen__inhalt { max-width: 728px; }
  .referenzen__untertitel { font-size: 28px; }
  .slider__folie { margin-right: 6%; }
  .stimmen__titel { font-size: 34px; }
  .raster-stimmen { grid-template-columns: 1fr 1fr; }
  .raster-stimmen > .zelle--breit { grid-column: span 2; }
  .stimme { padding-left: 20px; padding-right: 20px; }
  .titel-wert { font-size: 34px; }
  .kasten__titel { font-size: 34px; }
  .impressum-text { margin-left: 40px; margin-right: 40px; }
  .raster-kontakt { grid-template-columns: 1fr; }
  .kontakt__formular { align-items: center; }
  .fuss__inhalt { max-width: 728px; }
  .fuss__reihe { flex-wrap: wrap; }
  .fuss__aktion { width: 100%; margin-top: 40px; }
  .fuss__aktion-innen { max-width: 350px; }
}

/* ---------- Mobil quer (bis 767px) ---------- */
@media (max-width: 767px) {
  .hero { background-position: 100%; padding: 60px 15px; }
  .hero-seite { padding: 60px 15px; }
  .hero-seite.hero-seite--team { min-height: 568px; }
  .hero__titel { width: 500px; font-size: 34px; }
  .band { padding: 60px 15px; }
  .band__titel { width: 568px; }
  .band__zitat { font-size: 28px; }
  .abschnitt { padding: 60px 15px; }
  .abschnitt__inhalt { padding-bottom: 0; }
  .abschnitt__titel { font-size: 32px; }
  .vorteil { align-items: center; }
  .vorteil__icon { margin-left: auto; margin-right: auto; }
  .vorteil__text { height: 90px; font-size: 24px; }
  .raster-leistungen { grid-template-columns: 1fr; }
  .raster-leistungen > .zelle--breit { grid-column: auto; }
  .titel-klein { font-size: 24px; }
  .titel-mittel { height: 90px; font-size: 30px; }
  .raster-werte { grid-template-columns: 1fr; }
  .raster-werte > .zelle--zuerst-klein { order: -9999; }
  .bildband--sorgfalt, .bildband--erdbau { background-position: 50%; }
  .referenzen { padding: 60px 15px; }
  .referenzen__untertitel { font-size: 24px; }
  .einleitung { max-width: 568px; }
  .abschnitte { max-width: 568px; }
  .stimmen__titel { font-size: 32px; }
  .titel-wert { font-size: 32px; }
  .kasten__inhalt { max-width: 500px; }
  .kasten__titel { font-size: 32px; }
  .impressum-text { margin-left: 20px; margin-right: 20px; font-family: var(--bitter); }
  .fuss { padding-left: 15px; padding-right: 15px; }
  .fuss__unten { flex-direction: column; justify-content: flex-start; align-items: flex-start; }
  .fuss__copyright { font-size: 14px; line-height: 20px; }
  .fuss__social { margin-top: 20px; }
  .fuss__social-link { margin-left: 20px; }
}

/* ---------- Mobil (bis 479px) ---------- */
@media (max-width: 479px) {
  .hero {
    background-image: url(/img/hero-ihr-partner-fuer-ihr-vorhaben-mobil.png);
    background-position: 50%; background-size: cover; height: 650px; min-height: 750px;
  }
  .hero-seite { background-position: 50% 0; }
  .hero__inhalt { padding-top: 20vh; }
  .hero__titel { width: 250px; font-size: 33px; line-height: 43px; }
  .band { max-height: 900px; }
  .band__inhalt { max-width: none; }
  .band__text { max-width: 900px; }
  .band__titel { width: 320px; font-size: 28px; }
  .band__absatz { max-width: 300px; }
  .band__zitat { font-size: 24px; }
  .abschnitt__inhalt { max-width: none; }
  .abschnitt__titel { padding-top: 24px; font-size: 28px; line-height: 43px; }
  .vorteil__text { font-size: 22px; }
  .titel-klein { height: 200px; font-size: 22px; }
  .titel-klein--leistung { height: 90px; }
  .titel-mittel { height: 120px; font-size: 24px; }
  .detail { padding-left: 20px; padding-right: 20px; }
  .bildband--asbest { height: 40vh; }
  .bildband--jobs { background-position: 50% 0; }
  .einleitung__titel { font-size: 28px; }
  .referenzen__inhalt { max-width: none; }
  .referenzen__titel { margin-bottom: 24px; font-size: 28px; }
  .referenzen__untertitel { font-size: 22px; }
  .slider__folie { padding-left: 10px; }
  .karte { width: 300px; }
  .karte__bild { min-width: 200px; min-height: 200px; }
  .stimmen { max-width: 320px; }
  .stimmen__titel { font-size: 28px; }
  .raster-stimmen { grid-template-columns: 1fr; }
  .raster-stimmen > .zelle--breit { grid-column: auto; }
  .stimme { padding-left: 0; padding-right: 0; }
  .stimme__sterne { max-width: 40%; }
  .stimme__titel { margin-top: 5px; margin-bottom: 5px; font-size: 20px; }
  .titel-wert { font-size: 28px; }
  .kasten__inhalt { max-width: 300px; }
  .kasten__titel { font-size: 28px; }
  .impressum-text { margin-left: 0; margin-right: 0; }
  .kontakt__info { order: -9999; padding-left: 20px; padding-right: 20px; display: flex; }
  .raster-kontaktdaten { padding-left: 0; }
  .formular-block { min-width: 320px; }
  .formular { width: 300px; }
  .fuss__inhalt { max-width: none; }
  .fuss__reihe { flex-direction: column; justify-content: flex-start; align-items: flex-start; }
  .fuss__spalte { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .slider__spur { scroll-behavior: auto; }
}

/* AGB-Platzhalter */
.agb-text { color: var(--blau-dunkel); text-align: center; margin-bottom: 54px; padding-left: 20px; padding-right: 20px; }
@media (max-width: 767px) { .agb-text { font-family: var(--bitter); } }
