/* Rümpel Flink
   Farben: Flaschengrün, Signalorange, Besenweiß, Karton.
   Schrift: DIN-artige Systemschrift für Überschriften, Systemschrift für Text.
   Es werden bewusst keine Schriften von fremden Servern geladen (DSGVO). */

:root {
  --gruen: #0F2F2A;
  --gruen-2: #1B4A42;
  --orange: #FF7A1A;
  --orange-dunkel: #C2500A;
  --weiss: #FFFFFF;
  --besenweiss: #F4F7F5;
  --nebel: #DCE5E1;
  --karton: #C8A572;
  --karton-hell: #EFE3CC;
  --karton-dunkel: #A98753;
  --tinte: #14302B;
  --tinte-leise: #4A615C;
  --hell-leise: #B9CCC6;

  --schrift-kopf: "Bahnschrift", "DIN Alternate", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Arial Narrow", Arial, sans-serif;
  --schrift-text: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --breite: 1160px;
  --r-klein: 6px;
  --r-mittel: 10px;
  --r-gross: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}

p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}

.nur-vorleser {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprung {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--orange);
  color: var(--gruen);
  font-weight: 700;
  border-radius: var(--r-klein);
}
.sprung:focus { top: 1rem; }

/* Schaltflächen */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .55rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--r-mittel);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-gross { min-height: 54px; padding: .7rem 1.6rem; font-size: 1.1rem; }

.btn-primary { background: var(--orange); color: var(--gruen); }
.btn-primary:hover { background: #FF9440; }

.btn-linie { border-color: currentColor; background: transparent; }
.btn-linie:hover { background: rgba(255, 255, 255, .12); }

.btn-dunkel { background: var(--gruen); color: var(--weiss); }
.btn-dunkel:hover { background: var(--gruen-2); }

/* Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--nebel);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gruen);
  text-decoration: none;
  white-space: nowrap;
}
.logo svg { width: auto; height: 26px; flex: none; }
.flink { display: inline-block; color: var(--orange-dunkel); transform: skewX(-10deg); }
.logo-hell { color: var(--weiss); }
.logo-hell .flink { color: var(--orange); }

.hauptnav { margin-left: auto; }
.hauptnav ul { display: flex; gap: 1.6rem; }
.hauptnav a {
  display: block;
  padding: .45rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
}
.hauptnav a:hover { border-bottom-color: var(--orange); }

.header-tel {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.header-tel strong { font-family: var(--schrift-kopf); font-stretch: 82%; font-size: 1.3rem; }
.header-tel span { font-size: .85rem; color: var(--tinte-leise); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--nebel);
  border-radius: var(--r-mittel);
  background: var(--weiss);
  cursor: pointer;
}
.nav-toggle-striche,
.nav-toggle-striche::before,
.nav-toggle-striche::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--gruen);
  content: "";
}
.nav-toggle-striche { position: relative; }
.nav-toggle-striche::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-striche::after { position: absolute; top: 6px; left: 0; }

/* Einstieg */

.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(6rem, 10vw, 8rem);
  background: var(--gruen);
  color: var(--weiss);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1; }
