/* Hager Umzüge – Gestaltung
   Aufbau: Schriften · Farben · Grundlagen · Kopf · Bausteine · Seiten · Fuß · Symbole */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-italic-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --blau: #024683;
  --blau-tief: #01325f;
  --blau-mittel: #2f6aa8;
  --blau-hell: #eaf1f8;
  --blau-linie: #c4d6ea;
  --ocker: #c8902e;
  --ocker-tief: #9c6c18;
  --ocker-hell: #f7eedd;
  --graphit: #161b21;
  --text: #3a4048;
  --gedaempft: #626870;
  --linie: #e2e0db;
  --linie-kalt: #d5d9de;
  --flaeche: #f6f5f1;
  --weiss: #fff;
  --fuss: #15202b;

  --kopf-h: 78px;
  --rand: clamp(20px, 4vw, 40px);
  --breite: 1240px;
  --r: 4px;
  --r-gross: 6px;
  --schatten: 0 1px 2px rgba(16, 24, 32, .05), 0 12px 32px -18px rgba(16, 24, 32, .28);
  --schatten-stark: 0 2px 4px rgba(16, 24, 32, .05), 0 22px 44px -22px rgba(16, 24, 32, .38);
  --abstand: clamp(64px, 8vw, 112px);
  --titel: "Schibsted Grotesk", "Segoe UI", Arial, sans-serif;
  --fliess: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --weich: cubic-bezier(.22, .61, .36, 1);
}

/* Grundlagen ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menue-offen { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blau-tief); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ocker); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--graphit);
  font-family: var(--titel);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.4vw, 3.25rem); font-weight: 700; letter-spacing: -.024em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.3vw, 2.35rem); }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
li, figcaption, blockquote, dd { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.27rem); line-height: 1.6; color: var(--text); text-wrap: balance; }
.klein { font-size: .9rem; color: var(--gedaempft); }
.ausgewogen { text-wrap: balance; }
strong { color: var(--graphit); font-weight: 600; }

.rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: var(--rand); top: -60px; z-index: 100; padding: 10px 16px; background: var(--blau); color: #fff; border-radius: var(--r); }
.sprung:focus { top: 10px; color: #fff; }
.platzhalter { background: #fff2b3; color: #5c4700; padding: 0 .25em; border-radius: 2px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sym { width: 22px; height: 22px; flex: none; }

/* Knöpfe und Links ------------------------------------------------------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--titel); font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--weich), border-color .2s var(--weich), color .2s var(--weich), transform .2s var(--weich), box-shadow .2s var(--weich);
}
.knopf .sym { width: 18px; height: 18px; transition: transform .2s var(--weich); }
.knopf:hover .sym:last-child { transform: translateX(3px); }
.knopf:active { transform: translateY(1px); }
.knopf--primaer { background: var(--blau); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 16px -10px rgba(2, 70, 131, .9); }
.knopf--primaer:hover { background: var(--blau-tief); color: #fff; }
.knopf--rand { border-color: var(--blau-linie); color: var(--blau); background: var(--weiss); }
.knopf--rand:hover { border-color: var(--blau); color: var(--blau-tief); background: var(--blau-hell); }
.knopf--leise { background: none; color: var(--gedaempft); padding-inline: 8px; }
.knopf--leise:hover { color: var(--graphit); }
.knopf--leise:hover .sym:first-child { transform: translateX(-3px); }
.knopf--hell { background: #fff; color: var(--blau); }
.knopf--hell:hover { background: var(--blau-hell); color: var(--blau-tief); }
.knopf--hell-rand { border-color: rgba(255, 255, 255, .45); color: #fff; }
.knopf--hell-rand:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.knopf--breit { width: 100%; }

.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--titel); font-weight: 600; text-decoration: none; color: var(--blau);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--weich), color .2s;
}
.textlink:hover { background-size: 100% 1px; }
.textlink .sym { width: 18px; height: 18px; transition: transform .2s var(--weich); }
.textlink:hover .sym { transform: translateX(3px); }
.textlink .g-logo { width: 18px; height: 18px; }

/* Kopf ------------------------------------------------------------------ */

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 8px 24px -20px rgba(16, 24, 32, .5); }
.kopf__zeile { display: flex; align-items: center; gap: 28px; height: var(--kopf-h); }
.kopf__logo { flex: none; display: block; }
.kopf__logo img { height: 50px; width: auto; }
.kopf__aktion { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.kopf__menue { display: none; }

.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__punkt { position: relative; }
.nav__zeile { display: flex; align-items: center; }
.nav__link {
  position: relative; display: block; padding: 10px 12px;
  color: var(--graphit); font-family: var(--titel); font-size: .99rem; font-weight: 500; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--blau); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--weich);
}
.nav__link:hover { color: var(--blau); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.ist-bereich::after { transform: scaleX(1); }
.nav__link[aria-current="page"], .nav__link.ist-bereich { color: var(--blau); }
.nav__punkt--mehr .nav__link { padding-right: 2px; }
.nav__auf {
  display: grid; place-items: center; width: 28px; height: 36px; margin-left: 0;
  border: 0; background: none; color: var(--gedaempft); cursor: pointer; border-radius: var(--r);
}
.nav__auf .sym { width: 16px; height: 16px; transition: transform .25s var(--weich); }
.nav__auf:hover { color: var(--blau); }
.ist-offen > .nav__zeile .nav__auf .sym { transform: rotate(180deg); }
.nav__mobil { display: none; }

.dd {
  position: absolute; top: calc(100% + 10px); left: -16px; z-index: 5;
  width: 580px; padding: 12px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten-stark);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--weich), transform .2s var(--weich), visibility 0s linear .2s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ist-offen > .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 0; list-style: none; }
