/* =====================================================================
   WASCHPARK VERKAUFEN – Stylesheet
   Keine externen Ressourcen: keine Google Fonts, kein CDN, kein Tracking.
   Farben und Maße lassen sich vollständig in :root anpassen.
   ===================================================================== */

/* ---------------------------------------------------------------------
   Schriften – selbst gehostet.
   Die Dateien liegen in assets/fonts/. Fehlen sie, greift automatisch
   der Systemfont-Stack darunter. Siehe assets/fonts/LIES_MICH.txt.
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Farbwelt laut Konzept */
  --dunkelblau:      #0B2A3A;
  --dunkelblau-2:    #123A4E;
  --wasserblau:      #177E9F;
  --wasserblau-dkl:  #12657F;   /* für Links/Text auf Weiß – höherer Kontrast */
  --wasserblau-hell: #1E93B8;
  --eisblau:         #E8F4F7;
  --sand:            #D6C2A2;
  --sand-hell:       #F6F0E6;
  --flaeche:         #F5F7F8;
  --text:            #18313C;
  --text-leicht:     #5D7079;
  --weiss:           #FFFFFF;
  --gruen:           #2F6B52;
  --gruen-flaeche:   #EAF4EF;
  --rot:             #9A3535;
  --rot-flaeche:     #FBEDED;
  --linie:           #DCE4E8;
  --linie-zart:      #EAEFF2;

  --radius:          14px;
  --radius-gross:    18px;
  --radius-klein:    9px;
  --schatten:        0 1px 2px rgba(11,42,58,.05), 0 10px 30px rgba(11,42,58,.06);
  --schatten-hoch:   0 12px 48px rgba(11,42,58,.16);
  --breite:          1200px;
  --breite-text:     760px;

  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-kopf: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* Das hidden-Attribut muss auch dann greifen, wenn eine Klasse
   display: grid oder flex setzt. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
svg { flex: none; }

h1, h2, h3, h4 {
  font-family: var(--font-kopf);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--dunkelblau);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.32rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Grundgerüst ---------- */
.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.abschnitt { padding: 96px 0; }
.abschnitt--eng { padding: 68px 0; }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--eis { background: var(--eisblau); }
.abschnitt--sand { background: var(--sand-hell); }
/* Heller Abschluss-Aufruf. Bewusst hell, damit die dunkle Fußzeile
   darunter der einzige dunkle Block bleibt und sich klar absetzt. */
