/* ==========================================================================
   Konstrukt+ Design-System
   Farben, Schriften und Bausteine für alle Seiten
   ========================================================================== */

/* Schriften, lokal gehostet (keine externen Server) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --blau: #2f4b93;
  --blau-leuchtend: #7f9be0;
  --blau-hell: #3d5cab;
  --tinte: #151a2c;
  --hell: #f4f5f7;
  --hell-dunkel: #e6e8ee;
  --linie: #d9dce3;
  --weiss: #ffffff;
  --text-leise: #545b69;

  /* Schrift */
  --font-kopf: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-text: "Source Sans 3", "Segoe UI", sans-serif;

  /* Maße */
  --breite: 1160px;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --schatten: 0 1px 2px rgba(21, 26, 44, .06), 0 8px 24px rgba(21, 26, 44, .07);
}

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

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

body {
  margin: 0;
  background: var(--hell);
  color: var(--tinte);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blau); text-underline-offset: .18em; }
a:hover { color: var(--blau-hell); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-kopf);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--tinte); color: var(--weiss); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.section { padding: var(--abstand) 0; }
.section--weiss { background: var(--weiss); }
.section--dunkel { background: var(--tinte); color: var(--hell); }
.section--dunkel h2, .section--dunkel h3 { color: var(--weiss); }