.dd__liste a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r);
  color: var(--graphit); font-size: .95rem; line-height: 1.3; text-decoration: none; transition: background-color .15s, color .15s;
}
.dd__liste a .sym {
  width: 34px; height: 34px; padding: 7px; border-radius: var(--r); background: var(--blau-hell); color: var(--blau);
  transition: background-color .2s, color .2s;
}
.dd__liste a:hover, .dd__liste a[aria-current="page"] { background: var(--flaeche); color: var(--blau); }
.dd__liste a:hover .sym { background: var(--blau); color: #fff; }
.dd__alle {
  display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 12px 4px;
  border-top: 1px solid var(--linie); font-family: var(--titel); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.dd__alle .sym { width: 18px; height: 18px; transition: transform .2s; }
.dd__alle:hover .sym { transform: translateX(3px); }

@media (max-width: 1140px) {
  :root { --kopf-h: 68px; }
  .kopf__logo img { height: 40px; }
  .kopf__menue {
    display: grid; place-items: center; width: 46px; height: 46px; margin-left: 4px; margin-right: -10px;
    border: 0; background: none; color: var(--graphit); cursor: pointer; border-radius: var(--r);
  }
  .kopf__striche { position: relative; width: 22px; height: 14px; }
  .kopf__striche i {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px;
    transition: transform .3s var(--weich), opacity .2s, top .3s var(--weich);
  }
  .kopf__striche i:nth-child(1) { top: 0; }
  .kopf__striche i:nth-child(2) { top: 6px; }
  .kopf__striche i:nth-child(3) { top: 12px; }
  .kopf__menue[aria-expanded="true"] i:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .kopf__menue[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .kopf__menue[aria-expanded="true"] i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .kopf__aktion { margin-left: auto; }

  .nav {
    position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 49; margin: 0;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--rand) 32px; background: #fff; border-top: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--weich), transform .25s var(--weich), visibility 0s linear .25s;
  }
  .nav.ist-offen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__punkt { border-bottom: 1px solid var(--linie); }
  .nav__zeile { justify-content: space-between; }
  .nav__link { padding: 16px 0; font-size: 1.2rem; font-weight: 600; }
  .nav__link::after { display: none; }
  .nav__auf { width: 48px; height: 48px; margin-right: -12px; }
  .nav__auf .sym { width: 20px; height: 20px; }
  .dd {
    position: static; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .dd::before { display: none; }
  .ist-offen > .dd { display: block; }
  .dd__liste { grid-template-columns: 1fr; }
  .dd__liste a { padding: 9px 0; font-size: 1rem; }
  .dd__liste a:hover { background: none; }
  .dd__alle { border-top: 0; padding: 10px 0 4px; }
  .nav__mobil { display: grid; gap: 14px; margin-top: 28px; }
  .nav__kontakt { display: flex; align-items: center; gap: 12px; color: var(--graphit); text-decoration: none; }
  .nav__kontakt .sym, .nav__zeiten .sym { color: var(--blau); }
  .nav__zeiten { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gedaempft); }
}
@media (max-width: 560px) {
  .kopf__aktion { display: none; }
  .kopf__menue { margin-left: auto; }
}

/* Abschnitte ------------------------------------------------------------ */

.abschnitt { padding-block: var(--abstand); }
.abschnitt--eng { padding-block: clamp(48px, 6vw, 80px) var(--abstand); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--linie { border-top: 1px solid var(--linie); }
.abschnitt:not(.abschnitt--flaeche) + .abschnitt:not(.abschnitt--flaeche):not(.abschnitt--linie) { padding-top: 0; }
.abschnitt__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.abschnitt__kopf > div { max-width: 720px; }
.abschnitt__kopf h2 + p { margin: 16px 0 0; }
.abschnitt__kopf .textlink { flex: none; margin-bottom: 6px; }

/* Zwei Spalten mit gemeinsamer Ober- und Unterkante */
.geteilt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.geteilt--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.geteilt--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.geteilt--oben { align-items: start; }
.geteilt__text { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.geteilt__text > div > :last-child { margin-bottom: 0; }
.geteilt__text h2 + p, .geteilt__text h2 + .lead { margin-top: 18px; }
.geteilt__text--schmal { max-width: 460px; }
.geteilt__bild { position: relative; margin: 0; border-radius: var(--r-gross); overflow: hidden; background: var(--flaeche); }
.geteilt__bild::before { content: ""; display: block; padding-top: calc(100% * var(--h, 3) / var(--w, 4)); }
.geteilt__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.geteilt__bild figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: var(--r);
  background: rgba(255, 255, 255, .92); color: var(--graphit); font-size: .82rem; line-height: 1.3;
}
@media (max-width: 900px) {
  .geteilt, .geteilt--5-7, .geteilt--7-5 { grid-template-columns: minmax(0, 1fr); }
  .geteilt__text--schmal { max-width: none; }
  .geteilt--bild-zuerst .geteilt__bild { order: -1; }
}

/* Startseite: Kopf ------------------------------------------------------ */

.start-kopf {
  position: relative; isolation: isolate; overflow: hidden; display: flex;
  min-height: clamp(540px, calc(100vh - var(--kopf-h) - 120px), 720px);
  background: #142233; color: rgba(255, 255, 255, .86);
}
.start-kopf__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.start-kopf__schleier {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 20, 33, .88) 0%, rgba(9, 20, 33, .72) 45%, rgba(9, 20, 33, .42) 100%),
    linear-gradient(0deg, rgba(9, 20, 33, .55) 0%, rgba(9, 20, 33, 0) 45%);
}
.start-kopf__inhalt { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: clamp(56px, 9vh, 104px) 28px; }
.start-kopf__text { max-width: 640px; }
.start-kopf h1 { color: #fff; font-size: clamp(1.9rem, 1.25rem + 1.9vw, 2.75rem); }
.start-kopf .lead { margin: 20px 0 32px; color: rgba(255, 255, 255, .86); max-width: 580px; }
.start-kopf__fakten {
  display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; padding: 20px 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2); list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .9);
}
.start-kopf__fakten li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; white-space: nowrap; }
.start-kopf__fakten .sym { width: 18px; height: 18px; margin-top: 1px; color: var(--ocker); stroke-width: 2.2; }
.video-pause {
  position: absolute; right: max(var(--rand), calc((100% - var(--breite)) / 2)); bottom: 24px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(9, 20, 33, .35); color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.video-pause:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.video-pause svg { width: 14px; height: 14px; }
@media (max-width: 700px) {
  .start-kopf__schleier { background: linear-gradient(0deg, rgba(9, 20, 33, .9) 0%, rgba(9, 20, 33, .68) 100%); }
  .start-kopf__fakten li { white-space: normal; }
}
@media (max-width: 520px) {
  .start-kopf .aktionen .knopf { flex: 1 1 100%; }
}

/* Vertrauensband --------------------------------------------------------- */

.band-blau { background: var(--blau); color: #cfdcea; }
.vertrauen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: 0; padding: 36px 0; list-style: none; }
.vertrauen__punkt { display: flex; gap: 18px; align-items: center; }
.vertrauen__punkt .r3 {
  width: 64px; height: 64px; flex: none; padding: 6px; border-radius: var(--r-gross);
  background: #fff; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .55); transition: transform .35s var(--weich);
}
.vertrauen__punkt:hover .r3 { transform: translateY(-3px) rotate(-3deg); }
.vertrauen__punkt strong { display: block; font-family: var(--titel); font-size: 1.05rem; line-height: 1.25; margin-bottom: 3px; color: #fff; }
.vertrauen__punkt span { display: block; font-size: .9rem; line-height: 1.45; text-wrap: balance; }
@media (max-width: 1100px) { .vertrauen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vertrauen { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; } }

/* Karten ---------------------------------------------------------------- */

.kartenraster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.kartenraster > li { display: flex; }
@media (max-width: 1000px) { .kartenraster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kartenraster { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

.karte {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross);
  color: var(--text); text-decoration: none;
  transition: border-color .25s var(--weich), box-shadow .3s var(--weich), transform .3s var(--weich), background-color .25s;
}
a.karte:hover { color: var(--text); border-color: var(--linie-kalt); box-shadow: var(--schatten); transform: translateY(-3px); }
.karte--leistung { padding: 26px 26px 24px; background: var(--flaeche); border-color: transparent; }
a.karte--leistung:hover { background: #fff; border-color: var(--linie); }
.karte--leistung::before {
  content: ""; position: absolute; left: 26px; top: -1px; width: 36px; height: 3px; background: var(--ocker);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--weich);
}
a.karte--leistung:hover::before { transform: scaleX(1); }
.karte__symbol {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 26px;
  border: 1px solid var(--blau-linie); border-radius: 50%; color: var(--blau); background: #fff;
  transition: background-color .25s, color .25s, border-color .25s;
}
.karte__symbol .sym { width: 24px; height: 24px; }
a.karte:hover .karte__symbol { background: var(--blau); border-color: var(--blau); color: #fff; }
.karte__titel { display: block; margin: 0 0 10px; font-family: var(--titel); font-size: 1.2rem; font-weight: 650; line-height: 1.25; color: var(--graphit); letter-spacing: -.01em; text-wrap: balance; }
.karte__text { display: block; font-size: .97rem; line-height: 1.58; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; }
.karte--leistung .karte__text { margin-bottom: 22px; }
.karte__pfeil {
  display: grid; place-items: center; width: 40px; height: 40px; margin: auto 0 0 auto;
  border: 1px solid var(--linie-kalt); border-radius: var(--r); color: var(--blau);
  transition: background-color .25s, border-color .25s, color .25s;
}
.karte__pfeil .sym { width: 18px; height: 18px; transition: transform .25s var(--weich); }
a.karte:hover .karte__pfeil { background: var(--blau); border-color: var(--blau); color: #fff; }
a.karte:hover .karte__pfeil .sym { transform: translateX(2px); }
.karte__mehr {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px;
  font-family: var(--titel); font-size: .95rem; font-weight: 600; color: var(--blau);
}
.karte__mehr .sym { width: 18px; height: 18px; transition: transform .25s var(--weich); }
a.karte:hover .karte__mehr .sym { transform: translateX(4px); }
.karte--aktion, .karte--leistung.karte--aktion { background: var(--blau); border-color: var(--blau); color: #d7e3ef; }
.karte--aktion .karte__titel { color: #fff; margin-top: 4px; }
a.karte--aktion:hover { color: #d7e3ef; background: var(--blau-tief); border-color: var(--blau-tief); }
.karte--aktion .karte__pfeil { border-color: rgba(255, 255, 255, .35); color: #fff; }
a.karte--aktion:hover .karte__pfeil { background: #fff; color: var(--blau); border-color: #fff; }

.karte--beitrag { overflow: hidden; }
.karte__bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--flaeche); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--weich); }
a.karte--beitrag:hover .karte__bild img { transform: scale(1.03); }
.karte__inhalt { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.karte__meta { display: block; margin-bottom: 10px; font-size: .86rem; color: var(--gedaempft); }
.karte--beitrag .karte__titel { font-size: 1.15rem; }

/* Rechner --------------------------------------------------------------- */

.rechner-abschnitt .geteilt__text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.rechner-abschnitt .geteilt__text li { display: flex; gap: 12px; align-items: flex-start; }
.rechner-abschnitt .geteilt__text li .sym { color: var(--ocker); margin-top: 2px; stroke-width: 2; }
.rechner-abschnitt__hinweis { padding: 18px 20px; border-left: 3px solid var(--ocker); background: #fff; font-size: .93rem; color: var(--gedaempft); border-radius: 0 var(--r) var(--r) 0; }
.rechner-abschnitt__hinweis p { margin: 0; }

.rechner {
  display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten);
}
.rechner__leiste { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: s; }
.rechner__leiste li { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--gedaempft); line-height: 1.2; }
.rechner__leiste li::before { content: ""; height: 3px; border-radius: 2px; background: var(--linie); transition: background-color .3s; }
.rechner__leiste li span { display: none; }
.rechner__leiste li.ist-aktiv, .rechner__leiste li.ist-erledigt { color: var(--graphit); }
.rechner__leiste li.ist-aktiv::before { background: var(--blau); }
.rechner__leiste li.ist-erledigt::before { background: var(--blau-mittel); }
.rechner__form { display: flex; flex-direction: column; flex: 1; }
.rechner__schritt { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.rechner__schritt[hidden] { display: none; }
.rechner__frage { padding: 0; margin-bottom: 4px; font-family: var(--titel); font-size: 1.35rem; font-weight: 650; color: var(--graphit); line-height: 1.25; text-wrap: balance; }
.rechner__unterfrage { margin: 4px 0 -6px; font-family: var(--titel); font-weight: 600; color: var(--graphit); }
.rechner__hinweis { margin: -6px 0 0; font-size: .95rem; color: var(--gedaempft); text-wrap: balance; }
.rechner__paar, .formular__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.rechner__seite { display: grid; gap: 14px; align-content: start; padding: 18px; background: var(--flaeche); border-radius: var(--r); }
.rechner__seite .rechner__unterfrage { margin: 0; }
.rechner__steuerung { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.rechner__steuerung [data-weiter], .rechner__steuerung [data-absenden] { margin-left: auto; }
@media (max-width: 600px) {
  .rechner { min-height: 0; }
  .rechner__paar, .formular__paar { grid-template-columns: 1fr; }
  .rechner__leiste li { font-size: 0; gap: 0; }
}

.regler { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 16px; }
.regler label { font-family: var(--titel); font-weight: 600; color: var(--graphit); }
.regler output { font-family: var(--titel); font-weight: 650; font-size: 1.15rem; color: var(--blau); font-variant-numeric: tabular-nums; }
.regler input { grid-column: 1 / -1; }
input[type="range"] {
  --wert: 50%;
  width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--blau), var(--blau)) 0 / var(--wert) 100% no-repeat, var(--linie-kalt); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--linie-kalt); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--blau); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blau); box-shadow: 0 2px 6px rgba(2, 70, 131, .25); transition: transform .15s;
}
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blau); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kachel { position: relative; display: flex; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; pointer-events: none; }
.kachel > span {
  display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 14px 16px;
  border: 1px solid var(--linie-kalt); border-radius: var(--r); background: #fff; line-height: 1.35;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.kachel strong { font-family: var(--titel); font-size: .98rem; }
.kachel small { font-size: .85rem; color: var(--gedaempft); text-wrap: balance; }
.kachel:hover > span { border-color: var(--blau-linie); }
.kachel input:checked + span { border-color: var(--blau); background: var(--blau-hell); box-shadow: 0 0 0 1px var(--blau) inset; }
.kachel input:focus-visible + span { outline: 2px solid var(--ocker); outline-offset: 2px; }
.kachel--gross > span { padding: 20px; gap: 6px; }
.kachel--gross .sym { width: 26px; height: 26px; color: var(--blau); margin-bottom: 6px; }
@media (max-width: 600px) { .kacheln { grid-template-columns: 1fr; } }

.umschalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0; border: 0; }
.umschalter legend { float: left; padding: 0; font-size: .95rem; color: var(--graphit); }
.umschalter label { position: relative; cursor: pointer; }
.umschalter label:first-of-type { margin-left: auto; }
.umschalter input { position: absolute; opacity: 0; }
.umschalter span { display: block; min-width: 58px; padding: 7px 12px; border: 1px solid var(--linie-kalt); background: #fff; font-size: .92rem; text-align: center; transition: background-color .2s, color .2s; }
.umschalter label:first-of-type span { border-radius: var(--r) 0 0 var(--r); }
.umschalter label:last-of-type span { border-radius: 0 var(--r) var(--r) 0; margin-left: -1px; }
.umschalter input:checked + span { background: var(--blau); border-color: var(--blau); color: #fff; }
.umschalter input:focus-visible + span { outline: 2px solid var(--ocker); outline-offset: 2px; }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.extra {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; column-gap: 12px; padding: 12px 14px; border: 1px solid var(--linie-kalt); border-radius: var(--r);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.extra:hover { border-color: var(--blau-linie); }
.extra:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); }
.extra input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blau); }
.extras .extra:last-child:nth-child(odd) { grid-column: 1 / -1; }
.extra__text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.extra__text strong { font-family: var(--titel); font-size: .96rem; }
.extra__text small { font-size: .82rem; color: var(--gedaempft); }
.extra select { grid-column: 2; width: 100%; margin-top: 10px; padding: 6px 8px; font-size: .9rem; }
@media (max-width: 600px) { .extras { grid-template-columns: 1fr; } }

.rechner__ergebnis { display: flex; flex-direction: column; flex: 1; outline: none; }
.rechner__ergebnis[hidden] { display: none; }
.rechner__ergebnis-titel { margin: 0; font-family: var(--titel); font-weight: 600; color: var(--gedaempft); }
.rechner__preis { margin: 4px 0 2px; font-family: var(--titel); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 700; color: var(--blau); letter-spacing: -.02em; line-height: 1.05; }
.rechner__steuer { margin: 0 0 20px; font-size: .92rem; color: var(--gedaempft); }
.aufstellung { width: 100%; border-collapse: collapse; font-size: .95rem; }
.aufstellung td { padding: 9px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.aufstellung td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; }
.rechner__weiter { margin: 20px 0; padding: 16px 18px; background: var(--flaeche); border-radius: var(--r); font-size: .95rem; }
.rechner__weiter strong { display: block; margin-bottom: 4px; }
.rechner__ergebnis [data-neu] { align-self: flex-start; margin-top: auto; }

/* Formulare ------------------------------------------------------------- */

.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 7px; }
.feld > span { font-family: var(--titel); font-size: .92rem; font-weight: 600; color: var(--graphit); }
.feld input, .feld select, .feld textarea, .rechner select, .extra select {
  width: 100%; padding: 12px 14px; background: #fff; border: 1px solid var(--linie-kalt); border-radius: var(--r);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.feld select, .rechner select, .extra select {
  -webkit-appearance: none; appearance: none; padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369707a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") right 10px center / 18px no-repeat;
}
.extra select { padding: 6px 30px 6px 10px; background-position: right 6px center; }
.feld textarea { resize: vertical; min-height: 120px; }
.feld input:focus, .feld select:focus, .feld textarea:focus, .rechner select:focus {
  outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(2, 70, 131, .14);
}
.feld input::placeholder, .feld textarea::placeholder { color: #9aa0a8; }
.feld.ist-fehler input, .feld.ist-fehler select { border-color: #b4352a; box-shadow: 0 0 0 3px rgba(180, 53, 42, .12); }
.haken { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.45; cursor: pointer; }
.haken input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--blau); }
.haken--klein { font-size: .88rem; color: var(--gedaempft); }
.haken--mittig { align-self: end; padding-bottom: 12px; }
.haken.ist-fehler { color: #b4352a; }
.formular__fehler { margin: 0; padding: 12px 14px; background: #fbeceb; color: #8e2a21; border-radius: var(--r); font-size: .93rem; }
.formular > .knopf { justify-self: start; }
.formular-erfolg { padding: 28px; background: var(--blau-hell); border-radius: var(--r-gross); }
.formular-erfolg h3 { margin-bottom: 8px; }
.formular-erfolg p:last-child { margin: 0; }

/* Terminplaner ------------------------------------------------------------ */

.terminplaner { gap: 0; }
.terminplaner__block { margin: 0; padding: 0 0 36px; border: 0; min-width: 0; display: grid; gap: 18px; }
.terminplaner__block + .terminplaner__block { padding-top: 36px; border-top: 1px solid var(--linie); }
.terminplaner__block:last-child { padding-bottom: 0; }
.terminplaner__frage { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: 4px; font-family: var(--titel); font-size: 1.3rem; font-weight: 650; color: var(--graphit); }
.terminplaner__frage span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blau); color: #fff; font-size: .95rem; }
.terminplaner__unterfrage { margin: 6px 0 -6px; font-family: var(--titel); font-weight: 600; color: var(--graphit); }
.kacheln--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .kacheln--drei { grid-template-columns: 1fr; } }
.terminplaner .knopf[type="submit"] { justify-self: start; }

.kalender { max-width: 460px; }
.kalender__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.kalender__monat { font-family: var(--titel); font-weight: 650; color: var(--graphit); }
.kalender__blaettern { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--linie-kalt); border-radius: var(--r); background: #fff; cursor: pointer; color: var(--graphit); }
.kalender__blaettern:disabled { opacity: .35; cursor: default; }
.kalender__blaettern svg { width: 18px; height: 18px; }
.kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kalender__wt { padding: 4px 0; font-size: .78rem; text-align: center; color: var(--gedaempft); }
.kalender__tag {
  aspect-ratio: 1; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--r);
  background: var(--flaeche); font-size: .95rem; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s;
}
.kalender__tag:hover:not(:disabled) { border-color: var(--blau); }
.kalender__tag:disabled { background: none; color: #b8bdc4; cursor: default; }
.kalender__tag[aria-pressed="true"] { background: var(--blau); color: #fff; }
.kalender__tag.ist-heute { border-color: var(--ocker); }
.zeiten { display: flex; flex-wrap: wrap; gap: 8px; }
.zeit { padding: 9px 14px; border: 1px solid var(--linie-kalt); border-radius: var(--r); background: #fff; font-size: .93rem; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s, color .15s; }
.zeit:hover { border-color: var(--blau); }
.zeit[aria-checked="true"] { background: var(--blau); border-color: var(--blau); color: #fff; }
.zeiten__hinweis { margin: 0; font-size: .92rem; color: var(--gedaempft); }
.js .kalender__ersatz { display: none; }

/* Kundenstimmen ----------------------------------------------------------- */

.stimmen__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.stimme { display: flex; }
.stimme[hidden] { display: none; }
.stimme figure { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); transition: box-shadow .3s var(--weich), border-color .3s; }
.stimme figure:hover { border-color: var(--linie-kalt); box-shadow: var(--schatten); }
.stimme.ist-neu { animation: einblenden .5s var(--weich) both; }
.stimme__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.stimme .g-logo { width: 20px; height: 20px; }
.stimme blockquote { margin: 0 0 20px; font-size: 1rem; line-height: 1.62; color: var(--graphit); }
.stimme blockquote p { margin: 0; }
.stimme figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--linie); font-size: .9rem; line-height: 1.4; }
.stimme figcaption span { display: block; color: var(--gedaempft); }
.stimme figcaption .stimme__hinweis { display: inline-block; margin-top: 6px; padding: 1px 6px; border-radius: 2px; background: #fff2b3; color: #5c4700; font-size: .72rem; }
.sterne { display: inline-flex; gap: 2px; }
.stern { width: 17px; height: 17px; }
.stern--an { fill: #f2b01e; }
.stern--aus { fill: #dfe2e6; }
.stimmen__fuss { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 28px; }
.stimmen__schnitt { margin: 0 0 20px; }
@media (max-width: 1000px) { .stimmen__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stimmen__liste { grid-template-columns: 1fr; gap: 14px; } }

/* Häufige Fragen -------------------------------------------------------- */

.faq { border-top: 1px solid var(--linie-kalt); }
.faq__punkt { border-bottom: 1px solid var(--linie-kalt); }
.faq__punkt summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 0;
  font-family: var(--titel); font-size: 1.08rem; font-weight: 600; color: var(--graphit); line-height: 1.35; cursor: pointer; list-style: none;
  transition: color .2s;
}
.faq__punkt summary::-webkit-details-marker { display: none; }
.faq__punkt summary:hover { color: var(--blau); }
.faq__punkt summary span { text-wrap: balance; }
.faq__punkt summary .sym { width: 20px; height: 20px; margin-top: 2px; color: var(--blau); transition: transform .3s var(--weich); }
.faq__punkt[open] summary .sym { transform: rotate(45deg); }
.faq__antwort { padding: 0 44px 22px 0; }
.faq__antwort p { margin: 0; }
.faq__punkt[open] .faq__antwort { animation: einblenden .35s var(--weich); }

/* Region ------------------------------------------------------------------ */

.orte { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.orte h3 { font-size: 1rem; margin-bottom: 12px; }
.orte__liste { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.orte__liste li { padding: 5px 10px; border: 1px solid var(--linie-kalt); border-radius: var(--r); background: #fff; font-size: .88rem; line-height: 1.3; }
@media (max-width: 560px) { .orte { grid-template-columns: 1fr; } }

/* Seitenkopf der Unterseiten --------------------------------------------- */

.seitenkopf { padding: clamp(20px, 2.6vw, 32px) 0 clamp(48px, 6vw, 80px); background: var(--flaeche); }
.seitenkopf__text { max-width: 780px; }
.seitenkopf__text .lead { margin: 20px 0 0; }
.seitenkopf__text .aktionen { margin-top: 32px; }
.seitenkopf--bild .geteilt__text h1 + .lead { margin-top: 20px; }
.seitenkopf--bild .geteilt { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 900px) { .seitenkopf--bild .geteilt { grid-template-columns: minmax(0, 1fr); } }
.seitenkopf--beitrag h1 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.8rem); }
.seitenkopf--beitrag .lead { margin: 0; }
.beitrag__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--linie-kalt); font-size: .92rem; color: var(--gedaempft); }
.beitrag__meta .sym { width: 18px; height: 18px; color: var(--blau); }
.seitenkopf--beitrag .geteilt__text h1 + .lead { margin-top: 20px; }
.beitrag__titelbild { margin: clamp(32px, 4vw, 48px) 0 0; border-radius: var(--r-gross); overflow: hidden; }
.beitrag__titelbild img { width: 100%; }

.pfad { margin-bottom: clamp(28px, 4vw, 48px); font-size: .88rem; }
.pfad ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.pfad li { display: flex; align-items: center; color: var(--gedaempft); }
.pfad li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-right: 1.5px solid #a3a9b1; border-top: 1.5px solid #a3a9b1; transform: rotate(45deg); }
.pfad a { color: var(--gedaempft); text-decoration: none; }
.pfad a:hover { color: var(--blau); text-decoration: underline; }

/* Fließtext mit Seitenrand ---------------------------------------------- */

.mit-rand { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 1000px) { .mit-rand { grid-template-columns: minmax(0, 1fr); } }
.fliesstext { max-width: 760px; min-width: 0; }
.fliesstext > :first-child { margin-top: 0; }
.fliesstext h2 { margin: clamp(48px, 5vw, 64px) 0 18px; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.95rem); }
.fliesstext h3 { margin: 36px 0 12px; }
.fliesstext h2 + h3 { margin-top: 20px; }
.fliesstext p, .fliesstext li { hyphens: auto; -webkit-hyphens: auto; }
.fliesstext ul, .fliesstext ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.fliesstext li { margin-bottom: .45em; padding-left: .2em; }
.fliesstext ul li::marker { color: var(--ocker); }
.fliesstext ol li::marker { color: var(--blau); font-family: var(--titel); font-weight: 600; }
.fliesstext .hakenliste { padding: 0; list-style: none; }
.fliesstext .hakenliste li { position: relative; padding-left: 32px; }
.fliesstext .hakenliste li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--blau-hell)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23024683' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fliesstext blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--blau); font-size: 1.12rem; color: var(--graphit); }
.fliesstext .abbildung { margin: 36px 0; }
.abbildung img { width: 100%; border-radius: var(--r-gross); }
.abbildung figcaption { margin-top: 10px; font-size: .88rem; color: var(--gedaempft); }
.hinweis { margin: 32px 0; padding: 22px 24px; background: var(--ocker-hell); border-left: 3px solid var(--ocker); border-radius: 0 var(--r) var(--r) 0; }
.hinweis > :last-child { margin-bottom: 0; }
.hinweis strong:first-child { display: block; margin-bottom: 4px; font-family: var(--titel); }
.kurz { margin: 0 0 36px; padding: 22px 24px; border: 1px solid var(--blau-linie); background: var(--blau-hell); border-radius: var(--r-gross); }
.kurz > :last-child { margin-bottom: 0; }
.kurz p { text-wrap: balance; }
.tabelle { margin: 28px 0 32px; overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--r-gross); }
.tabelle table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.tabelle th, .tabelle td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { background: var(--flaeche); font-family: var(--titel); font-weight: 600; color: var(--graphit); }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle td.zahl, .tabelle th.zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabelle caption { caption-side: bottom; padding: 10px 16px; text-align: left; font-size: .85rem; color: var(--gedaempft); }
.schritte { counter-reset: schritt; padding: 0 !important; list-style: none; }
.schritte > li { position: relative; padding: 0 0 22px 52px !important; counter-increment: schritt; }
.schritte > li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); font-family: var(--titel); font-weight: 650; font-size: .95rem;
}
.schritte > li::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 1px; background: var(--blau-linie); }
.schritte > li:last-child::after { display: none; }
.schritte > li > strong:first-child { display: block; font-family: var(--titel); margin-bottom: 2px; padding-top: 4px; }
.autor { display: flex; gap: 16px; align-items: flex-start; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--linie); font-size: .95rem; color: var(--gedaempft); }
.autor img { border-radius: var(--r); flex: none; margin-top: 3px; }
.autor p { margin: 0; }
.fliesstext--recht { max-width: 820px; }
.fliesstext--recht h2 { font-size: 1.4rem; margin-top: 44px; }
.fliesstext--recht h3 { font-size: 1.1rem; margin-top: 28px; }

