/* ============================================================
   Pflegehafen – pflegehafen.at
   Design-System: übernommen aus der iOS-App (maritime Blau-Palette)
   ============================================================ */

:root {
  --primary: #2F6690;        /* Maritimes Blau (App: pcPrimary) */
  --primary-dark: #1F4A66;   /* App: pcPrimaryDark */
  --secondary: #4E8C7A;      /* Seegrün/Petrol (App: pcSecondary) */
  --background: #F2F5F8;     /* App: pcBackground */
  --surface: #FFFFFF;        /* App: pcSurface */
  --surface-alt: #DCE8F0;    /* App: pcSurfaceAlt */
  --text: #22323C;           /* App: pcTextPrimary */
  --text-secondary: #6B7F88; /* App: pcTextSecondary */
  --border: #C7D9E3;         /* App: pcBorder */
  --warning: #D96C6C;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* Feste Typo-Skala – ersetzt den bisherigen Wildwuchs aus 15 Größen.
     Jede Stufe hat eine klare Aufgabe, dadurch wirkt die Seite ruhiger. */
  --text-xs: 0.85rem;    /* Kleingedrucktes, Bildunterschriften */
  --text-sm: 0.92rem;    /* Hilfstexte unter Überschriften */
  --text-md: 1rem;       /* Fließtext */
  --text-lg: 1.08rem;    /* hervorgehobener Fließtext, Einleitungen */
  --text-h3: 1.15rem;    /* Karten-Überschriften */
  --text-h2: clamp(1.6rem, 3vw, 2.1rem);
  --text-h1: clamp(2rem, 4.5vw, 3rem);
  --text-tabelle: 0.72rem;   /* nur für die Vergleichstabelle am Handy */
  --shadow: 0 10px 30px rgba(31, 74, 102, 0.10);
  --shadow-soft: 0 4px 14px rgba(31, 74, 102, 0.07);
  --max-width: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(199, 217, 227, 0.5);
  transition: box-shadow 0.25s ease;
}

/* Beim Scrollen leichter Schatten statt harter Kante */
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(31, 74, 102, 0.09);
  border-bottom-color: transparent;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-dark);
}

/* Freigestelltes Logo: keine Kachel, kein Schatten – es steht direkt
   auf dem Hintergrund. */
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-footer .brand img { width: 42px; height: 42px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-weight: 700;
  font-size: var(--text-h3);
  letter-spacing: -0.015em;
}

.brand-claim {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: var(--text-md);
}

.site-nav a:hover { color: var(--primary); }

.site-nav a.btn { color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(199, 217, 227, 0.8);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.nav-toggle-label:hover { border-color: var(--primary); }

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before { position: absolute; top: -6.5px; }
.nav-toggle-label span::after { position: absolute; top: 6.5px; }

/* Offenes Menü: Burger wird zum Kreuz */
.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span::after { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(31, 74, 102, 0.14);
    padding: 10px 0 14px;
  }

  .site-nav a {
    padding: 15px 24px;
    font-weight: 600;
    border-bottom: 1px solid rgba(199, 217, 227, 0.4);
  }

  .site-nav a:last-of-type { border-bottom: none; }

  .site-nav a.btn {
    margin: 8px 24px 12px;
    text-align: center;
  }

  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--text-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 102, 144, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn-light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.btn-light:hover { transform: translateY(-1px); }

/* "btn-outline" wird seit jeher auf hellem Grund benutzt (Telefonknopf neben
   dem Anfrageformular, 14 Stellen), war aber nie definiert – die Knöpfe standen
   dort als randloser Text. Bei einem Kanal, über den tatsächlich Anfragen
   kommen, ist das kein Schönheitsfehler. */
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.btn-lg { padding: 16px 34px; font-size: var(--text-lg); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 55%, #3C7A99 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero::after {
  /* sanfte Wellen unten – Hafen-Motiv */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 70px;
  background: var(--background);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.hero .inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 88px 24px 130px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Grid-Spalten dürfen schmaler als ihr Inhalt werden – sonst schiebt ein
   breites Kind (z. B. die Badge-Zeile) die ganze Spalte über den Rand. */
.hero .inner > * { min-width: 0; }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
  max-width: 34em;
}

.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-art { display: flex; justify-content: center; }

.hero-art img {
  width: min(300px, 70vw);
  border-radius: 56px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; padding: 56px 24px 110px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(200px, 55vw); border-radius: 44px; }
}

/* Kompakter Hero für Unterseiten */
.hero.hero-sub .inner {
  grid-template-columns: 1fr;
  padding: 64px 24px 100px;
  text-align: left;
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  max-width: 44em;
  margin-bottom: 40px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: var(--text-h3);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p { color: var(--text-secondary); font-size: var(--text-md); }

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon svg { width: 25px; height: 25px; }

/* Zwei-Zielgruppen-Split */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } }

.split-card {
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-card.patients {
  background: var(--surface);
  border: 1px solid var(--border);
}

.split-card.caregivers {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.split-card h3 { font-size: 1.4rem; letter-spacing: -0.01em; }

.split-card p { font-size: var(--text-md); }

.split-card.patients p { color: var(--text-secondary); }
.split-card.caregivers p { color: rgba(255, 255, 255, 0.85); }

.split-card .tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
}

.split-card.patients .tag { background: var(--surface-alt); color: var(--primary-dark); }
.split-card.caregivers .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }

.split-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step h3 { font-size: var(--text-lg); margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: var(--text-md); }

/* ---------- Checkliste ---------- */

.check-list { list-style: none; display: grid; gap: 12px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-md);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--secondary);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="white" stroke="none"/><path d="M8 12.5l2.5 2.5L16 9.5" stroke="black"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="white" stroke="none"/><path d="M8 12.5l2.5 2.5L16 9.5" stroke="black"/></svg>') center / contain no-repeat;
}

/* ---------- Formular ---------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}

label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 6px;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #EAF1F6; /* sichtbares Eingabefeld wie in der App (pcSurfaceAlt-Logik) */
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

textarea { resize: vertical; min-height: 120px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 400;
}

.consent input { margin-top: 4px; }

.form-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 16px;
}

/* Aufmacherbild in Ratgeber-Artikeln. */
.artikel-bild { margin: 28px 0 32px; }
.artikel-bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.artikel-bild figcaption {
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-style: italic;
}

/* <picture> darf das Layout nicht verändern: display:contents nimmt das
   Element aus dem Boxbaum, das <img> bleibt direktes Kind seines Rahmens. */
picture { display: contents; }

/* Brotkrümelnavigation – zeigt die Einordnung der Seite, für Menschen wie für
   Suchmaschinen. Sitzt zwischen Kopfzeile und Inhalt. */
.brotkrumen {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
.brotkrumen .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.brotkrumen a { color: var(--text-secondary); text-decoration: none; }
.brotkrumen a:hover { color: var(--primary); text-decoration: underline; }
.brotkrumen a:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  color: var(--border);
}
.brotkrumen [aria-current] { color: var(--text); font-weight: 600; }

/* Schrittnummern als roter Faden: zeigen, dass die Seite einer Reihenfolge
   folgt, statt Informationen nebeneinanderzustellen. */
.faden-nummer {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

/* Einstiegsabsatz: beantwortet die Kernfrage gleich am Anfang – wichtig für
   Suchmaschinen und KI-Assistenten, optisch aber ein normaler Absatz. */
.einstieg {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

/* „Wo stehen Sie gerade?" – Einstieg über die eigene Lebenslage. */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.situation-karte {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.situation-karte:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.situation-karte .sk-icon { font-size: 1.7rem; line-height: 1; }
.situation-karte strong {
  font-size: var(--text-h3);
  line-height: 1.35;
  color: var(--text);
}
.situation-karte > span:not(.sk-icon):not(.sk-link) {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.situation-karte .sk-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
}
.situation-karte .sk-link::after { content: " →"; }
.situation-karte-cta { background: #EDF3F7; border-color: var(--primary); }

/* Anfragesektion: Erklärung links, Formular rechts. */
.anfrage-sektion { background: var(--surface-alt, #F4F7F9); }
.anfrage-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}
.anfrage-formular-spalte .form-card { max-width: none; margin: 0; }
/* Überschrift unmittelbar über den Feldern – erklärt, was nach dem Absenden
   passiert. Am Handy steht die Textspalte unter dem Formular, dort käme sie
   zu spät. */
.formular-ueberschrift { font-size: var(--text-h2); line-height: 1.2; margin-bottom: 12px; }
.formular-erklaerung {
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Drei Schritte mit gezeichneten Nummernkreisen statt Strichliste. */
.anfrage-ablauf {
  list-style: none;
  counter-reset: schritt;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.anfrage-ablauf li {
  counter-increment: schritt;
  position: relative;
  padding-left: 52px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}
.anfrage-ablauf li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: var(--text-md);
  font-weight: 700;
}
/* Verbindungslinie zwischen den Kreisen – macht die Abfolge sichtbar. */
.anfrage-ablauf li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17.5px;
  top: 38px;
  width: 2px;
  height: calc(100% - 18px);
  background: var(--border);
}
.anfrage-ablauf strong { display: block; color: var(--text); font-size: var(--text-md); margin-bottom: 2px; }
.anfrage-telefon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .anfrage-layout { grid-template-columns: 1fr; gap: 28px; }
  /* Am Handy zuerst das Formular – der Ablauf erklärt danach. */
  .anfrage-formular-spalte { order: -1; }
  .einstieg { font-size: var(--text-md); margin-bottom: 22px; }

  /* Kompakte Zeilen statt hoher Kacheln: sechs Karten übereinander würden das
     Formular sonst um rund 900 px nach unten schieben. */
  .situation-grid { grid-template-columns: 1fr; gap: 10px; }
  .situation-karte {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon titel" "icon link";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px 18px;
  }
  .situation-karte .sk-icon { grid-area: icon; font-size: 1.4rem; }
  .situation-karte strong { grid-area: titel; font-size: var(--text-md); }
  /* Die Erläuterung entfällt am Handy – der Titel trägt die Aussage. */
  .situation-karte > span:not(.sk-icon):not(.sk-link) { display: none; }
  .situation-karte .sk-link { grid-area: link; margin: 0; padding: 0; font-size: var(--text-xs); }
}

/* Kopfbereich mit Formular direkt daneben – kein Scrollen bis zur Anfrage. */
.hero-formular .inner { grid-template-columns: 1fr 1fr; align-items: start; padding-bottom: 88px; }
.hero-formular-spalte { background: transparent; }
.hero-formular-spalte .form-card { max-width: none; margin: 0; padding: 28px; }
.formular-titel { font-size: var(--text-h3); color: #fff; margin-bottom: 6px; }
.formular-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
}
.hero-telefon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.82);
}

.form-fehler {
  background: #FDF1F1;
  border: 1px solid #D96C6C;
  border-radius: var(--radius-sm);
  color: #B04A4A;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 14px 18px;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .hero-formular .inner { grid-template-columns: 1fr; padding-bottom: 56px; }
  /* Am Handy: erst die Ansprache, dann sofort das Formular – kein Bild dazwischen. */
  .hero-formular-spalte { order: 2; }
  .hero-formular .badge-row { margin-bottom: 4px; }
  .hero-telefon { margin-top: 16px; margin-bottom: 26px; }
}

/* Kennzeichnet freiwillige Felder – nimmt den Druck aus dem Formular. */
.feld-optional {
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0;
}

/* Freiwilliger Teil des Formulars – eingeklappt, damit die Pflichtfelder
   nicht in einer langen Maske untergehen. */
.mehr-angeben { border-top: 1px solid var(--border); padding-top: 14px; }
.mehr-angeben > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
}
.mehr-angeben > summary::-webkit-details-marker { display: none; }
.mehr-angeben > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
}
.mehr-angeben[open] > summary::before { content: "–"; }
.mehr-angeben[open] > summary { margin-bottom: 16px; }
.mehr-inhalt { display: grid; gap: 16px; }
/* Ohne diese Zeile bliebe der Inhalt auch zugeklappt sichtbar: das eigene
   display:grid schlägt die Browserregel, die zugeklappte Details ausblendet. */