.abschnitt--einladung {
  background: var(--sand-hell);
  border-top: 1px solid #EADFC9;
}
.abschnitt--dunkel { background: var(--dunkelblau); color: #C9D8DF; }
.abschnitt--dunkel h2,
.abschnitt--dunkel h3 { color: #fff; }

.kopf { max-width: 64ch; margin-bottom: 52px; }
.kopf--mitte { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--wasserblau-dkl);
  margin-bottom: .9em;
}
.abschnitt--dunkel .kicker { color: var(--sand); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-leicht);
  max-width: var(--breite-text);
}
.abschnitt--dunkel .lead { color: #AFC2CB; }

.textspalte { max-width: var(--breite-text); }
.textspalte h2 { margin-top: 1.6em; }
.textspalte h2:first-child { margin-top: 0; }
.textspalte h3 { margin-top: 1.8em; }
.textspalte ul, .textspalte ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.textspalte li { margin-bottom: .5em; }

.zentriert { text-align: center; }
.kleiner-hinweis { font-size: .92rem; color: var(--text-leicht); }

/* Nur für Screenreader – visuell nicht sichtbar, aber vorlesbar */
.visuell-versteckt {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Sprungmarke für Tastaturnutzung */
.skiplink {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--dunkelblau); color: #fff;
  padding: 14px 22px; border-radius: 0 0 var(--radius-klein) 0;
  text-decoration: none; font-weight: 600;
}
.skiplink:focus { left: 0; }

/* ---------- Sichtbarer Fokus, durchgängig ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--wasserblau);
  outline-offset: 3px;
  border-radius: 4px;
}
.abschnitt--dunkel a:focus-visible,
.kopfzeile a:focus-visible,
.kopfzeile button:focus-visible,
.fusszeile a:focus-visible { outline-color: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: inherit; font-weight: 600; line-height: 1.2;
  min-height: 52px; padding: 15px 28px;
  border-radius: var(--radius-klein); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primaer { background: var(--wasserblau); color: #fff; border-color: var(--wasserblau); }
.btn--primaer:hover { background: var(--wasserblau-dkl); border-color: var(--wasserblau-dkl); }
.btn--sekundaer { background: transparent; color: var(--dunkelblau); border-color: var(--dunkelblau); }
.btn--sekundaer:hover { background: var(--dunkelblau); color: #fff; }
.btn--hell { background: #fff; color: var(--dunkelblau); border-color: #fff; }
.btn--hell:hover { background: var(--eisblau); border-color: var(--eisblau); }
.abschnitt--dunkel .btn--sekundaer { color: #fff; border-color: rgba(255,255,255,.42); }
.abschnitt--dunkel .btn--sekundaer:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--klein { min-height: 44px; padding: 11px 18px; font-size: .94rem; }
.btn--voll { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Textlink mit Pfeil – auch ohne Farbe erkennbar (Unterstreichung) */
.pfeillink {
  display: inline-flex; align-items: center; gap: .45em;
  color: var(--wasserblau-dkl); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
}
.pfeillink:hover { color: var(--dunkelblau); }
.pfeillink svg { width: 17px; height: 17px; }
.abschnitt--dunkel .pfeillink { color: #fff; }

/* Fließtext-Links immer unterstrichen */
.textspalte a:not(.btn):not(.pfeillink),
.fliesslink {
  color: var(--wasserblau-dkl);
  text-decoration: underline; text-underline-offset: 3px;
}
.textspalte a:not(.btn):not(.pfeillink):hover { color: var(--dunkelblau); }

/* ---------- Kopfzeile ---------- */
.hinweisbalken {
  background: var(--dunkelblau); color: #BFD3DB;
  font-size: .88rem; text-align: center; padding: 9px 24px;
}
.hinweisbalken strong { color: #fff; font-weight: 600; }

.kopfzeile {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--linie-zart);
}
.kopfzeile__inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }

.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  margin-right: auto; min-width: 0;
  flex: none;              /* auf großen Schirmen nie zusammenstauchen */
}
.logo__mark {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
}
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
/* In der dunklen Fußzeile braucht die Bildmarke einen hellen Grund,
   sonst geht ihr dunkelblauer Teil darin unter. */
