/* salukarion.com
   Eine Datei, keine fremden Quellen. Schriften liegen in assets/fonts.
   Aufbau: Grundlagen, Bausteine, Kopfzeile und Menü, Seitenteile, Fußzeile. */

/* ---------- Schriften ---------- */

@font-face {
  font-family: "Lustria";
  src: url("../fonts/lustria-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --tiefblau: #0E204E;
  --koenigsblau: #11399C;
  --hellblau: #648EF7;
  --eis: #E0E9FF;
  --frost: #F3F6FF;
  --linie: #D3DBF0;
  --schiefer: #4E6470;
  --seegruen: #5FA9A6;
  --seegruen-hell: #74B8B5;
  --seegruen-dunkel: #2C6E6C;
  --weiss: #FFFFFF;
  --auf-blau-neben: #C3CEF0;
  --auf-blau-klein: #8FB0FA;
  --auf-blau-linie: rgba(255, 255, 255, 0.16);
  --feldrand: #7C8BAA;

  --serif: "Lustria", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --rand: 20px;
  --breite: 1120px;
  --mass: 33rem;            /* Zeilenlänge Fließtext, höchstens 62 Zeichen */
  --radius: 20px;
  --radius-gross: 24px;
  --kopfhoehe: 64px;
  --abstand: clamp(64px, 9vw, 128px);
}

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

html {
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopfhoehe) + 16px);
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tiefblau);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { font-weight: 400; }
em, i, cite, address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }

h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.4375rem);
  line-height: 1.3;
}

a { color: var(--koenigsblau); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--tiefblau); }

:focus-visible {
  outline: 3px solid var(--koenigsblau);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.breite {
  width: 100%;
  max-width: calc(var(--breite) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
}

.sprunglink {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--tiefblau);
  color: var(--weiss);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.sprunglink:focus,
.sprunglink:hover { color: var(--weiss); }
.sprunglink:focus { top: 12px; outline-color: var(--seegruen); }

.js .ohne-js { display: none !important; }
html:not(.js) .mit-js { display: none !important; }

/* ---------- Bausteine ---------- */

.dachzeile {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 34rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--seegruen-dunkel);
}
.dachzeile::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--seegruen);
  transform: translateY(-0.3em);
}

.einstieg {
  max-width: var(--mass);
  font-size: 1.0625rem;
}

.fliesstext { max-width: var(--mass); }
.fliesstext > p + p,
div.fliesstext > * + * { margin-top: 1.1em; }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--seegruen);
  color: var(--tiefblau);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.knopf:hover { background: var(--seegruen-hell); color: var(--tiefblau); }
.knopf:active { transform: translateY(1px); }
.knopf-gross { min-height: 56px; padding-inline: 32px; font-size: 1.0625rem; }
.knopf-dunkel { background: var(--tiefblau); color: var(--weiss); }
.knopf-dunkel:hover { background: var(--koenigsblau); color: var(--weiss); }

/* Verweis mit kleinem Pfeil, der aus zwei Linien gezeichnet ist */
.weiter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--koenigsblau);
  text-decoration: underline;
  text-decoration-color: var(--linie);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.weiter::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.weiter:hover { text-decoration-color: currentColor; }
.weiter:hover::after { transform: translateX(4px) rotate(45deg); }

/* Abgesetzte Zeile mit Markierung in Seegrün */
.markiert {
  position: relative;
  max-width: var(--mass);
  margin-top: 28px;
  padding-left: 22px;
}
.markiert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: 3px;
  background: var(--seegruen);
}

.abschnitt { padding-block: var(--abstand); }
.abschnitt-eng { padding-block: calc(var(--abstand) * 0.25); }
.abschnitt-frost { background: var(--frost); }
.abschnitt > .breite > h2,
.abschnitt .wir-kurz-raster h2 { max-width: 22em; margin-bottom: clamp(24px, 3.4vw, 44px); }