.mehr-angeben:not([open]) > .mehr-inhalt { display: none; }

/* Themenauswahl: Klicken statt Formulieren. */
.feld-gruppe { border: 0; padding: 0; margin: 0; min-width: 0; }
.feld-gruppe legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.chip-auswahl { display: flex; flex-wrap: wrap; gap: 7px; }

.chip { position: relative; margin: 0; font-weight: 400; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip span::before { content: ""; }
.chip:hover span { border-color: var(--primary); }
.chip input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

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

/* Telefon und E-Mail exakt gleich breit, nebeneinander zentriert. */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 14px;
  margin: 28px auto 0;
  max-width: 560px;
}

.contact-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.contact-strip a:hover { border-color: var(--primary); }

/* ---------- Preis / CTA-Banner ---------- */

.price-card {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 48px 40px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card h3 { font-size: 1.6rem; margin-bottom: 8px; }

.preis-zeile {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 10px;
}

.preis-betrag {
  font-size: clamp(2.4rem, 7vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.preis-takt { color: rgba(255, 255, 255, 0.8); font-size: var(--text-md); font-weight: 600; }
.price-card .price-sub { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.price-card .check-list { text-align: left; margin: 0 auto 28px; max-width: 380px; }
.price-card .check-list li::before { background: #9FD4C5; }

.cta-banner {
  background: linear-gradient(150deg, var(--primary-dark), var(--primary));
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; letter-spacing: -0.01em; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; max-width: 38em; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */

details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
}

details.faq[open] summary::after { content: "–"; }

details.faq .faq-body {
  padding: 0 22px 18px;
  color: var(--text-secondary);
}

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

.legal main.container {
  max-width: 780px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal h1 { font-size: var(--text-h2); margin-bottom: 8px; letter-spacing: -0.02em; }
.legal .updated { color: var(--text-secondary); margin-bottom: 32px; font-size: var(--text-md); }
.legal h2 { font-size: var(--text-h3); margin: 32px 0 10px; }
.legal h3 { font-size: var(--text-lg); margin: 20px 0 6px; }
.legal p, .legal ul { margin-bottom: 12px; color: var(--text); }
.legal ul { padding-left: 22px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 32px;
  margin-top: 40px;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }

.site-footer h4,
.site-footer .footer-head {
  color: #fff;
  margin-bottom: 12px;
  font-size: var(--text-md);
  font-weight: 700;
}

.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer ul { list-style: none; display: grid; gap: 8px; }

.site-footer .brand { color: #fff; margin-bottom: 12px; }

.site-footer .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: var(--text-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- Utility ---------- */

/* Alle Badges gleich breit – wirkt ruhiger als unterschiedlich lange Pillen. */
.badge-row {
  display: grid;
  /* min(210px, 100%): unter 210px Containerbreite darf die Spalte schrumpfen –
     ohne das erzwingt das Grid eine Mindestbreite und sprengt das Handy-Layout. */
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 10px;
  margin-top: 22px;
  max-width: 700px;
}

.badge {
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .badge { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.22); }

/* ---------- Fotos & Platzhalter ---------- */

.photo-frame {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(31, 74, 102, 0.35);
  background: linear-gradient(160deg, #3C7A99, var(--primary-dark));
  aspect-ratio: 4 / 3;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos, center);
  display: block;
}

/* Sehr helle Fotos: dezenter Markenverlauf an den Rändern, damit die weißen
   Trust-Kärtchen darauf lesbar bleiben und das Foto ins Design eingebunden ist. */
.photo-frame.tinted::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(31, 74, 102, 0.28) 0%, rgba(31, 74, 102, 0) 42%),
    linear-gradient(20deg, rgba(31, 74, 102, 0.22) 0%, rgba(31, 74, 102, 0) 45%);
}

.photo-frame.portrait { aspect-ratio: 1 / 1; }

/* Solange das echte Foto fehlt: dezenter Platzhalter mit Beschreibung */
.photo-frame.missing img { display: none; }

.photo-frame.missing::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: var(--text-md);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.16), transparent 60%),
    linear-gradient(160deg, #4E8CB0, var(--primary-dark));
}

/* Schwebende Trust-Kärtchen über dem Hero-Foto */
.hero-photo { position: relative; }

/* Rotierende Kärtchen: mehrere Varianten übereinander, nur eine sichtbar */
.float-rotate { position: absolute; z-index: 3; }
.float-rotate.tl { top: 18px; left: -22px; }
.float-rotate.br { bottom: 22px; right: -18px; }

.float-rotate .float-card {
  position: static;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.float-rotate .float-card:first-child { position: relative; }

.float-rotate .float-card:not(:first-child) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.float-rotate .float-card.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .float-rotate .float-card { transition: none; }
}

@media (max-width: 860px) {
  .float-rotate.tl { left: 8px; }
  .float-rotate.br { right: 8px; }
}

@media (max-width: 640px) {
  .float-rotate.tl { display: none; }
  .float-rotate.br { bottom: -14px; }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px rgba(15, 40, 60, 0.25);
  padding: 12px 18px;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
}

.float-card small {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--text-xs);
}

.float-card .fc-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card .fc-icon svg { width: 19px; height: 19px; }

.float-card.tl { top: 18px; left: -22px; }
.float-card.br { bottom: 22px; right: -18px; }

@media (max-width: 860px) {
  .float-card.tl { left: 8px; }
  .float-card.br { right: 8px; }
}

/* ---------- Trust-Leiste unter dem Hero ---------- */

/* Vier gleichwertige Karten mit SVG-Icon in einem Kreis, klare Typo-Hierarchie.
   Ersetzt die alte Emoji-Variante, die unruhig und billig wirkte. */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(31, 74, 102, 0.10);
  overflow: hidden;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  padding: 22px 20px;
}

.trust-item .ti-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item .ti-icon svg { width: 22px; height: 22px; }

.trust-item strong {
  display: block;
  font-size: var(--text-md);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.trust-item span {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: 1.35;
  display: block;
}

/* ---------- Ansprechpartnerin ---------- */

.person-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) { .person-grid { grid-template-columns: 1fr; } }

.person-quote {
  border-left: 4px solid var(--primary);
  padding: 4px 0 4px 20px;
  font-size: var(--text-h3);
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin: 22px 0;
}

.person-name { font-weight: 700; }
.person-role { color: var(--text-secondary); font-size: var(--text-md); }

/* ---------- Vergleichstabelle ---------- */

.compare-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
  overflow: hidden;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--text-md);
}