/* kleine Überzeile über Überschriften */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: var(--blau); }
.section--dunkel .kicker { color: var(--blau-leuchtend); }
.section--dunkel .kicker::before { background: var(--blau-leuchtend); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--text-leise); max-width: 38em; }
.section--dunkel .lead { color: #c9cfdd; }
.kopf-block { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.2rem; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1.05rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--haupt { background: var(--blau); color: var(--weiss); box-shadow: 0 6px 18px rgba(47, 75, 147, .28); }
.btn--haupt:hover { background: var(--blau-hell); color: var(--weiss); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 75, 147, .34); }
.btn--rand { border-color: var(--linie); color: var(--tinte); background: transparent; }
.btn--rand:hover { border-color: var(--blau); color: var(--blau); }
.section--dunkel .btn--rand { border-color: rgba(244, 245, 247, .35); color: var(--hell); }
.section--dunkel .btn--rand:hover { border-color: var(--hell); color: var(--weiss); }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 247, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.header.ist-gescrollt { border-bottom-color: var(--linie); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4.75rem; }
.logo { display: inline-flex; text-decoration: none; line-height: 0; }
.logo img { height: 60px; width: auto; transition: opacity .2s ease; }
.logo:hover img { opacity: .8; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__liste { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  position: relative; text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 1rem; padding: .4rem 0;
}
.nav__liste a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blau); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__liste a:hover::after, .nav__liste a[aria-current="page"]::after { transform: scaleX(1); }
.nav__liste a:hover { color: var(--blau); }
.header .btn { min-height: 2.75rem; padding: .55rem 1.2rem; font-size: .98rem; }

.menu-knopf {
  display: none; width: 3rem; height: 3rem; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 10px; color: var(--tinte);
}
.menu-knopf span, .menu-knopf span::before, .menu-knopf span::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s ease, background-color .25s ease;
}
.menu-knopf span::before, .menu-knopf span::after { content: ""; position: absolute; left: 0; }
.menu-knopf span::before { top: -7px; }
.menu-knopf span::after { top: 7px; }
.menu-offen .menu-knopf span { background: transparent; }
.menu-offen .menu-knopf span::before { transform: translateY(7px) rotate(45deg); }
.menu-offen .menu-knopf span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Startseite: Kopfbereich ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--abstand); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--blau); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em;
  background: var(--blau); opacity: .55; border-radius: 2px; z-index: -1;
}
.hero .lead { margin-bottom: 2rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__bild { position: relative; }
.hero__bild img { width: 100%; aspect-ratio: 4 / 5; max-height: min(72vh, 640px); object-fit: cover; border-radius: var(--radius); }
.hero__siegel {
  position: absolute; left: -1.5rem; bottom: 2rem;
  background: var(--weiss); border-radius: 12px; padding: .9rem 1.1rem; box-shadow: var(--schatten);
  display: flex; align-items: center; gap: .8rem; font-size: .95rem; line-height: 1.3;
}
.hero__siegel strong { display: block; font: 800 1.35rem/1 var(--font-kopf); }
.sterne { color: var(--blau); letter-spacing: .1em; font-size: 1rem; }

/* Vertrauensleiste */
.fakten { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss); }
.fakten__liste { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.fakten__liste li { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1rem; font-weight: 600; line-height: 1.3; }
.fakten__liste li + li { border-left: 1px solid var(--linie); }
.fakten__liste svg { width: 2rem; height: 2rem; color: var(--blau); flex: none; }

/* ---------- Vorteile ---------- */
.vorteile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.karte {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: transparent; }
.karte p:last-child { margin-bottom: 0; }
.karte p { color: var(--text-leise); }
.icon-kreis {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--hell);
  display: grid; place-items: center; color: var(--blau); margin-bottom: 1.2rem;
}
.icon-kreis svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); list-style: none; padding: 0; margin: 0; counter-reset: schritt; }
.schritte li { position: relative; padding-top: 4.2rem; }
.schritte li::before {
  counter-increment: schritt; content: "0" counter(schritt);
  position: absolute; top: 0; left: 0;
  font: 800 2.6rem/1 var(--font-kopf); color: var(--blau);
}
.schritte li::after {
  content: ""; position: absolute; top: 1.35rem; left: 4.2rem; right: -1.5rem; height: 1px;
  background: rgba(244, 245, 247, .25);
}
.schritte li:last-child::after { display: none; }
.schritte p { color: #c9cfdd; margin: 0; }

/* ---------- Leistungs-Karten (Startseite) ---------- */
.leistungen-kurz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.leistungen-kurz .karte { display: flex; flex-direction: column; }
.leistungen-kurz h3 { font-size: 1.15rem; }
.leistungen-kurz p { font-size: 1rem; }

.pfeil-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.pfeil-link svg { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.pfeil-link:hover svg { transform: translateX(4px); }

/* ---------- Kundenstimme ---------- */
.stimme { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; max-width: 60rem; }
.stimme__zeichen { font: 800 7rem/.8 var(--font-kopf); color: var(--blau); }
.stimme blockquote { margin: 0; }
.stimme blockquote p { font: 600 clamp(1.35rem, 2.6vw, 1.9rem)/1.35 var(--font-kopf); letter-spacing: -.01em; margin-bottom: 1.2rem; }
.stimme figcaption { color: var(--text-leise); display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }

/* ---------- Einsatzgebiet ---------- */
.gebiet { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.gebiet__karte { background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--linie); padding: 1rem; }
.orte { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.orte li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: .35rem .95rem; font-size: 1rem; }

/* ---------- Formular ---------- */
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.formular {
  background: var(--weiss); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: var(--schatten); color: var(--tinte);
}
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feld { margin-bottom: 1.1rem; }
.feld label, .feld legend { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.feld .hinweis { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--font-text); color: var(--tinte);
  background: var(--hell); border: 1px solid var(--linie); border-radius: 10px;
  padding: .8rem .9rem; min-height: 3.1rem; transition: border-color .2s ease, background-color .2s ease;
}
.feld textarea { min-height: 7.5rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); background: var(--weiss); box-shadow: 0 0 0 3px rgba(47, 75, 147, .15); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--text-leise); margin: .4rem 0 1.4rem; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--blau); flex: none; }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular .btn { width: 100%; }
.formular__status { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 10px; display: none; font-weight: 600; }
.formular__status.ok { display: block; background: #e4efe9; color: #1d5a45; }
.formular__status.fehler { display: block; background: #fbe9e1; color: #8a3a12; }

.direkt { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.direkt a { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; font-weight: 600; }
.direkt a:hover { color: var(--weiss); }
.section--weiss .direkt a:hover, .direkt--hell a:hover { color: var(--blau); }
.direkt .icon-kreis { margin: 0; width: 2.8rem; height: 2.8rem; flex: none; }
.section--dunkel .direkt .icon-kreis { background: rgba(244, 245, 247, .1); color: var(--hell); }
.direkt small { display: block; font-weight: 400; opacity: .75; font-size: .92rem; }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--linie); }
.seitenkopf .lead { margin-bottom: 0; }

.leistung {
  display: grid; grid-template-columns: 4rem 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 2.8rem) 0; border-top: 1px solid var(--linie); align-items: start;
}
.leistung:first-child { border-top: 0; padding-top: 0; }
.leistung .icon-kreis { background: var(--weiss); margin: 0; }
.leistung h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-bottom: .4em; }
.leistung__fuer { color: var(--text-leise); margin: 0; }
.leistung ul { margin: 0; padding-left: 1.1rem; }
.leistung li { margin-bottom: .35rem; }
.leistung li::marker { color: var(--blau); }

