/* =====================================================================
   Alltagsfels – Gestaltung „Schichten“ (Richtung A)
   Ruhiges Editorial aus Gestein und Horizont: kräftige, klare Überschriften,
   Schichtkanten zwischen den Kapiteln, Höhenlinien als stille Textur,
   die Sonne als einziger warmer Punkt.

   Aufbau dieser Datei
   1.  Schriften
   2.  Grundwerte (Farben, Abstände, Schriftgrößen)
   3.  Grundelemente (Text, Links, Fokus, Listen)
   4.  Raster und Abschnitte
   5.  Typografie-Bausteine
   6.  Knöpfe und Links mit Pfeil
   7.  Kopfleiste und Kopf mit Menü
   8.  Grafiksystem (Schichtkanten, Fels-Fenster, Höhenlinien, Icons)
   9.  Startseite: Abschnitte
   10. Formularfelder
   11. Fuß
   12. Bestehende Unterseiten (Übergang bis zur Neugestaltung)
   13. Bewegung (nur bei „keine Einschränkung“)
   14. Druck
   ===================================================================== */


/* ---------- 1. Schriften (lokal, aus den npm-Paketen von Fontsource) ---------- */

/* Nur die Ziffern 0–9 aus Inter: Atkinson zeichnet die Null mit Strich (Ø),
   das liest sich in Jahreszahlen und Telefonnummern schlecht. */
@font-face {
  font-family: "Alltagsfels Ziffern";
  src: url("fonts/inter-ziffern-wght.woff2") format("woff2-variations"),
       url("fonts/inter-ziffern-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* ---------- 2. Grundwerte ---------- */

:root {
  /* Farben (Kontraste im Briefing nachgerechnet) */
  --navy: #2b3328;          /* Dunkelgrün aus dem Logo: Überschriften, Icons, Fokus, dunkle Bänder */
  --navy-dark: #1f2a1e;     /* Logo-Schrift: Fuß, Text auf Ockerfläche */
  --blue: #5a6152;          /* Stein: Illustration, Nebenakzent */
  --rost: #80561f;          /* Text-Ocker, etwas dunkler für Lesbarkeit: Hauptknopf, Links, Akzentwort */
  --rost-dark: #66441a;     /* Hover des Hauptknopfs */
  --sonne: #b98547;         /* Ocker aus dem Logo: nur Grafik, nie Text auf Hell */
  --sonne-tinte: #8f5f28;   /* Text-Ocker, z. B. Schrittziffern */
  --creme: #fbf6ee;         /* Grundfläche */
  --sand: #f3e7d6;
  --sand-dark: #e9d8c1;
  --halde: #d9c6ab;         /* nur Schmuck: unterste Schicht der Kanten */
  --salbei: #e3e8d6;
  --weiss: #ffffff;
  --text: #26221e;
  --text-soft: #4a433c;
  --line: #e6dccd;          /* Haarlinien, nur Schmuck */
  --field: #857560;         /* Feldrahmen und Grenzen von Bedienelementen */
  --neutral: #6f665c;       /* Kreuze „machen wir nicht“ */
  --visited: #5c4a6b;
  --band-text: #e9d8c1;     /* Nebentext auf Dunkelgrün (9,4 : 1) */

  /* Schriften */
  /* Eine Schrift für alles: Atkinson Hyperlegible Next, Überschriften fett */
  --sans: "Alltagsfels Ziffern", "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --titel: var(--sans);

  /* Zwei Gewichte für Überschriften: Display und H2, H3 etwas kräftiger */
  --w-leicht: 680;
  --w-h3: 700;

  /* Schriftgrößen (Handy → Desktop) */
  --fs-display: clamp(2.75rem, 1.6rem + 4.8vw, 5.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 1.75rem);
  --fs-lead: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --fs-text: 1.1875rem;     /* 19 px, ab Tablet 20 px */
  --fs-ui: 1.1875rem;       /* Menü und Knöpfe */
  --fs-klein: 1.0625rem;    /* 17 px, nie unter 16 px */

  /* Abstände: zwei Stufen, „Kapitel“ und „Folgeblock“ */
  --gutter: clamp(1rem, 4.2vw, 3rem);
  --breite: 76rem;
  --spalte-gap: clamp(1rem, 2.6vw, 2rem);
  --kapitel: clamp(5rem, 10vw, 8rem);
  --folge: clamp(3.5rem, 6vw, 4.5rem);
  --radius: 12px;
  --zeile: 34em;            /* Absätze höchstens etwa 66 Zeichen */
}

@media (min-width: 48em) {
  :root { --fs-text: 1.25rem; }
}

/* Schalter „Schrift größer“: Stufen über eine Klasse am <html> */
html.schrift-2 { font-size: 112.5%; }
html.schrift-3 { font-size: 125%; }


/* ---------- 3. Grundelemente ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: 6.5rem;
}
html.menue-offen { overflow: hidden; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-text);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--titel);
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: var(--w-leicht); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--fs-h2); font-weight: var(--w-leicht); line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); font-weight: var(--w-h3); line-height: 1.2; }
h4 { font-size: 1.25rem; font-weight: var(--w-h3); line-height: 1.3; }

p { margin: 0 0 1em; max-width: var(--zeile); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }
em, i { font-style: italic; }
small { font-size: var(--fs-klein); }

img, svg { display: block; max-width: 100%; height: auto; }
:where(svg:not([fill])) { fill: currentColor; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

address { font-style: normal; }

/* Links: immer unterstrichen */
a {
  color: var(--rost);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 3px; }
a:visited { color: var(--visited); text-decoration-style: dotted; }

/* E-Mail-Adresse im Fließtext: größere Klickfläche, ohne die Zeile zu verschieben */
.mail-link { padding-block: 0.75em; overflow-wrap: anywhere; }
.tel-link { padding-block: 0.75em; white-space: nowrap; }

/* Fokus: Navy mit Creme-Halo, nie in Sonnenfarbe */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 8px var(--creme);
  border-radius: 4px;
}
.dunkel :focus-visible,
.kopfleiste :focus-visible {
  outline-color: var(--creme);
  box-shadow: 0 0 0 8px var(--navy-dark);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--creme);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.skip-link:is(:link, :visited) { color: var(--creme); }

.nur-vorlesen {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Jahreszahlen: gleichmäßige Ziffern (die Schrift dafür steht in --sans) */
.zahl { font-variant-numeric: lining-nums proportional-nums; }

[hidden] { display: none !important; }

/* Elemente, die nur mit JavaScript funktionieren */
.nur-js { display: none !important; }
.js .nur-js { display: revert !important; }
.js .nur-js[hidden] { display: none !important; }


/* ---------- 4. Raster und Abschnitte ---------- */

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

.raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--spalte-gap);
}

