/* =====================================================================
   Pflegeteam Weitsicht – Design-System
   Markenfarben, Schriften und Komponenten laut Branding-Guidelines.
   Diese Datei zentral pflegen – wirkt auf alle Seiten.
   ===================================================================== */

/* ---------- 0. Lokale Schriften (DSGVO-konform, kein Google-Server) ---------- */
@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/Poppins-300.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/Poppins-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/Poppins-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tenor Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/TenorSans-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---------- 1. Design-Tokens (Farben, Abstände, Schrift) ---------- */
:root {
  /* Markenfarben */
  --gruen:        #23824F; /* Primärgrün – CTAs, Akzente (leicht abgedunkelt für WCAG-AA-Kontrast; Marken-Grün war #349E64) */
  --gruen-dunkel: #084223; /* Akzentgrün – dunkle Flächen, Hover */
  --gruen-hell:   #E8F3ED; /* aufgehellt aus Primärgrün – dezente Flächen */
  --beige:        #E3D4AB; /* Sekundärbeige – warme Flächen, Karten */
  --beige-hell:   #F6F0E1; /* aufgehelltes Beige – Sektions-Hintergrund */
  --text:         #3D3D3D; /* Fließtext / Überschriften */
  --grau:         #6B6B6B; /* Nebentext, Captions (WCAG-AA-kontraststark; vormals #9B9B9B) */
  --grau-linie:   #E6E6E6; /* Trennlinien, Rahmen */
  --weiss:        #FFFFFF;

  /* Schrift */
  --font-head: "Tenor Sans", "Segoe UI", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Layout */
  --max:      1160px;   /* Container-Breite */
  --max-eng:  820px;    /* schmaler Lesecontainer */
  --radius:   14px;
  --radius-s: 8px;
  --shadow:   0 8px 30px rgba(8, 66, 35, .08);
  --shadow-s: 0 4px 14px rgba(8, 66, 35, .06);
  --shadow-cta: 0 8px 22px rgba(52, 158, 100, .30);

  /* Abstände */
  --sp-section: clamp(3.5rem, 7vw, 6rem);
}

/* ---------- 2. Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.7;
  font-size: 1.0625rem; /* 17px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
/* Dezenter Platzhalter, solange echte Fotos (.jpg) noch fehlen – zeigt beige Markenfläche + Alt-Text statt kaputtem Bild-Icon. */
main img:not([src$=".svg"]) { background: var(--beige-hell); color: var(--grau); font-size: .85rem; }
a { color: var(--gruen-dunkel); text-decoration: none; }
a:hover { color: var(--gruen); }

/* Sichtbarer Tastatur-Fokus (WCAG 2.4.7) */
:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; border-radius: 3px; }
.section--gruen :focus-visible, .hero--video :focus-visible, .footer :focus-visible, .ctaband :focus-visible, .floatbar :focus-visible { outline-color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- 3. Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.container--eng { max-width: var(--max-eng); }
.section { padding-block: var(--sp-section); }
.section--beige { background: var(--beige-hell); }
.section--gruen { background: var(--gruen-dunkel); color: #EAF3ED; }
.section--gruen h2, .section--gruen h3 { color: #fff; }
.section--tint { background: var(--gruen-hell); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.lead { font-size: 1.15rem; color: #555; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gruen);
  margin-bottom: .9rem;
}
.section--gruen .eyebrow { color: var(--beige); }

/* ---------- 4. Buttons / CTAs ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  padding: .95rem 1.7rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gruen); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--gruen-dunkel); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--gruen-dunkel); border-color: var(--gruen); }
.btn--ghost:hover { background: var(--gruen); color: #fff; }
.btn--white { background: #fff; color: var(--gruen-dunkel); }
.btn--white:hover { background: var(--beige); color: var(--gruen-dunkel); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.08rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 5. Header / Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--grau-linie);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.nav__logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.15rem; color: var(--text); letter-spacing: .04em; white-space: nowrap; flex-shrink: 0; }
.nav__logo img { height: 44px; width: auto; }
.nav__logo strong { font-weight: 400; }
.nav__logo span { color: var(--gruen); }
.nav__links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav__links a {
  display: block; padding: .55rem .6rem; border-radius: var(--radius-s);
  font-size: .93rem; color: var(--text); font-weight: 400; white-space: nowrap;
}
.nav__cta .btn { padding: .8rem 1.15rem; font-size: .93rem; }
/* Dropdown-Pfeil sauber inline halten (kein Zeilenumbruch) */
.nav__caret { font-size: .7em; margin-left: .25rem; display: inline-block; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.nav__cta { margin-left: .4rem; }
/* Im mittleren Breitenbereich reicht der Platz nicht für den CTA-Button – Kontakt-Link bleibt */
@media (max-width: 1340px) { .nav__cta { display: none; } }

/* Dropdown */
.nav__item { position: relative; }
.nav__item > a::after { content: ""; }
.nav__dropdown {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius-s);
  box-shadow: var(--shadow); padding: .4rem; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease;
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a { white-space: nowrap; }

/* Mobile */
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--grau-linie); padding: .6rem 1rem 1.2rem;
    gap: .1rem; box-shadow: var(--shadow); display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 1rem; }
  .nav__links .btn { margin-top: .6rem; }
}

/* Schlanker Landing-Header (aria-label="Kopfzeile"): Telefon-Button darf nie stauchen/abschneiden */
.nav[aria-label="Kopfzeile"] { gap: .6rem; }
.nav[aria-label="Kopfzeile"] > .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
  /* Wortmarke ausblenden – das Logo-Bild bleibt und schafft Platz für die Telefonnummer */
  .nav[aria-label="Kopfzeile"] .nav__logo > span { display: none; }
  .nav[aria-label="Kopfzeile"] > .btn { padding: .58rem .8rem; font-size: .84rem; }
}

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--beige-hell); overflow: hidden; }