.hero-lead { margin-top: 1.25rem; max-width: 34em; font-size: 1.2rem; color: #DDE8E4; }

.haken { display: grid; gap: .6rem; margin-top: 1.6rem; }
.haken li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.haken svg { width: 22px; height: 22px; flex: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Zimmer: vorher und nachher */

.raum {
  padding: .75rem;
  background: var(--gruen-2);
  border-radius: var(--r-gross);
}
.raum-bild { overflow: hidden; border-radius: var(--r-mittel); background: #EDF2EF; }
.raum-bild svg { width: 100%; height: auto; }

.ding {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform .7s cubic-bezier(.55, -.15, .85, .45) var(--d, 0s),
              opacity .2s linear calc(var(--d, 0s) + .5s);
}
.raum[data-zustand="leer"] .ding {
  transform: translateX(700px) skewX(-14deg);
  opacity: 0;
}

.sauber {
  opacity: 0;
  transition: opacity .35s ease;
}
.raum[data-zustand="leer"] .sauber {
  opacity: 1;
  transition-delay: 1.25s;
}

.raum-leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .4rem .1rem;
}
.raum-text { font-size: .95rem; color: var(--hell-leise); }

.schalter {
  display: inline-flex;
  flex: none;
  padding: 4px;
  background: var(--gruen);
  border-radius: 999px;
}
.schalter button {
  padding: .4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hell-leise);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
}
.schalter button[aria-pressed="true"] { background: var(--orange); color: var(--gruen); }

/* Schnellzugriff */

.schnell { position: relative; z-index: 2; margin-top: -3.75rem; }
.schnell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.schnell a {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.4rem 1.5rem;
  background: var(--weiss);
  border: 1px solid var(--nebel);
  border-radius: var(--r-gross);
  box-shadow: 0 14px 30px -20px rgba(15, 47, 42, .55);
  text-decoration: none;
}
.schnell a:hover { border-color: var(--gruen); }
.schnell strong {
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-size: 1.55rem;
  line-height: 1.1;
}
.schnell span { font-size: .98rem; color: var(--tinte-leise); }
.schnell .haupt { background: var(--orange); border-color: var(--orange); color: var(--gruen); }
.schnell .haupt span { color: var(--gruen); }
.schnell .haupt:hover { border-color: var(--gruen); }

/* Abschnitte */

.abschnitt { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abschnitt-hell { background: var(--besenweiss); }
.abschnitt-dunkel { background: var(--gruen); color: var(--weiss); }

.kopf { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kopf h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.kopf p { margin-top: .9rem; font-size: 1.15rem; color: var(--tinte-leise); }
.abschnitt-dunkel .kopf p { color: var(--hell-leise); }

/* Leistungen */

.leistungen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.leistungen li { padding: 1.5rem 0; border-top: 1px solid var(--nebel); }
.leistungen h3 { font-size: 1.6rem; }
.leistungen p { margin-top: .45rem; max-width: 34em; color: var(--tinte-leise); }

/* Vorteile */

.vorteile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.vorteile li { padding-top: 1.25rem; border-top: 4px solid var(--orange); }
.vorteile h3 { font-size: 1.45rem; }
.vorteile p { margin-top: .6rem; color: var(--tinte-leise); }

/* Ablauf */

.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.ziffer {
  display: block;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 5rem;
  line-height: .9;
  color: var(--orange);
}
.schritte h3 { margin-top: .9rem; font-size: 1.6rem; }
.schritte p { margin-top: .6rem; color: var(--hell-leise); }

/* Preise: Schilder wie Anhänger aus Karton */

.schilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.schild {
  position: relative;
  padding: 3rem 1.5rem 1.6rem;
  background: var(--karton-hell);
  border: 1px solid var(--karton);
  border-radius: var(--r-mittel);
}
.schild::before {
  position: absolute;
  top: 1.1rem;
  left: 1.5rem;
  width: 16px;
  height: 16px;
  border: 2px solid var(--karton-dunkel);
  border-radius: 50%;
  background: var(--weiss);
  content: "";
}
.schild h3 { font-size: 1.4rem; }
.preis {
  margin: .5rem 0 .6rem;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--gruen);
}
.preis small { font-size: 1.15rem; font-weight: 600; }

.faktoren {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nebel);
}
.faktoren h3 { font-size: 1.5rem; }
.faktoren ul { columns: 2; column-gap: 2.5rem; color: var(--tinte-leise); }
.faktoren li { position: relative; padding-left: 1.1rem; break-inside: avoid; }
.faktoren li::before {
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-dunkel);
  content: "";
}

/* Fragen */

.fragen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.fragen-grid .kopf { margin-bottom: 0; }
.fragen-grid .kopf a { font-weight: 700; white-space: nowrap; }