@media (min-width: 64em) {
  .raster { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.kapitel { padding-block: var(--kapitel); }
.folge { padding-block: var(--folge); }

.flaeche-creme { background: var(--creme); }
.flaeche-sand { background: var(--sand); }
.flaeche-weiss { background: var(--weiss); }
.flaeche-salbei { background: var(--salbei); }
.flaeche-navy { background: var(--navy); color: var(--creme); }

/* Weiß neben Creme: eine Haarlinie macht den Wechsel sichtbar */
.mit-linie { border-block: 1px solid var(--line); }

section { position: relative; }
/* Schmuck darf über den Rand ragen, aber nie seitliches Scrollen auslösen */
main > section { overflow-x: clip; }


/* ---------- 5. Typografie-Bausteine ---------- */

/* Kapitelmarke statt Versalien-Eyebrow: normale Schreibung, Schichtstrich davor.
   Nur an vier Stellen der Startseite. */
.marke {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: var(--fs-klein);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.marke::before {
  content: "";
  flex: none;
  width: 24px;
  height: 3px;
  background: var(--sonne);
  box-shadow: 0 5px 0 var(--halde);
  transform: translateY(-2px);
}
.flaeche-navy .marke { color: var(--creme); }
.flaeche-navy .marke::before { box-shadow: 0 5px 0 var(--blue); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text);
  max-width: 34ch;
}

.text-soft { color: var(--text-soft); }

/* Einleitung unter einer H2 (der Lead bleibt einmal pro Seite im Hero) */
.intro, .kopf-block > p:not(.marke) { max-width: 44ch; color: var(--text); }

.kopf-block { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 46rem; }
.kopf-block h2 { margin-bottom: 0.4em; }

/* Akzentwort in Rost, aufrecht (höchstens eines pro Seite) */
.akzent {
  font-style: normal;
  font-weight: inherit;
  color: var(--rost);
}

/* Kennzeichnung „Ein Beispiel“: als Textzeile, nicht als Kasten */
.hinweis-beispiel { color: var(--text-soft); }
.hinweis-beispiel strong { color: var(--navy); }


/* ---------- 6. Knöpfe und Links mit Pfeil ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.5rem;
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--rost);
  border-radius: 999px;
  background: var(--rost);
  color: var(--weiss);
  font-family: var(--sans);
  font-size: var(--fs-ui);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:is(:link, :visited) { color: var(--weiss); text-decoration: none; }
.btn:hover { background: var(--rost-dark); border-color: var(--rost-dark); }

.btn .icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 0.15s ease;
}
.btn:hover .icon, .pfeil-link:hover .icon { transform: translateX(3px); }

/* Zweiter Knopf: Umriss in Navy */
.btn-zweit {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-zweit:is(:link, :visited) { color: var(--navy); }
.btn-zweit:hover { background: var(--navy); border-color: var(--navy); color: var(--creme); }

.btn-klein {
  min-height: 3rem;
  padding: 0.4rem 1.1rem;
  font-size: var(--fs-klein);
}

.knopf-reihe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* Textlink mit Pfeil, z. B. „Lieber zurückrufen lassen“ */
.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rost);
}
.pfeil-link:is(:link, :visited) { color: var(--rost); }
.pfeil-link .icon { width: 1.15em; height: 1.15em; flex: none; transition: transform 0.15s ease; }
.flaeche-navy .pfeil-link:is(:link, :visited) { color: var(--creme); }

/* Knopf ohne Rahmen, z. B. „Seite ausdrucken“ */
.knopf-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.knopf-text:hover { text-decoration-thickness: 3px; }
.knopf-text .icon { width: 1.3em; height: 1.3em; flex: none; }

/* Liste von Links untereinander, jede Zeile mindestens 48 px */
.link-liste { margin: 1rem 0 0; padding: 0; list-style: none; }
.link-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.4em; min-height: 3rem; margin: 0; }
.link-liste .mail-link { padding-block: 0.6em; }


/* ---------- 7. Kopfleiste und Kopf mit Menü ---------- */

.kopfleiste {
  background: var(--navy);
  color: var(--creme);
  font-size: var(--fs-klein);
  line-height: 1.35;
}
.kopfleiste-link,
.kopfleiste-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  max-width: none;
  margin: 0;
  padding: 0.35rem var(--gutter);
  text-align: center;
}
.kopfleiste-link { text-decoration: none; }
.kopfleiste-link:is(:link, :visited) { color: var(--creme); }
.kopfleiste-link .unterstrichen {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
.kopfleiste-link:hover .unterstrichen { text-decoration-thickness: 3px; }
.kopfleiste-link:focus-visible { outline-offset: -5px; box-shadow: none; border-radius: 0; }
.kopfleiste .kurz { display: inline; }
.kopfleiste .lang { display: none; }
@media (min-width: 48em) {
  .kopfleiste .kurz { display: none; }
  .kopfleiste .lang { display: inline; }
}
/* Datum fett, ohne Plakette */
.datum {
  font-family: var(--titel);
  font-weight: 700;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.kopf.ist-klein { border-bottom-color: var(--line); }

.kopf-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-height: 4.5rem;
  padding-block: 0.5rem;
}
.kopf.ist-klein .kopf-innen { min-height: 4rem; }

.kopf-logo {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 3rem;
  margin-right: auto;
  border-radius: 6px;
}
.kopf-logo img { width: auto; height: 2.4rem; }
@media (min-width: 30em) {
  .kopf-logo img { height: 3rem; }
}

/* Knopf „Menü“ (nur mit JavaScript und nur, solange die Navigation nicht passt) */
.menue-knopf {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.25rem 0.2rem;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.menue-knopf svg { width: 1.5rem; height: 1.5rem; }
.menue-knopf .zu { display: none; }
.menue-knopf[aria-expanded="true"] .auf { display: none; }
.menue-knopf[aria-expanded="true"] .zu { display: block; }
@media (min-width: 30em) {
  .menue-knopf {
    flex-direction: row;
    gap: 0.45rem;
    padding-inline: 0.85rem;
    border: 2px solid var(--navy);
    border-radius: 999px;
    font-size: var(--fs-klein);
  }
  .menue-knopf svg { width: 1.25rem; height: 1.25rem; }
}
.js .menue-knopf { display: inline-flex; }

/* Hauptmenü (ohne JavaScript: Liste unter dem Logo) */
.hauptmenue { order: 3; flex-basis: 100%; }
.menue-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menue-liste li { margin: 0; }
.menue-liste a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  color: var(--navy);
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.menue-liste a:is(:link, :visited) { color: var(--navy); }
.menue-liste a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.menue-liste a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--sonne);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.35em;
}
.menue-liste .menue-jobs a { font-weight: 400; }
.menue-extra { display: none; }

/* Mit JavaScript: Menü klappt als Fläche bis zum unteren Bildschirmrand auf */
.js .hauptmenue {
  display: none;
  position: fixed;
  top: var(--menue-oben, 5rem);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem var(--gutter) 2.5rem;
  background: var(--creme);
  border-top: 1px solid var(--line);
}
.js .hauptmenue.ist-offen { display: block; }
.js .menue-liste { display: block; max-width: 36rem; }
.js .menue-liste li { border-bottom: 1px solid var(--line); }
.js .menue-liste a { display: flex; min-height: 3.5rem; font-size: 1.25rem; }
.js .menue-liste .menue-jobs { margin-top: 1rem; border-top: 1px solid var(--line); }
.js .menue-extra { display: block; max-width: 36rem; padding-top: 1.5rem; }
.js .menue-extra .btn { width: 100%; }
.js .menue-extra p { margin-top: 1rem; font-size: var(--fs-klein); color: var(--text-soft); overflow-wrap: anywhere; }

.btn-kopf { order: 2; padding-inline: 0.8rem; white-space: nowrap; }
@media (max-width: 23.4375em) {
  .kopf-logo img { height: 2.1rem; }
  .btn-kopf { font-size: 1rem; padding-inline: 0.65rem; }
}
@media (min-width: 30em) {
  .btn-kopf { padding-inline: 1.1rem; }
}

