/* =====================================================================
   MM Wunde GmbH — Gestaltungsgrundlage der Website
   Quelle der Farben und der Schrift: 0.7_PRODUKT/SCHULUNGEN/_MARKE/CI_MM_WUNDE.md
   Eigenentwicklung. Kein fremdes Gestaltungsraster uebernommen.
   ===================================================================== */

/* ---------- Schrift: liegt lokal, keine Verbindung zu Google ---------- */
@font-face {
  font-family: "Outfit";
  src: url("schrift/Outfit-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* CI — verbindlich */
  --blau-dunkel: #304F88;
  --blau-mittel: #5388C6;
  --pink: #F65B9A;
  --pink-dunkel: #CC3366;
  --grau: #757887;            /* CI-Ton - nur fuer Linien und Flaechen */
  --grau-lesbar: #63667A;     /* fuer TEXT: das CI-Grau erreicht auf hellem Grund
                                 nur 4,2:1 und faellt damit unter die Lesbarkeitsgrenze
                                 von 4,5:1. Gleicher Farbcharakter, nur dunkler. */
  --flaeche: #DBE0F2;
  --text: #333333;
  --weiss: #FFFFFF;

  /* abgeleitet */
  --grund: #F7F9FD;
  --linie: #E3E8F5;
  --blau-tief: #243C69;
  --schatten: 0 2px 4px rgba(48,79,136,.04), 0 12px 32px rgba(48,79,136,.08);
  --schatten-hoch: 0 4px 8px rgba(48,79,136,.06), 0 20px 48px rgba(48,79,136,.14);

  --radius: 18px;
  --radius-klein: 10px;
  --breite: 1180px;
  --spalte: 720px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Outfit", "Montserrat", Calibri, Arial, sans-serif;
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.18;
  color: var(--blau-dunkel);
  margin: 0 0 .6em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.375rem); }
p { margin: 0 0 1.1em; }
a { color: var(--blau-dunkel); text-decoration-color: var(--blau-mittel); text-underline-offset: 3px; }
a:hover { color: var(--blau-mittel); }

