/* ============================================================
   Pflegeklartext — gemeinsames Stylesheet (Marke + Layout)
   Petrol-Grün #1d8f6e · warmes Papier-Off-White · seriös/premium
   Wird hart gecacht ausgeliefert (/assets/pk.css). EINE Datei = ein Hausstil.
   ============================================================ */
:root{
  --bg:#fbf7f0;            /* warmes, helles Papier-Off-White */
  --bg-soft:#f3ede2;       /* zarte zweite Fläche */
  --surface:#ffffff;       /* Karten */
  --ink:#1f3a4d;           /* navy-petrol, ruhige Hauptfarbe für Text/Titel */
  --ink-soft:#46606f;      /* gedämpfter Fließtext */
  --muted:#637484;         /* Hinweise, Fußnoten — WCAG AA (>=4.5:1 auf bg & weiß) */
  --teal:#1d8f6e;          /* Vertrauens-Akzent (Marke) */
  --teal-deep:#0f6e56;     /* Akzent-Text auf hell (kontraststark) */
  --teal-wash:#e4f3ec;     /* sehr zarte Akzentfläche */
  --line:#e7ded0;          /* warme Trennlinien */
  --line-soft:#efe8db;
  --amber-wash:#fbf3e3;    /* zarte Warn-/Hinweisfläche */
  --amber-line:#e8d9b8;
  --focus:#0f6e56;
  --maxw:980px;
  --maxw-read:720px;       /* angenehme Lesebreite für Artikel */
}
*{box-sizing:border-box;margin:0;padding:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
  min-height:100vh;
  display:flex;flex-direction:column;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--teal-deep)}
img{max-width:100%;height:auto}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 22px}

/* ---------- Kopf / Wortmarke + Navigation ---------- */
.site-head{position:relative;padding:20px 0;border-bottom:1px solid var(--line-soft);background:var(--bg)}
.head-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,"Times New Roman",serif;font-size:22px;color:var(--ink);letter-spacing:.2px;text-decoration:none}
.brand .mark{width:32px;height:32px;flex:0 0 auto}
.brand b{font-weight:400}
.brand .accent{color:var(--teal-deep);font-weight:700}
.nav{display:flex;align-items:center;gap:26px}
.nav a{font-size:15px;color:var(--ink-soft);text-decoration:none;font-weight:500;padding:6px 2px;border-bottom:2px solid transparent}
.nav a:hover{color:var(--teal-deep)}
.nav a[aria-current="page"]{color:var(--teal-deep);border-bottom-color:var(--teal)}
/* Hamburger-Button: auf Desktop komplett aus, erst im Mobile-Breakpoint sichtbar */
.nav-toggle{display:none}