/* Volle Navigation in einer Zeile: ab 1024 px, bei größerer Schrift erst ab 1280 px */
@media (min-width: 64em) {
  html:not(.schrift-2):not(.schrift-3) .kopf-innen { min-height: 5.5rem; gap: 1rem; flex-wrap: nowrap; }
  html:not(.schrift-2):not(.schrift-3) .kopf-logo img { height: 3.4rem; }
  html:not(.schrift-2):not(.schrift-3) .hauptmenue { display: block; position: static; order: 0; flex-basis: auto; margin-inline: auto; padding: 0; border: 0; background: none; overflow: visible; }
  html:not(.schrift-2):not(.schrift-3) .menue-liste { display: flex; flex-wrap: nowrap; gap: 0 clamp(0.9rem, 1.7vw, 1.9rem); align-items: center; max-width: none; }
  html:not(.schrift-2):not(.schrift-3) .menue-liste li { border: 0; }
  html:not(.schrift-2):not(.schrift-3) .menue-liste a { display: inline-flex; min-height: 3rem; font-size: var(--fs-ui); }
  html:not(.schrift-2):not(.schrift-3) .menue-liste .menue-jobs { margin: 0; padding-left: clamp(0.9rem, 1.7vw, 1.9rem); border: 0; border-left: 1px solid var(--halde); }
  html:not(.schrift-2):not(.schrift-3) .menue-extra { display: none; }
  html:not(.schrift-2):not(.schrift-3) .menue-knopf { display: none; }
  html:not(.schrift-2):not(.schrift-3) .btn-kopf { order: 0; font-size: 1.125rem; padding-inline: 1.35rem; }
}
@media (min-width: 80em) {
  :is(.schrift-2, .schrift-3) .kopf-innen { min-height: 5.5rem; gap: 1rem; flex-wrap: nowrap; }
  :is(.schrift-2, .schrift-3) .kopf-logo img { height: 3.1rem; }
  :is(.schrift-2, .schrift-3) .hauptmenue { display: block; position: static; order: 0; flex-basis: auto; margin-inline: auto; padding: 0; border: 0; background: none; overflow: visible; }
  :is(.schrift-2, .schrift-3) .menue-liste { display: flex; flex-wrap: nowrap; gap: 0 clamp(0.75rem, 1.3vw, 1.6rem); align-items: center; max-width: none; }
  :is(.schrift-2, .schrift-3) .menue-liste li { border: 0; }
  :is(.schrift-2, .schrift-3) .menue-liste a { display: inline-flex; min-height: 3rem; font-size: var(--fs-ui); }
  :is(.schrift-2, .schrift-3) .menue-liste .menue-jobs { margin: 0; padding-left: clamp(0.75rem, 1.3vw, 1.6rem); border: 0; border-left: 1px solid var(--halde); }
  :is(.schrift-2, .schrift-3) .menue-extra { display: none; }
  :is(.schrift-2, .schrift-3) .menue-knopf { display: none; }
  :is(.schrift-2, .schrift-3) .btn-kopf { order: 0; font-size: 1.0625rem; padding-inline: 1.1rem; }
}
/* Größte Schrift auf schmalen Bildschirmen: Kopf scrollt mit, damit Platz zum Lesen bleibt */
@media (max-width: 47.99em) {
  .schrift-3 .kopf, .schrift-2 .kopf { position: relative; }
}
/* Größere Schrift auf dem Handy: Knopf „Erstgespräch“ steht dann im Menü, damit der Kopf einzeilig bleibt */
@media (max-width: 29.99em) {
  .js:is(.schrift-2, .schrift-3) .btn-kopf { display: none; }
}


/* ---------- 8. Grafiksystem ---------- */

/* Icons aus dem Satz images/icons.svg: 24-px-Raster, 2 px Linie */
.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: currentColor;
  fill: none;
  vertical-align: middle;
}
.icon-gross { width: 2.25rem; height: 2.25rem; color: var(--navy); }

/* Schichtkante: geneigte Geraden mit wenigen Knicken, keine Wellen.
   Nur drei pro Seite: unter dem Hero, vor dem Navy-Band, vor dem Fuß. */
.schichtkante {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 0;
  pointer-events: none;
}
.schichtkante svg {
  width: 100%;
  height: 100%;
  max-width: none;
}
.kante-band { background: var(--creme); margin-bottom: -1px; }

/* Höhenlinien: nur im Bildbereich des Hero und im Fuß, nie hinter Text */
.hoehenlinien {
  position: absolute;
  pointer-events: none;
  background: url("images/hoehenlinien.svg") no-repeat center / contain;
}


/* ---------- 9. Startseite ---------- */

/* Hero */
.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero-raster { position: relative; align-items: end; row-gap: 2rem; }
.hero-text { position: relative; z-index: 1; }


.display {
  margin: 0 0 1.5rem;
  font-size: var(--fs-display);
  font-weight: var(--w-leicht);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.dachzeile {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.h1-haupt { display: block; }

.hero-lead { max-width: 34ch; }

/* Faktenzeile: Sonnenpunkt sitzt auf der ersten Zeile */
.fakten {
  display: grid;
  gap: 0.35rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-soft);
}
.fakten li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
}
.fakten li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--sonne);
}

.hero-bild {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
}
.hero-bild img { position: relative; width: 100%; }
/* Höhenlinien nur hinter dem Bild, weich auslaufend */
.hero-bild .hoehenlinien {
  inset: -18% -22% 18% -10%;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
}

@media (min-width: 40em) and (max-width: 63.99em) {
  .hero-raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; column-gap: 1.5rem; }
  .hero-raster .hero-text { grid-column: 1 / -1; }
  .hero-bild { grid-column: 1 / -1; width: min(100%, 28rem); margin: 0 0 -0.25rem auto; }
}
@media (min-width: 64em) {
  .hero-raster .hero-text { grid-column: 1 / span 7; padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
  /* Das Bild darf bis in den Seitenrand ragen, aber nie aus dem Bildschirm */
  .hero-bild {
    --raus: calc(var(--gutter) * 0.75 + max(0px, (100vw - var(--breite) - 2 * var(--gutter)) / 2 - 1rem));
    grid-column: 8 / span 5;
    width: calc(100% + var(--raus));
    max-width: 42rem;
    margin: 0 calc(-1 * var(--raus)) -0.35rem 0;
    justify-self: end;
  }
}

/* Schichtkante unter dem Hero: drei Bänder mit sichtbarem Versatz */
.kante-hero { height: clamp(2.5rem, 4.6vw, 4.5rem); margin-top: -1px; }
@media (max-width: 47.99em) {
  .kante-hero .band-1 { display: none; }
}

/* Weiche „Für wen suchen Sie Hilfe?“ */
.weiche { padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--folge); }
.weiche h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); margin-bottom: 1.5rem; }
.weiche-liste {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.weiche-liste li { margin: 0; }
.weiche-karte {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 1.1rem;
  min-height: 7.5rem;
  height: 100%;
  padding: 1.25rem 1.4rem 1.5rem;
  border: 1px solid var(--halde);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.weiche-karte:is(:link, :visited) { color: var(--text); text-decoration: none; }
.weiche-karte::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 0.85rem;
  height: 2px;
  background: var(--sonne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.weiche-karte:hover { border-color: var(--navy); }
.weiche-karte:hover::after { transform: scaleX(1); }
.weiche-karte .icon-gross { grid-row: 1 / span 2; align-self: start; margin-top: 0.15rem; }
.weiche-titel {
  font-family: var(--titel);
  font-size: 1.5rem;
  font-weight: var(--w-h3);
  line-height: 1.2;
  color: var(--navy);
}
.weiche-text { grid-column: 2; color: var(--text-soft); font-size: var(--fs-klein); line-height: 1.4; }
.weiche-pfeil {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--rost);
  transform: rotate(90deg);
  transition: transform 0.15s ease;
}
.weiche-karte:hover .weiche-pfeil { transform: rotate(90deg) translateX(3px); }
/* Ab 1024 px drei Karten nebeneinander: Icon oben, Pfeil unten rechts */
@media (min-width: 64em) {
  .weiche-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalte-gap); }
  .weiche-liste .weiche-karte {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "icon icon" "titel titel" "text pfeil";
    align-items: start;
    gap: 0.5rem 1rem;
    min-height: 12rem;
    padding: 1.5rem 1.6rem 1.9rem;
  }
  .weiche-liste .weiche-karte .icon-gross { grid-area: icon; margin: 0 0 0.5rem; }
  .weiche-liste .weiche-karte .weiche-titel { grid-area: titel; }
  .weiche-liste .weiche-karte .weiche-text { grid-area: text; align-self: end; }
  .weiche-liste .weiche-karte .weiche-pfeil { grid-area: pfeil; align-self: end; }
  .weiche-liste .weiche-karte::after { left: 1.6rem; right: 1.6rem; bottom: 1.05rem; }
}