table.compare th,
table.compare td {
  padding: 15px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  /* keine automatische Silbentrennung – sie zerlegt sonst auch den
     Markennamen ("Pflegeha-fen"). Umbruch nur zwischen Wörtern. */
  hyphens: manual;
  overflow-wrap: break-word;
}

/* Erste Spalte breiter als die drei Vergleichsspalten */
table.compare th:first-child,
table.compare td:first-child { width: 34%; }

table.compare th:first-child,
table.compare td:first-child {
  text-align: left;
  font-weight: 600;
}

table.compare thead th {
  background: #EAF1F6;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text);
  padding-top: 20px;
  padding-bottom: 20px;
  vertical-align: middle;
}

/* Pflegehafen-Spalte durchgehend als hervorgehobene Säule */
table.compare thead th.ph-col {
  background: var(--primary);
  color: #fff;
  position: relative;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

table.compare td.ph-col {
  background: rgba(47, 102, 144, 0.06);
  font-weight: 600;
  color: var(--text);
}

table.compare tbody tr:last-child td.ph-col {
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Zeilen dezent abwechselnd, erste Spalte etwas ruhiger */
table.compare tbody tr:nth-child(even) td:not(.ph-col) {
  background: rgba(242, 245, 248, 0.6);
}

table.compare tbody td:first-child { color: var(--text); }

table.compare tr:last-child td { border-bottom: none; }

/* Symbole als Kreise – deutlich ruhiger als farbige Häkchen im Text */
.yes, .no, .meh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.yes { background: rgba(78, 140, 122, 0.14); color: var(--secondary); }
.no { background: rgba(217, 108, 108, 0.13); color: var(--warning); }
.meh { background: rgba(107, 127, 136, 0.12); color: var(--text-secondary); }

/* Zusatztext neben einem Symbol */
.compare-note {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
}

/* ---------- App-Screenshots (Phone-Mockups) ---------- */

.phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 52px;
  justify-items: center;
}

.phone {
  width: min(248px, 74vw);
  text-align: center;
}

/* Seitenverhältnis exakt wie die zugeschnittenen Screenshots (660×1378),
   damit nichts beschnitten wird und der Rahmen wie ein iPhone wirkt. */
.phone .screen {
  /* content-box: das Seitenverhältnis gilt für die Bildfläche, nicht inkl.
     Rahmen – sonst würde der Screenshot links/rechts beschnitten. */
  box-sizing: content-box;
  width: 100%;
  aspect-ratio: 680 / 1420;
  border-radius: 42px;
  border: 5px solid var(--primary-dark);
  overflow: hidden;
  background: linear-gradient(170deg, #EAF1F6, var(--surface-alt));
  box-shadow: var(--shadow);
  position: relative;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone .screen.missing img { display: none; }

.phone .screen.missing::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: var(--text-sm);
}

.phone figcaption {
  margin-top: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Abwechselnde Sektionen ---------- */

.section-alt { background: var(--surface); }

/* ---------- Ratgeber ---------- */

.article-list { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-card h3 { font-size: var(--text-h3); }
.article-card p { color: var(--text-secondary); font-size: var(--text-md); }
.article-card a.more { font-weight: 600; text-decoration: none; margin-top: auto; }

article.ratgeber { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
article.ratgeber h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
article.ratgeber .meta { color: var(--text-secondary); margin-bottom: 28px; font-size: var(--text-md); }
article.ratgeber h2 { font-size: 1.35rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
article.ratgeber h3 { font-size: var(--text-h3); margin: 22px 0 8px; }
article.ratgeber p, article.ratgeber ul, article.ratgeber ol { margin-bottom: 14px; }
article.ratgeber ul, article.ratgeber ol { padding-left: 24px; }
article.ratgeber .hinweis {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: var(--text-md);
  margin: 20px 0;
}

/* Hervorgehobener Erklärkasten in Markenfarbe */
.hinweis-box {
  margin-top: 30px;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.hinweis-box p { color: rgba(255, 255, 255, 0.9); font-size: var(--text-md); line-height: 1.6; }
.hinweis-box strong { color: #fff; }

@media (max-width: 640px) { .hinweis-box { padding: 22px 20px; } }

/* ---------- Zusagen: nummerierte Karten im Website-Stil ---------- */

.zusagen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  list-style: none;
  counter-reset: zusage;
}

.zusagen li {
  counter-increment: zusage;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 24px 24px 22px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.zusagen li::before {
  content: counter(zusage);
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.zusagen strong {
  display: block;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.zusagen span {
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.5;
}

/* ---------- Autorenzeile (E-E-A-T) ---------- */

.autor-zeile {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 0 0 28px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.autor-zeile strong { color: var(--text); font-size: var(--text-md); }

.autor-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: 0.02em;
}

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

.rechner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 28px 0 36px;
}

.rechner h2 { font-size: 1.35rem; margin-bottom: 18px; letter-spacing: -0.01em; }

.rechner-block {
  border: none;
  border-top: 1px solid var(--border);
  padding: 20px 0 4px;
  margin: 0;
}

.rechner-block:first-of-type { border-top: none; padding-top: 0; }

.rechner-block legend {
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--primary-dark);
  padding: 0;
  margin-bottom: 4px;
}

.rechner-hint {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: 12px;
}

.rechner-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: var(--text-md);
  margin-bottom: 2px;
  transition: background 0.12s ease;
}

.rechner-item:hover { background: var(--surface-alt); }

.rechner-item input {
  margin-top: 3px;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.rechner-item small {
  display: block;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: var(--text-xs);
  margin-top: 1px;
}

.rechner-ergebnis {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 26px;
}

.erg-zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-md);
}

.erg-zeile strong { color: #fff; font-size: var(--text-lg); text-align: right; }

.erg-betrag {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 10px;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.erg-betrag strong {
  color: #fff;
  font-size: var(--text-h2);
  letter-spacing: -0.02em;
  text-align: right;
  line-height: 1.1;
}

.erg-hinweis {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 14px 0 0;
}

.erg-hinweis:empty { display: none; }

/* ---- Ergebnis der Entscheidungshilfe ---- */
.erg-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}
.erg-titel { display: block; font-size: var(--text-h3); line-height: 1.25; margin-bottom: 10px; }
.erg-text { font-size: var(--text-sm); line-height: 1.65; opacity: 0.92; }

.erg-balken { margin-top: 20px; display: grid; gap: 9px; }
.erg-balken-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 42px;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
}
.erg-spur { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.erg-fuell { display: block; height: 100%; border-radius: 999px; background: #fff; }
.erg-wert { text-align: right; font-variant-numeric: tabular-nums; opacity: 0.85; }

/* ---- Ergebnis des Förderungs-Checks ---- */
.leistungs-liste { margin-top: 18px; display: grid; gap: 12px; }
.leistung-karte {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.leistung-karte.ist-wichtig { background: rgba(255, 255, 255, 0.17); border-color: rgba(255, 255, 255, 0.4); }
.leistung-karte strong { display: block; font-size: var(--text-md); margin-bottom: 3px; }
.leistung-karte .marke {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.leistung-karte .lk-stelle { font-size: var(--text-xs); opacity: 0.75; margin-bottom: 8px; }
.leistung-karte p { font-size: var(--text-sm); line-height: 1.6; margin-bottom: 10px; opacity: 0.93; }
.leistung-karte a { color: #fff; font-size: var(--text-xs); font-weight: 600; }

@media (max-width: 560px) {
  .erg-balken-zeile { grid-template-columns: minmax(0, 1fr) 60px 38px; }
}

.rechner-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin: 18px 0 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .rechner { padding: 20px 16px; border-radius: var(--radius-sm); }
  .rechner-item { font-size: var(--text-sm); padding: 10px 8px; }
  .rechner-ergebnis { padding: 20px 18px; }
  .erg-betrag strong { font-size: 1.6rem; }
  .erg-zeile, .erg-betrag { flex-direction: column; gap: 2px; }
  .erg-zeile strong, .erg-betrag strong { text-align: left; }
}

/* Rechner-Teaser auf der Blog-Übersicht */
.rechner-teaser {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.rechner-teaser h2 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 0; }
.rechner-teaser p { color: rgba(255, 255, 255, 0.87); margin: 0; }
.rechner-teaser .btn { align-self: flex-start; margin-top: 6px; }

@media (max-width: 640px) {
  .rechner-teaser { padding: 26px 20px; }
  .rechner-teaser .btn { align-self: stretch; text-align: center; }
}

/* ---------- Leistungsliste (Patient:innen) ---------- */

/* Bewusst eine schlichte Checkliste statt 16 gerahmter Kacheln: Die Liste soll
   vollständig bleiben, ohne die halbe Startseite zu füllen. */
.leistung-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 0 28px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
}

.leistung-list li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  padding: 5px 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--text-secondary);
}

.leistung-list li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 800;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  /* Sechzehn Punkte untereinander sind am Handy eine endlose Kolonne. Zwei
     schmale Spalten zeigen dieselben Leistungen auf halber Höhe. */
  .leistung-list {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 14px 16px;
  }
  .leistung-list li {
    font-size: var(--text-xs);
    line-height: 1.35;
    padding: 4px 0;
    gap: 6px;
  }
}

/* Punkte-Indikator für horizontale Wisch-Galerien.
   Wird per JS erzeugt und nur eingeblendet, wenn der Container wirklich
   scrollt – am Desktop bleibt er unsichtbar. */
.swipe-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.swipe-dots.is-visible { display: flex; }

.swipe-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.swipe-dot.is-active {
  width: 26px;
  background: var(--primary);
}

/* Auf dunklem Grund (z. B. in blauen Sektionen) heller darstellen */
.split-card.caregivers .swipe-dot,
.hero .swipe-dot { background: rgba(255, 255, 255, 0.35); }
.split-card.caregivers .swipe-dot.is-active,
.hero .swipe-dot.is-active { background: #fff; }

/* Alter Texthinweis wird nicht mehr verwendet */
.swipe-hint { display: none !important; }

/* ---------- Mobile-First-Feinschliff ---------- */

@media (max-width: 860px) {
  /* Mobile First: das Foto zuerst zeigen – ein menschliches Bild wirkt
     stärker als jede Überschrift, sobald die Seite aufgeht. */
  .hero-photo { order: -1; }
  .photo-frame { aspect-ratio: 16 / 10; }
  /* Porträt bleibt quadratisch – sonst wird der Kopf oben beschnitten. */
  .photo-frame.portrait { aspect-ratio: 1 / 1; }
}

@media (max-width: 640px) {
  section { padding: 44px 0; }

  /* Claim auf schmalen Displays einzeilig halten – zweizeilig wirkte gedrängt */
  .brand-claim {
    font-size: 0.62rem;
    white-space: nowrap;
    letter-spacing: 0.05em;
  }

  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: var(--text-h3); }

  .container { padding: 0 18px; }

  .hero .inner { padding: 26px 18px 92px; gap: 26px; }

  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }

  .hero p.lead { font-size: var(--text-md); }

  .hero .eyebrow { font-size: var(--text-xs); padding: 5px 13px; margin-bottom: 14px; }

  /* CTAs am Handy: volle Breite, gut tippbar */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { text-align: center; width: 100%; }

  /* Badges am Handy untereinander, linksbündig – nebeneinander wirkten sie
     zerrissen und die Zeilen brachen unregelmäßig um. */
  .badge-row {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
  }

  .badge {
    font-size: var(--text-xs);
    padding: 9px 15px;
    justify-content: flex-start;
    text-align: left;
  }

  /* Trust-Leiste am Handy: statt eines Blocks mit Trennlinien vier eigene,
     gerundete Karten – passt zum übrigen Kartendesign der Seite. */
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
    margin-top: -30px;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 18px rgba(31, 74, 102, 0.08);
    padding: 16px 15px;
  }

  .trust-item .ti-icon { width: 38px; height: 38px; }

  .trust-item strong {
    font-size: var(--text-sm);
    line-height: 1.25;
    hyphens: auto;
  }

  .trust-item span {
    font-size: var(--text-xs);
    line-height: 1.35;
    display: block;
    hyphens: auto;
  }

  .split-card { padding: 28px 22px; }

  .card { padding: 22px; }

  /* Am Handy nur ein Kärtchen – sonst verdecken sie das ganze Foto. */
  .float-card.tl { display: none; }

  .float-card {
    font-size: var(--text-xs);
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    bottom: -14px;
  }
  .float-card .fc-icon { width: 30px; height: 30px; font-size: var(--text-md); }
  .float-card small { font-size: var(--text-xs); }

  .price-card { padding: 34px 22px; }
  .cta-banner { padding: 40px 22px; }

  .person-quote { font-size: var(--text-lg); }

  /* Funktions-Karten am Handy als horizontale Wisch-Galerie statt
     endloser Liste untereinander.

     Zentrierung: Die seitlichen Paddings entsprechen genau dem halben
     Restplatz ((100% − Kartenbreite) / 2). Dadurch rastet jede Karte – auch
     die erste und letzte – exakt in der Bildschirmmitte ein. */
  .card-grid.swipeable {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74vw;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    /* Fallback ohne JS – swipe.js setzt den exakten Wert für echte Zentrierung */
    padding: 4px 13vw 16px;
    margin: 0 -18px;
    scrollbar-width: none;
  }

  .card-grid.swipeable::-webkit-scrollbar { display: none; }

  .card-grid.swipeable .card {
    scroll-snap-align: center;
    margin: 0;
  }

  /* Bewertungen wischbar – gleiche Mechanik wie die Leistungskarten. */
  .bewertung-grid.swipeable {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 11vw 16px;
    margin: 0 -18px;
    scrollbar-width: none;
  }
  .bewertung-grid.swipeable::-webkit-scrollbar { display: none; }
  .bewertung-grid.swipeable .bewertung-karte { scroll-snap-align: center; margin: 0; }

  /* App-Screenshots: schmaler und mit mehr Luft dazwischen */
  .phones {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 58vw;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 52px;
    /* Fallback ohne JS – swipe.js setzt den exakten Wert für echte Zentrierung */
    padding: 4px 19vw 16px;
    margin: 0 -18px;
    scrollbar-width: none;
  }

  .phones::-webkit-scrollbar { display: none; }

  .phone {
    width: 100%;
    scroll-snap-align: center;
  }

  /* Vergleichstabelle passt ohne seitliches Scrollen aufs Handy.
     Bewusst eigene, kleinere Stufe – mit der normalen Textgröße würde die
     Tabelle über den Bildschirmrand hinauslaufen. */
  table.compare { font-size: var(--text-tabelle); }

  table.compare th,
  table.compare td { padding: 9px 4px; }

  table.compare thead th { font-size: var(--text-tabelle); }

  table.compare th:first-child,
  table.compare td:first-child { width: 29%; font-size: var(--text-tabelle); }

  .compare-note { font-size: 0.68rem; }

  .form-card { padding: 24px 18px; }

  .site-footer .cols { gap: 24px; }
}

/* ---------- Kaufseite (Registrierung + eingebettete Zahlung) ---------- */

.kauf-seite { padding: 44px 0 72px; }

/* Fortschrittsanzeige */
.kauf-schritte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  counter-reset: schritt;
  margin: 0 auto 38px;
  flex-wrap: wrap;
}

.kauf-schritte li {
  counter-increment: schritt;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.kauf-schritte li::before {
  content: counter(schritt);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
}

.kauf-schritte li:not(:last-child)::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--border);
  margin-left: 4px;
}

.kauf-schritte li.is-active { color: var(--primary-dark); }
.kauf-schritte li.is-active::before {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.kauf-schritte li.is-done::before {
  content: "✓";
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* Zweispaltig: Formular links, Bestellübersicht rechts */
.kauf-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 38px;
  align-items: start;
}

@media (max-width: 900px) {
  .kauf-grid { grid-template-columns: 1fr; gap: 28px; }
  .kauf-seite { padding: 30px 0 56px; }
}

.kauf-grid .form-card { max-width: none; margin: 0; }

.feld-hinweis {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 400;
}

.kauf-fehler {
  background: rgba(217, 108, 108, 0.1);
  border: 1px solid rgba(217, 108, 108, 0.4);
  color: #A83E3E;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: var(--text-md);
}

/* Container für das eingebettete Stripe-Formular */
.zahlung-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  min-height: 320px;
}

@media (max-width: 640px) { .zahlung-box { padding: 12px; } }

/* Bestellübersicht */
.bestellung {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  position: sticky;
  top: 96px;
}

@media (max-width: 900px) { .bestellung { position: static; } }

.bestellung h2 {
  font-size: var(--text-h3);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bestellung-zeile {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.bestellung-zeile strong { display: block; font-size: var(--text-md); }
.bestellung-zeile span { color: var(--text-secondary); font-size: var(--text-xs); line-height: 1.4; }
.bestellung-preis { font-weight: 600; white-space: nowrap; }

.bestellung-summe {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.bestellung-summe span { color: var(--text-secondary); font-size: var(--text-md); }
.bestellung-summe strong { font-size: 1.5rem; letter-spacing: -0.02em; }

.bestellung-liste { margin-bottom: 18px; }
.bestellung-liste li { font-size: var(--text-sm); }

.bestellung-sicher {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: 1.45;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.bestellung-sicher svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--secondary); margin-top: 1px; }

/* ---------- Willkommensseite nach der Zahlung ---------- */

.willkommen-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 640px) { .willkommen-karte { padding: 30px 22px; } }

.willkommen-haken {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(78, 140, 122, 0.13);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.willkommen-haken svg { width: 34px; height: 34px; }

.willkommen-schritte {
  list-style: none;
  counter-reset: ws;
  text-align: left;
  display: grid;
  gap: 14px;
  margin: 28px 0 8px;
}

.willkommen-schritte li {
  counter-increment: ws;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--background);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.willkommen-schritte li::before {
  content: counter(ws);
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  justify-content: center;
}

.willkommen-schritte strong { display: block; font-size: var(--text-md); margin-bottom: 2px; }
.willkommen-schritte span { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.45; }

/* ---------- Vertrauens-Sektion ---------- */

.vertrauen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.vertrauen-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
}

.vertrauen-karte .vk-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.vertrauen-karte .vk-icon svg { width: 25px; height: 25px; }

.vertrauen-karte h3 {
  font-size: var(--text-h3);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.vertrauen-karte p {
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.6;
}

/* Badge-Zeile zentriert (Hero der Startseite und Anfrage-Seite).
   Wichtig: Auch der Text innerhalb der Pille muss zentriert werden – die
   mobile Grundregel setzt ihn sonst linksbündig. */
.badge-row-zentriert { justify-items: center; margin-left: auto; margin-right: auto; }

.badge-row-zentriert .badge {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Am Rechner sollen die Punkte eine geschlossene Zeile bilden. Die automatische
   Spaltenzahl ergab je nach Textlänge 2 + 1 – das wirkt schief. */
@media (min-width: 861px) {
  .badge-row { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; }
  .badge-row .badge { font-size: var(--text-xs); padding: 8px 12px; }
}

/* Zwischenüberschrift über der Leistungsliste */
.leistung-titel {
  font-size: var(--text-h3);
  text-align: center;
  margin: 46px 0 20px;
  letter-spacing: -0.01em;
}

/* Buttons in einer Reihe: überall gleicher Abstand, umbruchfähig.
   Bisher war Flex nur im Hero gesetzt – außerhalb standen die Buttons als
   Inline-Elemente mit nur 4px Wortabstand nebeneinander. */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 640px) {
  .vertrauen-karte { padding: 22px 20px; }
  .leistung-titel { margin: 34px 0 16px; }
}

/* Belegzahlen: machen aus Behauptungen etwas Nachprüfbares. */
.zahlen-leiste {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 38px;
}
.zahl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
}
.zahl strong {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.zahl span {
  display: block;
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .zahlen-leiste { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
  .zahl { padding: 16px 12px; }
}

/* ---------- Google-Bewertungen ---------- */

.bewertung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.bewertung-karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bewertung-sterne {
  color: #E8A33D;
  font-size: var(--text-h3);
  letter-spacing: 0.08em;
  line-height: 1;
}

.bewertung-karte blockquote {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--text);
}

.bewertung-karte figcaption {
  margin-top: auto;
  padding-top: 6px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.bewertung-karte figcaption strong { display: block; color: var(--text); }

/* Anführungszeichen als leises Gestaltungselement hinter dem Zitat. */
.bewertung-karte { position: relative; overflow: hidden; }
.bewertung-karte::before {
  content: "„";
  position: absolute;
  top: -18px;
  right: 14px;
  font-size: 6rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.07;
  pointer-events: none;
}

.bewertung-hinweis {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .bewertung-karte { padding: 22px 20px; }
}

/* ---------- Nachbargemeinden-Liste auf den Ortsseiten ---------- */

.nachbar-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  list-style: none;
}

.nachbar-liste li a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: var(--text-md);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease;
}

.nachbar-liste li a:hover { border-color: var(--primary); }

/* Gemeindeübersicht auf der Mödling-Seite */
.gemeinde-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  list-style: none;
  margin-bottom: 18px;
}

.gemeinde-liste li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--text-md);
}