.logo__mark--hell {
  background: #fff; border-radius: 11px; padding: 5px;
}
.logo__text {
  display: flex; flex-direction: column; line-height: 1.15;
  min-width: 0; overflow: hidden;
}
.logo__name {
  font-family: var(--font-kopf); font-weight: 700; font-size: 1.06rem;
  letter-spacing: .01em; color: var(--dunkelblau); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo__claim {
  font-size: .74rem; color: var(--text-leicht); letter-spacing: .02em;
  white-space: nowrap;
}

.navi { display: flex; gap: 2px; }
.navi a {
  text-decoration: none; color: var(--text); padding: 10px 10px;
  border-radius: 8px; font-size: .93rem; font-weight: 500;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.kopfzeile .btn { white-space: nowrap; }
.navi a:hover { background: var(--eisblau); color: var(--dunkelblau); }
.navi a[aria-current="page"] {
  color: var(--dunkelblau); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--wasserblau);
  border-radius: 8px 8px 0 0;
}

.kopf-kontakt { display: flex; align-items: center; gap: 14px; }
.kopf-telefon {
  display: inline-flex; align-items: center; gap: .5em;
  text-decoration: none; font-weight: 600; color: var(--dunkelblau);
  white-space: nowrap;
}
.kopf-telefon svg { width: 17px; height: 17px; }
.kopf-telefon:hover { color: var(--wasserblau-dkl); }

.menue-btn {
  display: none; align-items: center; gap: .5em;
  background: var(--dunkelblau); color: #fff; border: 0;
  border-radius: var(--radius-klein); padding: 12px 16px;
  font: inherit; font-weight: 600; cursor: pointer; min-height: 46px;
  /* feste Breite, damit die Zeile beim Umschalten auf „Schließen“ nicht springt */
  min-width: 124px; justify-content: center; flex: none;
}
.menue-btn svg { width: 20px; height: 20px; }

.mobilnavi { display: none; border-top: 1px solid var(--linie-zart); background: #fff; }
.mobilnavi.offen { display: block; }
.mobilnavi ul { list-style: none; margin: 0; padding: 10px 0 18px; }
.mobilnavi a {
  display: block; padding: 14px 24px; text-decoration: none;
  font-weight: 500; border-bottom: 1px solid var(--linie-zart);
}
.mobilnavi a:hover { background: var(--flaeche); }
.mobilnavi .mobilnavi__cta { padding: 18px 24px 4px; }

/* ---------- Hero ---------- */
.hero { background: var(--flaeche); border-bottom: 1px solid var(--linie-zart); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center; padding: 84px 0 76px;
}
.hero__text p.lead { margin-bottom: 32px; }
.hero__hinweis { margin-top: 20px; font-size: .95rem; color: var(--text-leicht); max-width: 52ch; }
.hero__bild {
  border-radius: var(--radius-gross); overflow: hidden;
  box-shadow: var(--schatten); background: var(--eisblau);
  /* Kante, damit sich ein helles Bild von der hellen Fläche absetzt */
  border: 1px solid var(--linie);
}

/* Rahmen für Illustrationen und Fotos */
.bildrahmen {
  border-radius: var(--radius-gross); overflow: hidden;
  box-shadow: var(--schatten); background: var(--eisblau);
  border: 1px solid var(--linie);
}
.bildrahmen img,
.hero__bild img { width: 100%; height: auto; }

.bildbreit { margin: 40px 0; }
.bildbreit figcaption {
  margin-top: 12px; font-size: .92rem; color: var(--text-leicht);
}

/* Platzhalterfläche, solange kein Foto vorhanden ist */
.bildplatz {
  position: relative; aspect-ratio: 4 / 3;
  display: grid; place-items: center; gap: 12px;
  background: linear-gradient(150deg, var(--eisblau), #D5E8EE);
  color: var(--dunkelblau); text-align: center; padding: 32px;
}
.bildplatz svg { width: 64px; height: 64px; opacity: .5; }
.bildplatz__text { font-size: .92rem; max-width: 34ch; color: #2C5567; }
.bildplatz--breit { aspect-ratio: 16 / 7; }
.bildplatz--portrait { aspect-ratio: 1 / 1; }

/* ---------- Vertrauensleiste ---------- */
.vertrauensleiste { border-top: 1px solid var(--linie-zart); background: #fff; }
.vertrauensleiste ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center;
}
.vertrauensleiste li {
  display: flex; align-items: center; gap: .55em;
  font-size: .95rem; font-weight: 500; color: var(--dunkelblau);
}
.vertrauensleiste svg { width: 19px; height: 19px; color: var(--wasserblau); }

/* ---------- Karten ---------- */
.raster { display: grid; gap: 24px; }
.raster--2 { grid-template-columns: repeat(2, 1fr); }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }

.karte {
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 30px;
}
.karte h2,
.karte h3 { margin-bottom: .5em; font-size: clamp(1.32rem, 2vw, 1.55rem); }
.karte p:last-child { margin-bottom: 0; }
.karte__symbol {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--eisblau); color: var(--wasserblau-dkl);
  display: grid; place-items: center; margin-bottom: 20px;
}
.karte__symbol svg { width: 24px; height: 24px; }
.abschnitt--flaeche .karte,
.abschnitt--eis .karte { border-color: transparent; box-shadow: var(--schatten); }
.abschnitt--dunkel .karte {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #C9D8DF;
}
.abschnitt--dunkel .karte__symbol { background: rgba(255,255,255,.12); color: var(--sand); }

.karte--link { display: flex; flex-direction: column; text-decoration: none; }
.karte--link:hover { border-color: var(--wasserblau); }
.karte--link .pfeillink { margin-top: auto; padding-top: 18px; }

/* ---------- Prozessdarstellung ---------- */
.prozess { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.prozess__schritt {
  display: grid; grid-template-columns: 62px 1fr; gap: 22px;
  padding: 26px 0; border-top: 1px solid var(--linie);
}
.prozess__schritt:last-child { border-bottom: 1px solid var(--linie); }
.prozess__nr {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--dunkelblau); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-kopf); font-weight: 700; font-size: 1.15rem;
}
.prozess__schritt h2,
.prozess__schritt h3 {
  margin-bottom: .35em; font-size: clamp(1.32rem, 2vw, 1.55rem);
}
.prozess__schritt p { color: var(--text-leicht); margin: 0; }
.abschnitt--dunkel .prozess__schritt { border-color: rgba(255,255,255,.16); }
.abschnitt--dunkel .prozess__nr { background: var(--sand); color: var(--dunkelblau); }
.abschnitt--dunkel .prozess__schritt p { color: #AFC2CB; }

/* ---------- Hinweisbox ---------- */
.hinweisbox {
  border-left: 4px solid var(--wasserblau);
  background: var(--eisblau);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; margin: 32px 0;
}
.hinweisbox p:last-child { margin-bottom: 0; }
.hinweisbox--sand { border-left-color: var(--sand); background: var(--sand-hell); }
.hinweisbox__titel {
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-kopf); font-weight: 600; color: var(--dunkelblau);
  margin-bottom: .5em;
}
.hinweisbox__titel svg { width: 20px; height: 20px; color: var(--wasserblau-dkl); }

/* ---------- Listen mit Haken ---------- */
.hakenliste { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 11px; }
.hakenliste li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
}
.hakenliste li::before {
  content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--eisblau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312657F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.abschnitt--dunkel .hakenliste li::before {
  background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6C2A2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.hakenliste--zweispaltig { grid-template-columns: repeat(2, 1fr); gap: 11px 34px; }

/* Neutrale Aufzählung ohne Wertung (für "nicht im Schwerpunkt") */
.strichliste { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.strichliste li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
}
.strichliste li::before {
  content: ""; width: 12px; height: 2px; margin-top: 14px;
  background: var(--text-leicht); border-radius: 2px;
}

/* ---------- Kontaktkarte (ohne Personenbezug) ---------- */
.kontaktkarte {
  display: grid; grid-template-columns: 72px 1fr; gap: 30px; align-items: start;
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius-gross); padding: 36px; box-shadow: var(--schatten);
  max-width: 860px;
}
.kontaktkarte__symbol {
  width: 72px; height: 72px; border-radius: 16px;
  background: var(--eisblau); color: var(--wasserblau-dkl);
  display: grid; place-items: center;
}
.kontaktkarte__symbol svg { width: 34px; height: 34px; }

/* ---------- Ansprechpartnerkarte ---------- */
.person {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center;
  background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius-gross); padding: 36px; box-shadow: var(--schatten);
}
.person__bild { border-radius: var(--radius); overflow: hidden; }
.person__daten { list-style: none; margin: 22px 0 24px; padding: 0; display: grid; gap: 9px; }
.person__daten li { display: flex; align-items: center; gap: .6em; font-weight: 500; }
.person__daten svg { width: 18px; height: 18px; color: var(--wasserblau-dkl); }
.person__daten a { color: var(--wasserblau-dkl); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Zwei-Spalten-Text ---------- */
.zweispalter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }
/* Breite Hauptspalte mit schmaler Randspalte – z. B. Formular plus Rückrufbox.
   Bewusst als Klasse statt als Inline-Stil, damit die Breakpoints greifen. */