/* Zusagen: das einzige Bento der Seite */
.bento {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bento > li { margin: 0; }
@media (min-width: 48em) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalte-gap); }
  .bento-gross { grid-column: 1 / -1; }
}
@media (min-width: 48em) and (max-width: 63.99em) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > li:last-child { grid-column: 1 / -1; }
}
.kachel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  border-radius: var(--radius);
  background: var(--creme);
}
.kachel h3 { margin-bottom: 0.6rem; }
.kachel p { margin-bottom: 1rem; }
.kachel .heisst {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--halde);
}
.kachel .heisst p { margin: 0; }
.heisst-titel { font-size: var(--fs-klein); font-weight: 700; color: var(--navy); }

.bento-gross .kachel { background: var(--weiss); gap: 1.75rem var(--spalte-gap); }
.bento-gross h3 { font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.25rem); font-weight: var(--w-leicht); line-height: 1.12; }
.bento-gross .kachel-haupt p { font-size: var(--fs-lead); line-height: 1.5; max-width: 30ch; margin: 0; }
.bento-gross .heisst { margin-top: 0; }
.heisst-liste { margin: 0.5rem 0 0; padding: 0; list-style: none; }
.heisst-liste li { margin: 0; padding-block: 0.55rem; border-bottom: 1px solid var(--line); }
.heisst-liste li:last-child { border-bottom: 0; }
@media (min-width: 64em) {
  .bento-gross .kachel { display: grid; grid-template-columns: 7fr 5fr; align-items: start; padding: 2.5rem; }
  .bento-gross .heisst { border-top: 0; border-left: 1px solid var(--halde); padding: 0 0 0 var(--spalte-gap); }
  /* Die drei kleinen Kacheln teilen sich Zeilen: Überschrift, Text und „Das heißt für Sie“ stehen auf gleicher Höhe */
  @supports (grid-template-rows: subgrid) {
    .bento > li:not(.bento-gross) { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
    .bento > li:not(.bento-gross) .kachel { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; row-gap: 0; height: auto; }
    .bento > li:not(.bento-gross) .heisst { margin-top: 0; }
  }
}

/* Leistungen: vier Szenen mit Titel und Text */
.leistungen-raster { row-gap: 2.25rem; }
.leistungen-kopf { grid-column: 1 / -1; max-width: 42rem; }
.leistungen-liste {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem var(--spalte-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) {
  .leistungen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .leistungen-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.leistungen-liste li { margin: 0; }
.leistungen-liste img { display: block; width: 100%; max-width: 20rem; height: auto; margin-bottom: 1.1rem; }
.leistungen-liste h3 { margin-bottom: 0.35rem; }
.leistungen-liste p { margin: 0; }

/* Abgrenzung „Das machen wir / Dafür ist ein Pflegedienst da“ */
.abgrenzung { margin-top: clamp(4rem, 8vw, 6rem); }
.abgrenzung > h3 { font-size: var(--fs-h3); }
.abgrenzung-raster {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 2px solid var(--navy);
}
@media (min-width: 48em) {
  .abgrenzung-raster { grid-template-columns: 1fr 1fr; }
  .abgrenzung-spalte + .abgrenzung-spalte { border-left: 1px solid var(--line); padding-left: var(--spalte-gap); }
}
.abgrenzung-spalte { padding: 1.5rem var(--spalte-gap) 1.5rem 0; }
.abgrenzung-spalte h4 { margin-bottom: 1rem; color: var(--navy); }
.liste-zeichen { margin: 0; padding: 0; list-style: none; }
.liste-zeichen li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding-block: 0.5rem;
}
.liste-zeichen .icon { margin-top: 0.15rem; }
.liste-ja .icon { color: var(--navy); }
.liste-nein .icon { color: var(--neutral); }
.liste-nein li { color: var(--text-soft); }
.abgrenzung-schluss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.abgrenzung-schluss p {
  margin: 0;
  font-family: var(--titel);
  font-size: var(--fs-h3);
  font-weight: var(--w-leicht);
  line-height: 1.3;
  color: var(--navy);
}

/* Beispielbesuch: eine Szene und eine ruhige, nummerierte Liste */
.besuch-raster { row-gap: 2.5rem; align-items: center; }
@media (min-width: 64em) {
  .besuch-bild { grid-column: 1 / span 7; }
  .besuch-liste { grid-column: 8 / span 5; }
}
.besuch-bild img { width: 100%; max-width: 40rem; }
.besuch-liste {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.besuch-liste li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.besuch-liste p { margin: 0; }
.besuch-nr {
  font-family: var(--titel);
  font-size: 1.5rem;
  font-weight: var(--w-leicht);
  line-height: 1;
  color: var(--sonne-tinte);
  font-variant-numeric: lining-nums;
}

/* Angehörige: Text links, ein großer Satz rechts */
.angehoerige-raster { row-gap: 3rem; align-items: start; }
@media (min-width: 64em) {
  .angehoerige-text { grid-column: 1 / span 6; }
  .angehoerige-satz { grid-column: 8 / span 5; padding-top: 2.6rem; }
}
.angehoerige-text h2 { max-width: 20ch; }
.angehoerige-satz {
  padding-top: 1.5rem;
  border-top: 3px solid var(--sonne);
}
.angehoerige-satz h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem);
  font-weight: var(--w-leicht);
  line-height: 1.15;
}
.satz-zitat { display: block; }
.angehoerige-satz .knopf-text { margin-top: 0.75rem; }

/* Navy-Band: Wer hinter Alltagsfels steht */
.band { color: var(--creme); }
.band h2, .band h3 { color: var(--creme); }
.band a:is(:link, :visited) { color: var(--creme); }
.band-raster { row-gap: 3.5rem; align-items: start; }
@media (min-width: 64em) {
  .band-kopf { grid-column: 1 / span 5; }
  .band-geschichte { grid-column: 7 / span 6; padding-top: 0.4rem; }
}
.band-lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 26ch; }
.geschichte-quelle {
  margin-bottom: 1rem;
  font-size: var(--fs-klein);
  font-weight: 600;
  color: var(--band-text);
}
.geschichte-text { max-width: 34em; }
.leitsatz {
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--blue);
  font-family: var(--titel);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: var(--w-leicht);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--creme);
  max-width: 14ch;
  text-wrap: balance;
}
.leitsatz-folge {
  margin-top: 1rem;
  font-family: var(--titel);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: var(--w-leicht);
  line-height: 1.25;
  color: var(--sonne);
}
.band-fuss { margin-top: 1.5rem; }