.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.bild-rund img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.bild-3-2 img { aspect-ratio: 3 / 2; }
.bild-16-9 img { aspect-ratio: 16 / 9; }

.haken-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.5rem; }
.haken-liste li { display: flex; gap: .65rem; align-items: flex-start; }
.haken-liste li::before {
  content: ""; width: 1.25rem; height: 1.25rem; margin-top: .22rem; flex: none; border-radius: 50%;
  background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.personen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.person h3 { margin-bottom: .2em; }
.person .rolle { color: var(--blau); font-weight: 600; font-size: .98rem; margin-bottom: .8rem; display: block; }

.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.info-tabelle { width: 100%; border-collapse: collapse; }
.info-tabelle th, .info-tabelle td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.info-tabelle th { font-weight: 600; width: 45%; padding-right: 1rem; }

/* Abschluss-Band */
.abschluss { text-align: center; }
.abschluss .lead { margin: 0 auto 2rem; }
.abschluss h2 { max-width: 20em; margin-left: auto; margin-right: auto; }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.2em; }
.rechtstext h3 { margin-top: 1.6em; }
.hinweis-box { background: #eaeef8; border-left: 4px solid var(--blau); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin-bottom: 2rem; }

/* ---------- Fußzeile ---------- */
.footer { background: #0e1220; color: #aeb4c2; padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: 1rem; }
.footer a { color: #e3e6ee; text-decoration: none; }
.footer a:hover { color: var(--blau); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer h2 { font: 600 .85rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--weiss); margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer .logo { margin-bottom: 1rem; }
.footer .logo img { height: 64px; }
.footer__unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem;
}

/* Handy-Leiste unten (nur mobil sichtbar) */
.handy-leiste { display: none; }

/* ---------- Sanftes Einblenden ---------- */
.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1020px) {
  .leistungen-kurz { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__liste { gap: 1.2rem; }
}

/* ==========================================================================
   Handy: eigener Design-Durchgang
   ========================================================================== */
@media (max-width: 860px) {
  body { font-size: 1.0625rem; padding-bottom: 4.6rem; }

  /* Menü klappt aus, Kopfzeilen-Knopf entfällt (dafür Leiste unten) */
  .menu-knopf { display: inline-flex; }
  .header__inner { height: 4rem; }
  .header .nav > .btn { display: none; }
  .nav__liste {
    position: fixed; inset: 4rem 0 auto 0; flex-direction: column; gap: 0;
    background: var(--hell); border-bottom: 1px solid var(--linie);
    padding: .5rem var(--rand) 1.25rem; box-shadow: 0 16px 30px rgba(21, 26, 44, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .menu-offen .nav__liste { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .nav__liste a { display: block; padding: .95rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--linie); }
  .nav__liste li:last-child a { border-bottom: 0; }
  .nav__liste a::after { display: none; }

  /* Kopfbereich: Bild wird flaches Band unter dem Text, Siegel rückt ins Bild */
  .hero { padding-top: 1.75rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 em { white-space: normal; }
  .hero__aktionen .btn { flex: 1 1 100%; }
  .hero__bild img { aspect-ratio: 16 / 10; }
  .hero__siegel { left: .75rem; bottom: .75rem; padding: .7rem .9rem; }

  /* Vertrauensleiste: untereinander, kompakt */
  .fakten__liste { grid-template-columns: 1fr; }
  .fakten__liste li { padding: .9rem 0; }
  .fakten__liste li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .fakten__liste svg { width: 1.6rem; height: 1.6rem; }

  .vorteile, .leistungen-kurz, .werte, .personen { grid-template-columns: 1fr; }
  /* Leistungs-Karten auf dem Handy ohne Beschreibungstext, nur Titel */
  .leistungen-kurz { gap: .6rem; }
  .leistungen-kurz .karte { flex-direction: row; align-items: center; gap: 1rem; padding: 1rem 1.1rem; }
  .leistungen-kurz .karte p { display: none; }
  .leistungen-kurz .icon-kreis { margin: 0; width: 2.6rem; height: 2.6rem; flex: none; }
  .leistungen-kurz h3 { margin: 0; }

  .schritte { grid-template-columns: 1fr; gap: 2rem; }
  .schritte li { padding: 0 0 0 4.2rem; }
  .schritte li::before { font-size: 2.1rem; }
  .schritte li::after { display: none; }

  .stimme { grid-template-columns: 1fr; gap: 0; }
  .stimme__zeichen { font-size: 4.5rem; }

  .gebiet, .kontakt-grid, .zwei-spalten { grid-template-columns: 1fr; }
  .gebiet__karte { order: 2; }
  .feld-reihe { grid-template-columns: 1fr; gap: 0; }

  .leistung { grid-template-columns: 1fr; gap: .9rem; }
  .leistung .icon-kreis { width: 2.8rem; height: 2.8rem; }
  .haken-liste { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__unten { flex-direction: column; }

  /* Feste Leiste unten: Hauptknopf plus Anrufen */
  .handy-leiste {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem var(--rand) calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(244, 245, 247, .96); border-top: 1px solid var(--linie);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .handy-leiste .btn { min-height: 3rem; }
  .handy-leiste .btn--haupt { flex: 1; }
  .handy-leiste .btn--rand { width: 3.2rem; padding: 0; background: var(--weiss); }
}

/* Sprungziele nicht unter der festen Kopfzeile verstecken */
[id] { scroll-margin-top: 5.5rem; }
.formular__titel { font-size: 1.45rem; margin-bottom: 1.2rem; }

/* Lange deutsche Wörter dürfen umbrechen, gut tippbare Textlinks */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.pfeil-link { min-height: 2.75rem; }
.logo { padding: .25rem 0; }
.info-tabelle a { display: inline-block; padding: .5rem 0; margin: -.5rem 0; }
.gebiet__karte { overflow: hidden; }

/* Logo-Farben: Anpassungen auf dunklem Grund */
.section--dunkel .schritte li::before { color: var(--blau-leuchtend); }
.section--dunkel .btn--haupt { background: var(--weiss); color: var(--blau); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.section--dunkel .btn--haupt:hover { background: var(--hell-dunkel); color: var(--blau); }
.section--dunkel .formular .btn--haupt { background: var(--blau); color: var(--weiss); box-shadow: 0 6px 18px rgba(47, 75, 147, .28); }
.section--dunkel .formular .btn--haupt:hover { background: var(--blau-hell); color: var(--weiss); }
.section--dunkel .direkt a:hover { color: var(--blau-leuchtend); }
.hero h1 em::after { opacity: .28; }
@media (max-width: 860px) { .logo img { height: 42px; } }

/* Echte Fotos: Bildausschnitt so wählen, dass Gesicht und Schaden sichtbar bleiben */
.hero__bild img { object-position: 50% 30%; }
@media (max-width: 860px) { .hero__bild img { aspect-ratio: 4 / 3; object-position: 50% 28%; } }
.bild-rund img, .hero__bild img { height: auto; }
.bild-16-9 img { object-position: 50% 45%; }

/* ---------- DGuSV-Siegel ---------- */
.siegel { width: 120px; height: auto; filter: drop-shadow(0 6px 14px rgba(21, 26, 44, .22)); transition: transform .4s ease; }
.siegel:hover { transform: rotate(-6deg) scale(1.03); }

/* als Stempel auf der Ecke eines Fotos */
.hero__bild, .bild-rund { position: relative; }
.siegel--stempel { position: absolute; top: -1.75rem; left: -1.75rem; z-index: 2; width: 128px; }

/* im Kopfbereich der Unterseiten */
.seitenkopf--siegel .wrap { position: relative; }
.seitenkopf--siegel .wrap > :not(.siegel) { max-width: calc(100% - 210px); }
.siegel--kopf { position: absolute; right: var(--rand); top: 50%; transform: translateY(-50%); width: 160px; }
.siegel--kopf:hover { transform: translateY(-50%) rotate(-6deg) scale(1.03); }

/* in der Fußzeile */
.footer__siegel { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; font-weight: 600; color: #e3e6ee; }
.footer__siegel .siegel { width: 84px; filter: none; }

@media (max-width: 860px) {
  .siegel--stempel { width: 84px; top: -.9rem; left: -.6rem; }
  .seitenkopf--siegel .wrap > :not(.siegel) { max-width: none; }
  .siegel--kopf { position: static; transform: none; float: right; width: 88px; margin: 0 0 .5rem 1rem; }
  .siegel--kopf:hover { transform: rotate(-6deg); }
}
/* Stempel nicht wie das Foto behandeln */
.hero__bild .siegel--stempel, .bild-rund .siegel--stempel {
  width: 128px; height: auto; aspect-ratio: auto; max-height: none; border-radius: 0; object-fit: contain;
}
@media (max-width: 860px) {
  .hero__bild .siegel--stempel, .bild-rund .siegel--stempel { width: 84px; }
}
.person__verband { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie); font-size: .98rem; color: var(--tinte); }
.person__verband img { width: 52px; height: auto; flex: none; }

/* ---------- Untermenü Leistungen ---------- */
.nav__gruppe { position: relative; }
.nav__zeile { display: flex; align-items: center; gap: .15rem; }
.nav__zeile a.ist-aktiv::after { transform: scaleX(1); }
.nav__auf {
  display: inline-grid; place-items: center; width: 1.7rem; height: 2.2rem; padding: 0;
  border: 0; background: transparent; color: var(--tinte); cursor: pointer; border-radius: 6px;
}
.nav__auf svg { width: 1rem; height: 1rem; transition: transform .25s ease; }
.nav__gruppe.offen .nav__auf svg { transform: rotate(180deg); }
.nav__unter {
  position: absolute; top: calc(100% + .7rem); left: -1rem; min-width: 250px; z-index: 60;
  list-style: none; margin: 0; padding: .5rem; background: var(--weiss);
  border: 1px solid var(--linie); border-radius: 12px; box-shadow: var(--schatten);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
}
.nav__unter::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.nav__gruppe:hover .nav__unter, .nav__gruppe:focus-within .nav__unter, .nav__gruppe.offen .nav__unter {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease;
}
.nav__liste .nav__unter a { display: block; padding: .55rem .8rem; border-radius: 8px; font-size: .98rem; }
.nav__liste .nav__unter a::after { display: none; }
.nav__liste .nav__unter a:hover, .nav__liste .nav__unter a[aria-current="page"] { background: var(--hell); color: var(--blau); }

/* ---------- Häufige Fragen ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq__grid .btn { margin-top: .5rem; }
.faq__eintrag { border-bottom: 1px solid var(--linie); }
.faq__eintrag:first-child { border-top: 1px solid var(--linie); }
.faq__eintrag summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: 1.15rem 0; font-weight: 600; font-size: 1.1rem; line-height: 1.4; transition: color .2s ease;
}
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary::after {
  content: "+"; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--hell); color: var(--blau); font: 600 1.3rem/1 var(--font-text); transition: transform .25s ease, background-color .2s ease;
}
.section:not(.section--weiss) .faq__eintrag summary::after { background: var(--weiss); }
.faq__eintrag[open] summary::after { transform: rotate(45deg); }
.faq__eintrag summary:hover { color: var(--blau); }
.faq__antwort { padding: 0 2.8rem 1.25rem 0; color: var(--text-leise); }
.faq__antwort p { margin: 0; }

/* ---------- Bausteine der Leistungsseiten ---------- */
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.schritt-nr { display: block; font: 800 2rem/1 var(--font-kopf); color: var(--blau); margin-bottom: 1rem; }
.punkte { margin: 0; padding-left: 1.1rem; }
.punkte li { margin-bottom: .45rem; }
.punkte li::marker { color: var(--blau); }
.orte--links li { padding: 0; transition: border-color .2s ease; }
.orte--links a { display: block; padding: .5rem 1rem; text-decoration: none; color: var(--tinte); font-weight: 600; }
.orte--links li:hover { border-color: var(--blau); }
.orte--links a:hover { color: var(--blau); }

/* Fußzeile mit Leistungsspalte */
.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer__abstand { margin-top: 1.8rem; }

@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__liste { max-height: calc(100vh - 4rem); overflow-y: auto; }
  .nav__zeile { justify-content: space-between; border-bottom: 1px solid var(--linie); }
  .nav__zeile a { flex: 1; border-bottom: 0 !important; }
  .nav__auf { width: 3rem; height: 3rem; }
  .nav__unter {
    position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: transparent; padding: .25rem 0 .5rem 1rem;
  }
  .nav__unter::before { display: none; }
  .nav__gruppe.offen .nav__unter { display: block; }
  .nav__liste .nav__unter a { padding: .7rem .8rem; font-size: 1.05rem; border-bottom: 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq__antwort { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
/* Ganze Karte klickbar */
.leistungen-kurz .karte { position: relative; }
.karte__link { color: inherit; text-decoration: none; }
.karte__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.karte__link:hover { color: var(--blau); }
.leistung .pfeil-link { margin-top: .6rem; }

/* ---------- Gut zu wissen (nummerierte Tipps) ---------- */
.wissen { list-style: none; margin: 0; padding: 0; counter-reset: tipp; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3.5rem; }
.wissen li { position: relative; padding-left: 3.6rem; counter-increment: tipp; }
.wissen li::before {
  content: counter(tipp); position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--weiss); border: 1px solid var(--linie); color: var(--blau);
  font: 800 1.1rem/1 var(--font-kopf); transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.section--weiss .wissen li::before { background: var(--hell); }
.wissen li:hover::before { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.wissen h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.wissen p { margin: 0; color: var(--text-leise); }
@media (max-width: 860px) {
  .wissen { grid-template-columns: 1fr; gap: 1.6rem; }
  .wissen li { padding-left: 3.2rem; }
  .wissen li::before { width: 2.2rem; height: 2.2rem; font-size: 1rem; }
}
.bild-4-5 img { aspect-ratio: 4 / 5; object-position: 50% 25%; max-height: 640px; }
/* Teamfoto 30 % kleiner anzeigen */
.bild-4-5 { width: 70%; justify-self: center; }
.bild-4-5 img { max-height: 448px; }
@media (max-width: 860px) { .bild-4-5 { margin: 0 auto; } }

/* ---------- Brotkrumen ---------- */
.brotkrumen { margin-bottom: 1.4rem; font-size: .92rem; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; }
.brotkrumen li { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-leise); }
.brotkrumen li + li::before { content: "›"; color: var(--linie); font-size: 1.1rem; line-height: 1; }
.brotkrumen a { color: var(--text-leise); text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem; }
.brotkrumen a:hover { color: var(--blau); text-decoration: underline; }
.brotkrumen svg { width: 1.05rem; height: 1.05rem; }
.brotkrumen [aria-current="page"] { color: var(--blau); font-weight: 600; }
.brotkrumen a { min-height: 2.75rem; min-width: 2.75rem; margin: -.4rem 0; }
.brotkrumen li:first-child a { justify-content: flex-start; }

/* ---------- Google-Bewertungen ---------- */
.bewertungen__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.bewertungen__kopf h2 { margin: 0; }
.bewertungen__summe { display: flex; flex-direction: column; gap: .2rem; color: var(--text-leise); }
.bewertungen__summe strong { color: var(--tinte); }
.sterne--gross { font-size: 1.5rem; letter-spacing: .12em; }
.bewertungen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
.bewertung {
  margin: 0; background: var(--hell); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bewertung:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: transparent; }
.bewertung blockquote { margin: 0; flex: 1; font-size: 1rem; line-height: 1.55; }
.bewertung blockquote p { margin: 0 0 .7rem; }
.bewertung blockquote p:last-child { margin-bottom: 0; }
.bewertung__fuss { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.bewertung__fuss strong { display: block; font-size: 1rem; }
.bewertung__fuss small { display: block; color: var(--text-leise); font-size: .88rem; }
.bewertung__initial {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--blau); color: var(--weiss); font: 800 1rem/1 var(--font-kopf);
}
.bewertungen__link { margin: 2rem 0 0; }
.bewertungen__link svg { width: 1rem; height: 1rem; }

/* einzelnes Zitat auf Leistungsseiten */
.zitat {
  margin: 2.5rem 0 0; padding: 1.5rem 1.75rem; border-left: 3px solid var(--blau);
  background: var(--hell); border-radius: 0 var(--radius) var(--radius) 0; max-width: 52rem;
}
.zitat blockquote { margin: .5rem 0 .75rem; }
.zitat blockquote p { margin: 0; font: 600 1.15rem/1.45 var(--font-kopf); letter-spacing: -.005em; }
.zitat figcaption { color: var(--text-leise); font-size: .95rem; }
.zitat figcaption strong { color: var(--tinte); }

@media (max-width: 1100px) { .bewertungen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  /* Handy: Karten seitlich durchwischen */
  .bewertungen {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem;
    margin: 0 calc(var(--rand) * -1); padding: .25rem var(--rand) 1rem; scrollbar-width: thin;
  }
  .bewertung { flex: 0 0 84%; scroll-snap-align: start; height: auto; }
  .bewertung:hover { transform: none; }
  .bewertungen__kopf { align-items: flex-start; }
  .bewertungen__link .btn { width: 100%; }
}
/* Bewertungen: zwei pro Reihe lesen sich besser */
@media (min-width: 861px) {
  .bewertungen { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
  .bewertung { padding: 1.75rem 2rem; }
  .bewertung blockquote { font-size: 1.05rem; }
}

/* Handy-Leiste mit drei Knöpfen: Text nie umbrechen */
@media (max-width: 860px) {
  .handy-leiste { gap: .5rem; }
  .handy-leiste .btn--haupt { white-space: nowrap; padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 360px) {
  .handy-leiste .btn--haupt { font-size: .98rem; padding-left: .75rem; padding-right: .75rem; }
  .handy-leiste .btn--rand { width: 3rem; }
}

/* ---------- Rechtstexte: Listen und lange Links ---------- */
.rechtstext ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1.2em; }
.rechtstext li { margin-bottom: .6em; }
.rechtstext a { overflow-wrap: anywhere; }

/* ---------- Danke-Seite ---------- */
.danke { max-width: 40rem; }
.danke h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.danke__schritte { padding-left: 1.3em; margin: 0; }
.danke__schritte li { margin-bottom: .8rem; padding-left: .3em; }
.danke__schritte li::marker { color: var(--blau); font-weight: 600; }
.danke__eilig { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: 14px; }
.danke__eilig h2 { margin-top: 0; }
.danke__eilig a { font-weight: 600; white-space: nowrap; }
.danke__zeiten { color: var(--text-leise); margin-bottom: 0; }
.danke__zurueck { margin-top: 2rem; }

/* ---------- WhatsApp-Knopf in Originalfarbe ---------- */
.handy-leiste .handy-leiste__whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.handy-leiste .handy-leiste__whatsapp:hover,
.handy-leiste .handy-leiste__whatsapp:focus-visible { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }
.handy-leiste .handy-leiste__whatsapp svg { stroke-width: 2.1; }

/* ---------- Zertifizierungen ---------- */
.nachweise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.nachweis { display: flex; flex-direction: column; }
.nachweis__bild { display: block; margin: -.25rem -.25rem 1.25rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--linie); background: var(--weiss); }
.nachweis__bild img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1132; object-fit: cover; transition: transform .4s ease; }
.nachweis__bild:hover img, .nachweis__bild:focus-visible img { transform: scale(1.03); }
.nachweis__art { margin: 0 0 .3rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); }
.nachweis h2 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 1rem; hyphens: auto; }
.nachweis__daten { margin: 0 0 1rem; font-size: .95rem; }
.nachweis__daten div { padding: .45rem 0; border-top: 1px solid var(--linie); }
.nachweis__daten dt { color: var(--text-leise); font-size: .85rem; }
.nachweis__daten dd { margin: 0; color: var(--tinte); }
.nachweis p { font-size: .98rem; }
.nachweis__link { margin-top: auto; font-weight: 600; }
.nachweis__link span { font-weight: 400; color: var(--text-leise); }
.person__nachweise { margin: .75rem 0 0; font-size: .98rem; font-weight: 600; }
@media (max-width: 960px) { .nachweise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .nachweise { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nachweis__bild img { transition: none; } }

/* ---------- Zertifikate: Vergrößern statt PDF ---------- */
button.nachweis__bild { width: calc(100% + .5rem); padding: 0; font: inherit; cursor: zoom-in; }
button.nachweis__link { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--blau); text-decoration: underline; text-underline-offset: .2em; cursor: zoom-in; }
button.nachweis__link:hover { color: var(--blau-hell); }
.nachweis img, .ansicht__bild { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ansicht { padding: 0; border: 0; border-radius: 12px; background: var(--weiss); max-width: min(800px, 94vw); max-height: 94vh; overflow: auto; box-shadow: 0 20px 60px rgba(21, 26, 44, .35); }
.ansicht::backdrop { background: rgba(21, 26, 44, .78); }
.ansicht__bild { display: block; width: 100%; height: auto; }
.ansicht__zu { position: sticky; top: .6rem; float: right; margin: .6rem .6rem -3.4rem 0; z-index: 1; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--tinte); color: var(--weiss); cursor: pointer; }
.ansicht__zu svg { width: 1.3rem; height: 1.3rem; }
.ansicht__zu:hover { background: var(--blau); }

/* ---------- Zertifikate: Handy-Ansicht ---------- */
.ansicht__tipp { display: none; }
@media (max-width: 620px) {
  .nachweise { gap: 1rem; }
  .nachweis { display: grid; grid-template-columns: 6.5rem 1fr; column-gap: 1rem; align-items: start; padding: 1rem; }
  .nachweis > * { grid-column: 1 / -1; }
  button.nachweis__bild { grid-column: 1; grid-row: 1 / span 2; width: 100%; margin: 0; border-radius: 6px; }
  .nachweis__art { grid-column: 2; grid-row: 1; margin: .1rem 0 .25rem; font-size: .78rem; }
  .nachweis h2 { grid-column: 2; grid-row: 2; font-size: 1.05rem; margin: 0; }
  .nachweis__daten { margin: 1rem 0 .75rem; font-size: .92rem; }
  .nachweis__daten div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .5rem; padding: .4rem 0; }
  .nachweis__daten dt { font-size: .85rem; }
  .nachweis p:not(.nachweis__art) { font-size: .93rem; margin-bottom: .75rem; }
  button.nachweis__link { min-height: 44px; }

  /* Vergrößerte Ansicht: ganzer Bildschirm, Tippen zoomt */
  .ansicht { max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; border-radius: 0; background: var(--tinte); }
  .ansicht__bild { cursor: zoom-in; }
  .ansicht.ist-gezoomt .ansicht__bild { width: 220%; max-width: none; cursor: zoom-out; }
  .ansicht__tipp { display: block; position: sticky; left: 0; bottom: 0; margin: 0; padding: .75rem 1rem; background: var(--tinte); color: var(--hell); font-size: .9rem; text-align: center; }
}
@media (max-width: 620px) {
  .ansicht__zu { position: fixed; top: .75rem; right: .75rem; float: none; margin: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
  .ansicht__tipp { position: fixed; left: 0; right: 0; bottom: 0; }
  .ansicht__bild { margin-bottom: 3rem; }
}
@media (max-width: 620px) {
  .nachweise { grid-template-columns: minmax(0, 1fr); }
  .nachweis { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .nachweis__daten div { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .nachweis h2, .nachweis__daten dd { overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 360px) {
  .nachweis { grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: .8rem; }
  .nachweis__daten div { grid-template-columns: 1fr; gap: 0; }
}