.gemeinde-liste li a { text-decoration: none; font-weight: 600; }
.gemeinde-liste li.ohne-seite { color: var(--text-secondary); }

/* ---------- Bild-Text-Baustein (abwechselnd, für emotionale Abschnitte) ---------- */

.bild-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

/* Jede zweite Reihe spiegeln – ergibt einen ruhigen Rhythmus beim Scrollen */
.bild-text.gespiegelt .bt-bild { order: 2; }

.bt-bild {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 74, 102, 0.16);
  aspect-ratio: 4 / 3;
}

.bt-bild img { width: 100%; height: 100%; object-fit: cover; }

.bt-text h2 { margin-bottom: 14px; }

.bt-text p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.65;
  margin-bottom: 14px;
}

.bt-text .check-list { margin-top: 20px; }

@media (max-width: 860px) {
  .bild-text { grid-template-columns: 1fr; gap: 26px; }
  .bild-text.gespiegelt .bt-bild { order: 0; }
  .bt-bild { aspect-ratio: 16 / 10; }
}

/* App-Store-Abzeichen in der Fußzeile.
   Apples Gestaltungsvorgaben verlangen einen Freiraum von mindestens einem
   Viertel der Abzeichenhöhe ringsum und keine Veränderung der Grafik selbst. */
.app-store-abzeichen {
  display: inline-block;
  margin-top: 18px;
  line-height: 0;
  border-radius: 8px;
}
.app-store-abzeichen img {
  height: 47px;
  width: auto;
  display: block;
}
.app-store-abzeichen:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