.personen {
  display: grid;
  gap: 2rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}
.person-eintrag { margin: 0; }
/* Kurzer Strich über dem Namen statt Initialen */
.person-eintrag::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--sonne);
}
.person-eintrag h3 { margin-bottom: 0.15rem; }
.person-rolle { margin-bottom: 0.5rem; color: var(--band-text); font-weight: 600; }

/* Wer bezahlt die Betreuung? */
.zwei-wege {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}
@media (min-width: 48em) {
  .zwei-wege { grid-template-columns: 1fr 1fr; }
  .zwei-wege > li + li { border-left: 1px solid var(--halde); padding-left: var(--spalte-gap); }
}
.zwei-wege > li { margin: 0; padding: 1.75rem var(--spalte-gap) 1.75rem 0; }
.zwei-wege h3 { margin-bottom: 0.6rem; }
.preis-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--halde);
}
.preis-zeile p { margin: 0; }

/* So fangen wir an */
.schritte {
  display: grid;
  gap: 2rem var(--spalte-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 64em) {
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.schritte li { margin: 0; padding-top: 1rem; border-top: 1px solid var(--halde); }
@media (max-width: 63.99em) {
  .schritte li { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); column-gap: 0.75rem; }
  .schritte .schritt-ziffer { grid-row: 1 / span 2; font-size: 4rem; margin: 0; }
}
.schritt-ziffer {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--titel);
  font-size: clamp(5rem, 4rem + 2vw, 6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--sonne-tinte);
  font-variant-numeric: lining-nums;
}
.schritte h3 { margin-bottom: 0.5rem; }

/* Was Sie bereitlegen können: eine Zeile mit Haarlinien, kein Kasten */
.bereitlegen {
  display: grid;
  gap: 0.75rem var(--spalte-gap);
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-block: 1.5rem;
  border-block: 1px solid var(--halde);
}
.bereitlegen h3 { margin: 0; font-size: 1.5rem; }
.bereitlegen p { margin: 0; color: var(--text-soft); }
.bereitlegen-liste {
  display: grid;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bereitlegen-liste li { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; }
.bereitlegen-liste li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--sonne);
}
@media (min-width: 48em) {
  .bereitlegen-liste { grid-template-columns: repeat(2, minmax(0, max-content)); }
}
@media (min-width: 64em) {
  .bereitlegen { grid-template-columns: 4fr 8fr; align-items: start; }
  .bereitlegen h3 { grid-row: 1 / span 2; max-width: 14ch; }
}

/* Einsatzgebiet: Karte und Text nebeneinander */
.einsatz { margin-top: clamp(3.5rem, 7vw, 5rem); row-gap: 2rem; align-items: center; }
@media (min-width: 64em) {
  .karte { grid-column: 1 / span 6; }
  .einsatz-text { grid-column: 8 / span 5; }
}
.einsatz-text h3 { font-size: var(--fs-h2); font-weight: var(--w-leicht); line-height: 1.1; }
.einsatz-text .btn { margin-top: 1rem; }
.karte {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin: 0;
}
.karte img { position: relative; width: 100%; }
.karte-orte { margin: 0; padding: 0; list-style: none; }
.karte-orte li {
  position: absolute;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  white-space: nowrap;
  transform: translateY(-50%);
}
.karte-orte .ort-bottrop { font-family: var(--titel); font-size: 1.5rem; font-weight: var(--w-h3); }
.karte-orte .ort-radius { font-weight: 400; color: var(--text-soft); }

/* Fragen als aufklappbare Liste */
.fragen-raster { row-gap: 2rem; align-items: start; }
@media (min-width: 64em) {
  .fragen-kopf { grid-column: 1 / span 4; }
  .fragen-liste { grid-column: 6 / span 7; }
}
.fragen-kopf h2 { margin-bottom: 1rem; }
.fragen-liste { border-top: 1px solid var(--line); }
.fragen-liste details { border-bottom: 1px solid var(--line); }
.fragen-liste summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 1rem 3.5rem 1rem 0.25rem;
  font-family: var(--titel);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  font-weight: var(--w-leicht);
  line-height: 1.3;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}
.fragen-liste summary::-webkit-details-marker { display: none; }
.fragen-liste summary::before,
.fragen-liste summary::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 1.25rem;
  height: 2px;
  background: var(--rost);
  transition: transform 0.2s ease;
}
.fragen-liste summary::after { transform: rotate(90deg); }
.fragen-liste details[open] summary::after { transform: rotate(0deg); }
.fragen-liste details[open] { background: var(--sand); }
.fragen-liste details[open] summary { padding-left: 1rem; }
.fragen-liste summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.antwort { padding: 0 1rem 1.5rem; }
.fragen-fuss { margin-top: 1rem; }

/* Fachstellen: schmal, ohne Kasten */
.fachstellen {
  display: grid;
  gap: 1.25rem var(--spalte-gap);
  padding-block: 2.25rem 1.5rem;
  border-top: 2px solid var(--navy);
}
.fachstellen h2 { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); max-width: 18ch; }
@media (min-width: 64em) {
  .fachstellen { grid-template-columns: 5fr 7fr; }
}

/* Abschluss auf Salbei mit Fels und Sonne */
.abschluss { position: relative; overflow: hidden; padding-bottom: 0; }
.abschluss-raster { display: grid; gap: 2rem; }
.abschluss-inhalt { position: relative; z-index: 1; max-width: 44rem; padding-bottom: var(--kapitel); }
.abschluss h2 { font-size: var(--fs-h1); }
.abschluss-unterzeile {
  margin-bottom: 1rem;
  font-family: var(--titel);
  font-size: var(--fs-h3);
  font-weight: var(--w-leicht);
  line-height: 1.3;
  color: var(--navy);
}
.abschluss-mail { margin-top: 1.5rem; color: var(--text-soft); }
.abschluss-fels { justify-self: end; align-self: end; width: clamp(12rem, 34vw, 26rem); margin-top: -3rem; pointer-events: none; }
.abschluss-fels img { width: 100%; height: auto; }
@media (min-width: 69em) {
  .abschluss-raster { grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; }
  .abschluss-fels { margin-top: 0; }
}


/* ---------- 10. Formularfelder (Kontakt und Jobs) ---------- */