/* Hero mit automatisch abspielendem Hintergrund-Video */
.hero--video { background: var(--gruen-dunkel); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,66,35,.50) 0%, rgba(8,66,35,.68) 60%, rgba(8,66,35,.80) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 760px; color: #fff; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero--video .eyebrow { color: var(--beige); }
.hero--video .hero__title { color: #fff; }
.hero--video .hero__text { color: #eaf3ed; max-width: 46ch; }
.hero--video .hero__trust { color: #eaf3ed; }
.hero--video .hero__places .pin { color: #fff; }
.hero--video .hero__places .pin svg { fill: var(--beige); }
.hero--video .hero__places .town { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.30); box-shadow: none; }
.hero__filmlink { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem; color: #fff; font-weight: 500; }
.hero__filmlink span { width: 40px; height: 40px; border-radius: 50%; background: var(--gruen); display: grid; place-items: center; }
.hero__filmlink svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.hero__filmlink:hover { color: var(--beige); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero__grid > * { min-width: 0; } /* verhindert Grid-Überlauf durch das Video-/Bildelement */
.hero__title { margin-bottom: 1.1rem; }
.hero__text { font-size: 1.18rem; color: #4a4a4a; margin-bottom: 1.8rem; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: #555; }
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.hero__media { position: relative; }
.hero__badge {
  position: absolute; bottom: -18px; left: -18px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .9rem 1.1rem; display: flex; gap: .7rem; align-items: center; max-width: 250px;
}
.hero__badge strong { font-family: var(--font-head); color: var(--gruen-dunkel); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__text { max-width: none; }
  /* Video bleibt auch mobil sichtbar (unter dem Text) */
}

/* ---------- 7. Karten / Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--gruen-hell);
  display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--gruen);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .55rem; }
.card p { color: #555; font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 500; color: var(--gruen); }
.card__link:hover { gap: .6rem; }
.card--link { text-decoration: none; color: inherit; display: block; }

/* Feature-Liste (Warum wir) */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen); display: grid; place-items: center; }
.section--gruen .feature__ic { background: rgba(255,255,255,.12); color: var(--beige); }
.feature h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.feature p { color: #555; font-size: .97rem; }
.section--gruen .feature p { color: #cfe3d7; }

/* ---------- 8. Schritte / Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.8rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gruen); color: #fff;
  font-family: var(--font-head); font-size: 1.25rem; display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: #555; font-size: .97rem; }

/* ---------- 9. Vorteils-/Trust-Band ---------- */
.trustband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 780px) { .trustband { grid-template-columns: repeat(2, 1fr); } }
.trustband .num { font-family: var(--font-head); font-size: 2.3rem; color: var(--gruen); line-height: 1; }
.trustband .lbl { font-size: .95rem; color: #555; margin-top: .35rem; }

/* ---------- 10. Zitat / Testimonial ---------- */
.quote { display: grid; grid-template-columns: 150px 1fr; gap: 1.8rem; align-items: center; background: var(--beige-hell); border-radius: var(--radius); padding: 2rem; }
.quote img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-s); }
.quote blockquote { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.5; color: var(--text); }
.quote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .95rem; color: var(--grau); }
@media (max-width: 620px) { .quote { grid-template-columns: 1fr; text-align: center; } .quote img { margin: 0 auto; } }

/* ---------- 11. CTA-Band ---------- */
.ctaband { background: var(--gruen-dunkel); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.ctaband h2 { color: #fff; margin-bottom: .8rem; }
.ctaband p { color: #cfe3d7; max-width: 55ch; margin-inline: auto; margin-bottom: 1.6rem; }
.ctaband .btn { margin: .3rem; }

/* ---------- 12. FAQ (Accordion) ---------- */
.faq { max-width: var(--max-eng); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--grau-linie); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 1.12rem; color: var(--text);
  padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
}
.faq__q::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gruen); transition: transform .2s; }
.faq__item.is-open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a-inner { padding: 0 0 1.25rem; color: #555; }

/* ---------- 13. Formulare ---------- */
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.4rem); }
.form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: .8rem .9rem; border: 1px solid #d9d9d9; border-radius: var(--radius-s); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gruen-dunkel); outline-offset: 1px; border-color: var(--gruen); box-shadow: 0 0 0 3px rgba(52,158,100,.2);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: #555; }
.field--check input { width: auto; margin-top: .25rem; }
.form__note { font-size: .82rem; color: var(--grau); margin-top: .8rem; }
.form__status { margin-top: .9rem; font-size: .95rem; font-weight: 500; }
.form__status.is-ok  { color: var(--gruen-dunkel); background: var(--gruen-hell); border-radius: var(--radius-s); padding: .7rem .9rem; }
.form__status.is-err { color: #8a1f1f; background: #fdecec; border-radius: var(--radius-s); padding: .7rem .9rem; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--gruen-dunkel); color: #cfe3d7; padding-block: 3.5rem 1.5rem; }
.footer a { color: #eaf3ed; }
.footer a:hover { color: var(--beige); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: 1rem; }
.footer__brand img { height: 46px; }
.footer__col-title { color: #fff; font-family: var(--font-head); font-size: 1.05rem; font-weight: 400; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: .55rem; font-size: .95rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #a9c6b4; }
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- 15. Floating WhatsApp/Call (Mobile-Conversion) ---------- */
.floatbar { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.floatbar a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow); color: #fff; transition: transform .15s;
}
.floatbar a:hover { transform: scale(1.06); }
.floatbar .fb-wa { background: #25D366; }
.floatbar .fb-call { background: var(--gruen); }
.floatbar svg { width: 28px; height: 28px; }
@media (min-width: 1101px) { .floatbar .fb-call { display: none; } }

/* ---------- 16. Diverse ---------- */
.badgelist { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.badgelist li { background: var(--gruen-hell); color: var(--gruen-dunkel); padding: .45rem .9rem; border-radius: 50px; font-size: .9rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 20px; height: 20px;
  background: var(--gruen); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/70% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/70% no-repeat;
}
/* Bewertungen / Testimonials */
.rating-badge { display: inline-flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--grau-linie); border-radius: 50px; padding: .55rem 1.3rem; box-shadow: var(--shadow-s); margin-top: 1.1rem; }
.rating-badge .g { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #4285F4; }
.rating-badge .g b:nth-child(1){color:#4285F4} .rating-badge .g b:nth-child(2){color:#EA4335} .rating-badge .g b:nth-child(3){color:#FBBC05} .rating-badge .g b:nth-child(4){color:#4285F4} .rating-badge .g b:nth-child(5){color:#34A853} .rating-badge .g b:nth-child(6){color:#EA4335}
.rating-badge .rate { font-weight: 500; color: var(--text); font-size: .95rem; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.testi { background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-s); height: 100%; display: flex; flex-direction: column; }
.testi blockquote { font-size: 1.02rem; color: #444; margin: .7rem 0 1.2rem; line-height: 1.7; }
.testi__author { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gruen); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.15rem; flex: 0 0 auto; }
.testi__name { font-weight: 500; color: var(--text); }
.testi__src { font-size: .82rem; color: var(--grau); }

/* Aufklappbare Bewertungen (mehr anzeigen ohne Weiterleitung) */
.testi-more[hidden] { display: none; }
.testi-more.is-open { animation: testiReveal .4s ease; }
@keyframes testiReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reviews-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; align-items: center; margin-top: 2rem; }

/* Team-Bereichsüberschrift */
.team-cat { margin: 2.6rem 0 1.3rem; display: flex; align-items: center; gap: .8rem; }
.team-cat h3 { font-size: 1.4rem; white-space: nowrap; }
.team-cat::after { content: ""; flex: 1; height: 1px; background: var(--grau-linie); }
.team-photos figcaption strong { display: block; font-weight: 500; }

/* Video (datenschutzfreundlicher Klick-zum-Laden-Embed) */
.hero__media .videoframe { max-width: none; width: 100%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--gruen-hell), 0 16px 44px rgba(8,66,35,.22); }
.hero__media .videoframe .videoframe__hint { font-size: .9rem; font-weight: 500; bottom: 14px; }

/* Standorte prominent im Hero */
.hero__places { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: 1.5rem; font-size: 1rem; }
.hero__places .pin { display: inline-flex; align-items: center; gap: .4rem; color: var(--gruen-dunkel); font-weight: 500; }
.hero__places .pin svg { width: 20px; height: 20px; fill: var(--gruen); }
.hero__places .town { display: inline-block; background: #fff; border: 1px solid var(--grau-linie); color: var(--gruen-dunkel); padding: .35rem .85rem; border-radius: 50px; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
/* Sanfte Hover-Animation der Standort-Chips (nur Geräte mit Maus) */
@media (hover: hover) {
  .hero__places a.town:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gruen); color: var(--gruen-dunkel); }
  .hero--video .hero__places a.town:hover { background: #fff; color: var(--gruen-dunkel); border-color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .hero__places a.town:hover { transform: none; } }
.videoframe { position: relative; max-width: 900px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; cursor: pointer; }
.videoframe img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .82; transition: opacity .2s; }
.videoframe:hover img { opacity: .68; }
.videoframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videoframe__play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.videoframe__play span { width: 84px; height: 84px; border-radius: 50%; background: var(--gruen); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .18s; }
.videoframe:hover .videoframe__play span { transform: scale(1.08); }
.videoframe__play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.videoframe__hint { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #fff; font-size: .82rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); pointer-events: none; }

/* Team-Fotogalerie */
.team-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.team-hero img { width: 100%; height: auto; display: block; }
.team-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .team-photos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team-photos { grid-template-columns: repeat(2, 1fr); } }
.team-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); background: var(--beige-hell); transition: transform .18s ease, box-shadow .2s ease; }
.team-photos figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photos img { width: 100%; aspect-ratio: 46 / 56; object-fit: cover; display: block; }
.team-photos figcaption { padding: .65rem .7rem; text-align: center; font-size: .88rem; color: var(--text); }
.team-photos figcaption small { display: block; color: var(--grau); font-size: .8rem; }

.pagehead { background: var(--beige-hell); padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.pagehead .breadcrumb { font-size: .85rem; color: var(--grau); margin-bottom: .6rem; }
.pagehead .breadcrumb a { color: var(--grau); }
.pagehead h1 { margin-bottom: .7rem; }
.pagehead p { max-width: 60ch; color: #4a4a4a; font-size: 1.1rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }

/* ---------- Versorgungsgebiet-Karte (interaktive SVG) ---------- */
.regionmap-wrap { max-width: 860px; margin-inline: auto; }
.regionmap { width: 100%; height: auto; display: block; }
.region-area { cursor: pointer; }
.region-area .rshape {
  fill: var(--gruen); stroke: #fff; stroke-width: 1.5;
  transition: fill .2s ease, filter .2s ease;
}
.rlabel { font-family: var(--font-head); fill: #fff; font-size: 17px; pointer-events: none; paint-order: stroke; stroke: rgba(8,66,35,.65); stroke-width: 3.5px; stroke-linejoin: round; }
.rsub   { font-family: var(--font-body); fill: #fff; font-size: 12px; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: rgba(8,66,35,.6); stroke-width: 3px; stroke-linejoin: round; }
.regionmap path { stroke-linejoin: round; }
@media (hover: hover) {
  .region-area:hover .rshape { fill: var(--gruen-dunkel); filter: drop-shadow(0 5px 12px rgba(8,66,35,.4)); }
}
.region-area:focus-visible { outline: none; }
.region-area:focus-visible .rshape { fill: var(--gruen-dunkel); stroke: var(--beige); stroke-width: 3; }
.regionmap .rmuted { fill: var(--gruen-hell); }
.regionmap .rcity  { fill: var(--grau); }
.regionmap .rcity-label { font-family: var(--font-body); fill: var(--text); font-size: 13px; font-weight: 500; }
.regionmap .rhint  { font-family: var(--font-body); fill: var(--grau); font-size: 12px; }
.region-pin { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .region-area:hover .rshape { transform: none; } }
.regionmap-towns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; list-style: none; padding: 0; }

/* ---------- Consent-Banner (Cookie-Einwilligung) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; background: #fff; border-top: 3px solid var(--gruen); box-shadow: 0 -8px 30px rgba(0,0,0,.16); padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom)); animation: consent-up .3s ease; }
@keyframes consent-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent__inner { max-width: 1080px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; }
.consent__text { flex: 1 1 340px; font-size: .9rem; line-height: 1.55; color: var(--text); }
.consent__text strong { display: block; margin-bottom: .15rem; font-family: var(--font-head); font-size: 1.02rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent__actions .btn { padding-block: .6rem; }
@media (max-width: 560px) { .consent__actions { width: 100%; } .consent__actions .btn { flex: 1 1 auto; } }
.consent-reopen { cursor: pointer; }

/* ---------- Pflegegrad-Rechner (Quiz) ---------- */
.quiz { max-width: 820px; margin-inline: auto; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; background: #fff; border: 1px solid var(--grau-linie); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 1.5rem; }
.quiz legend { float: left; width: 100%; font-family: var(--font-head); font-size: 1.15rem; color: var(--text); padding: 0 0 .9rem; }
.quiz legend .qnum { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gruen); color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 500; margin-right: .6rem; vertical-align: middle; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; clear: both; }
@media (max-width: 620px) { .quiz__opts { grid-template-columns: 1fr; } }
.quiz__opt { position: relative; }
.quiz__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz__opt label { display: block; border: 2px solid var(--grau-linie); border-radius: var(--radius-s); padding: .8rem .95rem; font-size: .95rem; color: var(--text); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; height: 100%; }
/* Sanfte Hover-Animation (nur Geräte mit Maus, nicht auf Touch).
   Hover liegt auf dem Container, weil das unsichtbare Radio-Input über dem Label liegt. */
@media (hover: hover) {
  .quiz__opt:hover input:not(:checked) + label { transform: translateY(-3px); border-color: var(--gruen); box-shadow: var(--shadow-s); background: #fff; }
}
@media (prefers-reduced-motion: reduce) { .quiz__opt label { transition: border-color .18s, background .18s; } .quiz__opt:hover input:not(:checked) + label { transform: none; } }
.quiz__opt label small { display: block; color: var(--grau); font-size: .82rem; margin-top: .15rem; }
.quiz__opt input:checked + label { border-color: var(--gruen); background: var(--gruen-hell); }
.quiz__opt input:focus-visible + label { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; }
.quiz__hint { text-align: center; color: var(--grau); font-size: .9rem; margin: .6rem 0 1.2rem; }
.quiz__result { display: none; margin-top: 2rem; }
.quiz__result.is-visible { display: block; }
.quiz__result-card { background: var(--gruen-dunkel); color: #eaf3ed; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.4rem); text-align: center; }
.quiz__result-card .grade { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 2.8rem); color: #fff; margin: .4rem 0 .6rem; }
.quiz__result-card .points { color: var(--beige); font-size: .95rem; }
.quiz__result-card p { max-width: 60ch; margin: .8rem auto 0; }
.quiz__disclaimer { font-size: .85rem; color: var(--grau); max-width: 70ch; margin: 1rem auto 0; text-align: center; }
.quiz__error { display: none; color: #8a1f1f; background: #fdecec; border-radius: var(--radius-s); padding: .8rem 1rem; margin-top: 1rem; text-align: center; font-weight: 500; }
.quiz__error.is-visible { display: block; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* Reveal-on-scroll (optional, via JS) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* Fallback: ohne JavaScript keine unsichtbaren Inhalte */
@media (scripting: none) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ===== Footer Social ===== */
.footer__social{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-top:1rem;}
.footer__social-label{font-size:.85rem;opacity:.85;margin-right:.15rem;}
.footer__social a{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;transition:background .2s ease;}
.footer__social a:hover,.footer__social a:focus-visible{background:rgba(255,255,255,.28);}
.footer__social svg{width:19px;height:19px;fill:currentColor;}