/* Tastaturbedienung muss sichtbar sein — Barrierefreiheit, nicht Geschmack */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.schmal { max-width: var(--spalte); }
.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--blau-dunkel); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-klein) var(--radius-klein); transition: top .15s;
}
.sprung-link:focus { top: 0; color: #fff; }

/* ---------- Knoepfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; line-height: 1.25;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf--haupt { background: var(--blau-dunkel); color: #fff; box-shadow: 0 6px 18px rgba(48,79,136,.25); }
.knopf--haupt:hover { background: var(--blau-tief); color: #fff; box-shadow: 0 10px 26px rgba(48,79,136,.32); }
.knopf--zweit { background: #fff; color: var(--blau-dunkel); border-color: var(--blau-mittel); }
.knopf--zweit:hover { background: var(--flaeche); color: var(--blau-dunkel); }
.knopf--hell { background: #fff; color: var(--blau-dunkel); }
.knopf--hell:hover { background: var(--flaeche); color: var(--blau-dunkel); }
.knopf--breit { width: 100%; }

.telefon-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; color: var(--blau-dunkel);
}
.telefon-link:hover { color: var(--pink-dunkel); }
.telefon-link svg { flex: 0 0 auto; }

/* ---------- Hinweisleiste Fachbrief (ueber der Kopfzeile) ----------
   Dezent, aber sichtbar: gleitet beim Laden herein, das Pflaster-Zeichen
   wippt alle paar Sekunden, ein Lichtstreif zieht selten ueber die Leiste.
   Bei "Bewegung reduzieren" steht alles still (Regel ganz oben). */
.leiste {
  position: relative; overflow: hidden; display: block;
  background: linear-gradient(90deg, var(--blau-tief), var(--blau-dunkel) 55%, var(--blau-mittel));
  color: #fff; text-decoration: none; font-size: .9rem; line-height: 1.3;
  animation: leiste-herein .7s cubic-bezier(.2,.8,.2,1) both;
}
.leiste::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: leiste-licht 9s ease-in-out 1.2s infinite;
}
.leiste__reihe { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 40px; padding-block: .35rem; }
.leiste__zeichen { display: inline-flex; color: var(--pink); animation: leiste-wippen 6s ease-in-out 1s infinite; }
.leiste__zeichen svg { width: 20px; height: 20px; }
.leiste__neu {
  flex: 0 0 auto; padding: .1rem .5rem; border-radius: 999px;
  background: var(--pink); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.leiste__text { min-width: 0; }
.leiste__name { font-weight: 650; letter-spacing: .01em; }
.leiste__lang { color: rgba(255,255,255,.85); }
.leiste__mehr {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 600; padding-left: .65rem; border-left: 1px solid rgba(255,255,255,.3);
}
.leiste__pfeil { display: inline-block; transition: transform .2s ease; }
.leiste:hover .leiste__pfeil, .leiste:focus-visible .leiste__pfeil { transform: translateX(4px); }
.leiste:hover .leiste__mehr { text-decoration: underline; text-underline-offset: 3px; }
.leiste:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
@keyframes leiste-herein { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes leiste-licht { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes leiste-wippen {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } 94% { transform: rotate(-5deg); }
}
@media (max-width: 720px) {
  .leiste__lang { display: none; }
  .leiste__reihe { justify-content: space-between; }
}

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__reihe { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.kopf__logo img { height: 42px; width: auto; }
.kopf__nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
/* WICHTIG: :not(.knopf) — sonst faerbt diese Regel auch den Knopf
   "Termin vereinbaren" dunkelgrau. Dunkelgrau auf Dunkelblau ist unlesbar. */
.kopf__nav a:not(.knopf) {
  padding: .55rem .8rem; border-radius: var(--radius-klein);
  text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--text);
}
.kopf__nav a:not(.knopf):hover { background: var(--flaeche); color: var(--blau-dunkel); }
.kopf__nav a:not(.knopf)[aria-current="page"] { color: var(--blau-dunkel); font-weight: 650; box-shadow: inset 0 -2px 0 var(--blau-mittel); }
.kopf__aktion { margin-left: .6rem; white-space: nowrap; }

/* ---------- Aufklappbare Menuegruppe ---------- */
.kopf__gruppe { position: relative; }
.kopf__gruppe-knopf {
  display: inline-flex; align-items: center; gap: .4rem;
  font: inherit; font-weight: 500; font-size: .975rem; color: var(--text);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: .55rem .8rem; border-radius: var(--radius-klein);
}
.kopf__gruppe-knopf:hover { background: var(--flaeche); color: var(--blau-dunkel); }
.kopf__gruppe-knopf[data-hier="ja"] { color: var(--blau-dunkel); font-weight: 650; box-shadow: inset 0 -2px 0 var(--blau-mittel); }
.kopf__pfeil {
  width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s ease;
}
.kopf__gruppe-knopf[aria-expanded="true"] .kopf__pfeil { transform: rotate(-135deg) translate(-2px, -2px); }
.kopf__liste {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 60;
  min-width: 17rem; margin: 0; padding: .5rem; list-style: none;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-klein);
  box-shadow: var(--schatten-hoch);
}
.kopf__liste a {
  display: block; padding: .6rem .7rem; border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: .95rem; white-space: nowrap;
}
.kopf__liste a:hover { background: var(--flaeche); color: var(--blau-dunkel); }
.kopf__liste a[aria-current="page"] { color: var(--blau-dunkel); font-weight: 650; }

@media (max-width: 1240px) {
  /* Auf dem Telefon klappt die Gruppe im Fluss auf, nicht als schwebendes Kaestchen */
  .kopf__gruppe-knopf { width: 100%; justify-content: space-between; padding: .8rem .6rem; }
  .kopf__liste {
    position: static; min-width: 0; box-shadow: none; border: 0;
    border-left: 2px solid var(--linie); border-radius: 0; margin-left: .6rem; padding-left: .6rem;
  }
}
.kopf__schalter {
  display: none; margin-left: auto; background: none; border: 2px solid var(--linie);
  border-radius: var(--radius-klein); padding: .55rem .8rem; font: inherit; font-weight: 600;
  color: var(--blau-dunkel); cursor: pointer;
}
@media (max-width: 1240px) {
  .kopf__schalter { display: inline-flex; align-items: center; gap: .5rem; }
  .kopf__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: #fff; border-bottom: 1px solid var(--linie); padding: .8rem clamp(1rem,4vw,2.5rem) 1.4rem;
    box-shadow: var(--schatten);
  }
  .kopf__nav[data-offen="ja"] { display: flex; }
  .kopf__nav a { padding: .8rem .6rem; }
  .kopf__aktion { margin: .6rem 0 0; }
}

