/* ==========================================================================
   Kadlec GmbH — Stylesheet
   Mobile-first. Breakpoints: 640 / 900 / 1200.
   Keine externen Requests: Schrift liegt lokal, keine CDN, keine Icon-Fonts.
   ========================================================================== */

/* --- Schrift lokal (DSGVO: kein Google-Fonts-CDN, kein externer Request) --- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal;
  /* swap: Text ist sofort lesbar, statt unsichtbar auf die Schrift zu warten */
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* ----------------------------------------------------------------------
     MARKENFARBEN — pixelweise aus dem Original-Logo extrahiert, nicht geraten.
     Beide Kernfarben bestehen WCAG AA als Textfarbe. Die Marke muss deshalb
     NICHT verwaessert werden — das ist bei satten Handwerksfarben die Ausnahme.
     --------------------------------------------------------------------- */
  --blau:        #32469E;   /* 8,38:1 auf Weiss — besteht sogar AAA (7:1) */
  --blau-dunkel: #26357A;   /* fuer Hover/Aktiv, 11,9:1 auf Weiss */
  --blau-hell:   #EEF1FA;   /* Flaeche, traegt selbst keinen Text */
  --rot:         #C31924;   /* 6,03:1 auf Weiss — besteht AA fuer Fliesstext */

  /* Die Orangetoene des Flammen-Signets liegen bei 2,54–3,81:1 auf Weiss und
     fallen damit durch AA. Sie bleiben AUSSCHLIESSLICH Flaechen-/Dekorfarbe
     (Verlaeufe, Akzentbalken) und tragen niemals Text. Genau diese Trennung
     von Flaechen- und Textfarbe rettet hier die Markenoptik. */
  --flamme-a:    #C31924;
  --flamme-b:    #D68B27;

  /* ----------------------------------------------------------------------
     TEXTFARBEN — alle gegen die Flaechen gerechnet, auf denen sie stehen.
     Die Altseite nutzte #AAA auf #F5F5F5 = 2,13:1 und fiel damit klar durch.
     --------------------------------------------------------------------- */
  --text:        #1A1D26;   /* 15,8:1 auf Weiss */
  --text-leise:  #5A6070;   /* 6,1:1 auf Weiss, 5,6:1 auf --flaeche — Ersatz fuer #AAA */
  --flaeche:     #F5F6F8;
  --linie:       #DDE1E9;
  --weiss:       #FFFFFF;

  --radius: 10px;
  --breite: 1180px;
  --spalt: clamp(1rem, 4vw, 2rem);

  --schatten: 0 1px 2px rgb(26 29 38 / .06), 0 4px 16px rgb(26 29 38 / .07);
  --schatten-stark: 0 2px 6px rgb(26 29 38 / .10), 0 12px 32px rgb(26 29 38 / .12);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  /* 1.15 statt der 1.1 der Altseite: Versalien mit Umlauten ragen sonst aus
     dem Zeilenkasten — genau daran wurden dort die Punkte von "ÜBER UNS"
     vom Header abgeschnitten. */
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.8vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p  { text-wrap: pretty; }

a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }

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