.feld, .field { display: grid; gap: 0.4rem; margin-bottom: 1.5rem; }
.feld label,
.feld legend,
.field label {
  font-weight: 600;
  color: var(--text);
}
.feld-hinweis { margin: 0; font-size: var(--fs-klein); color: var(--text-soft); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--field);
  border-radius: 10px;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-text);
  line-height: 1.4;
}
textarea { min-height: 10rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--navy); }
::placeholder { color: var(--text-soft); opacity: 1; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rost); }
.feld-fehler { margin: 0; color: var(--rost); font-weight: 600; }

input[type="radio"], input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  accent-color: var(--navy);
}

fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 0.5rem; font-weight: 600; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Telefon oder E-Mail: eine Gruppe mit gemeinsamem Hinweis */
.erreichbar {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--creme);
}
.erreichbar legend { float: left; width: 100%; margin-bottom: 0.25rem; font-family: var(--titel); font-size: 1.375rem; font-weight: var(--w-h3); color: var(--navy); }
.erreichbar legend + * { clear: both; }
.erreichbar > .feld-hinweis { margin-bottom: 1.25rem; }
.erreichbar .feld-fehler { margin-bottom: 1rem; }

/* Senden hat nicht geklappt: deutlicher Kasten mit E-Mail als Ausweg */
.senden-fehler {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--rost);
  border-radius: 10px;
  background: var(--creme);
}
.senden-fehler p { margin: 0 0 0.5rem; }
.senden-fehler p:last-child { margin-bottom: 0; }
.senden-fehler a { overflow-wrap: anywhere; }
.senden-fehler:focus { outline: 3px solid var(--navy); outline-offset: 3px; }
.senden-fehler[hidden] { display: none; }

/* Rückruf: Sprungziel hervorheben */
:target.field, :target.feld { outline: 3px solid var(--sonne); outline-offset: 8px; border-radius: 6px; }


/* ---------- 11. Fuß ---------- */

.fuss {
  position: relative;
  margin-top: 0;
  background: var(--navy-dark);
  color: var(--creme);
  font-size: var(--fs-klein);
  line-height: 1.55;
}
.fuss-kante {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: clamp(2.25rem, 4.4vw, 4rem);
  pointer-events: none;
}
.fuss-kante svg { width: 100%; height: 100%; max-width: none; }
.fuss-raster {
  position: relative;
  display: grid;
  gap: 2.5rem var(--spalte-gap);
  padding-block: clamp(3.5rem, 7vw, 5rem) 2.5rem;
}
@media (min-width: 48em) {
  .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; }
}
.fuss p { max-width: 36ch; }
.fuss h2 {
  margin: 0 0 0.9rem;
  font-family: var(--titel);
  font-size: 1.375rem;
  font-weight: var(--w-h3);
  line-height: 1.25;
  color: var(--creme);
}
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { margin: 0; }
.fuss a:is(:link, :visited) { color: var(--creme); }
.fuss-raster li a { display: inline-flex; align-items: center; min-height: 3rem; }
.fuss-logo { display: inline-flex; align-items: center; min-height: 3rem; border-radius: 6px; }
.fuss-logo img { width: 13.5rem; height: auto; }
.fuss-unterzeile { margin: 0.1rem 0 1.25rem; font-family: var(--titel); font-size: 1.125rem; font-weight: var(--w-leicht); color: var(--band-text); }
.fuss-adresse { margin-top: 1rem; }
.fuss-adresse a { display: inline-flex; align-items: center; min-height: 3rem; overflow-wrap: anywhere; }

.fuss-leiste {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.25rem 1.75rem;
}
.fuss-leiste::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--blue);
}
.fuss-leiste p { margin: 0; }
.fuss-werkzeuge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
}
.fuss-werkzeuge a { display: inline-flex; align-items: center; min-height: 3rem; }
/* Unter 64em: Impressum und Datenschutz immer gemeinsam in eine eigene Zeile */
@media (max-width: 63.99em) {
  .fuss-werkzeuge > li { order: 1; }
  .fuss-werkzeuge::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .fuss-werkzeuge > li:nth-last-child(-n+2) { order: 3; }
}
.fuss .knopf-text { color: var(--creme); min-height: 3rem; }
.schrift-schalter { display: flex; align-items: center; gap: 0.5rem; }
.schrift-schalter > span { margin-right: 0.25rem; }
.schrift-schalter button {
  min-width: 3rem;
  min-height: 3rem;
  padding: 0 0.6rem;
  border: 2px solid var(--creme);
  border-radius: 999px;
  background: transparent;
  color: var(--creme);
  font-family: var(--titel);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.schrift-schalter button:nth-of-type(1) { font-size: 1rem; }
.schrift-schalter button:nth-of-type(2) { font-size: 1.125rem; }
.schrift-schalter button:nth-of-type(3) { font-size: 1.25rem; }
.schrift-schalter button[aria-pressed="true"] { background: var(--creme); color: var(--navy-dark); }

/* Ortsnamen der Karte: Lage in Prozent des Bildes (600 × 540), Punkte liegen nach echten Koordinaten */
.karte-orte li { text-shadow: 0 0 2px var(--salbei), 0 0 4px var(--salbei), 0 0 6px var(--salbei); }
.karte-orte .links { transform: translate(-100%, -50%); }
.karte-orte .ort-bottrop { left: 41.5%; top: 50%; }
.karte-orte .ort-kirchhellen { left: 46%; top: 30.8%; }
.karte-orte .ort-dorsten { left: 51.8%; top: 17.6%; }
.karte-orte .ort-gladbeck { left: 54.6%; top: 38.9%; }
.karte-orte .ort-gelsenkirchen { left: 65.8%; top: 53.4%; transform: translate(-50%, 0); }
.karte-orte .ort-essen { left: 58%; top: 66.1%; }
.karte-orte .ort-oberhausen { left: 32.8%; top: 62.8%; }
.karte-orte .ort-dinslaken { left: 22.4%; top: 40.8%; }
/* Schmale Bildschirme: Namen etwas kleiner, Dorsten und Oberhausen so legen, dass sie im Kreis bleiben */
@media (max-width: 30rem) {
  .karte-orte li { font-size: 1rem; }
  .karte-orte .ort-bottrop { font-size: 1.3rem; }
  .karte-orte .ort-dorsten { left: 47.8%; transform: translate(-100%, -50%); }
  .karte-orte .ort-oberhausen { left: 31%; top: 65.6%; transform: translate(-50%, 0); }
}
@media (max-width: 22.5rem) {
  .karte-orte li { font-size: 0.8rem; }
  .karte-orte .ort-bottrop { font-size: 1.05rem; }
}
.karte-orte .ort-radius { left: 46.8%; top: 78%; text-shadow: none; }
@media (max-width: 29.99em) {
  .karte-orte li { font-size: 1rem; }
  .karte-orte .ort-bottrop { font-size: 1.25rem; }
}


/* ---------- 12. Unterseiten ---------- */

/* Kopf der Unterseiten: Text links, Szene im Fels-Fenster rechts */
.seiten-kopf {
  position: relative;
  padding-top: clamp(2rem, 5vw, 4rem);
  background: var(--creme);
  overflow: hidden;
}
.seiten-kopf-raster { align-items: end; row-gap: 2rem; }
.seiten-kopf-text { padding-bottom: clamp(1rem, 4vw, 3.5rem); }
.seiten-kopf h1 { margin-bottom: 0.45em; max-width: 16ch; }
.seiten-kopf .lead { max-width: 32ch; }
.seiten-kopf .knopf-reihe { margin-top: 1.5rem; }
.seiten-kopf-bild { width: min(100%, 26rem); margin-inline: auto; }
.seiten-kopf-bild img { width: 100%; }
@media (min-width: 40em) and (max-width: 63.99em) {
  .seiten-kopf-bild { width: min(100%, 24rem); margin: 0 0 -0.25rem auto; }
}
@media (min-width: 64em) {
  .seiten-kopf-text { grid-column: 1 / span 7; }
  .seiten-kopf-bild { grid-column: 8 / span 5; width: 100%; max-width: 32rem; margin: 0 0 -0.3rem; justify-self: end; }
}
/* Ohne Bild (Leistungen, Impressum, Datenschutz) */
.seiten-kopf.ohne-bild .seiten-kopf-text { grid-column: 1 / -1; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.seiten-kopf.ohne-bild h1 { max-width: 20ch; }
.seiten-kopf.ohne-bild .lead { max-width: 40ch; }

.seiten-kopf .kante-hero { margin-top: 0; }

/* Faktenzeile auf der Jobs-Seite */
.job-fakten { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--text-soft); }
.job-fakten li { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0; }
.job-fakten li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 50%; background: var(--sonne); }