/* ---------- Knopf "Wund-Hotline" ----------
   Zwischen Logo und Menue. Auf dem Telefon bleibt er sichtbar, waehrend das
   Menue zugeklappt ist. BEWUSST ZURUECKHALTEND (Vorgabe Matthias 18.09.2026):
   nur Umriss in CI-Pink, keine volle Farbflaeche, kein Schatten - das Logo
   von MM Wunde bleibt das Staerkste in der Kopfzeile. Der kleine Punkt
   pulsiert ruhig; bei "Bewegung reduzieren" steht er still. */
.kopf__sofort {
  display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto;
  margin: 0 auto; padding: .4rem .85rem; border-radius: 999px;
  background: transparent; color: var(--pink-dunkel); text-decoration: none;
  border: 1.5px solid rgba(204,51,102,.45);
  font-weight: 600; font-size: .9rem; line-height: 1.1; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.kopf__sofort:hover, .kopf__sofort:focus-visible { background: rgba(246,91,154,.08); border-color: var(--pink-dunkel); color: var(--pink-dunkel); }
.kopf__sofort[aria-current="page"] { background: rgba(246,91,154,.1); border-color: var(--pink-dunkel); }
.kopf__sofort-punkt {
  position: relative; width: .45rem; height: .45rem; border-radius: 50%; background: var(--pink); flex: 0 0 auto;
}
.kopf__sofort-punkt::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pink);
  animation: sofort-puls 2.8s ease-out infinite;
}
@keyframes sofort-puls { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.4); opacity: 0; } }
/* Auf breiten Schirmen steht er mittig zwischen Logo und Menue */
/* Das Menue klappt seit dem Knopf schon unter 1240 px zum Menue-Knopf
   zusammen (vorher 960 px): Logo, Knopf und fuenf Menuepunkte passen
   darunter nicht mehr in eine Zeile - das Logo wurde sonst verdraengt. */