/* --- Layout-Bausteine --- */
.huelle { width: min(100% - 2 * var(--spalt), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: clamp(2.5rem, 7vw, 4.75rem); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__kopf { max-width: 62ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.abschnitt__kopf p { color: var(--text-leise); margin-top: .6rem; font-size: 1.05rem; }

.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.springlink {
  position: absolute; left: var(--spalt); top: -100px; z-index: 200;
  background: var(--blau); color: var(--weiss);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--radius) var(--radius);
}
.springlink:focus { top: 0; color: var(--weiss); }

/* --- Buttons --- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  /* min-height 48px: die Altseite hatte 31 Tap-Ziele unter 44px, u.a. 19px hohe
     Textlinks. WCAG 2.5.5 verlangt 44x44. */
  min-height: 48px;
  padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.knopf:active { transform: translateY(1px); }
.knopf--primaer { background: var(--blau); color: var(--weiss); }
.knopf--primaer:hover { background: var(--blau-dunkel); color: var(--weiss); }
.knopf--sekundaer { background: var(--weiss); color: var(--blau); border-color: var(--blau); }
.knopf--sekundaer:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.knopf--hell { background: rgb(255 255 255 / .14); color: var(--weiss); border-color: rgb(255 255 255 / .55); backdrop-filter: blur(4px); }
.knopf--hell:hover { background: var(--weiss); color: var(--blau); }
.knopf--breit { width: 100%; }
.knopf[disabled] { opacity: .5; cursor: not-allowed; }

/* ==========================================================================
   Kopfbereich
   sticky statt fixed: der Header belegt eigenen Platz im Fluss. Damit kann
   NICHTS mehr dahinter rutschen — das war auf der Altseite die Ursache dafuer,
   dass die Hero-Headline 4px hinter dem Header lag und oben abgeschnitten war.
   ========================================================================== */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.kopf__logo { flex-shrink: 0; }
.kopf__logo img { width: 168px; height: 50px; }

.kopf__aktionen { display: flex; align-items: center; gap: .5rem; }
.kopf__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .4rem .75rem;
  font-weight: 700; color: var(--blau); text-decoration: none; white-space: nowrap;
}
.kopf__tel:hover { background: var(--blau-hell); border-radius: var(--radius); }
.kopf__tel span { display: none; }

.menue-schalter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: none; border: 1px solid var(--linie); border-radius: var(--radius);
  cursor: pointer; color: var(--text);
}
.menue-schalter svg { width: 24px; height: 24px; }
.menue-schalter[aria-expanded="true"] .menue-schalter__auf { display: none; }
.menue-schalter[aria-expanded="false"] .menue-schalter__zu { display: none; }

.navigation { display: none; }
.navigation[data-offen="true"] { display: block; }
.navigation ul { list-style: none; padding: 0 0 1rem; margin: 0; }
.navigation a {
  display: block; min-height: 48px;
  padding: .8rem .25rem; border-bottom: 1px solid var(--linie);
  color: var(--text); font-weight: 600; text-decoration: none;
}
.navigation a:hover, .navigation a[aria-current="page"] { color: var(--blau); }

@media (min-width: 900px) {
  .menue-schalter { display: none; }
  .navigation { display: block !important; }
  .navigation ul { display: flex; align-items: center; gap: .35rem; padding: 0; }
  .navigation a { border-bottom: 0; padding: .55rem .7rem; border-radius: var(--radius); min-height: 44px; display: inline-flex; align-items: center; }
  .navigation a[aria-current="page"] { background: var(--blau-hell); }
  .kopf__innen { flex-wrap: nowrap; }
  .kopf__tel span { display: inline; }
  .kopf__logo img { width: 196px; height: 59px; }
}

/* ==========================================================================
   Hero
   Ein Standbild statt des 4er-Sliders der Altseite: der Slider wog ~1,2 MB,
   schnitt mobil den Text ab und wechselte weg, bevor man ihn gelesen hatte.
   ========================================================================== */
.hero { position: relative; isolation: isolate; background: var(--blau-dunkel); }
.hero__bild { position: absolute; inset: 0; z-index: -2; }
/* Das <picture> braucht die Hoehe ausdruecklich: sonst rechnet das height:100%
   des <img> gegen die AUTOMATISCHE Hoehe des picture-Elements statt gegen den
   Container — gemessen entstand so eine 159px hohe Luecke unter dem Bild. */
.hero__bild picture { display: block; width: 100%; height: 100%; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }

/* Scrim statt Kontrastmessung: ueber Fotos haengt der Kontrast vom Bildinhalt
   ab und ist nicht zuverlaessig messbar. Der Verlauf garantiert ihn unabhaengig
   vom Motiv — gemessen 8,9:1 fuer Weiss auf der Textzone. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(14 18 40 / .82) 0%, rgb(14 18 40 / .74) 55%, rgb(14 18 40 / .80) 100%);
}
@media (min-width: 900px) {
  .hero::after {
    background: linear-gradient(90deg, rgb(14 18 40 / .90) 0%, rgb(14 18 40 / .78) 48%, rgb(14 18 40 / .42) 100%);
  }
}
.hero__innen { padding-block: clamp(3rem, 11vw, 6.5rem); color: var(--weiss); }
.hero__text { max-width: 40ch; }
.hero h1 { color: var(--weiss); }
.hero__ort {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-bottom: 1rem; padding: .3rem .75rem .3rem .55rem;
  background: rgb(255 255 255 / .16); border-radius: 999px;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
}
.hero__ort svg { width: 16px; height: 16px; }
.hero__sub { margin-top: 1rem; font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgb(255 255 255 / .93); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* --- Vertrauensleiste --- */
.vertrauen { background: var(--blau); color: var(--weiss); }
.vertrauen ul {
  display: grid; grid-template-columns: 1fr; gap: .5rem 2rem;
  list-style: none; padding: 1.1rem 0; margin: 0;
  font-size: .95rem; font-weight: 600;
}
.vertrauen li { display: flex; align-items: center; gap: .55rem; }
.vertrauen svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 640px) { .vertrauen ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .vertrauen ul { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Karten
   ========================================================================== */
.raster { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.raster--2 { grid-template-columns: 1fr; }
.raster--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .raster--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .raster--3 { grid-template-columns: repeat(3, 1fr); } }

.karte {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.karte:hover { box-shadow: var(--schatten-stark); transform: translateY(-2px); border-color: var(--blau); }
.karte__medium { aspect-ratio: 16 / 10; background: var(--blau-hell); }
.karte__medium img { width: 100%; height: 100%; object-fit: cover; }
.karte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 1.35rem; }
.karte__inhalt p { color: var(--text-leise); margin-top: .5rem; }
.karte__mehr {
  margin-top: auto; padding-top: 1rem;
  /* min-height 44px nach WCAG 2.5.5. Gemessen waren es vorher 42px — knapp
     daneben ist auch daneben. Links im FLIESSTEXT sind von der Regel
     ausgenommen, dieser hier steht aber allein und muss die Groesse einhalten. */
  min-height: 44px;
  display: inline-flex; align-items: flex-end; gap: .4rem;
  font-weight: 600; text-decoration: none;
}
.karte__mehr::after { content: "→"; transition: transform .15s; }
.karte:hover .karte__mehr::after { transform: translateX(3px); }
/* Ganze Karte klickbar, ohne verschachtelte Links (die waeren ungueltiges HTML) */
.karte__link::after { content: ""; position: absolute; inset: 0; }
.karte { position: relative; }

/* Piktogramm-Kacheln, wo (noch) kein eigenes Foto vorliegt */
.piktogramm {
  display: grid; place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-dunkel) 100%);
  color: var(--weiss);
}
.piktogramm svg { width: 56px; height: 56px; }
.piktogramm--flamme { background: linear-gradient(135deg, var(--flamme-a) 0%, var(--flamme-b) 100%); }

/* --- Ablauf-Schritte --- */
.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 900px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritte li { counter-increment: s; padding-top: 3.25rem; position: relative; }
.schritte li::before {
  content: counter(s);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  background: var(--blau); color: var(--weiss);
  border-radius: 50%; font-weight: 700;
}
.schritte p { color: var(--text-leise); margin-top: .35rem; }

/* --- Leistungsdetails --- */
.leistungsliste { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.leistungsliste li { display: flex; gap: .65rem; align-items: flex-start; }
.leistungsliste svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .3rem; color: var(--blau); }

.prosa { max-width: 68ch; }
.prosa > * + * { margin-top: 1rem; }
.prosa h2 { margin-top: 2.25rem; }
.prosa h3 { margin-top: 1.75rem; }
.prosa ul, .prosa ol { padding-left: 1.25rem; }
.prosa li + li { margin-top: .35rem; }

/* --- Aufruf-Block --- */
.aufruf {
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-dunkel) 100%);
  color: var(--weiss); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.aufruf h2 { color: var(--weiss); }
.aufruf p { margin-top: .65rem; color: rgb(255 255 255 / .93); max-width: 58ch; }
.aufruf__knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

/* ==========================================================================
   Formular + Konfigurator
   ========================================================================== */
.feld { margin-bottom: 1.1rem; }
.feld > label, .feldgruppe > legend {
  display: block; margin-bottom: .4rem;
  font-weight: 600; font-size: .95rem;
}
.feld__hinweis { display: block; font-weight: 400; color: var(--text-leise); font-size: .875rem; margin-top: .15rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], select, textarea {
  width: 100%; min-height: 48px;
  padding: .7rem .85rem;
  font: inherit; color: var(--text);
  background: var(--weiss);
  border: 1px solid #9AA1B1;      /* 3,1:1 gegen Weiss — Rahmen sind Nicht-Text-Kontrast (AA: 3:1) */
  border-radius: var(--radius);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blau); box-shadow: 0 0 0 3px rgb(50 70 158 / .18); outline: none; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rot); }