/* Porträts */
.portraet {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--eis);
}
.portraet-leer {
  display: grid;
  place-items: center;
  container-type: inline-size;
  color: var(--koenigsblau);
  font-family: var(--serif);
}
.portraet-leer span {
  font-size: 2rem;
  font-size: clamp(1.25rem, 20cqw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* ---------- Kopfzeile und Menü ---------- */

.kopfzeile {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.kopfzeile-innen {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--kopfhoehe);
}
.kopfzeile-logo {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  margin-right: auto;
}
.kopfzeile-logo img { width: clamp(108px, 33vw, 154px); height: auto; }

.kopfzeile-knopf { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.nur-breit { display: none; }

.menue-auf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 4px 8px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--tiefblau);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.striche {
  position: relative;
  display: block;
  width: 20px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 1px;
}

.menue-liste a { text-decoration: none; }

@media (max-width: 959.98px) {
  .menue {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    padding: 0 var(--rand) 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--tiefblau);
    color: var(--weiss);
  }
  .menue.offen,
  html:not(.js) .menue:target { display: flex; animation: einblenden 0.2s ease both; }

  .menue-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: none;
    min-height: calc(var(--kopfhoehe) + 1px);
  }
  .menue-kopf img { width: clamp(100px, 33vw, 154px); height: auto; }
  .menue-zu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 4px 8px 12px;
    border: 0;
    background: none;
    color: var(--weiss);
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }
  .menue-zu:hover { color: var(--auf-blau-neben); }
  .kreuz { position: relative; display: block; width: 20px; height: 20px; }
  .kreuz::before,
  .kreuz::after {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .kreuz::after { transform: rotate(-45deg); }

  .menue nav { margin-top: clamp(16px, 5vh, 48px); }
  .menue-liste li { border-bottom: 1px solid var(--auf-blau-linie); }
  .menue-liste li:first-child { border-top: 1px solid var(--auf-blau-linie); }
  .menue-liste a {
    display: flex;
    align-items: center;
    min-height: 68px;
    padding-block: 12px;
    color: var(--weiss);
    font-family: var(--serif);
    font-size: clamp(1.75rem, 7.6vw, 2.5rem);
    line-height: 1.15;
  }
  .menue-liste a[aria-current="page"] { color: var(--auf-blau-klein); }

  .menue-fuss {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: clamp(28px, 6vh, 56px);
  }
  .menue-fuss .knopf { margin-bottom: 16px; }
  .menue-direkt {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--weiss);
    font-family: var(--sans);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
  }
  .menue-direkt:hover { color: var(--auf-blau-neben); }
  .menue :focus-visible { outline-color: var(--weiss); }

  html.menue-offen,
  html.menue-offen body { overflow: hidden; }
}

/* Sehr schmale Handys: Knöpfe enger, damit das Logo lesbar bleibt */
@media (max-width: 359.98px) {
  .kopfzeile-innen { gap: 4px; }
  .kopfzeile-knopf { padding-inline: 13px; font-size: 0.875rem; }
  .menue-auf, .menue-zu { gap: 7px; padding-left: 6px; font-size: 0.875rem; }
  .striche { width: 18px; }
}

@keyframes einblenden {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 960px) {
  :root { --kopfhoehe: 80px; }
  .kopfzeile-innen { gap: 20px; }
  .kopfzeile-logo img { width: 154px; }
  .menue-auf, .menue-kopf, .menue-fuss { display: none !important; }
  .menue { display: block; }
  .menue-liste { display: flex; align-items: center; gap: 4px; }
  .menue-liste a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--tiefblau);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.18s ease;
  }
  .menue-liste a:hover { background: var(--frost); }
  .menue-liste a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--seegruen);
  }
  .kopfzeile-knopf { min-height: 48px; padding-inline: 24px; font-size: 1rem; }
  .nur-breit { display: inline; }
  .nur-schmal { display: none; }
}

/* ---------- Startseite oben ---------- */