.kopf__logo { flex: 0 0 auto; }
.kopf__nav a, .kopf__gruppe-knopf { white-space: nowrap; }
@media (min-width: 1241px) {
  .kopf__reihe { gap: .9rem; }
  .kopf__sofort { margin: 0 auto; }
  .kopf__nav { margin-left: 0; gap: .15rem; }
  .kopf__nav a:not(.knopf), .kopf__gruppe-knopf { padding-left: .65rem; padding-right: .65rem; }
}
@media (max-width: 1240px) {
  .kopf__reihe { gap: .6rem; }
  .kopf__schalter { margin-left: 0; }
}
/* Kleine Handys: das LOGO behaelt fast seine Groesse, der Knopf wird kleiner */
@media (max-width: 420px) {
  .kopf__reihe { gap: .5rem; }
  .kopf__sofort { padding: .35rem .6rem; font-size: .8rem; gap: .35rem; }
  .kopf__schalter { padding: .5rem .65rem; }
}
@media (max-width: 380px) {
  .kopf__reihe { gap: .4rem; }
  .kopf__logo img { height: 38px; }
  .kopf__sofort { padding: .3rem .5rem; font-size: .75rem; }
  .kopf__sofort-punkt { display: none; }
  .kopf__schalter { padding: .45rem .55rem; font-size: .9rem; }
}
@media print { .kopf__sofort { display: none; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.abschnitt--hell { background: var(--grund); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--dunkel { background: var(--blau-dunkel); color: #fff; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
/* WICHTIG: :not(.knopf) — sonst wird der weisse Knopf im dunklen Abschnitt
   weiss beschriftet und verschwindet. */
.abschnitt--dunkel a:not(.knopf) { color: #fff; }
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.abschnitt__kopf p { color: var(--grau-lesbar); font-size: 1.125rem; }
.abschnitt--dunkel .abschnitt__kopf p { color: rgba(255,255,255,.82); }

.augenbraue {
  display: inline-block; font-size: .8125rem; font-weight: 650; letter-spacing: .09em;
  text-transform: uppercase; color: var(--blau-dunkel); margin-bottom: .7rem;
  /* Dunkelblau statt Mittelblau: Grossbuchstaben in 13px sind Kleinschrift.
     Die Abstufung kommt aus Groesse und Sperrung, nicht aus der Farbe. */
}
.abschnitt--dunkel .augenbraue { color: #A8C4E8; }

/* ---------- Kopfbereich (Hero) ---------- */
.hero { position: relative; overflow: hidden; background: var(--grund); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(83,136,198,.20), transparent 65%),
    radial-gradient(700px 380px at -6% 110%, rgba(219,224,242,.85), transparent 60%);
  pointer-events: none;
}
.hero__raster {
  position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) { .hero__raster { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .5em; }
.hero h1 .leicht { display: block; font-weight: 250; color: var(--blau-mittel); }
.hero__unterzeile { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--text); max-width: 34rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }
.hero__zeit { margin-top: 1.1rem; color: var(--grau-lesbar); font-size: .95rem; }
.hero__bild {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten-hoch); background: var(--flaeche); aspect-ratio: 4 / 3;
}
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.zweispalt__bild, .film { position: relative; }
.ki-hinweis {
  position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .55rem;
  font-size: .75rem; line-height: 1.3; color: #fff; background: rgba(28,43,74,.62);
  border-radius: 999px; pointer-events: none;
}
.ki-hinweis--oben { top: .6rem; bottom: auto; }

/* Kurzfilm auf der Startseite */
.abschnitt--film { padding-bottom: 0; }
.abschnitt--film + .abschnitt { padding-top: clamp(2rem, 4vw, 3rem); }
.film { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-hoch); background: #fff; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Eigene Illustration — fuellt den Bildplatz, bis ein echtes Foto da ist.
   Bewusst abstrakt: Sie soll nicht so tun, als sei sie ein Foto. */
.illu { width: 100%; height: 100%; }
.illu__bild { display: block; width: 100%; height: 100%; }

/* Platzhalter fuer noch fehlende eigene Bilder — nie ein fremdes Foto einsetzen */
.bild-platzhalter {
  width: 100%; height: 100%; display: grid; place-content: center; gap: .5rem;
  text-align: center; padding: 2rem; color: var(--blau-dunkel);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 14px, transparent 14px 28px),
    var(--flaeche);
}
.bild-platzhalter strong { font-size: 1rem; }
.bild-platzhalter span { font-size: .875rem; color: var(--text); max-width: 22rem; }

/* ---------- Vertrauensleiste ---------- */
.vertrauen { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: #fff; }
.vertrauen__reihe {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between;
  padding: 1.4rem 0; align-items: center;
}
.vertrauen__punkt { display: flex; align-items: center; gap: .75rem; font-weight: 500; font-size: .975rem; }
.vertrauen__punkt svg {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 5px; border-radius: 50%;
  background: var(--flaeche); color: var(--blau-dunkel);
}

/* ---------- Wegweiser (eigenes Werkzeug) ---------- */
.wegweiser {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten-hoch); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.wegweiser__titel { font-size: 1.25rem; margin-bottom: .35rem; }
.wegweiser__hinweis { color: var(--grau-lesbar); font-size: .95rem; margin-bottom: 1.3rem; }
.wegweiser__felder { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .wegweiser__felder { grid-template-columns: 1fr; } }
.feld { display: flex; flex-direction: column; gap: .4rem; }
.feld label { font-weight: 600; font-size: .9375rem; color: var(--blau-dunkel); }
.feld select, .feld input, .feld textarea {
  font: inherit; color: var(--text); background: #fff;
  border: 2px solid var(--linie); border-radius: var(--radius-klein);
  padding: .8rem .9rem; width: 100%;
}
.feld select:hover, .feld input:hover, .feld textarea:hover { border-color: var(--blau-mittel); }
.feld select:disabled { background: var(--grund); color: var(--grau-lesbar); cursor: not-allowed; }
.wegweiser__ergebnis {
  margin-top: 1.2rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-klein);
  background: var(--grund); border-left: 4px solid var(--blau-mittel);
}
.wegweiser__ergebnis p { margin: 0 0 .9rem; }
.wegweiser__ergebnis[hidden] { display: none; }

/* ---------- Karten ---------- */
.karten { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.karten--2 { grid-template-columns: repeat(2, 1fr); }
.karten--3 { grid-template-columns: repeat(3, 1fr); }
.karten--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .karten--3, .karten--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .karten--2, .karten--3, .karten--4 { grid-template-columns: 1fr; } }

.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; gap: .3rem;
  transition: box-shadow .2s ease, transform .12s ease, border-color .2s ease;
}
.karte h3 { margin-bottom: .35rem; }
.karte p { color: var(--text); margin-bottom: .8rem; }
.karte__mehr { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.karte__mehr::after { content: "\2192"; transition: transform .15s ease; }
.karte:hover { box-shadow: var(--schatten); transform: translateY(-2px); border-color: var(--blau-mittel); }
.karte:hover .karte__mehr::after { transform: translateX(3px); }
.karte__zeichen {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-content: center;
  background: var(--flaeche); color: var(--blau-dunkel); margin-bottom: 1rem;
  transition: background-color .2s ease, transform .15s ease;
}
/* Runde Flaeche statt Rechteck und Linien statt Fuellung: Das ist der
   Unterschied zwischen amtlich und freundlich. */
.karte:hover .karte__zeichen { background: var(--blau-mittel); color: #fff; transform: rotate(-4deg); }
.abschnitt--dunkel .karte__zeichen { background: rgba(255,255,255,.14); color: #fff; }
.abschnitt--hell .karte { border-color: transparent; box-shadow: var(--schatten); }

/* ---------- Zitate / Schmerzpunkte ---------- */
.stimmen { display: grid; gap: 1.2rem; }
.zitat {
  background: #fff; border-radius: var(--radius); padding: clamp(1.2rem, 2.2vw, 1.8rem);
  border-left: 4px solid var(--blau-mittel); box-shadow: var(--schatten);
}
.zitat__satz { font-size: 1.125rem; font-weight: 600; color: var(--blau-dunkel); margin-bottom: .6rem; }
.zitat__erklaerung { margin: 0; color: var(--text); }

/* ---------- Ablauf in Schritten ---------- */
.schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.schritte li {
  counter-increment: schritt; position: relative; padding-left: 4rem;
  min-height: 3rem; display: flex; flex-direction: column; justify-content: center;
}
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-content: center; font-weight: 700; font-size: 1.1rem;
  background: var(--blau-dunkel); color: #fff;
}
.schritte strong { display: block; color: var(--blau-dunkel); font-size: 1.0625rem; }
.schritte span { color: var(--text); }
.abschnitt--dunkel .schritte li::before { background: #fff; color: var(--blau-dunkel); }
.abschnitt--dunkel .schritte strong { color: #fff; }
.abschnitt--dunkel .schritte span { color: rgba(255,255,255,.85); }

/* ---------- Aufzaehlung mit Haken ---------- */
.haken { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.haken li { position: relative; padding-left: 2rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--blau-mittel);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/78% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center/78% no-repeat;
}
.haken--warnung li::before { background: var(--pink-dunkel); }
.abschnitt--dunkel .haken li::before { background: #fff; }

/* ---------- Zweispaltiger Block ---------- */
.zweispalt { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .zweispalt { grid-template-columns: 1fr; } }
.zweispalt__bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 4 / 3; background: var(--flaeche); }

/* ---------- Fragen und Antworten ---------- */
.fragen { display: grid; gap: .7rem; max-width: 52rem; }
.frage {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-klein);
  padding: 0; overflow: hidden;
}
.frage summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600;
  color: var(--blau-dunkel); display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blau-mittel); flex: 0 0 auto; }
.frage[open] summary::after { content: "\2212"; }
.frage summary:hover { background: var(--grund); }
.frage__antwort { padding: 0 1.3rem 1.2rem; }
.frage__antwort p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */
.formular-block { background: var(--flaeche); }
/* Auf der hellblauen Flaeche reicht das Lesegrau nicht mehr (4,3:1). */
.formular-block .abschnitt__kopf p,
.abschnitt--flaeche .abschnitt__kopf p { color: var(--text); }
.formular {
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-hoch);
  padding: clamp(1.4rem, 3vw, 2.4rem); max-width: 44rem;
}
.formular__reihe { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .formular__reihe { grid-template-columns: 1fr; } }
.formular .feld { margin-bottom: 1rem; }
.pflicht { color: var(--pink-dunkel); }
.einwilligung { display: flex; gap: .8rem; align-items: flex-start; margin: 1.2rem 0; font-size: .9375rem; }
.einwilligung input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.formular__fuss { color: var(--grau-lesbar); font-size: .875rem; margin-top: 1rem; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Handlungsaufruf ---------- */
.aufruf { text-align: center; max-width: 44rem; margin-inline: auto; }
.aufruf .knopf { margin-top: .6rem; }
.aufruf__zusatz { color: var(--grau-lesbar); font-size: .9375rem; margin-top: .9rem; }
.abschnitt--dunkel .aufruf__zusatz { color: rgba(255,255,255,.75); }

/* ---------- Schaubilder im Wissensbereich ----------
   Gleiche Bildsprache wie die Schulungsmodule: flache Flächen, Ketten,
   Kacheln. Der Rahmen bleibt ruhig, das Bild soll wirken. */
.schaubild {
  margin: 0; background: #fff; border: 1px solid var(--linie);
  border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.8rem);
  box-shadow: var(--schatten);
}
.abschnitt--hell .schaubild { border-color: transparent; }
.schaubild__bild {
  display: block; width: 100%; height: auto;
  /* Die Beschriftungen im Bild erben die Hausschrift */
  font-family: "Outfit", "Montserrat", Calibri, Arial, sans-serif;
}
.schaubild__text {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--linie);
  font-size: .9375rem; color: var(--grau-lesbar); line-height: 1.6;
}
/* Auf dem Telefon sind die Zeichnungen zu breit für eine Zeile Text.
   Sie dürfen dann in ihrem eigenen Kasten wandern, statt die Seite zu sprengen. */
@media (max-width: 620px) {
  .schaubild { overflow-x: auto; padding: 1rem .8rem; }
  .schaubild__bild { min-width: 34rem; }
}

/* ---------- Inhaltsverzeichnis Wissensbereich ---------- */
.verzeichnis { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .verzeichnis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .verzeichnis { grid-template-columns: 1fr; } }
.verzeichnis__gruppe {
  background: #fff; border-radius: var(--radius); padding: clamp(1.2rem, 2vw, 1.6rem);
  box-shadow: var(--schatten);
}
.verzeichnis__gruppe h3 {
  font-size: 1.0625rem; margin-bottom: .9rem; padding-bottom: .7rem;
  border-bottom: 2px solid var(--flaeche); display: flex; align-items: center; gap: .6rem;
}
.verzeichnis__zeichen {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-content: center;
  border-radius: 50%; background: var(--flaeche); color: var(--blau-dunkel);
}
.verzeichnis__zeichen svg { width: 21px; height: 21px; }
.verzeichnis__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.verzeichnis__liste li { display: flex; flex-direction: column; gap: .1rem; }
.verzeichnis__liste a { font-weight: 600; text-decoration: none; }
.verzeichnis__liste a::before { content: "\2192\00a0"; color: var(--blau-mittel); }
.verzeichnis__liste a:hover { text-decoration: underline; }
.verzeichnis__liste span { font-size: .875rem; color: var(--grau-lesbar); padding-left: 1.4rem; }

/* =====================================================================
   LESEHILFE — Seiten mit data-lesehilfe="ja"
   Für Seiten, die sich an ältere Menschen und Angehörige richten.
   Keine eigene Schaltfläche, kein Speichern: Größere Grundschrift,
   mehr Zeilenabstand, größere Klickflächen. Wer mehr braucht, benutzt
   die Vergrößerung des Browsers — die kann jedes Gerät, und sie bleibt
   erhalten, ohne dass wir etwas auf dem Gerät ablegen.
   ===================================================================== */
body[data-lesehilfe="ja"] { font-size: 1.1875rem; line-height: 1.78; }
body[data-lesehilfe="ja"] .knopf { padding: 1.05rem 1.9rem; font-size: 1.0625rem; }
body[data-lesehilfe="ja"] .feld label { font-size: 1.0625rem; }
body[data-lesehilfe="ja"] .feld input,
body[data-lesehilfe="ja"] .feld select,
body[data-lesehilfe="ja"] .feld textarea { padding: .95rem 1rem; font-size: 1.0625rem; }
body[data-lesehilfe="ja"] .einwilligung { font-size: 1rem; }
body[data-lesehilfe="ja"] .einwilligung input { width: 1.4rem; height: 1.4rem; }
body[data-lesehilfe="ja"] .frage summary { font-size: 1.0625rem; padding: 1.25rem 1.4rem; }
body[data-lesehilfe="ja"] .haken li { padding-left: 2.3rem; }

/* ---------- In einfachen Worten ---------- */
.einfach-block { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: 0; }
.einfach {
  background: var(--flaeche); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
  border-left: 6px solid var(--blau-dunkel);
}
.einfach__titel { font-size: 1.25rem; margin-bottom: .9rem; }
.einfach__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.einfach__liste li {
  position: relative; padding-left: 2.1rem;
  font-size: 1.125rem; line-height: 1.6; color: var(--text);
}
.einfach__liste li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: .8rem; height: .8rem; border-radius: 50%; background: var(--blau-mittel);
}