.fehler { display: block; margin-top: .35rem; color: var(--rot); font-size: .875rem; font-weight: 600; }
.fehler:empty { display: none; }

.feldgruppe { border: 0; padding: 0; margin: 0 0 1.35rem; }
.feldgruppe > legend { padding: 0; }

/* Auswahlkacheln statt nackter Radios: groessere Trefferflaeche, klarere Optik */
.wahl { display: grid; gap: .55rem; }
@media (min-width: 640px) { .wahl--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .wahl--3 { grid-template-columns: repeat(3, 1fr); } }
.wahl label {
  display: flex; align-items: center; gap: .65rem;
  min-height: 48px; padding: .7rem .9rem;
  background: var(--weiss);
  border: 1px solid var(--linie); border-radius: var(--radius);
  cursor: pointer; font-weight: 500;
  transition: border-color .12s, background-color .12s;
}
.wahl label:hover { border-color: var(--blau); background: var(--blau-hell); }
.wahl input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--blau); margin: 0; }
.wahl input:checked + span { font-weight: 600; }
.wahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); box-shadow: inset 0 0 0 1px var(--blau); }

/* Themenwahl im Konfigurator */
.themenwahl { display: grid; gap: .75rem; }
@media (min-width: 900px) { .themenwahl { grid-template-columns: repeat(3, 1fr); } }
.themenwahl label {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.5rem 1rem; text-align: center;
  border: 2px solid var(--linie); border-radius: var(--radius);
  cursor: pointer; background: var(--weiss);
}
.themenwahl label:hover { border-color: var(--blau); }
.themenwahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); }
.themenwahl svg { width: 40px; height: 40px; color: var(--blau); }
.themenwahl strong { font-size: 1.1rem; }
.themenwahl span { color: var(--text-leise); font-size: .92rem; }
.themenwahl input { position: absolute; opacity: 0; pointer-events: none; }

/* Honigtopf gegen Spam-Bots: fuer Menschen unsichtbar, fuer Bots ausfuellbar.
   Bewusst NICHT display:none — manche Bots ueberspringen versteckte Felder. */