.buehne {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tiefblau);
  color: var(--weiss);
  padding-block: 28px 48px;
}
.buehne::before,
.abschluss-flaeche::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -26%;
  bottom: -24%;
  width: min(1280px, 160vw);
  aspect-ratio: 120 / 64;
  background: url("../logo/zeichen-negativ.svg") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.buehne :focus-visible { outline-color: var(--weiss); }
.buehne .dachzeile { color: var(--auf-blau-klein); }
.buehne h1 { margin-top: 14px; max-width: 14.5em; }
.buehne .einstieg { margin-top: 16px; color: var(--auf-blau-neben); }
.buehne-handlung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 24px;
}
.buehne-telefon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  white-space: nowrap;
}
.buehne-telefon:hover { color: var(--weiss); text-decoration-color: var(--weiss); }
.kleinzeile {
  margin-top: 12px;
  color: var(--auf-blau-klein);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.buehne-bilder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 460px;
  margin-top: 36px;
}
.buehne-bilder figcaption {
  margin-top: 10px;
  color: var(--auf-blau-neben);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.35;
}

@media (min-width: 960px) {
  .buehne { padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px); }
  .buehne-raster {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
  }
  .buehne h1 { margin-top: 20px; }
  .buehne .einstieg { margin-top: 24px; }
  .buehne-handlung { margin-top: 36px; }
  .kleinzeile { margin-top: 16px; }
  .buehne-bilder {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: none;
    margin-top: 0;
  }
  .buehne-bilder figure { flex: 1 1 0; min-width: 0; position: relative; }
  .buehne-bilder figure + figure { margin-left: -9%; margin-top: 22%; z-index: 1; }
  .buehne-bilder .portraet { border-radius: var(--radius-gross); box-shadow: 0 0 0 6px var(--tiefblau); }
  .buehne-bilder figure + figure figcaption { padding-left: 9%; }
  .buehne-bilder figcaption { margin-top: 14px; font-size: 0.9375rem; }
}

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

.zeilen {
  max-width: 37rem;
  border-top: 1px solid var(--linie);
  font-size: clamp(1.0625rem, 1.75vw, 1.25rem);
  line-height: 1.5;
}
.zeilen li {
  padding-block: 18px;
  border-bottom: 1px solid var(--linie);
}
.schluss {
  max-width: 26em;
  margin-top: clamp(32px, 4.5vw, 56px);
  font-size: clamp(1.3125rem, 2.3vw, 1.75rem);
  line-height: 1.38;
}

.karten { display: grid; gap: 16px; }
.karte {
  padding: 28px 24px 30px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}
.karte h3 { margin-bottom: 12px; }
.karte h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: var(--seegruen);
}
.karte p { color: var(--schiefer); }

.zahl-flaeche {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-gross);
  background: var(--eis);
}
.zahl-flaeche::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -30%;
  width: min(820px, 120%);
  aspect-ratio: 120 / 64;
  background: url("../logo/zeichen.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}
.zahl h2 {
  max-width: 12em;
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.zahl-text { max-width: var(--mass); margin-top: clamp(20px, 3vw, 32px); }
.zahl-quelle {
  max-width: 29rem;
  margin-top: 24px;
  color: var(--schiefer);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

.wir-kurz-raster { display: grid; gap: 36px; }
.wir-kurz-bilder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: 12px;
}
.wir-kurz-bilder .portraet { border-radius: 16px; }

@media (min-width: 720px) {
  .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .karte { padding: 36px 30px 38px; }
  .wir-kurz-raster {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
  }
  .wir-kurz-bilder { grid-template-columns: repeat(2, clamp(130px, 15vw, 176px)); gap: 16px; }
}

/* ---------- Abschluss ---------- */

.abschluss { padding-bottom: var(--abstand); }
.abschnitt-frost + .abschluss,
.seitenkopf + .abschluss { padding-top: var(--abstand); }
.abschluss-flaeche {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-gross);
  background: var(--tiefblau);
  color: var(--weiss);
}
.abschluss-flaeche::before { right: -30%; bottom: -30%; width: min(980px, 170%); }
.abschluss-flaeche :focus-visible { outline-color: var(--weiss); }
.abschluss h2 { max-width: 16em; }
.abschluss-text { max-width: var(--mass); margin-top: 18px; color: var(--auf-blau-neben); }
.abschluss-handlung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(28px, 5vw, 56px);
  margin-top: clamp(28px, 4vw, 40px);
}
.abschluss-direkt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--sans);
}
.abschluss-direkt p { color: var(--auf-blau-klein); font-size: 0.9375rem; }
.abschluss-direkt a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--weiss);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.abschluss-direkt a + a { font-weight: 500; }
.abschluss-direkt a:hover { color: var(--auf-blau-neben); }