/* Abschnitte mit Spot-Illustration im Wechsel (Leistungen) */
.leistung {
  display: grid;
  gap: 1.5rem var(--spalte-gap);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.leistung:first-child { padding-top: 0; }
.leistung-bild img { width: min(100%, 22rem); }
.leistung h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); }
.leistung .beispiel { margin-top: 1rem; color: var(--text-soft); }
.leistung .beispiel strong { color: var(--navy); }
@media (min-width: 48em) {
  .leistung { grid-template-columns: 5fr 7fr; }
  .leistung:nth-child(even) .leistung-bild { order: 2; }
  .leistung-bild { justify-self: center; }
}

/* Häkchen-Liste für Unterseiten */
ul.ticks, ul.crosses { margin: 0 0 1em; padding: 0; list-style: none; }
ul.ticks li, ul.crosses li { position: relative; padding-left: 2rem; margin-bottom: 0.6rem; }
ul.ticks li::before, ul.crosses li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 1rem;
  height: 0.55rem;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}
ul.crosses li { color: var(--text-soft); }
ul.crosses li::before {
  top: 0.75em;
  width: 1.1rem;
  height: 2px;
  border: 0;
  background: var(--neutral);
  transform: rotate(45deg);
}
ul.crosses li::after {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.75em;
  width: 1.1rem;
  height: 2px;
  background: var(--neutral);
  transform: rotate(-45deg);
}

/* Ruhiger Textabschnitt (z. B. „Auch bei Demenz“) */
.ruhig { display: grid; gap: 1rem var(--spalte-gap); padding-top: 1.5rem; border-top: 2px solid var(--navy); }
.ruhig h2 { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); }
@media (min-width: 64em) {
  .ruhig { grid-template-columns: 5fr 7fr; }
}