.seitenrand { display: grid; gap: 20px; min-width: 0; }
.seitenrand--klebend { position: sticky; top: calc(var(--kopf-h) + 24px); }
@media (max-width: 1000px) { .seitenrand--klebend { position: static; } .seitenrand .verzeichnis { display: none; } }
.kasten { padding: 26px; border: 1px solid var(--linie); border-radius: var(--r-gross); background: #fff; }
.kasten__titel { margin: 0 0 10px; font-family: var(--titel); font-size: 1.15rem; font-weight: 650; color: var(--graphit); line-height: 1.3; }
.kasten--blau { background: var(--blau); border-color: var(--blau); color: #d7e3ef; }
.kasten--blau .kasten__titel { color: #fff; }
.kasten--blau p { text-wrap: balance; }
.kasten--blau .r3 { width: 56px; height: 56px; margin-bottom: 14px; }
.kasten--blau .knopf + .knopf { margin-top: 10px; }
.kasten__klein { margin: 14px 0 0; font-size: .85rem; color: #aac0d6; }
.seitenrand__liste { margin: 0; padding: 0; list-style: none; }
.seitenrand__liste a { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linie); color: var(--graphit); text-decoration: none; font-size: .95rem; line-height: 1.3; transition: color .15s, padding .2s var(--weich); }
.seitenrand__liste li:last-child a { border-bottom: 0; padding-bottom: 0; }
.seitenrand__liste a:hover { color: var(--blau); padding-left: 4px; }
.seitenrand__liste .sym { width: 18px; height: 18px; color: var(--blau); }
.verzeichnis ol { margin: 0; padding: 0 0 0 1.2em; font-size: .93rem; line-height: 1.4; }
.verzeichnis li { margin-bottom: 8px; padding-left: 4px; }
.verzeichnis li::marker { color: var(--gedaempft); font-size: .85rem; }
.verzeichnis a { color: var(--text); text-decoration: none; }
.verzeichnis a:hover, .verzeichnis a.ist-aktiv { color: var(--blau); }
.verzeichnis a.ist-aktiv { font-weight: 600; }

/* Werte, Zahlen, Ablauf --------------------------------------------------- */

.werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.werte li { padding: 28px 24px; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-gross); transition: box-shadow .3s var(--weich), transform .3s var(--weich); }
.werte li:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.werte .r3 { width: 60px; height: 60px; margin-bottom: 18px; }
.werte h3 { margin-bottom: 8px; }
.werte p { margin: 0; font-size: .97rem; text-wrap: balance; }
@media (max-width: 1000px) { .werte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .werte { grid-template-columns: 1fr; } }

.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-kalt); }
.zahlen li { padding: 24px 20px 0 0; }
.zahlen strong { display: block; font-family: var(--titel); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 700; color: var(--blau); letter-spacing: -.02em; line-height: 1.1; }
.zahlen span { display: block; margin-top: 6px; font-size: .93rem; color: var(--gedaempft); text-wrap: balance; }
.geteilt__text .zahlen { grid-template-columns: 1fr 1fr; gap: 0 24px; }
.geteilt__text .zahlen li { padding-bottom: 20px; }
@media (max-width: 760px) { .zahlen { grid-template-columns: 1fr 1fr; gap: 0 16px; } }

.ablauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: ablauf; }
.ablauf li { position: relative; padding-top: 28px; border-top: 2px solid var(--linie-kalt); counter-increment: ablauf; transition: border-color .3s; }
.ablauf li:hover { border-top-color: var(--blau); }
.ablauf li::before { content: "0" counter(ablauf); display: block; margin-bottom: 12px; font-family: var(--titel); font-size: .95rem; font-weight: 650; color: var(--ocker-tief); }
.ablauf h3 { margin-bottom: 8px; font-size: 1.12rem; }
.ablauf p { margin: 0; font-size: .97rem; text-wrap: balance; }
@media (max-width: 1000px) { .ablauf { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

/* Kontakt und Karte ------------------------------------------------------ */

.kontaktliste { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.kontaktliste li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.kontaktliste .sym { width: 22px; height: 22px; margin-top: 1px; color: var(--blau); }
.kontaktliste a { color: var(--graphit); text-decoration: none; }
.kontaktliste a:hover { color: var(--blau); text-decoration: underline; }

.karte-einbettung { position: relative; min-height: 380px; height: 100%; border-radius: var(--r-gross); overflow: hidden; background: #e8ebe6; }
.karte-einbettung::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 49.5%, transparent 49.5%) 0 0 / 100% 100%,
    linear-gradient(25deg, transparent 58%, #fdfcf8 58%, #fdfcf8 60%, transparent 60%) 0 0 / 100% 100%,
    linear-gradient(160deg, transparent 30%, #cfe0ee 30%, #cfe0ee 38%, transparent 38%) 0 0 / 100% 100%,
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .7) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(255, 255, 255, .7) 62px 64px);
}
.karte-einbettung__hinweis {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(92%, 380px);
  display: grid; justify-items: center; gap: 10px; padding: 26px 24px; text-align: center;
  background: rgba(255, 255, 255, .96); border-radius: var(--r-gross); box-shadow: var(--schatten-stark);
}
.karte-einbettung__hinweis > .sym { width: 30px; height: 30px; color: var(--blau); }
.karte-einbettung__hinweis p { margin: 0; text-wrap: balance; }
.karte-einbettung iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Abschluss und Fuß ----------------------------------------------------- */

.abschluss { padding-block: clamp(48px, 6vw, 72px); background: var(--blau); color: #d7e3ef; }
.abschluss__zeile { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.abschluss h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.abschluss p { margin: 10px 0 0; text-wrap: balance; }

.fuss { background: var(--fuss); color: #b9c2cc; font-size: .95rem; }
.fuss a { color: #dfe5eb; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.fuss__logo img { height: 48px; width: auto; margin-bottom: 20px; }
.fuss__firma p, .fuss__firma address { margin: 0 0 12px; font-style: normal; text-wrap: balance; }
.fuss__kontakt { display: grid; gap: 2px; }
.fuss__titel { margin: 0 0 16px; font-family: var(--titel); font-weight: 600; color: #fff; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss__spalte li { margin-bottom: 9px; line-height: 1.4; }
.fuss__zusagen li { display: flex; gap: 10px; align-items: flex-start; }
.fuss__zusagen .sym { width: 18px; height: 18px; margin-top: 1px; color: var(--ocker); stroke-width: 2; }
.fuss__sozialleiste { display: flex; gap: 8px; margin-top: 20px; }
.fuss__sozial { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); transition: background-color .2s, border-color .2s; }
.fuss__sozial:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.fuss__sozial .sym { width: 20px; height: 20px; }
.fuss__unten { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 24px; }
@media (max-width: 1060px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fuss__raster { grid-template-columns: 1fr; gap: 32px; } }

/* 404 ------------------------------------------------------------------- */

.leer { padding-block: var(--abstand); }
.leer .r3 { width: 88px; height: 88px; margin-bottom: 24px; }

/* Räumliche Symbole ------------------------------------------------------- */

.r3 { overflow: visible; }
.r3 * { transform-box: view-box; }
.r3-schwebe { animation: r3-schwebe 6s ease-in-out infinite; }
.r3-schatten { transform-origin: 32px 59px; animation: r3-schatten 6s ease-in-out infinite; }
.r3-pendel { transform-origin: 20px 30px; animation: r3-pendel 5s ease-in-out infinite; }
.r3-zeiger { transform-origin: 32px 35px; animation: r3-drehen 10s linear infinite; }
.r3-dreh { transform-origin: 32px 38px; animation: r3-muenze 6s ease-in-out infinite; }
.r3-haken { stroke-dasharray: 1; stroke-dashoffset: 0; animation: r3-haken 7s var(--weich) infinite; }
.r3-deckel { animation: r3-deckel 5s ease-in-out infinite; }
.r3-puls { transform-origin: 31px 41px; animation: r3-puls 4s ease-in-out infinite; }
.r3-rad { animation: r3-drehen 1.4s linear infinite; }
.r3-strasse { animation: r3-strasse 1s linear infinite; }
.r3-ruckel { animation: r3-ruckel .7s ease-in-out infinite alternate; }
.r3-punkt { animation: r3-punkt 1.6s ease-in-out infinite; }
.r3-tropfen { animation: r3-tropfen 2.4s linear infinite; }
.r3-wippe { transform-origin: 32px 30px; animation: r3-pendel 6s ease-in-out infinite; }
.r3-fenster { animation: r3-fenster 4s ease-in-out infinite; }
.r3-punkt:nth-of-type(2) { animation-delay: .2s; }
.r3-punkt:nth-of-type(3) { animation-delay: .4s; }

@keyframes r3-schwebe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes r3-schatten { 0%, 100% { transform: scaleX(1); opacity: .13; } 50% { transform: scaleX(.86); opacity: .08; } }
@keyframes r3-pendel { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }
@keyframes r3-drehen { to { transform: rotate(360deg); } }
@keyframes r3-muenze { 0%, 70%, 100% { transform: scaleX(1); } 80% { transform: scaleX(.78); } 90% { transform: scaleX(1.02); } }
@keyframes r3-haken { 0% { stroke-dashoffset: 1; } 18%, 100% { stroke-dashoffset: 0; } }
@keyframes r3-deckel { 0%, 60%, 100% { transform: translateY(0); } 75% { transform: translateY(-3px); } 85% { transform: translateY(0); } }
@keyframes r3-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes r3-strasse { to { stroke-dashoffset: -9; } }
@keyframes r3-ruckel { from { transform: translateY(0); } to { transform: translateY(-.7px); } }
@keyframes r3-tropfen { 0% { transform: translateY(-6px); opacity: 0; } 20% { opacity: .9; } 80% { opacity: .9; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes r3-fenster { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes r3-punkt { 0%, 60%, 100% { opacity: .45; } 30% { opacity: 1; } }

@keyframes einblenden { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .einblenden { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--weich), transform .7s var(--weich); }
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .einblenden { opacity: 1; transform: none; }
}

.mobile-quick { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-quick {
    position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background: rgba(9, 20, 33, .97); box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
  }
  .mobile-quick a { min-height: 48px; display: grid; place-items: center; padding: 10px 12px; border-radius: 5px; font-weight: 750; text-align: center; text-decoration: none; }
  .mobile-quick__call { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
  .mobile-quick__whatsapp { background: #147a4a; color: #fff; }
  .mobile-quick__offer { background: var(--ocker); color: #102033; }
}

@media print {
  .mobile-quick { display: none !important; }
  .kopf, .fuss, .abschluss, .seitenrand, .rechner, .karte-einbettung { display: none !important; }
  body { font-size: 11pt; }
}

/* Ergänzungen ------------------------------------------------------------ */
.mit-abstand { margin: 28px 0 0; }
.steckbrief { margin: 0; border-top: 1px solid var(--linie-kalt); }
.steckbrief > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--linie-kalt); }
.steckbrief dt { font-family: var(--titel); font-weight: 600; color: var(--graphit); }
.steckbrief dd { margin: 0; text-wrap: pretty; }
@media (max-width: 520px) { .steckbrief > div { grid-template-columns: 1fr; } }
.formular__titel { margin-bottom: 24px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); }
.kasten .r3 { width: 56px; height: 56px; margin-bottom: 14px; }
.schritte--klein { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.schritte--klein > li { position: relative; padding: 0 0 16px 44px; counter-increment: schritt; font-size: .94rem; line-height: 1.5; }
.schritte--klein > li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); font-family: var(--titel); font-weight: 650; font-size: .85rem;
}
.schritte--klein > li:last-child { padding-bottom: 0; }
.schritte--klein > li > strong:first-child { display: block; font-family: var(--titel); padding-top: 3px; }
.leer .seitenkopf__text h1 { margin-bottom: 18px; }
.leer .aktionen { margin-top: 32px; }
@media (max-width: 520px) { .tabelle th, .tabelle td { padding: 10px 12px; font-size: .9rem; } }
.nw { white-space: nowrap; }