/* ---------- Kopf der Unterseiten ---------- */

.seitenkopf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(44px, 8vw, 112px) clamp(44px, 7vw, 96px);
  background: var(--frost);
}
.seitenkopf::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -16%;
  bottom: -46%;
  width: min(900px, 130vw);
  aspect-ratio: 120 / 64;
  background: url("../logo/zeichen.svg") no-repeat center / contain;
  opacity: 0.09;
  pointer-events: none;
}
@media (max-width: 719.98px) {
  /* Am Handy nur einen Anschnitt in der Ecke zeigen, nicht hinter dem Text */
  .seitenkopf::before { right: -58%; bottom: -30%; width: 150vw; }
}
.seitenkopf h1 { margin-top: 16px; max-width: 16em; }
.seitenkopf h1:first-child { margin-top: 0; }
.seitenkopf .einstieg {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  line-height: 1.5;
  max-width: 34rem;
}
.seitenkopf-schlicht { padding-block: clamp(40px, 6vw, 80px); }
.seitenkopf-schlicht::before { display: none; }

/* ---------- Angebot ---------- */

.baustein-liste { counter-reset: baustein; border-top: 1px solid var(--linie); }
.baustein {
  counter-increment: baustein;
  display: grid;
  gap: 8px;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--linie);
}
.baustein::before {
  content: counter(baustein);
  color: var(--koenigsblau);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}
.baustein h2 { max-width: 20em; margin-bottom: 18px; font-size: clamp(1.5rem, 2.6vw, 2.125rem); }
.baustein-inhalt > p { max-width: var(--mass); }

@media (min-width: 720px) {
  .baustein { grid-template-columns: clamp(96px, 14vw, 180px) minmax(0, 1fr); gap: 0; }
  .baustein::before { margin-top: -0.06em; }
}

.kosten .fliesstext > .markiert { margin-top: 1.4em; }

/* ---------- Zusammenarbeit ---------- */

.grundsatz-raster { display: grid; gap: 16px; }
.grundsatz {
  padding: 28px 24px 30px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--weiss);
}
.grundsatz h2 { margin-bottom: 14px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; }
.grundsatz h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: var(--seegruen);
}
.grundsatz p { max-width: var(--mass); color: var(--schiefer); }

.schritt-reihe { counter-reset: schritt; display: grid; gap: 28px; }
.schritt { counter-increment: schritt; position: relative; padding-left: 72px; min-height: 52px; }
.schritt::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--weiss);
  border: 1px solid var(--linie);
  color: var(--koenigsblau);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}
.schritt h3 { margin-bottom: 6px; padding-top: 8px; }
.schritt p { max-width: var(--mass); color: var(--schiefer); }