/* ---------- Anrufen, groß ---------- */
.anruf-block { background: var(--blau-dunkel); color: #fff; }
.anruf { text-align: center; }
.anruf__vor { color: rgba(255,255,255,.85); font-size: 1.125rem; margin-bottom: .8rem; }
.anruf__nummer {
  display: inline-flex; align-items: center; gap: .8rem;
  font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem);
  color: #fff; padding: .5rem 1.5rem; border-radius: var(--radius);
  transition: background-color .2s ease;
}
.anruf__nummer:hover, .anruf__nummer:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
.anruf__nummer svg { width: 1em; height: 1em; flex: 0 0 auto; stroke-width: 1.5; }
.anruf__zeit { color: #fff; font-size: 1.125rem; font-weight: 600; margin: .4rem 0 1.2rem; }
.anruf p:last-child { margin-bottom: 0; color: rgba(255,255,255,.85); }
.anruf a:not(.anruf__nummer) { color: #fff; }

/* ---------- Selbstcheck ---------- */
.check {
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-hoch);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}
.check__liste { list-style: none; counter-reset: cf; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 1rem; }
.check__frage {
  counter-increment: cf; display: flex; flex-wrap: wrap; gap: .8rem 1rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1rem; border-bottom: 1px solid var(--linie);
}
.check__frage:last-child { border-bottom: 0; padding-bottom: 0; }
.check__frage p { margin: 0; flex: 1 1 15rem; font-weight: 500; }
.check__frage p::before { content: counter(cf) ". "; color: var(--blau-mittel); font-weight: 700; }
.check__antworten { display: flex; gap: .5rem; flex: 0 0 auto; }
.check__knopf {
  font: inherit; font-weight: 600; cursor: pointer; min-width: 5.2rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--linie); background: #fff; color: var(--text);
}
.check__knopf:hover { border-color: var(--blau-mittel); color: var(--blau-dunkel); }
.check__knopf[aria-pressed="true"] { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; }
.check__stand { margin: 0; color: var(--grau-lesbar); font-size: .9375rem; }
.check__ergebnis {
  margin-top: 1.2rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-klein);
  background: var(--grund); border-left: 4px solid var(--blau-mittel);
}
.check__ergebnis[data-ton="handeln"] { border-left-color: var(--pink-dunkel); background: #FBE9EF; }
.check__ergebnis[hidden] { display: none; }
.check__ergebnis p { margin: 0 0 1rem; }
.check__neu {
  display: block; margin-top: .9rem; background: none; border: 0; padding: 0;
  font: inherit; font-size: .9375rem; color: var(--blau-dunkel);
  text-decoration: underline; cursor: pointer;
}
.check__fuss { margin: 1rem 0 0; font-size: .875rem; color: var(--grau-lesbar); }

/* ---------- Profile in der Fusszeile ---------- */
.fuss__sozial { display: flex; gap: .6rem; margin-top: 1.2rem; }
.fuss__sozial a {
  width: 42px; height: 42px; display: grid; place-content: center; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
}
.fuss__sozial a:hover { background: #fff; color: var(--blau-tief); }

/* ---------- Hinweiskasten ---------- */
.hinweis {
  border-left: 4px solid var(--pink); background: #fff; border-radius: var(--radius-klein);
  padding: 1.1rem 1.3rem; box-shadow: var(--schatten); margin: 1.5rem 0;
}
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Fusszeile ---------- */
.fuss { background: var(--blau-tief); color: rgba(255,255,255,.82); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--flaeche); text-decoration: underline; }
.fuss__raster { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 1080px) { .fuss__raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; } }
.fuss h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.fuss__logo { background: #fff; border-radius: var(--radius-klein); padding: .7rem .9rem; display: inline-block; margin-bottom: 1rem; }
.fuss__logo img { height: 38px; width: auto; }
.fuss__unten {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .875rem;
}

/* ---------- Download (Leadmagnet) ----------
   Ein Blatt zum Herunterladen. Sammelt nichts, darum keine Freigabe noetig. */
.download {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--linie); border-left: 5px solid var(--blau-mittel);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  box-shadow: 0 6px 20px rgba(48,79,136,.08);
}
.download__zeichen {
  flex: 0 0 auto; width: 3rem; height: 3rem; display: grid; place-items: center;
  border-radius: var(--radius-klein); background: var(--flaeche); color: var(--blau-dunkel);
}
.download__zeichen svg { width: 26px; height: 26px; }
.download__text { flex: 1 1 18rem; }
.download__text h3 { margin: 0 0 .3rem; color: var(--blau-dunkel); font-size: 1.125rem; }
.download__text p { margin: 0 0 .3rem; }
.download__angaben { color: var(--grau-lesbar); font-size: .875rem; }
.download__knopf { flex: 0 0 auto; }