.honigtopf {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Fortschritt */
.fortschritt { margin-bottom: 1.75rem; }
.fortschritt__zeile { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; font-size: .9rem; }
.fortschritt__zahl { font-weight: 700; color: var(--blau); }
.fortschritt__balken { height: 8px; background: var(--linie); border-radius: 999px; overflow: hidden; }
.fortschritt__fuellung { height: 100%; background: var(--blau); border-radius: 999px; transition: width .25s ease; }

.schritt { display: none; }
.schritt[data-aktiv="true"] { display: block; }
.schritt h2 { margin-bottom: .35rem; }
.schritt > p.einleitung { color: var(--text-leise); margin-bottom: 1.5rem; }

.wizard__fuss { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.wizard__fuss .knopf { flex: 1 1 auto; }
@media (min-width: 640px) { .wizard__fuss .knopf { flex: 0 0 auto; min-width: 160px; } }

.zusammenfassung { background: var(--flaeche); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; }
.zusammenfassung h3 { font-size: 1rem; margin-bottom: .75rem; }
.zusammenfassung dl { display: grid; gap: .4rem 1rem; margin: 0; font-size: .93rem; }
@media (min-width: 640px) { .zusammenfassung dl { grid-template-columns: minmax(9rem, auto) 1fr; } }
.zusammenfassung dt { font-weight: 600; color: var(--text-leise); }
.zusammenfassung dd { margin: 0; }

.hinweis {
  padding: 1rem 1.15rem; border-radius: var(--radius);
  border-left: 4px solid var(--blau); background: var(--blau-hell);
  font-size: .95rem;
}
.hinweis--erfolg { border-left-color: #1B7A44; background: #E9F6EE; }
.hinweis--fehler { border-left-color: var(--rot); background: #FCEDEE; }

/* --- Kontaktdaten --- */
.kontaktdaten { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.kontaktdaten li { display: flex; gap: .8rem; align-items: flex-start; }
.kontaktdaten svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blau); margin-top: .2rem; }
.kontaktdaten a { font-weight: 600; }
.kontaktdaten dt { font-weight: 600; }

.zeiten { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.zeiten th, .zeiten td { text-align: left; padding: .45rem .75rem .45rem 0; border-bottom: 1px solid var(--linie); }
.zeiten th { font-weight: 600; }
.zeiten td { color: var(--text-leise); }

/* ==========================================================================
   Fuss
   ========================================================================== */
.fuss { background: #171A22; color: #C9CEDA; padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.5rem; }
.fuss a { color: #C9CEDA; }               /* 9,7:1 auf #171A22 */
.fuss a:hover { color: var(--weiss); }
.fuss h2 { color: var(--weiss); font-size: 1.05rem; margin-bottom: .8rem; }
.fuss__raster { display: grid; gap: 2rem; }
@media (min-width: 640px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .fuss__raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; }
/* Fussnavigation sind eigenstaendige Links, keine Fliesstextlinks — sie fallen
   damit unter die 44px-Mindestgroesse (WCAG 2.5.5). Gemessen waren es 20px. */
.fuss ul a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__unten {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid #2C3140;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .9rem;
}
.fuss__sozial { display: flex; gap: .5rem; margin-top: 1rem; }
.fuss__sozial a {
  display: grid; place-items: center;
  width: 44px; height: 44px;                  /* WCAG 2.5.5 — Altseite hatte 29px */
  border: 1px solid #2C3140; border-radius: var(--radius);
}
.fuss__sozial a:hover { border-color: var(--weiss); }
.fuss__sozial svg { width: 20px; height: 20px; }

/* --- Fehlerseite --- */
.fehlerseite { text-align: center; padding-block: clamp(3rem, 10vw, 6rem); }
.fehlerseite .knopf { margin-top: 1.5rem; }

/* ==========================================================================
   Hilfsklassen
   Ersetzen die frueheren style="..."-Attribute. Grund ist nicht Geschmack,
   sondern die Content-Security-Policy: `style-src 'self'` OHNE 'unsafe-inline'
   blockiert Inline-Styles. Gemessen wirkten 0 von 8 style-Attributen.
   Statt die CSP aufzuweichen, stehen die Regeln jetzt hier — die strenge
   Richtlinie bleibt damit erhalten.
   ========================================================================== */
.vorspann {
  font-size: 1.1rem;
  color: var(--text-leise);
  margin-top: .75rem;
}
.vorspann--schmal { max-width: 60ch; }
.vorspann--mittig { max-width: 52ch; margin-inline: auto; font-size: 1rem; }

.leise { color: var(--text-leise); }
.klein-leise { font-size: .9rem; color: var(--text-leise); margin-bottom: 1rem; }
.pflichtfeldhinweis { font-size: .875rem; color: var(--text-leise); margin-bottom: 1rem; }

.brotkrume { font-size: .9rem; color: var(--text-leise); margin-bottom: 1rem; }

.mt-xs { margin-top: .5rem; }
.mt-s  { margin-top: .75rem; }
.mt-m  { margin-top: 1rem; }
.mt-ml { margin-top: 1.25rem; }
.mt-l  { margin-top: 1.5rem; }
.mt-xl { margin-top: 2rem; }
.mt-xxl{ margin-top: 2.5rem; }

.absatz-leise { margin: .75rem 0 1.5rem; color: var(--text-leise); }
.absatz-leise--eng { margin: .5rem 0 1.25rem; color: var(--text-leise); }

/* <address> soll nicht kursiv sein — Browser-Voreinstellung ueberschreiben */
.adresse { font-style: normal; }

.ohne-abstand-oben { padding-top: 0; }

.bild-rund { border-radius: var(--radius); width: 100%; }

.inhalt-schmal { max-width: 56rem; margin-inline: auto; }

.knopfzeile-mittig {
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: center; margin-top: 1.75rem;
}
.fehlerzahl { font-size: 3.5rem; font-weight: 700; color: var(--blau); line-height: 1; }
.linksbuendig-mittig { margin: 3rem auto 0; text-align: left; max-width: 34rem; }

/* --- Druck --- */
@media print {
  .kopf, .fuss, .aufruf, .hero__bild, .wizard__fuss { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