.grenzen { padding-bottom: 0; }
.grenzen-flaeche {
  max-width: 46rem;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--linie);
  border-radius: var(--radius-gross);
}
.grenzen h2 { margin-bottom: 14px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.grenzen p { max-width: var(--mass); color: var(--schiefer); }

.fragen-liste { max-width: 46rem; border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding-block: 16px;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-right: 2px solid var(--koenigsblau);
  border-bottom: 2px solid var(--koenigsblau);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.18s ease;
}
.frage[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.frage summary:hover { color: var(--koenigsblau); }
.frage p { max-width: var(--mass); padding-bottom: 24px; color: var(--schiefer); }

@media (min-width: 720px) {
  .grundsatz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .grundsatz { padding: 40px 36px 42px; }
}
@media (min-width: 860px) {
  .schritt-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
  .schritt { padding-left: 0; padding-top: 76px; }
  .schritt h3 { padding-top: 0; }
  /* feine Verbindungslinie zwischen den Schritten */
  .schritt:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 68px;
    right: calc(-1 * clamp(24px, 4vw, 56px) + 16px);
    top: 26px;
    height: 1px;
    background: var(--linie);
  }
}

/* ---------- Über uns ---------- */

.person { display: grid; gap: 28px; }
.person + .person { margin-top: clamp(64px, 9vw, 128px); }
.person-bild { max-width: 420px; }
.person-bild .portraet { border-radius: var(--radius-gross); }
.person-text h2 { margin-bottom: 8px; }
.person-rolle {
  max-width: 30rem;
  margin-bottom: 24px;
  color: var(--seegruen-dunkel);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}
.person-text > p:not(.person-rolle) { max-width: var(--mass); }
.person-text > p + p:not(.markiert) { margin-top: 1.1em; }
.person-text > .person-rolle + p { margin-top: 0; }

@media (min-width: 860px) {
  .person {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
  }
  .person-bild { max-width: none; }
  .person:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .person:nth-child(even) .person-bild { order: 2; }
}

.gewerbe { max-width: var(--mass); }
.name-teil {
  max-width: 27rem;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--linie);
  color: var(--schiefer);
  font-size: 0.9375rem;
}
.name-teil h2 {
  margin-bottom: 8px;
  color: var(--tiefblau);
  font-size: 1.25rem;
}

/* ---------- Kontakt ---------- */

.kontakt-raster { display: grid; gap: 48px; }
.direkt h2,
.formular-flaeche h2 { margin-bottom: 24px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.direkt-liste { display: grid; gap: 20px; }
.direkt-liste dt {
  color: var(--schiefer);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}
.direkt-liste a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--tiefblau);
  font-size: clamp(1.3125rem, 5.6vw, 2.125rem);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--linie);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.direkt-liste a:hover { color: var(--koenigsblau); text-decoration-color: var(--koenigsblau); }
.direkt-text { max-width: 26rem; margin-top: 28px; color: var(--schiefer); }

.formular-flaeche {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-gross);
  background: var(--frost);
}
.formular { display: grid; gap: 18px; font-family: var(--sans); }
.feld { display: grid; gap: 8px; }
.feld label { font-size: 1rem; font-weight: 500; line-height: 1.35; }
.feld input,
.feld textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--feldrand);
  border-radius: 14px;
  background: var(--weiss);
  color: var(--tiefblau);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:hover,