.faq details { border-top: 1px solid var(--nebel); }
.faq details:last-child { border-bottom: 1px solid var(--nebel); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.15;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  flex: none;
  font-family: var(--schrift-text);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--orange-dunkel);
  content: "+";
}
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 42em; padding-bottom: 1.25rem; color: var(--tinte-leise); }

/* Anfrage */

.anfrage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.anfrage-info h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.anfrage-info > p { margin-top: .9rem; font-size: 1.15rem; color: var(--tinte-leise); }

.kontakt { display: grid; gap: 1.1rem; margin-top: 2rem; }
.kontakt dt { font-size: .9rem; color: var(--tinte-leise); }
.kontakt dd { font-weight: 600; }
.kontakt a { text-underline-offset: 3px; }

.formular {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--besenweiss);
  border: 1px solid var(--nebel);
  border-radius: var(--r-gross);
}

.fortschritt { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.fortschritt-text { flex: none; font-size: .9rem; font-weight: 600; color: var(--tinte-leise); }
.fortschritt-leiste { flex: 1; height: 6px; overflow: hidden; border-radius: 3px; background: var(--nebel); }
.fortschritt-balken { width: 0; height: 100%; border-radius: 3px; background: var(--orange); transition: width .25s ease; }

.schritt { min-width: 0; margin: 0; padding: 0; border: 0; }
.schritt + .schritt { margin-top: 2.25rem; }
.gestuft .schritt { display: none; margin-top: 0; }
.gestuft .schritt.aktiv { display: block; }
.schritt legend {
  padding: 0;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.1;
}
.schritt legend:focus { outline: none; }
.schritt-hinweis { margin-top: .4rem; color: var(--tinte-leise); }
.schritt > .feld { margin-top: 1.1rem; }

.felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 1.1rem;
}
.feld-titel { font-weight: 600; }
.feld { display: flex; flex-direction: column; gap: .35rem; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; }
.optional { font-weight: 400; color: var(--tinte-leise); }
.feld small { font-size: .85rem; color: var(--tinte-leise); }

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem .8rem;
  border: 1px solid #8FA39D;
  border-radius: var(--r-klein);
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
}
.feld textarea { resize: vertical; }
.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--gruen);
}
.feld ::placeholder { color: #7B8F89; }

/* Auswahl-Kacheln */

.kacheln {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.1rem;
}
.kachel {
  position: relative;
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 68px;
  padding: .8rem 1rem;
  background: var(--weiss);
  border: 2px solid var(--nebel);
  border-radius: var(--r-mittel);
  line-height: 1.25;
  cursor: pointer;
}
.kachel:hover { border-color: #8FA39D; }
.kachel input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.kachel svg {
  width: 34px;
  height: 34px;
  flex: none;
  fill: none;
  stroke: var(--orange-dunkel);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kachel .pegel { fill: var(--karton); stroke: none; }
.kachel strong { display: block; font-weight: 700; }
.kachel small { display: block; font-size: .88rem; color: var(--tinte-leise); }
.kachel::after {
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 2px solid #8FA39D;
  border-radius: 50%;
  background: var(--weiss) center / 14px no-repeat;
  content: "";
}
.kacheln-mehrfach .kachel::after { border-radius: 5px; }
.kachel:has(input:checked) { border-color: var(--gruen); background: #FFF3E8; }
.kachel:has(input:checked)::after {
  border-color: var(--gruen);
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.6 2.6L11 4.5' fill='none' stroke='%230F2F2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.kachel:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }

.kacheln-klein { margin-top: 0; }
.kacheln-klein .kachel {
  min-height: 48px;
  padding: .4rem .8rem;
  border-width: 1px;
  border-color: #8FA39D;
  border-radius: var(--r-klein);
}
.kacheln-klein .kachel:has(input:checked) { border-color: var(--gruen); box-shadow: inset 0 0 0 1px var(--gruen); }

/* Schieberegler für die Fläche */

.regler-wert {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--gruen);
}
.regler {
  display: block;
  width: 100%;
  height: 2.2rem;
  margin: .8rem 0 .2rem;
  accent-color: var(--orange-dunkel);
  cursor: pointer;
}
.regler-enden { display: flex; justify-content: space-between; font-size: .9rem; color: var(--tinte-leise); }

/* Abschluss, Hinweise, Navigation */

.zusammenfassung {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: var(--karton-hell);
  border: 1px solid var(--karton);
  border-radius: var(--r-klein);
  font-size: .95rem;
}
.klein { margin-top: 1.1rem; font-size: .9rem; color: var(--tinte-leise); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fehler {
  margin-top: 1rem;
  padding: .7rem 1rem;
  background: #FDECE7;
  border-left: 4px solid #B3321A;
  border-radius: var(--r-klein);
  color: #7A1E0C;
  font-weight: 600;
}
.fehler a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.schritt-nav { display: flex; align-items: center; gap: .75rem; margin-top: 1.6rem; }
.schritt-nav [data-aktion="weiter"],
.schritt-nav [data-aktion="senden"] { margin-left: auto; }
.btn-rand { background: var(--weiss); border-color: #8FA39D; color: var(--tinte); }
.btn-rand:hover { border-color: var(--gruen); }

.fertig h3 { font-size: 1.9rem; }
.fertig p { margin: .7rem 0 1.4rem; }
.fertig:focus { outline: none; }
.formular.abgeschlossen .schritt,
.formular.abgeschlossen .schritt-nav,
.formular.abgeschlossen .fortschritt { display: none; }

/* Fußzeile */

.site-footer { padding: 3.5rem 0 1.5rem; background: var(--gruen); color: var(--hell-leise); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 2.5rem; }
.site-footer h2 {
  margin-bottom: .7rem;
  font-size: 1.25rem;
  color: var(--weiss);
}
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--weiss); }
.site-footer li + li { margin-top: .3rem; }
.footer-text { margin-top: 1rem; max-width: 26em; }
.footer-adresse { margin-top: .8rem; }
.footer-unten {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .9rem;
}

/* Feste Anrufleiste (nur Handy) */

.anrufleiste { display: none; }

/* Textseiten: Impressum, Datenschutz */

.textseite { max-width: 46rem; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.textseite h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.textseite h2 { margin-top: 2.2rem; font-size: 1.6rem; }
.textseite p { margin-top: .8rem; }
.textseite a { text-underline-offset: 3px; }
.textseite ul { margin-top: .8rem; padding-left: 1.3rem; list-style: disc; }
.textseite li + li { margin-top: .3rem; }
.entwurf {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--karton-hell);
  border: 1px solid var(--karton);
  border-radius: var(--r-klein);
  font-weight: 600;
}
.luecke { background: #FFE2CC; padding: 0 .25em; border-radius: 3px; }

/* Navigation: aufklappbares Menü "Leistungen" */

.nav-eltern { position: relative; }
.nav-aufklapp summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.nav-aufklapp summary::-webkit-details-marker { display: none; }
.nav-aufklapp summary::after {
  width: .5rem;
  height: .5rem;
  margin-top: -.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}
.nav-aufklapp[open] summary::after { margin-top: .2rem; transform: rotate(-135deg); }
.nav-aufklapp summary:hover { border-bottom-color: var(--orange); }
.hauptnav .nav-menue {
  position: absolute;
  top: calc(100% + .8rem);
  left: -1rem;
  z-index: 5;
  display: grid;
  gap: 0;
  width: 17.5rem;
  padding: .5rem;
  background: var(--weiss);
  border: 1px solid var(--nebel);
  border-radius: var(--r-mittel);
  box-shadow: 0 18px 40px -22px rgba(15, 47, 42, .55);
}
.hauptnav .nav-menue a { padding: .55rem .75rem; border-bottom: 0; border-radius: var(--r-klein); }
.hauptnav .nav-menue a:hover { background: var(--besenweiss); }
.hauptnav a[aria-current="page"] { border-bottom-color: var(--orange); }
.hauptnav .nav-menue a[aria-current="page"] { background: var(--besenweiss); }

/* Postleitzahl-Einstieg (steht immer auf dunklem Grund) */

.plz-start { max-width: 34rem; margin-top: 1.6rem; }
.plz-start label { display: block; margin-bottom: .4rem; font-weight: 700; }
.plz-zeile { display: flex; gap: .6rem; }
.plz-zeile input {
  flex: 1 1 8rem;
  min-width: 0;
  min-height: 54px;
  padding: .6rem 1rem;
  border: 2px solid var(--weiss);
  border-radius: var(--r-mittel);
  background: var(--weiss);
  color: var(--tinte);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.plz-zeile input::placeholder { color: #7B8F89; font-weight: 400; letter-spacing: 0; }
.plz-zeile input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.plz-zeile .btn { flex: none; }
.plz-hinweis { margin-top: .5rem; font-size: .95rem; color: var(--hell-leise); }
.plz-hinweis.ist-fehler { color: #FFD3C2; font-weight: 700; }

.haken-reihe { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.5rem; }
.haken-reihe li { font-size: .98rem; }
.hero-anruf { margin-top: 1.1rem; color: #DDE8E4; }
.hero-anruf a { color: var(--weiss); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }

/* Leistungskarten */

.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.karte {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--besenweiss);
  border: 1px solid var(--nebel);
  border-radius: var(--r-gross);
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.karte:hover { background: var(--weiss); border-color: var(--gruen); }
.karte h3 { margin-top: .9rem; font-size: 1.45rem; }
.karte h3:first-child { margin-top: 0; }
.karten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ortsteile { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-top: 1rem; }
.ortsteile li {
  padding: .25rem .7rem;
  background: var(--weiss);
  border: 1px solid var(--nebel);
  border-radius: 999px;
  font-size: .95rem;
}
.karte p { margin-top: .45rem; font-size: .98rem; color: var(--tinte-leise); }
.icon {
  width: 40px;
  height: 40px;
  flex: none;
  fill: none;
  stroke: var(--orange-dunkel);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Unterseiten: Kopf, Pfad, Fließtext, Kasten */

.seitenkopf {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: var(--gruen);
  color: var(--weiss);
}
.seitenkopf h1 { max-width: 20em; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.02; }
.seitenkopf-lead { max-width: 40em; margin-top: 1rem; font-size: 1.2rem; color: #DDE8E4; }
.seitenkopf-flach { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.seitenkopf-start { margin-top: .4rem; }
.pfad {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.2rem;
  font-size: .92rem;
  color: var(--hell-leise);
}
.pfad a { color: inherit; text-underline-offset: 3px; }
.pfad a:hover { color: var(--weiss); }
.artikel-meta { margin-top: 1rem; font-size: .95rem; color: var(--hell-leise); }

.zwei-spalten {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.fliesstext { max-width: 44rem; }
.fliesstext h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.fliesstext h3 { font-size: 1.45rem; }
.fliesstext * + h2 { margin-top: 2.4rem; }
.fliesstext * + h3 { margin-top: 1.8rem; }
.fliesstext p, .fliesstext ul, .fliesstext ol, .fliesstext table, .fliesstext aside { margin-top: 1rem; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3rem; }
.fliesstext ul { list-style: disc; }
.fliesstext ol { list-style: decimal; }
.fliesstext li + li { margin-top: .4rem; }
.fliesstext li::marker { color: var(--orange-dunkel); font-weight: 700; }
.fliesstext a, .faq a, .unter-schildern a {
  color: var(--gruen);
  font-weight: 600;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.fliesstext a:hover, .faq a:hover, .unter-schildern a:hover { text-decoration-color: var(--gruen); }
.schritte a { color: var(--weiss); text-underline-offset: 3px; }
.schild h3 a { color: inherit; text-decoration-color: var(--karton-dunkel); text-underline-offset: 3px; }
.unter-schildern { max-width: 48rem; margin-top: 1.5rem; color: var(--tinte-leise); }

.kasten {
  padding: 1.6rem 1.5rem;
  background: var(--besenweiss);
  border: 1px solid var(--nebel);
  border-radius: var(--r-gross);
}
.kasten h2 { font-size: 1.5rem; }
.hakenliste { display: grid; gap: .6rem; margin-top: 1rem; }
.hakenliste li { position: relative; padding-left: 1.9rem; }
.hakenliste li::before {
  position: absolute;
  left: 0;
  top: .2em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.6 2.6L11 4.5' fill='none' stroke='%230F2F2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  content: "";
}
.kasten-preis {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--nebel);
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gruen);
}
.kasten-preis small { font-size: 1.1rem; font-weight: 600; }
.kasten-hinweis { margin-top: .5rem; font-size: .92rem; color: var(--tinte-leise); }
.kasten-hinweis-allein { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--nebel); }
.vorteile-3 { grid-template-columns: repeat(3, 1fr); }
.vorteile a { color: var(--gruen); font-weight: 600; text-underline-offset: 3px; }

/* Aufruf am Seitenende und verwandte Seiten */

.aufruf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  background: var(--gruen);
  color: var(--weiss);
  border-radius: var(--r-gross);
}
.aufruf h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.aufruf-text p { margin-top: .7rem; color: #DDE8E4; }
.aufruf-text .aufruf-kontakt { font-size: .98rem; }
.aufruf-kontakt a { color: var(--weiss); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
.aufruf .plz-start { margin-top: 0; }

.verwandt { margin-top: 2.5rem; }
.verwandt:first-child { margin-top: 0; }
.verwandt h2 { font-size: 1.5rem; }
.verwandt ul { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.verwandt a {
  display: block;
  padding: .5rem .95rem;
  border: 1px solid #8FA39D;
  border-radius: 999px;
  background: var(--weiss);
  font-weight: 600;
  text-decoration: none;
}
.verwandt a:hover { border-color: var(--gruen); background: var(--besenweiss); }

/* Ratgeber: Übersicht und Artikel */

.kopf-mit-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}
.kopf-mit-link > div { max-width: 44rem; }
.kopf-eng { margin: 2.5rem 0 1.25rem; }
.kopf-eng:first-child { margin-top: 0; }
.kopf-eng h2 { font-size: 1.5rem; }

.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.beitrag {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: var(--weiss);
  border: 1px solid var(--nebel);
  border-top: 4px solid var(--orange);
  border-radius: var(--r-mittel);
  text-decoration: none;
}
.beitrag:hover { border-right-color: var(--gruen); border-bottom-color: var(--gruen); border-left-color: var(--gruen); }
.beitrag-thema { font-size: .9rem; font-weight: 700; color: var(--orange-dunkel); }
.beitrag h3 { margin-top: .5rem; font-size: 1.5rem; line-height: 1.12; }
.beitrag p { margin-top: .6rem; color: var(--tinte-leise); }
.beitrag-meta { margin-top: auto; padding-top: 1rem; font-size: .88rem; color: var(--tinte-leise); }

.artikel { font-size: 1.1rem; }
.artikel > :first-child { margin-top: 0; }
.artikel .einstieg { font-size: 1.3rem; line-height: 1.5; }
.merkkasten {
  padding: 1.3rem 1.5rem;
  background: var(--karton-hell);
  border: 1px solid var(--karton);
  border-radius: var(--r-mittel);
}
.merkkasten h3 { font-size: 1.35rem; }
.artikel .hinweis {
  padding: .8rem 1rem;
  border-left: 4px solid var(--nebel);
  background: var(--besenweiss);
  font-size: .95rem;
  color: var(--tinte-leise);
}
.artikel table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.artikel th, .artikel td {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--nebel);
  text-align: left;
  vertical-align: top;
}
.artikel thead th { border-bottom: 2px solid var(--gruen); }

/* Formularseite */

.abschnitt-formular { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.formularseite {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.daneben h2 { font-size: 1.5rem; }
.weiter { display: grid; gap: 1.1rem; margin-top: 1rem; counter-reset: weiter; }
.weiter li { position: relative; padding-left: 2.7rem; counter-increment: weiter; }
.weiter li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--gruen);
  color: var(--weiss);
  font-family: var(--schrift-kopf);
  font-weight: 700;
  line-height: 1.9rem;
  text-align: center;
  content: counter(weiter);
}
.weiter strong { display: block; }
.weiter span { display: block; font-size: .97rem; color: var(--tinte-leise); }
.anruf-kasten {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--gruen);
  color: var(--weiss);
  border-radius: var(--r-gross);
}
.anruf-kasten p { margin-top: .6rem; color: #DDE8E4; }
.anruf-kasten a { color: var(--weiss); text-underline-offset: 3px; }
.anruf-kasten .anruf-nummer {
  font-family: var(--schrift-kopf);
  font-stretch: 82%;
  font-weight: 700;
  font-size: 1.9rem;
  text-decoration: none;
}

/* Schmalere Bildschirme */

@media (max-width: 1040px) {
  .hauptnav ul { gap: 1.1rem; }
  .header-tel span { display: none; }
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .hauptnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: .5rem 1.25rem 1rem;
    background: var(--weiss);
    border-bottom: 1px solid var(--nebel);
  }
  .hauptnav.offen { display: block; }
  .hauptnav ul { flex-direction: column; gap: 0; }
  .hauptnav a { padding: .85rem 0; border-bottom: 1px solid var(--nebel); font-size: 1.1rem; }
  .nav-aufklapp summary {
    justify-content: space-between;
    padding: .85rem 0;
    border-bottom: 1px solid var(--nebel);
    font-size: 1.1rem;
  }
  .hauptnav .nav-menue {
    position: static;
    width: auto;
    padding: 0 0 0 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hauptnav .nav-menue a { padding: .7rem 0; border-bottom: 1px solid var(--nebel); border-radius: 0; font-size: 1.02rem; }
  .header-tel { margin-left: auto; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .vorteile { grid-template-columns: repeat(2, 1fr); }
  .faktoren { grid-template-columns: 1fr; align-items: start; justify-items: start; }
  .fragen-grid, .anfrage-grid { grid-template-columns: 1fr; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beitraege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zwei-spalten, .formularseite, .aufruf { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  html { scroll-padding-top: 84px; }

  .logo { font-size: 1.45rem; }
  .logo svg { width: auto; height: 22px; }
  .header-tel { display: none; }
  .nav-toggle { margin-left: auto; }

  .schnell { margin-top: -3rem; }
  .schnell-grid,
  .leistungen,
  .schritte,
  .schilder,
  .footer-grid { grid-template-columns: 1fr; }
  .vorteile { grid-template-columns: 1fr; gap: 1.5rem; }
  .schritte li { display: grid; grid-template-columns: 3.2rem 1fr; column-gap: .5rem; }
  .ziffer { grid-row: span 2; font-size: 4rem; }
  .schritte h3 { margin-top: .3rem; }
  .faktoren ul { columns: 1; }
  .felder, .kacheln { grid-template-columns: 1fr; }
  .kacheln-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritt-nav .btn { padding-inline: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .raum-leiste { flex-direction: column-reverse; align-items: flex-start; }
  .karten, .beitraege { grid-template-columns: 1fr; }
  .plz-zeile { flex-direction: column; }
  .plz-zeile input { flex: none; }
  .kopf-mit-link { flex-direction: column; align-items: flex-start; }
  .artikel table { display: block; overflow-x: auto; }

  .anrufleiste {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: var(--gruen);
    color: var(--weiss);
  }
  .anrufleiste .btn { padding-inline: 1.1rem; white-space: nowrap; }
  .anrufleiste-einzeln { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ding, .sauber, .btn { transition: none; }
  .raum[data-zustand="leer"] .sauber { transition-delay: 0s; }
}
