/* ============================================================
   Frontida Pflegedienst - Gemeinsames Stylesheet: Leistungen
   Extrahiert aus den Inline-<style>-Bloecken der 7 Leistungs-
   Seiten. Reihenfolge = Kaskaden-Reihenfolge.
   Seitenspezifisch verbleibt inline: .page-hero-img Fokuspunkt
   (behandlungspflege, betreuung-im-alltag, haushaltshilfe).
   ============================================================ */

/* ===== Block 0: Haupt-Styles (head)  [war: <style>] ===== */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/Open-Sans.woff2') format('woff2');
}
:root{
  --blue:#2165AE;--blue-mid:#3F6EA0;--blue-light:#6096C4;--blue-bg:#EDF4FB;
  --orange:#F47522;--orange-dark:#C4601A;
  --gray-bg:#F5F7FA;--gray-light:#EDF0F4;
  --text:#454C4D;--text-mid:#454C4D;--text-light:#636363;
  --border:#DDE2E9;--white:#FFFFFF;
  --shadow:0 2px 16px rgba(0,0,0,0.08);--shadow-hover:0 8px 32px rgba(0,0,0,0.14);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:120px;}
body{font-family:'Open Sans',sans-serif;color:var(--text);background:var(--white);font-size:15px;line-height:1.7;}
.topbar{background:linear-gradient(90deg,#1a4f8c 0%,#236BB4 50%,#2a7fcf 100%);padding:0.52rem 5%;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.topbar-items{display:flex;align-items:center;gap:1.6rem;flex-wrap:wrap;}
.tb-item{display:flex;align-items:center;gap:0.38rem;font-size:0.8rem;color:rgba(255,255,255,0.92);}
.tb-item svg{width:14px;height:14px;flex-shrink:0;}
.tb-stars{color:#FFD060;font-size:0.82rem;}
.tb-tagline{font-size:0.74rem;color:rgba(255,255,255,0.92);}
.tb-phone a{display:flex;align-items:center;gap:0.45rem;background:#fff;color:#236BB4;border-radius:20px;padding:0.4rem 1.1rem;text-decoration:none;font-weight:700;font-size:0.82rem;box-shadow:0 2px 8px rgba(0,0,0,0.15);transition:all 0.18s;white-space:nowrap;}
.tb-phone a:hover{background:#EDF4FB;}
@media(max-width:768px){.tb-tagline{display:none;}.topbar-items{gap:1rem;}}
header { position:sticky; top:0; z-index:200; background:var(--white); box-shadow:0 2px 12px rgba(0,0,0,0.08); }
nav { display:flex; align-items:center; justify-content:space-between; padding:0 5%; height:100px; }
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo img { height:170px; display:block; }
.nav-logo-text { font-size:1.15rem; font-weight:600; color:var(--blue); line-height:1.2; }
.nav-logo-text span { color:var(--orange); display:block; font-size:0.75rem; font-weight:400; letter-spacing:0.05em; }
.nav-links { display:flex; list-style:none; gap:0; height:100px; align-items:center; }
.nav-links a { display:flex; align-items:center; height:100px; padding:0 1rem; text-decoration:none; color:var(--text); font-size:0.84rem; font-weight:600; transition:color 0.2s; white-space:nowrap; border-bottom:3px solid transparent; }
.nav-links a:hover { color:var(--blue); border-bottom-color:var(--blue); }
.nav-links a.active { color:#2165AE; border-bottom-color:#2165AE; }
.nav-cta { background:var(--blue); border-radius:6px; margin-left:0.5rem; }
.nav-links a.nav-cta { color:white; transition:background 0.2s; }
.nav-orange { background:var(--orange); border-radius:6px; margin-left:0.3rem; }
.nav-links a.nav-orange { color:white; }
.burger { display:none; background:none; border:none; font-size:1.7rem; cursor:pointer; color:var(--blue, #2D4F7A); padding:0.3rem 0.5rem; line-height:1; z-index:1100; }
.nav-overlay { position:fixed; inset:0; background:rgba(15,23,42,0.55); z-index:999; opacity:0; animation:navOverlayIn 0.25s ease forwards; }
body.menu-open header { z-index:1500; }
@keyframes navOverlayIn { from { opacity:0; } to { opacity:1; } }
@keyframes navCardIn { from { opacity:0; transform:translate(-50%,-50%) scale(0.94); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
@media (max-width:1200px) {html{scroll-padding-top:80px;}
  .burger { display:block; }
  .nav-links { display:none; position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); width:90%; max-width:420px; max-height:85vh; overflow-y:auto; background:var(--white, #FFFFFF); border-radius:18px; box-shadow:0 24px 64px rgba(0,0,0,0.28); flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0.4rem; height:auto; padding: 3rem 1.2rem 1.2rem; z-index:1000; }
  .nav-links.open { display:flex; animation:navCardIn 0.28s ease forwards; }
  .nav-links li { width:100%; text-align:center; list-style:none; }
  .nav-links a { display:block; height:auto; padding:0.85rem 1.1rem; font-size:1rem; font-weight:600; background:var(--gray-bg, #F5F7FA); color:var(--text, #454C4D); border-radius:10px; border-bottom:none; transition:background 0.2s ease, color 0.2s ease; }
  .nav-links a:hover, .nav-links a.active { background:var(--blue-bg, #EDF4FB); color:var(--blue, #2165AE); }
  .nav-links a.nav-cta { background:var(--blue, #2165AE); color:#fff; }
  .nav-links a.nav-cta:hover { background:var(--blue-mid, #3F6EA0); color:#fff; }
  .nav-links a.nav-orange { background:var(--orange, #F47522); color:#fff; }
  .nav-links a.nav-orange:hover { background:var(--orange-dark, #C4601A); color:#fff; }
  nav { height: 85px; }
  .nav-logo img { height: 135px; max-height: 135px; }
}
@media (min-width:1101px) {
  .nav-links a.nav-cta { padding:0.6rem 1.3rem; height:auto; border-bottom:none; }
  .nav-links a.nav-cta:hover { background:var(--blue-mid); border-bottom:none; }
  .nav-links a.nav-orange { padding:0.6rem 1.3rem; height:auto; border-bottom:none; }
  .nav-links a.nav-orange:hover { background:var(--orange-dark); border-bottom:none; }
}
.btn-blue{display:inline-flex;align-items:center;gap:0.4rem;background:var(--blue);color:#fff;padding:0.8rem 1.8rem;border-radius:6px;text-decoration:none;font-weight:700;font-size:0.9rem;transition:background 0.2s,transform 0.15s;}
.btn-blue:hover{background:var(--blue-mid);transform:translateY(-1px);}
.btn-white{display:inline-flex;align-items:center;gap:0.4rem;background:white;color:var(--blue);padding:0.8rem 1.8rem;border-radius:6px;text-decoration:none;font-weight:700;font-size:0.9rem;border:1.5px solid var(--border);transition:all 0.2s;}
.btn-white:hover{background:var(--gray-light);}
.btn-cta{display:inline-flex;align-items:center;gap:0.4rem;background:var(--blue);color:#fff;padding:0.8rem 1.8rem;border-radius:6px;text-decoration:none;font-weight:700;font-size:0.9rem;transition:background 0.2s;}
.btn-cta:hover{background:var(--blue-mid);}
/* PAGE HERO — Responsive Full-width Herobild */
.page-hero{padding:0;overflow:hidden;}
.page-hero-inner{
  position:relative;
  min-height:clamp(560px,78vh,760px);
  width:100%;
  display:flex;
  align-items:center;
  padding:90px 5%;
}
.page-hero-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(8,34,58,0.82) 0%,
    rgba(8,34,58,0.62) 38%,
    rgba(8,34,58,0.25) 70%,
    rgba(8,34,58,0.05) 100%
  );
  z-index:1;
}
.page-hero-text{
  position:relative;
  z-index:2;
  flex:1;
  max-width:720px;
  background:none !important;
  padding:0;
}
.page-hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100% !important;
  z-index:0;
  overflow:hidden;
}
.page-hero-img img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:58% center;
  display:block;
}
@media(min-width:1440px){
  .page-hero-inner{min-height:720px;max-height:820px;padding:100px 6%;}
  .page-hero-img img{object-position:62% center;}
}
@media(max-width:1280px){
  .page-hero-img img{object-position:58% center;}
}
@media(max-width:1024px){
  .page-hero-inner{min-height:520px;padding:80px 5%;}
  .page-hero-img img{object-position:60% center;}
}
@media(max-width:768px){
  .page-hero-inner{min-height:580px;padding:3rem 5%;}
  .page-hero-img img{object-position:58% center;}
  .page-hero-inner::before{background:linear-gradient(180deg,rgba(8,34,58,0.78) 0%,rgba(8,34,58,0.58) 60%,rgba(8,34,58,0.22) 100%);}
}
@media(max-width:480px){
  .page-hero-inner{min-height:500px;padding:2rem 5%;}
  .page-hero-img img{object-position:58% center;}
}
  .page-hero-img img{object-position:center 45%;}
.page-hero-kicker{display:inline-block;background:rgba(255,255,255,0.2);color:#fff;border:1px solid rgba(255,255,255,0.45);font-size:0.72rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;padding:0.3rem 0.9rem;border-radius:4px;margin-bottom:1rem;text-shadow:0 1px 3px rgba(0,0,0,0.5);}
.page-hero h1{font-size:clamp(1.7rem,3.5vw,2.5rem);color:#fff;line-height:1.2;margin-bottom:0.6rem;font-weight:600;}
.page-hero-sub{color:rgba(255,255,255,0.82);font-size:1rem;font-weight:300;margin-bottom:1.5rem;line-height:1.7;}
.page-hero-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;}
.hero-badge{background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.3);color:rgba(255,255,255,0.9);font-size:0.78rem;font-weight:600;padding:0.25rem 0.75rem;border-radius:100px;}
.content-section{padding:4rem 5%;}
.content-inner{max-width:1200px;margin:0 auto;}
.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:start;}
.section-label{font-size:0.72rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--blue);margin-bottom:0.5rem;display:block;}
h2.block-title{font-size:clamp(1.4rem,2.5vw,1.9rem);color:var(--blue);line-height:1.25;margin-bottom:1rem;font-weight:600;}
.lead-text{color:var(--text-mid);font-size:0.97rem;font-weight:300;line-height:1.8;margin-bottom:1.5rem;}
.leistungen-list{list-style:none;margin:0 0 1.8rem;border-radius:12px;border:1px solid var(--border);overflow:hidden;}
.leistungen-list li:first-child{border-top:none;}
.info-box{background:var(--blue-bg);border-radius:14px;padding:1.8rem;border-left:4px solid var(--blue);margin:1.5rem 0;}
.info-box h4{font-size:0.92rem;font-weight:700;color:var(--blue);margin-bottom:0.6rem;}
.info-box p{font-size:0.88rem;color:var(--text-mid);line-height:1.7;}
.kasse-box{background:var(--gray-bg);border-radius:14px;padding:2rem;border:1px solid var(--border);}
.kasse-box h3{font-size:1.1rem;font-weight:700;color:var(--blue);margin-bottom:1rem;}
.faq-section{background:var(--blue-bg);padding:4rem 5%;}
.cta-section{background:var(--blue);padding:3rem 5%;text-align:center;}
.cta-section h2{color:#fff;font-size:1.6rem;font-weight:600;margin-bottom:0.7rem;}
.cta-section p{color:rgba(255,255,255,0.85);font-size:0.9rem;margin-bottom:1.8rem;}
.related-section{padding:3rem 5%;background:var(--white);}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem;}
.related-card{background:var(--gray-bg);border-radius:10px;padding:1.2rem;border:1px solid var(--border);text-decoration:none;color:var(--text);transition:all 0.2s;display:block;}
.related-card:hover{border-color:var(--blue);background:var(--blue-bg);transform:translateY(-2px);}
.related-card h4{font-size:0.88rem;font-weight:700;color:var(--blue);margin-bottom:0.3rem;line-height:1.3;word-break:break-word;hyphens:auto;}
.related-card p{font-size:0.78rem;color:var(--text-light);line-height:1.5;word-break:break-word;}
footer{background:#EEF4FB;padding:2rem 5% 1.2rem;}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2.5rem;margin-bottom:1.5rem;}
.footer-brand p{font-size:0.84rem;color:#454C4D;line-height:1.7;margin-top:0.5rem;}
.footer-col h5{color:#1C3A6E;font-size:0.78rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;margin-bottom:0.8rem;}
.footer-col a{display:block;font-size:0.83rem;color:#454C4D;text-decoration:none;margin-bottom:0.4rem;}
.footer-col a:hover{color:#2165AE;}
.footer-bottom{border-top:1px solid rgba(45,79,122,0.2);padding-top:1rem;display:flex;justify-content:space-between;font-size:0.76rem;color:#454C4D;flex-wrap:wrap;gap:0.5rem;}
.footer-bottom a{color:#454C4D;text-decoration:none;margin-left:1rem;}
@media(max-width:900px){
  .two-col{grid-template-columns:1fr;gap:2rem;}
  .footer-inner{grid-template-columns:1fr;}

}
@media(max-width:768px){
  .page-hero-inner{min-height:280px;padding:2rem 5%;}
  .content-section{padding:2.5rem 5%;}
}

/* Hero image: banner-style display (desktop + mobile) */
.two-col img[src*=".webp"] {
  width: 100%;
  height: auto !important;
  max-height: 720px; aspect-ratio: 3 / 2; object-fit: cover !important; object-position: center;
  margin-bottom: 1.5rem;
  border-radius: 14px !important;
}
@media (max-width: 900px) {
  .two-col img[src*=".webp"] {
    max-height: 420px;
    aspect-ratio: 3 / 2;
    object-position: center;
  }
}
@media (max-width: 480px) {
  .two-col img[src*=".webp"] {
    max-height: 340px;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
  }
}

  .fpf-wrap{position:fixed;bottom:1.4rem;right:1.4rem;z-index:600;display:flex;flex-direction:column;align-items:flex-end;gap:0.45rem;width:260px;filter:drop-shadow(0 4px 12px rgba(0,0,0,0.13));}
  .fpf-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:0.5rem;padding:0.6rem 0.85rem;border-radius:8px;font-family:'Open Sans',sans-serif;font-size:0.78rem;font-weight:700;color:#fff;text-decoration:none;text-align:center;transition:transform 0.2s,opacity 0.2s;}
  .fpf-btn:hover{transform:translateY(-2px);opacity:0.93;}
  .fpf-orange{background:#F47522;animation:fpf-pulse-o 2.5s ease-in-out infinite;}
  .fpf-blue{background:#2165AE;animation:fpf-pulse-b 2.5s ease-in-out infinite;animation-delay:1.25s;}
  @keyframes fpf-pulse-o{0%,100%{box-shadow:0 3px 14px rgba(244,117,34,0.4);}50%{box-shadow:0 3px 22px rgba(244,117,34,0.7),0 0 0 5px rgba(244,117,34,0.12);}}
  @keyframes fpf-pulse-b{0%,100%{box-shadow:0 3px 14px rgba(33,101,174,0.4);}50%{box-shadow:0 3px 22px rgba(33,101,174,0.7),0 0 0 5px rgba(33,101,174,0.12);}}
  .fpf-icons{display:flex;gap:0.5rem;justify-content:flex-end;}
  .fpf-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;transition:transform 0.2s;flex-shrink:0;}
  .fpf-icon:hover{transform:scale(1.1);}
  .fpf-wa{background:#25D366;box-shadow:0 3px 14px rgba(37,211,102,0.45);}
  /* Button-Geometrie (vorher inline am HTML) */
  .fpf-orange {
    width: 240px; padding: 0.6rem 0.85rem; font-size: 0.78rem;
    border-radius: 8px; white-space: nowrap; font-weight: 700; line-height: 1.2;
  }
  .fpf-blue { width: 90%; align-self: flex-end; padding: 0.42rem 0.8rem; font-size: 0.7rem; }
  @media (max-width: 600px) {
    /* Mobile: full-width bar attached to the very bottom edge
       (orange + blue stacked left, WhatsApp square spanning both rows right) */
    .fpf-wrap {
      display: grid;
      grid-template-columns: 1fr 56px;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: none;
      border-radius: 0;
      gap: 0;
      filter: none;
      box-shadow: 0 -3px 14px rgba(0,0,0,0.16);
      padding-bottom: env(safe-area-inset-bottom);
      background: #fff;
      overflow: visible;
    }
    .fpf-btn {
      display: flex;
      width: auto;
      max-width: none;
      align-self: stretch;
      border-radius: 0;
      font-size: 0.78rem;
      padding: 0.65rem 0.5rem;
      line-height: 1.3;
      white-space: nowrap;
      animation: none;
      box-shadow: none;
      box-sizing: border-box;
    }
    .fpf-orange { grid-column: 1; grid-row: 1; }
    .fpf-blue   { grid-column: 1; grid-row: 2; }
    .fpf-icons {
      grid-column: 2;
      grid-row: 1 / 3;
      align-self: stretch;
      display: flex;
      gap: 0;
      width: auto;
      align-items: stretch;
      justify-content: flex-end;
    }
    .fpf-icon {
      border-radius: 0;
      height: auto;
      width: auto;
      flex: 1 1 auto;
      padding: 0;
      margin: 0;
      box-shadow: none;
    }
    .fpf-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
  }
  @media (max-width: 380px) {
    .fpf-btn { font-size: 0.74rem; padding: 0.5rem 0.85rem; }
  }
  /* Mobile: reserve space at bottom so floating buttons don't cover footer */
  @media (max-width: 600px) {
    body { padding-bottom: 84px; }
    footer { padding-bottom: 1.2rem; }
    .footer-bottom {
      flex-direction: column;
      gap: 0.6rem !important;
      align-items: flex-start !important;
      text-align: left !important;
    }
    .footer-bottom a,
    .footer-bottom button.cx-cookie-link {
      margin-left: 0 !important;
      display: inline-block;
      padding: 0.3rem 0;
    }
  }
  @media (max-width: 380px) {
    body { padding-bottom: 84px; }
  }

  /* === KASSEN CAROUSEL === */
  .frk-kassen-section { background: #fff; padding: 4rem 5%; }
  .frk-kassen-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
  .frk-kassen-box { background: #F0F4FF; border-radius: 14px; padding: 1.5rem 0; margin-top: 1rem; border-left: 4px solid #2165AE; overflow: hidden; box-shadow: 0 4px 18px rgba(33,101,174,0.08); }
  .frk-kassen-scroller { overflow: hidden; cursor: grab; user-select: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); }
  .frk-kassen-scroller::-webkit-scrollbar { display: none; }
  .frk-kassen-scroller.dragging { cursor: grabbing; }
  .frk-kassen-track { display: flex; align-items: center; gap: 2.5rem; padding: 0.5rem 2rem; width: max-content; }
  .frk-kassen-item { flex-shrink: 0; height: 60px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
  .frk-kassen-item img { max-height: 100%; max-width: 180px; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-drag: none; }
  @media (max-width: 768px) {
    .frk-kassen-section { padding: 2.5rem 5%; }
    .frk-kassen-item { height: 45px; }
    .frk-kassen-item img { max-width: 140px; }
    .frk-kassen-track { gap: 1.8rem; }
  }

/* ============================================
   GLOBAL TYPOGRAPHY SYSTEM — Open Sans (Frontida)
   ============================================ */
body { font-family: 'Open Sans', sans-serif; font-size: 15px; font-weight: 400; }
h2, .section-title, .block-title, .verspr-text h2 { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
.btn, .btn-blue, .btn-cta, .btn-white, .lmodal-cta-primary, .verspr-cta, .pg-cta-btn, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .nav-cta, .nav-orange { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; }
.section-label, .page-hero-kicker, .lmodal-kicker, .lmodal-vorteile-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
footer { font-family: 'Open Sans', sans-serif; }
footer p, footer span, footer li, footer a, .footer-bottom span, .footer-bottom a { font-size: 0.84rem; font-weight: 400; }
footer p, .footer-brand p { font-weight: 300; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

  /* === Accessibility: Reduced motion === */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* === Accessibility: Visible focus indicators === */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid #2165AE;
    outline-offset: 2px;
  }

/* ===== Block 1: Zusatz-Styles  [war: <style id="footer-fix">] ===== */
/* Footer (standard 4-column) — sizing fix */
footer { background:#EEF4FB; color:#454C4D; padding:2rem 90px 1.2rem 5%; font-family:'Open Sans',sans-serif; margin-top:3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:1.5rem; align-items:start; margin-bottom:1.8rem; }
.footer-grid .footer-col { padding-left:1rem; }
.footer-brand img { height:180px; width:auto; max-width:100%; margin:0 auto 0.8rem; display:block; }
.footer-brand p { font-size:0.85rem; line-height:1.7; font-weight:300; }
.footer-col h5 { color:#1C3A6E; font-size:0.8rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer-col p, .footer-col a { display:block; font-size:0.84rem; color:#454C4D; text-decoration:none; margin-bottom:0.5rem; line-height:1.6; }
.footer-col a:hover { color:#2165AE; }
.footer-social { display:flex; justify-content:center; gap:0.7rem; margin-top:1rem; }
.footer-social a { width:50px; height:50px; background:transparent; border:none; border-radius:7px; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform 0.2s; }
.footer-social a img { width:45px; height:45px !important; display:block; }
.footer-social a:hover { transform:scale(1.3); }
.footer-bottom { border-top:1px solid rgba(45,79,122,0.2); padding-top:1.2rem; display:flex; justify-content:space-between; align-items:center; font-size:0.77rem; flex-wrap:wrap; gap:0.5rem; }
.footer-bottom a { color:#454C4D; text-decoration:none; margin-left:1rem; }
.footer-bottom a:hover { color:#2165AE; }
.footer-bottom button.cx-cookie-link { color:#454C4D; background:none; border:none; padding:0; margin-left:1rem; cursor:pointer; font-family:inherit; font-size:inherit; }
.footer-bottom button.cx-cookie-link:hover { color:#2165AE; }
@media (max-width:900px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .footer-grid { grid-template-columns:1fr; } footer { padding:2rem 5% 1.2rem; } }

/* ===== Block 2: Footer-Fix  [war: <style id="leistungen-design-fix">] ===== */
/* Logo: consistent 130px height */
.nav-logo img,
header .nav-logo img,
img#nav-logo-img {
  height: 130px;
  width: auto;
  max-width: none;
  max-height: 130px;
  display: block;
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  .nav-logo img, header .nav-logo img, img#nav-logo-img {
    height: 120px;
    max-height: 120px;
  }
}
/* Phone button: elegant ghost style on blue background (was solid blue blending in) */
.btn-cta {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.btn-cta:hover {
  background: #fff !important;
  color: var(--blue) !important;
  border-color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ===== Block 3: DSGVO/Form-Fix  [war: <style id="pf-nav-unify">] ===== */
/* Unified menu sizing for all Pflegedienst pages — matches Tagespflege presence */
.nav-logo img,
header .nav-logo img,
img#nav-logo-img {
  height: 130px;
  width: auto !important;
  max-width: none;
  max-height: 130px;
  display: block;
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  .nav-logo img, header .nav-logo img, img#nav-logo-img {
    height: 120px;
    max-height: 120px;
  }
}
@media (min-width: 1201px) {
  .nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    height: 100px;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2A2A2A;
    white-space: nowrap;
    transition: color 0.2s !important;
  }
}
/* On mobile: nav-links must respect media query — hidden by default, only show when .open */
@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex !important; }
}
.nav-links a.nav-cta,
.nav-links a.nav-orange {
  height: auto !important;
  padding: 0.6rem 1.3rem;
  border-radius: 8px !important;
  font-size: 0.92rem;
  font-weight: 700;
  margin-left: 0.4rem;
  border-bottom: none;
  color: #fff;
}

/* ===== Block 4: Nav/Typo-Unify  [war: <style id="pf-typo-unify">] ===== */
/* === Unified typography across ALL Pflegedienst pages === */
html, body { font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1; }

body { font-size: 15px; font-weight: 400; line-height: 1.7; color: #454C4D; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', sans-serif; }
h1, .hero h1, .page-hero h1, .danke-card h1 { font-size: clamp(1.9rem, 3vw + 0.8rem, 2.9rem); font-weight: 600; line-height: 1.2; }
h2, .section-title, .block-title { font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.3rem); font-weight: 600; line-height: 1.25; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 700; }
h6 { font-size: 0.95rem; font-weight: 700; }

/* Section labels (small caps) */
.section-label, .page-hero-kicker, .lmodal-kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Buttons */
.btn, .btn-blue, .btn-cta, .btn-white, .nav-cta, .nav-orange, .form-submit, .submit-btn, .btn-call, .btn-wa, .hero-cta, .pg-cta-btn, .verspr-cta, .lmodal-cta-primary { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 700; letter-spacing: 0; }

/* Nav links */
.nav-links a { font-size: 0.95rem; font-weight: 600; }

/* Footer typography (CRITICAL — make footers identical everywhere) */
footer, footer * { font-family: 'Open Sans', sans-serif; }
footer h5, .footer-col h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; margin-bottom: 1rem; color: #1C3A6E; }
footer p, .footer-col p, footer span, footer li, .footer-bottom span { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }
.footer-col a { font-size: 0.84rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; display: block; }
.footer-brand p { font-size: 0.85rem; font-weight: 400; line-height: 1.65; }
.footer-bottom, .footer-bottom a, .footer-bottom button { font-size: 0.77rem; font-weight: 400; line-height: 1.5; }

/* Forms */
input, textarea, select { font-family: 'Open Sans', sans-serif; font-size: 0.9rem; font-weight: 400; }
.form-group label { font-family: 'Open Sans', sans-serif; }

/* FAQ */
.faq-btn, details > summary { font-family: 'Open Sans', sans-serif; font-size: 0.97rem; font-weight: 700; }
.faq-item{background:white;border-radius:14px;margin-bottom:1rem;border:1px solid var(--border);overflow:hidden;}
.faq-q{width:100%;background:none;border:none;padding:1.2rem 1.6rem;text-align:left;font-size:0.97rem;font-weight:700;color:var(--blue);cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:'Open Sans',sans-serif;}
.faq-q::after{content:'';display:inline-block;width:1.2rem;height:1.2rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236096C4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center/contain;flex-shrink:0;transition:transform 0.35s ease;}
.faq-item.is-open .faq-q::after{transform:rotate(180deg);}
.faq-a{padding:0 1.6rem;font-size:0.9rem;color:var(--text-mid);line-height:1.8;overflow:hidden;max-height:0;transition:max-height 0.35s ease,padding-bottom 0.35s ease;}
.faq-item.is-open .faq-a{max-height:600px;padding-bottom:1.2rem;}

/* Paragraphs */
p { font-family: 'Open Sans', sans-serif; }

/* ===== Block 5: Floating CTA Reserve  [war: <style>] ===== */
/* Footer mobile centering - match index.html */
@media (max-width:600px){
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { text-align:center; }
  .footer-brand img { height:100px !important; margin:0 auto 0.6rem; display:block; }
  .footer-brand p { max-width:280px; margin:0 auto; }
  .footer-social { justify-content:center; }
  .footer-col h5 { margin-bottom:0.6rem; }
  .footer-bottom { flex-direction:column; align-items:center; text-align:center; gap:0.4rem; }
}

/* ===== Block 6: Burger-Fix  [war: <style id="burger-fix-style">] ===== */
.nav-close { display:none; position:absolute; top:0.75rem; right:0.85rem; background:#236BB4; border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; color:#fff; font-size:1.25rem; line-height:1; align-items:center; justify-content:center; z-index:1200; box-shadow:0 3px 10px rgba(35,107,180,0.45); -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; transition:background 0.2s,transform 0.15s; }
.nav-close:hover { background:#1b5490; transform:scale(1.08); }
.nav-links.open .nav-close { display:flex !important; }
.nav-links.open ~ .burger, body.menu-open .burger { display:none !important; visibility:hidden !important; }
.burger { -webkit-tap-highlight-color:rgba(35,107,180,0.2); touch-action:manipulation; }

/* Floating CTA: hidden while hero or footer is in view (toggled by page JS) */
.fpf-wrap { transition: opacity 0.25s ease; }
.fpf-wrap.fpf-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ===== Leistungen-Seiten: Layout-Ueberarbeitung (Desktop) =====
   - Checklisten: Innenabstand (Haken sassen 1px am Rahmen), lange
     Listen zweispaltig
   - Inhalt 1200 -> 1300px breit
   - MDK-Badge: Klassen statt Inline (Basis = alte Optik, mobil
     identisch); auf Desktop gross + mittig in .mdk-row
   - Anfrage-Button: rechte Spalte, direkt unter der Kontaktkarte
   - Verwandte Leistungen: 4er-Raster, Kopf mittig
   Alles ausser den Badge-Basisklassen wirkt NUR ab 901px. */
.mdk-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0.4rem 0.8rem; background: #EDF4FB; border-radius: 7px; border: 1px solid #C5D9F0; max-width: 100%; }
.mdk-badge-note { background: #2165AE; color: #fff; padding: 0.15rem 0.4rem; border-radius: 4px; font-weight: 800; font-size: 0.72rem; flex-shrink: 0; }
.mdk-badge-text { color: #1a3a5c; font-size: 0.7rem; font-weight: 600; line-height: 1.3; }
/* Checklisten: Innenabstand + Haken-Ausrichtung auf ALLEN Breiten
   (Haken sassen 1px am Rahmen - auf Wunsch auch mobil korrigiert) */
.leistungen-list { padding: 0 1.2rem; }
.leistungen-list li > span:first-child { line-height: 1.6; }
@media (min-width: 901px) {
  .content-inner { max-width: 1300px; }
  .two-col { grid-template-columns: 1.25fr 1fr; gap: 3.75rem; }
  /* Lange Checklisten (ab 7 Punkten) zweispaltig -> linke Spalte wird
     kuerzer, weniger Leerraum unter der Sidebar. Aeltere Browser ohne
     :has() zeigen weiter 1 Spalte (kein Bruch). */
  .leistungen-list:has(li:nth-child(7)) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  /* Kopfbereich: Badge + Label mittig, Badge groesser */
  .mdk-row { text-align: center; }
  .mdk-row .mdk-badge { gap: 0.8rem; margin-bottom: 1.4rem; padding: 0.7rem 1.1rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(33,101,174,0.08); }
  .mdk-row .mdk-badge-note { padding: 0.35rem 0.7rem; border-radius: 7px; font-size: 1.05rem; }
  .mdk-row .mdk-badge-text { font-size: 0.85rem; line-height: 1.45; }
  .mdk-row .mdk-badge-text svg { width: 15px; height: 15px; }
  /* Verwandte Leistungen */
  .related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Verwandte-Leistungen-Kopf auf ALLEN Breiten mittig (Wunsch: auch mobil) */
.related-section .section-label, .related-section .block-title { text-align: center; }

/* Themenkarten Paragraf-45-Bereich (pflegeberatung) - Basis wie das
   fruehere Inline-Grid; ab 901px feste 4er-Reihe */
.beratung-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
@media (min-width: 901px) {
  .beratung-cards { grid-template-columns: repeat(4, 1fr); }
}

/* Floating-CTA: wieder sichtbar - erscheint als kompaktes Icon-Dock
   (Regeln zentral in footer.css) */

/* ===== Nav: Menue mittig zwischen Logo und Buttons (User-Wahl Variante 1, 12.06.2026) ===== */
@media (min-width: 1201px) {
  .nav-links { flex: 1; }
  .nav-links li:nth-of-type(1) { margin-left: auto; }
  .nav-links li:nth-last-child(2) { margin-left: auto; }
}