.feld textarea:hover { border-color: var(--tiefblau); }
.feld input:focus-visible,
.feld textarea:focus-visible {
  outline: 3px solid var(--koenigsblau);
  outline-offset: 1px;
  border-color: var(--koenigsblau);
  border-radius: 14px;
}
.falle {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.formular .knopf { justify-self: start; margin-top: 6px; }
.formular-hinweis { color: var(--schiefer); font-size: 0.875rem; line-height: 1.5; }
.formular-meldung {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  font-size: 1rem;
  line-height: 1.5;
}
.formular-meldung[hidden] { display: none; }
.formular-dank {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
}

@media (min-width: 860px) {
  .kontakt-raster {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: clamp(48px, 7vw, 96px);
  }
  .direkt-liste a { font-size: clamp(1.5rem, 2.5vw, 2.125rem); }
}

/* ---------- Rechtstexte ---------- */

.rechtstext-teil + .rechtstext-teil { margin-top: clamp(36px, 5vw, 56px); }
.rechtstext h2 { margin-bottom: 14px; font-size: clamp(1.3125rem, 2vw, 1.625rem); }
.rechtstext p { max-width: var(--mass); overflow-wrap: break-word; }
.rechtstext p + p { margin-top: 1em; }

/* ---------- Fußzeile ---------- */

.fusszeile {
  padding-block: clamp(48px, 7vw, 88px) 28px;
  background: var(--tiefblau);
  color: var(--auf-blau-neben);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}
.fusszeile :focus-visible { outline-color: var(--weiss); }
.fusszeile a { color: var(--weiss); text-decoration: none; }
.fusszeile a:hover { color: var(--auf-blau-neben); text-decoration: underline; }
.fusszeile-raster { display: grid; gap: 36px; }
.fusszeile-logo { display: inline-flex; align-items: center; min-height: 44px; }
.fusszeile-logo img { width: 171px; height: auto; }
.fusszeile-marke p {
  max-width: 24rem;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.fusszeile-direkt { display: flex; flex-direction: column; align-items: flex-start; }
.fusszeile-direkt a,
.fusszeile-menue a,
.fusszeile-unten a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.fusszeile-direkt a { font-size: 1.0625rem; font-weight: 500; }
.fusszeile-unten {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--auf-blau-linie);
  font-size: 0.9375rem;
}
.fusszeile-unten ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
.fusszeile-unten p { color: var(--auf-blau-klein); }

@media (min-width: 720px) {
  .fusszeile-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
  .fusszeile-direkt, .fusszeile-menue { padding-top: 4px; }
}

/* ---------- Größere Bildschirme ---------- */

@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  .einstieg { font-size: 1.125rem; }
  .zeilen li { padding-block: 22px; }
}

/* Lange Wörter am Handy trennen statt überlaufen lassen */
@media (max-width: 479.98px) {
  body { overflow-wrap: break-word; }
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 6 5; }
}

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Breite Bildschirme, die rechte Fläche nutzen ---------- */

@media (min-width: 960px) {
  /* Startseite, Liste links und Schlusssatz rechts daneben */
  .bekannt > .breite {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(40px, 6vw, 88px);
    align-items: start;
  }
  .bekannt > .breite > h2 { grid-column: 1 / -1; }
  .bekannt .zeilen { max-width: none; }
  .bekannt .schluss {
    position: sticky;
    top: 112px;
    margin-top: 0;
    padding: clamp(28px, 3vw, 40px);
    border-radius: var(--radius-gross);
    background: var(--frost);
  }

  /* Überschrift links, Text rechts */
  .einzeln > .breite,
  .kosten > .breite,
  .ort > .breite {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(40px, 6vw, 88px);
    align-items: start;
  }
  .einzeln > .breite > h2,
  .kosten > .breite > h2,
  .ort > .breite > h2 { margin-bottom: 0; }
  .einzeln > .breite > .weiter { grid-column: 2; }

  /* Angebot, der Nutzen steht als ruhige Fläche neben dem Text */
  .baustein-inhalt {
    display: grid;
    grid-template-columns: minmax(0, var(--mass)) minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .baustein-inhalt > h2 { grid-column: 1 / -1; }
  .baustein-inhalt > .markiert {
    margin-top: 0;
    padding: 22px 24px 22px 30px;
    border-radius: var(--radius);
    background: var(--frost);
  }
  .baustein-inhalt > .markiert::before { left: 12px; top: 22px; bottom: 22px; }
}

/* Helle Porträtkarte auf Tiefblau bekommt keinen dunklen Rand */
.formular-hinweis a { color: inherit; }

/* Startseite oben, die erste Porträtkarte liegt vorn, damit kein Gesicht verdeckt wird */
@media (min-width: 960px) {
  .buehne-bilder figure:first-child { z-index: 2; }
}