/* ---------- Buttons / CTA ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;font-size:15.5px;font-weight:600;line-height:1;padding:14px 22px;border-radius:12px;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.btn svg{width:18px;height:18px;flex:0 0 auto}
.btn-primary{background:var(--teal);color:#fff;box-shadow:0 8px 20px -10px rgba(15,110,86,.6)}
.btn-primary:hover{background:var(--teal-deep);transform:translateY(-1px)}
.btn-ghost{background:var(--surface);color:var(--teal-deep);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--teal);background:var(--teal-wash)}
.btn[aria-disabled="true"]{background:var(--bg-soft);color:var(--muted);box-shadow:none;cursor:default;border-color:var(--line)}
.btn[aria-disabled="true"]:hover{transform:none;background:var(--bg-soft)}
.btn-soon{display:inline-flex;align-items:center;gap:8px}
.btn-soon .pill{font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;background:var(--teal-wash);color:var(--teal-deep);padding:3px 8px;border-radius:999px}

/* ---------- Schnell-Check-Box (CTA-Platzhalter) ---------- */
.check-cta{background:linear-gradient(180deg,#ffffff, #fbfaf6);border:1px solid var(--line);border-radius:18px;padding:26px 26px;box-shadow:0 14px 36px -26px rgba(31,58,77,.4)}
.check-cta .ck-icon{width:46px;height:46px;border-radius:13px;background:var(--teal-wash);display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.check-cta .ck-icon svg{width:24px;height:24px;color:var(--teal-deep)}
.check-cta h2,.check-cta h3{font-family:Georgia,serif;font-weight:400;font-size:22px;color:var(--ink);margin:0 0 8px;border:0;padding:0}
.check-cta p{font-size:15px;color:var(--ink-soft);margin:0 0 16px;max-width:60ch}
.check-cta .ck-note{font-size:13px;color:var(--muted);margin-top:12px}

/* ---------- Hinweis-/Klarstellungs-Boxen ---------- */
.note{margin:24px 0;border-radius:14px;padding:18px 20px;display:flex;gap:13px;align-items:flex-start;font-size:14.5px;line-height:1.6}
.note svg{width:21px;height:21px;flex:0 0 auto;margin-top:2px}
.note-info{background:var(--bg-soft);border:1px solid var(--line-soft);color:var(--ink-soft)}
.note-info svg{color:var(--ink-soft)}
.note-info strong{color:var(--ink);font-weight:600}
.note-accent{background:var(--teal-wash);border:1px solid #cfe9dd;color:#1b4d3e}
.note-accent svg{color:var(--teal-deep)}
.note-accent strong{color:var(--teal-deep)}

/* ---------- Footer ---------- */
.site-foot{margin-top:auto;padding:34px 0 30px}
.foot-rule{height:1px;background:var(--line);margin-bottom:24px}
.foot-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.foot-brand{display:flex;align-items:center;gap:9px;font-family:Georgia,serif;font-size:16px;color:var(--ink)}
.foot-brand .accent{color:var(--teal-deep);font-weight:700}
.foot-links{font-size:13.5px;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap}
.foot-links a{color:var(--ink-soft);text-decoration:none;border-bottom:1px solid var(--line)}
.foot-links a:hover{color:var(--teal-deep)}
.foot-disc{margin-top:18px;font-size:12.5px;color:var(--muted);line-height:1.65;max-width:82ch}
.foot-disc strong{color:var(--ink-soft);font-weight:600}

/* ---------- Fokus (a11y) ---------- */
a:focus-visible,.btn:focus-visible,button:focus-visible,.nav-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}

/* ---------- Responsive Basis ---------- */
@media (max-width:760px){
  .nav{gap:18px}
  .nav a{font-size:14px}
  .foot-inner{flex-direction:column;align-items:flex-start;gap:14px}
}
/* ---------- Mobile-Navigation: Hamburger-Menü (echter Button + kleiner JS-Toggle) ---------- */
@media (max-width:639px){
  .brand{font-size:20px}
  .check-cta{padding:22px 20px}

  /* Hamburger-Button sichtbar machen, klares Touch-Ziel (>=44px) */
  .nav-toggle{
    display:inline-flex;align-items:center;gap:9px;
    min-height:44px;padding:8px 14px;
    -webkit-appearance:none;appearance:none;
    background:var(--surface);border:1px solid var(--line);border-radius:11px;
    color:var(--ink);font-family:inherit;font-size:15px;font-weight:600;line-height:1;cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-toggle .nav-toggle-bars{position:relative;width:18px;height:13px;flex:0 0 auto}
  .nav-toggle .nav-toggle-bars span{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:var(--teal-deep);transition:transform .18s ease,opacity .18s ease,top .18s ease}
  .nav-toggle .nav-toggle-bars span:nth-child(1){top:0}
  .nav-toggle .nav-toggle-bars span:nth-child(2){top:5.5px}
  .nav-toggle .nav-toggle-bars span:nth-child(3){top:11px}

  /* Nav als ausklappbares Panel unter dem Kopf; standardmäßig zu */
  .nav{
    position:absolute;left:0;right:0;top:100%;z-index:40;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface);border-top:1px solid var(--line);
    box-shadow:0 18px 36px -22px rgba(31,58,77,.5);
    max-height:0;overflow:hidden;visibility:hidden;
    transition:max-height .22s ease;
  }
  .nav a{
    font-size:16px;padding:15px 22px;border-bottom:1px solid var(--line-soft);
    border-left:3px solid transparent;
  }
  .nav a:last-child{border-bottom:0}
  .nav a[aria-current="page"]{border-bottom-color:var(--line-soft);border-left-color:var(--teal)}

  /* Geöffneter Zustand: per JS gesetzte Klasse .is-open + aria-expanded am Button */
  .nav.is-open{max-height:70vh;visibility:visible;overflow:auto}
  .nav-toggle[aria-expanded="true"]{background:var(--teal-wash);border-color:#cfe9dd}
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1){top:5.5px;transform:rotate(45deg)}
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3){top:5.5px;transform:rotate(-45deg)}
}
@media (max-width:639px) and (prefers-reduced-motion:reduce){
  .nav{transition:none}
  .nav-toggle .nav-toggle-bars span{transition:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}