.zweispalter--seitlich { grid-template-columns: 1.4fr .6fr; align-items: start; }

/* ---------- FAQ-Akkordeon ---------- */
.faq { max-width: var(--breite-text); }
.faq details {
  border-bottom: 1px solid var(--linie);
  background: #fff;
}
.faq details:first-of-type { border-top: 1px solid var(--linie); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 4px;
  font-family: var(--font-kopf); font-weight: 600; font-size: 1.1rem;
  color: var(--dunkelblau);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wasserblau-dkl); }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A3A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__inhalt { padding: 0 4px 26px; max-width: 68ch; color: var(--text-leicht); }
.faq__inhalt p:last-child { margin-bottom: 0; }

/* ---------- Rückrufbox ---------- */
.rueckrufbox {
  background: var(--dunkelblau); color: #C9D8DF;
  border-radius: var(--radius-gross); padding: 44px;
}
.rueckrufbox h2 { color: #fff; }

/* ---------- Formular ---------- */
.formular { max-width: 720px; }
.formular__block {
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 30px; margin-bottom: 22px; background: #fff;
}
.formular__block > legend,
.formular__block > .block__titel {
  font-family: var(--font-kopf); font-weight: 600; font-size: 1.2rem;
  color: var(--dunkelblau); padding: 0 8px; margin-left: -8px;
}
.formular__block p.block__hilfe {
  color: var(--text-leicht); font-size: .95rem; margin: .4em 0 1.4em;
}

.feld { margin-bottom: 20px; }
.feld:last-child { margin-bottom: 0; }
.feld > label,
.feldgruppe__titel {
  display: block; font-weight: 600; margin-bottom: 7px; color: var(--dunkelblau);
}
.feld__hilfe { font-size: .89rem; color: var(--text-leicht); margin: 0 0 8px; font-weight: 400; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 15px; min-height: 50px;
  border: 1.5px solid var(--linie); border-radius: var(--radius-klein);
  background: #fff;
  transition: border-color .15s;
}
input:hover, select:hover, textarea:hover { border-color: #B9C7CE; }
input:focus, select:focus, textarea:focus { border-color: var(--wasserblau); }
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7079' stroke-width='2.2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}

.feld-paar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Radio- und Checkbox-Gruppen */
.optionen { display: grid; gap: 10px; margin-top: 4px; }
.optionen--zwei { grid-template-columns: repeat(2, 1fr); }
.option {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 13px 15px; border: 1.5px solid var(--linie);
  border-radius: var(--radius-klein); cursor: pointer; font-weight: 400;
  transition: border-color .15s, background-color .15s;
}
.option:hover { border-color: #B9C7CE; background: var(--flaeche); }
.option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wasserblau); }
.option:has(input:checked) { border-color: var(--wasserblau); background: var(--eisblau); }