/* Spalten mit Haarlinie oben, ohne Kasten */
.spalten { display: grid; gap: 2rem var(--spalte-gap); margin: 0; padding: 0; list-style: none; }
.spalten > * { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
@media (min-width: 48em) {
  .spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spalten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.spalten h2, .spalten h3 { font-size: var(--fs-h3); font-weight: var(--w-h3); line-height: 1.2; }
.merken { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.merken strong { display: block; font-size: var(--fs-klein); color: var(--navy); }

/* Nummerierte Liste mit Haarlinien */
.nummern { margin: 0; padding: 0; list-style: none; counter-reset: nr; border-top: 1px solid var(--line); }
.nummern li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  counter-increment: nr;
}
.nummern li::before {
  content: counter(nr);
  font-family: var(--titel);
  font-size: 1.5rem;
  font-weight: var(--w-leicht);
  line-height: 1;
  color: var(--sonne-tinte);
}
.nummern h3 { margin: 0 0 0.25rem; font-size: 1.375rem; }
.nummern p { margin: 0; }

/* Zeile mit Einsatzgebiet und Link */
.region-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.region-zeile p { margin: 0; }

/* Personen auf hellem Grund */
.personen-hell { margin-top: 0; }
.personen-hell .person-rolle { color: var(--text-soft); }
@media (min-width: 48em) {
  .personen-hell { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--spalte-gap); }
}

/* Sandfläche der Unterseite Über uns: der Name mit dem Bildzeichen aus dem Logo */
.name-band { row-gap: 2rem; align-items: center; }
.name-band .name-zeichen { width: min(100%, 18rem); }
.name-band h2 { color: var(--navy); }
.name-band p { font-size: var(--fs-lead); line-height: 1.5; max-width: 32ch; }
@media (min-width: 64em) {
  .name-band .name-zeichen { grid-column: 1 / span 4; }
  .name-band .name-text { grid-column: 6 / span 7; }
}

/* Werkzeug-Zeile im Seitenkopf (Drucken) */
.seiten-kopf-werkzeug { margin: 1.25rem 0 0; }

/* Leistungen: Abgrenzung als eigener Abschnitt */
.abgrenzung-seite { margin-top: 0; }
.abgrenzung-seite > p { max-width: var(--zeile); }
.abgrenzung-unter { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; font-weight: var(--w-h3); color: var(--navy); }
.abgrenzung-seite .abgrenzung-schluss { display: block; }
.abgrenzung-schluss .abgrenzung-hinweis {
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: var(--fs-text);
  line-height: 1.5;
  color: var(--text-soft);
}
.abgrenzung-seite + .region-zeile { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Über uns: Gründungsgeschichte und Qualität im Raster */
.geschichte-raster, .qualitaet-raster { row-gap: 1.5rem; }
.geschichte-kopf h2, .qualitaet-kopf h2 { margin: 0; }
.geschichte-inhalt p { max-width: var(--zeile); }
.geschichte-inhalt p:first-child { font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 64em) {
  .geschichte-kopf, .qualitaet-kopf { grid-column: 1 / span 4; }
  .geschichte-inhalt, .qualitaet-raster > :not(.qualitaet-kopf) { grid-column: 6 / span 7; }
}
.job-zeile { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Jobs */
.ruhig-abstand { margin-top: clamp(3rem, 6vw, 4.5rem); }
.bieten-liste { margin-top: 0; }
.kontakt-angaben .angabe-titel { margin-bottom: 0.3rem; font-size: 1.375rem; font-weight: var(--w-h3); }

/* Danke-Seite */
.danke-fuss { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.danke-fuss a { overflow-wrap: anywhere; }

/* Kontakt: Angaben neben dem Formular */
.contact-grid { display: grid; gap: 3rem var(--spalte-gap); align-items: start; }
@media (min-width: 64em) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.kontakt-angaben { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.kontakt-angaben > li { margin: 0; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.kontakt-angaben h2 { margin-bottom: 0.3rem; font-size: 1.375rem; font-weight: var(--w-h3); }
.kontakt-angaben p { margin-bottom: 0.4rem; }
.kontakt-angaben ol { margin: 0.25rem 0 0; padding-left: 1.25rem; }
.kontakt-angaben a { overflow-wrap: anywhere; }

form.contact-form {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--weiss);
}
.form-title { font-size: var(--fs-h3); }
.form-intro { color: var(--text-soft); }
.req { color: var(--rost); }
.optional { font-weight: 400; color: var(--text-soft); }
.form-hints { margin: 0.5rem 0 1.5rem; font-size: var(--fs-klein); color: var(--text-soft); }
.form-hints p { margin-bottom: 0.6rem; }
.form-safe { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: var(--fs-klein); color: var(--text-soft); }
.form-safe .icon-svg { width: 1.25rem; height: 1.25rem; }
form.contact-form .btn { width: 100%; }
.icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn .icon-svg { width: 1.2em; height: 1.2em; }

/* Fragen-Seite */
.faq-sprung { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.faq-sprung li { margin: 0; }
.faq-sprung a { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; }
.faq-group { margin-bottom: 3rem; }
.faq-group h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group details:first-of-type { border-top: 1px solid var(--line); }
.faq-group summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 0.9rem 3rem 0.9rem 0;
  font-family: var(--titel);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  font-weight: var(--w-leicht);
  line-height: 1.3;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::before,
.faq-group summary::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 1.25rem;
  height: 2px;
  background: var(--rost);
  transition: transform 0.2s ease;
}
.faq-group summary::after { transform: rotate(90deg); }
.faq-group details[open] summary::after { transform: rotate(0deg); }
.faq-group details[open] { background: var(--sand); }
.faq-group details[open] summary { padding-left: 1rem; }
.faq-answer { padding: 0 1rem 1.5rem; }

/* Große Linkzeilen (404) */
.link-zeilen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 40rem; }
.link-zeilen li { margin: 0; border-bottom: 1px solid var(--line); }
.link-zeilen a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; font-size: 1.375rem; font-family: var(--titel); font-weight: var(--w-leicht); text-decoration-thickness: 1px; }
.link-zeilen a:hover { text-decoration-thickness: 2px; }
.link-zeilen .icon { width: 1.5rem; height: 1.5rem; }

/* Textseiten: Impressum, Datenschutz */
.schmal { max-width: calc(48rem + 2 * var(--gutter)); }
.text-page { max-width: 48rem; }
.text-page h2 { margin-top: 2.5rem; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.text-page h2:first-child { margin-top: 0; }
.text-page h3 { margin-top: 2rem; font-size: 1.375rem; }
.legal { overflow-wrap: anywhere; }
.legal h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2rem); margin-top: 2.5rem; }
.legal h3 { font-size: 1.375rem; margin-top: 1.75rem; }
.note { margin-top: 1.5rem; color: var(--text-soft); font-size: var(--fs-klein); }
main > section:not([class]) { padding-block: var(--folge); }

/* Abschluss der Unterseiten: wie auf der Startseite, ohne Fels */
.abschluss-band { padding-block: var(--folge); background: var(--salbei); }
.abschluss-band .abschluss-inhalt { padding-bottom: 0; }
.abschluss-band h2 { font-size: var(--fs-h2); }


/* ---------- 13. Bewegung ----------
   Grundzustand ist immer sichtbar. Bewegung nur, wenn niemand sie
   abgeschaltet hat: höchstens 12 px Weg und 300 ms. */

@keyframes auftauchen {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes kante-legen {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .kopf-innen, .kopf-logo img { transition: min-height 0.2s ease, height 0.2s ease; }

  .hero-text > * { animation: auftauchen 300ms ease-out both; }
  .hero-text > :nth-child(2) { animation-delay: 60ms; }
  .hero-text > :nth-child(3) { animation-delay: 120ms; }
  .hero-text > :nth-child(4) { animation-delay: 180ms; }
  .hero-text > :nth-child(5) { animation-delay: 240ms; }

  .kante-hero .kante-linie {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: kante-legen 900ms ease-out 150ms forwards;
  }

  @supports (animation-timeline: view()) {
    .kapitel-titel {
      animation: auftauchen linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }

  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 200ms; }
}


/* ---------- 14. Druck ---------- */

@media print {
  @page { margin: 18mm 16mm; }
  html, html.schrift-2, html.schrift-3 { font-size: 12pt; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.45; }
  *, *::before, *::after { animation: none !important; transition: none !important; }

  .kopfleiste, .hauptmenue, .menue-knopf, .btn-kopf, .skip-link,
  .btn, .knopf-reihe, .pfeil-link, .knopf-text, form, .abschluss, .abschluss-band,
  .schichtkante, .fuss-kante, .hoehenlinien, .weiche, .fuss-werkzeuge,
  .hero-bild, .seiten-kopf-bild, .besuch-bild, .leistung-bild, .abschluss-fels, .karte, .js .nur-js,
  .person-eintrag::before, .faq-sprung, .fuss-raster > div:not(.fuss-marke) { display: none !important; }

  .kopf { position: static; border: 0; }
  .kopf-innen { min-height: 0; padding: 0 0 6mm; }
  .kopf-logo img { height: 14mm !important; }

  h1, h2, h3, h4, .marke, .lead, .weiche-titel, .leitsatz, .leitsatz-folge, summary,
  .person-rolle, .geschichte-quelle, .heisst-titel, .fuss-unterzeile, figcaption { color: #000 !important; }
  .display { font-size: 28pt; }
  h1 { font-size: 26pt; }
  h2 { font-size: 18pt; }
  h3, .bento-gross h3, .angehoerige-satz h3, .einsatz-text h3 { font-size: 14pt; }
  .leitsatz { font-size: 18pt; }
  .lead, .bento-gross .kachel-haupt p, .band-lead { font-size: 13pt; }
  .schritt-ziffer { font-size: 24pt; }

  section, .kapitel, .folge, .flaeche-navy, .band, .flaeche-sand, .flaeche-weiss, .flaeche-salbei, .fuss, .seiten-kopf {
    padding-block: 5mm !important;
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
  }
  .band a, .fuss a { color: #000 !important; }

  a { color: #000; text-decoration: underline; }

  /* Kleine Einheiten nicht trennen, große Blöcke dürfen umbrechen */
  .kachel, .person-eintrag, .leistungen-liste li, .zwei-wege > li, .schritte li, details,
  .besuch-liste li, .nummern li, .kontakt-angaben > li, .angehoerige-satz, .bereitlegen {
    break-inside: avoid;
    background: #fff !important;
    border-color: #999 !important;
  }
  h2, h3, .marke { break-after: avoid; }

  /* Antworten der Fragen beim Drucken zeigen */
  details::details-content { content-visibility: visible; display: block; }
  details > :not(summary) { display: block !important; }
  .fragen-liste summary::before, .fragen-liste summary::after,
  .faq-group summary::before, .faq-group summary::after { display: none; }

  .fuss { margin-top: 0; border-top: 1px solid #000 !important; }
  .fuss-raster { padding-block: 4mm 0 !important; }
  .fuss-leiste { break-before: avoid; padding-block: 2mm 0; }
  .fuss-leiste::before { background: #000; }
  .fuss-logo img { content: url("images/logo-kurz.svg"); width: 45mm; }
  .karte-orte li { color: #000; }

  /* Nur einen Abschnitt drucken (z. B. „Für Angehörige“): Rest ausblenden, Kontakt bleibt */
  html.druck-teil main > :not(.druck-ziel) { display: none !important; }
  html.druck-teil .druck-ziel { padding-top: 0 !important; }
}

/* Telefonnummer oben auf der Startseite */
.hero-anruf { margin: 1rem 0 0; font-size: 1.125rem; }
.hero-anruf .tel-link { font-weight: 600; white-space: nowrap; }