/* ---------- Fachbrief ----------
   Steht nur auf der Seite, wenn global.json -> fachbrief_sichtbar wahr ist.
   Ohne fachbrief_ziel erscheint statt des Knopfes der Telefonweg. */
.fachbrief { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.fachbrief__text { flex: 1 1 24rem; }
.fachbrief__text h2 { margin: .2rem 0 .7rem; }
.fachbrief__text p { color: rgba(255,255,255,.88); margin: 0 0 .9rem; }
.fachbrief__punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fachbrief__punkte li {
  position: relative; padding-left: 1.5rem; color: rgba(255,255,255,.9); font-size: .9375rem;
}
.fachbrief__punkte li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 50%; background: #fff;
}
.fachbrief__aktion { flex: 0 1 16rem; }
.fachbrief__knopf { width: 100%; text-align: center; }
.fachbrief__ersatz { color: #fff; font-weight: 600; margin: 0; }
.fachbrief__ersatz a { text-decoration-color: rgba(255,255,255,.5); }
.fachbrief__zusatz { color: rgba(255,255,255,.72); font-size: .8125rem; margin: .7rem 0 0; }
/* Mit eigenem Anmeldeformular (fachbrief_formular.aktiv): breitere Spalte, und im
   weissen Formularkasten dunkle Schrift statt der Weiss-Vorgabe des dunklen Abschnitts. */
.fachbrief__aktion--formular { flex: 1 1 22rem; }
.fachbrief__aktion--formular > .fachbrief__zusatz { color: rgba(255,255,255,.72); }
.formular--fachbrief { color: var(--text); }
.formular--fachbrief label { color: var(--text); }
.formular--fachbrief a:not(.knopf) { color: var(--blau-dunkel); }

/* ---------- Modulauswahl im Schulungsformular ---------- */
.modulwahl { border: 1px solid var(--linie); border-radius: var(--radius-klein);
             padding: 1rem 1.1rem 1.1rem; margin: 0 0 1rem; background: var(--grund); }
.modulwahl legend { font-weight: 600; font-size: .9375rem; color: var(--blau-dunkel);
                    padding: 0 .4rem; }
.modulwahl__hinweis { color: var(--grau-lesbar); font-size: .875rem; margin: 0 0 .7rem; }
.modulwahl__raster { display: grid; gap: .45rem;
                     grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.modulwahl__eintrag {
  display: flex; align-items: flex-start; gap: .6rem; cursor: pointer;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-klein);
  padding: .55rem .7rem; font-size: .9375rem; line-height: 1.35;
}
.modulwahl__eintrag:hover { border-color: var(--blau-mittel); }
.modulwahl__eintrag input { margin-top: .2rem; flex: 0 0 auto; width: 1.05rem; height: 1.05rem;
                            accent-color: var(--blau-dunkel); }
.modulwahl__eintrag:has(input:checked) { border-color: var(--blau-dunkel); background: var(--flaeche); }

/* ---------- Druck ---------- */
@media print {
  .kopf, .fuss, .wegweiser, .formular-block, .fachbrief, .leiste { display: none; }
  body { background: #fff; }
}

/* Kurzformular der Wund-Hotline: direkt unter der Ueberschrift, ohne Luecke */
.kurzformular { padding-top: 0; }