.zustimmung {
  display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start;
  margin-bottom: 16px; line-height: 1.55;
}
.zustimmung input { width: 21px; height: 21px; margin: 3px 0 0; accent-color: var(--wasserblau); }
.zustimmung a { color: var(--wasserblau-dkl); text-decoration: underline; text-underline-offset: 3px; }

.honigtopf {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.absendehinweis {
  font-size: .92rem; color: var(--text-leicht);
  margin-top: 14px; max-width: 62ch;
}

/* Meldungen */
.meldung {
  border-radius: var(--radius-klein); padding: 16px 20px; margin-bottom: 24px;
  display: grid; grid-template-columns: 22px 1fr; gap: 13px; align-items: start;
}
.meldung svg { width: 21px; height: 21px; margin-top: 2px; }
.meldung--ok { background: var(--gruen-flaeche); border: 1.5px solid #BFDCCE; color: #1F4E3B; }
.meldung--ok svg { color: var(--gruen); }
.meldung--fehler { background: var(--rot-flaeche); border: 1.5px solid #E8C4C4; color: #742727; }
.meldung--fehler svg { color: var(--rot); }
.meldung ul { margin: .5em 0 0; padding-left: 1.2em; }

/* ---------- Downloadbox ---------- */
.downloadbox {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: center;
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.downloadbox__symbol {
  width: 64px; height: 64px; border-radius: 13px;
  background: var(--eisblau); color: var(--wasserblau-dkl);
  display: grid; place-items: center;
}
.downloadbox__symbol svg { width: 30px; height: 30px; }
.downloadbox h2,
.downloadbox h3 { margin-bottom: .25em; font-size: 1.32rem; }
.downloadbox p { margin: 0; color: var(--text-leicht); font-size: .96rem; }

/* ---------- Breadcrumb ---------- */
.brotkrumen { background: var(--flaeche); border-bottom: 1px solid var(--linie-zart); }
.brotkrumen ol {
  list-style: none; margin: 0; padding: 14px 0;
  display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--text-leicht);
}
.brotkrumen li { display: flex; align-items: center; gap: 8px; }
.brotkrumen li + li::before { content: "›"; color: #9BABB4; }
.brotkrumen a { color: var(--text-leicht); text-decoration: underline; text-underline-offset: 3px; }
.brotkrumen a:hover { color: var(--dunkelblau); }
.brotkrumen [aria-current="page"] { color: var(--dunkelblau); font-weight: 500; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { padding: 66px 0 58px; border-bottom: 1px solid var(--linie-zart); }
.seitenkopf--flaeche { background: var(--flaeche); }

/* ---------- Ratgeber ---------- */
.artikel { padding: 56px 0 90px; }
.artikel__meta { color: var(--text-leicht); font-size: .93rem; margin-bottom: 26px; }
.artikel .textspalte > h2 { padding-top: .3em; }
.artikel__fuss {
  max-width: var(--breite-text); margin-top: 52px; padding-top: 32px;
  border-top: 1px solid var(--linie);
}

/* ---------- Abschluss-CTA ---------- */
.schluss-cta { text-align: center; }
.schluss-cta .lead { margin-left: auto; margin-right: auto; }
.schluss-cta .btn-reihe { justify-content: center; margin-top: 32px; }
.schluss-cta__hinweis { margin-top: 22px; font-size: .93rem; color: var(--text-leicht); }
.abschnitt--dunkel .schluss-cta__hinweis { color: #9FB4BE; }

/* ---------- Fußzeile ---------- */
.fusszeile { background: var(--dunkelblau); color: #A9BEC8; padding: 72px 0 0; }
.fusszeile h2, .fusszeile h3 {
  color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.3em; font-weight: 600;
}
.fusszeile__raster {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 44px;
  padding-bottom: 52px;
}
.fusszeile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fusszeile a { color: #C6D6DE; text-decoration: none; }
.fusszeile a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fusszeile .logo__name { color: #fff; }
.fusszeile .logo__claim { color: var(--sand); }
.fusszeile__text { margin-top: 20px; font-size: .95rem; max-width: 36ch; }
.fusszeile address { font-style: normal; line-height: 1.9; font-size: .96rem; }

.fusszeile__transparenz {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 26px 0; font-size: .89rem; color: #93AAB6; max-width: 92ch;
}
.fusszeile__unten {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 20px 0 28px; font-size: .89rem;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
}

/* ---------- Mobile Sticky-CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--linie);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 22px rgba(11,42,58,.09);
}
.sticky-cta .btn { flex: 1; min-height: 50px; padding: 13px 14px; font-size: .96rem; }
.sticky-cta .btn--sekundaer { flex: 0 0 58px; padding: 13px 0; }
.sticky-cta .btn--sekundaer svg { width: 21px; height: 21px; }

/* ---------- Druckansicht (Checkliste) ---------- */
.druckbogen { max-width: 800px; margin: 0 auto; padding: 48px 24px 90px; }
.druckliste { list-style: none; margin: 0; padding: 0; }
.druckliste li {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  padding: 13px 0; border-bottom: 1px solid var(--linie-zart);
}
.druckliste li::before {
  content: ""; width: 19px; height: 19px; margin-top: 4px;
  border: 2px solid var(--dunkelblau); border-radius: 4px;
}

/* =====================================================================
   Reduzierte Bewegung respektieren
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =====================================================================
   Breakpoints
   ===================================================================== */
@media (max-width: 1060px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 56px; }
  .hero__bild { order: -1; }
  .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .fusszeile__raster { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .person { grid-template-columns: 220px 1fr; gap: 32px; }
}

/* Die Telefonnummer im Kopf ist ein Vertrauenssignal, braucht aber Platz.
   Sie weicht als Erstes – sie steht ohnehin noch in der Fußzeile, auf der
   Kontaktseite und in der Leiste am unteren Bildschirmrand. */
@media (max-width: 1300px) {
  .kopf-telefon { display: none; }
}

/* Die Hauptnavigation braucht Platz für lange deutsche Begriffe.
   Darunter greift das Menü statt einer gequetschten Leiste. */
@media (max-width: 1080px) {
  .navi { display: none; }
  .menue-btn { display: inline-flex; }
}

@media (max-width: 900px) {
  .raster--3 { grid-template-columns: repeat(2, 1fr); }
  .zweispalter,
  .zweispalter--seitlich { grid-template-columns: 1fr; gap: 28px; }
  .sticky-cta { display: flex; }
  /* Platz für die Leiste nur reservieren, wenn es sie auf dieser Seite gibt */
  body:has(.sticky-cta) { padding-bottom: 76px; }
  .downloadbox { grid-template-columns: 54px 1fr; }
  .downloadbox .btn { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  /* Auf schmalen Geräten übernimmt die untere Leiste den Aufruf zur Anfrage.
     Im Kopf bleibt nur Logo und Menü – sonst läuft die Zeile über. */
  .kopf-kontakt { display: none; }
  .logo { flex: 0 1 auto; }   /* hier darf der Schriftzug notfalls kürzen */
  .kopfzeile__inner { min-height: 68px; gap: 12px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__mark--hell { padding: 4px; }
  .logo__name { font-size: .97rem; }
  .logo__claim { font-size: .68rem; }
  .hinweisbalken { font-size: .8rem; padding: 8px 18px; }
  .abschnitt { padding: 60px 0; }
  .abschnitt--eng { padding: 48px 0; }
  .wrap { padding: 0 18px; }
  .raster--2, .raster--3, .raster--4 { grid-template-columns: 1fr; }
  .hakenliste--zweispaltig { grid-template-columns: 1fr; }
  .feld-paar, .optionen--zwei { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; padding: 26px; }
  .person__bild { max-width: 240px; }
  .formular__block { padding: 22px; }
  .rueckrufbox { padding: 30px 24px; }
  .prozess__schritt { grid-template-columns: 46px 1fr; gap: 16px; }
  .prozess__nr { width: 42px; height: 42px; font-size: 1rem; }
  .fusszeile__raster { grid-template-columns: 1fr; gap: 36px; }
  .btn-reihe .btn { width: 100%; }
  .kopf { margin-bottom: 34px; }
  .vertrauensleiste ul { gap: 10px 22px; padding: 18px 0; }
  .vertrauensleiste li { font-size: .89rem; }
}

/* Sehr schmale Geräte: die Unterzeile im Logo weicht dem Menü */
@media (max-width: 500px) {
  .logo__claim { display: none; }
  .logo__name { font-size: .9rem; letter-spacing: 0; }
  .menue-btn { padding: 11px 14px; }
  .kopfzeile__inner { gap: 10px; }
}

/* Ganz schmal: der Menü-Knopf zeigt nur noch das Symbol. Die Beschriftung
   bleibt für Screenreader erhalten, sie wird nur visuell ausgeblendet –
   so bleibt der volle Schriftzug lesbar. */
@media (max-width: 460px) {
  .menue-btn { min-width: 0; padding: 12px 13px; }
  .menue-btn__text {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

@media print {
  .kopfzeile, .mobilnavi, .sticky-cta, .fusszeile, .hinweisbalken,
  .brotkrumen, .btn, .schluss-cta { display: none !important; }
  body { font-size: 11pt; padding: 0; }
  .druckbogen { padding: 0; max-width: none; }
  a { text-decoration: none; color: #000; }
}
