/* Fachpflegedienst Weserbergland – Stylesheet
   Schrift: Figtree (lokal, SIL Open Font License) */

@font-face{font-family:'Figtree';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/figtree-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/figtree-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/figtree-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/figtree-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Figtree';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/figtree-latin-800-normal.woff2) format('woff2')}

:root{
  --petrol:#126B6D; --petrol-dunkel:#0B4E50; --petrol-hell:#E7F1EF; --petrol-mittel:#DCE7E4;
  --orange:#F5B021; --orange-hell:#FEF3D9; --blau:#1A5BA8; --gruen:#A6CE4E;
  --text:#1B2B2A; --text-2:#3A4947; --text-3:#4A5957; --linie:#E3E8E6; --sand:#F7F5F0;
  --radius:20px; --max:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:18px;line-height:1.6;color:var(--text);background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:var(--petrol)} a:hover{color:var(--petrol-dunkel)}
:focus-visible{outline:3px solid var(--blau);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4{line-height:1.15;margin:0;font-weight:800}
h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.02em}
h2{font-size:clamp(28px,3.6vw,40px)}
h3{font-size:23px}
p{margin:0}
.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:12px 16px;z-index:10}
.skip:focus{left:12px;top:12px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.section{padding:88px 0}
.section--sand{background:var(--sand)}
.section--petrol{background:var(--petrol);color:#fff}
.stack{display:flex;flex-direction:column;gap:16px}
.row{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.row>*{flex:1 1 420px;min-width:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--min,280px)),1fr));gap:24px}
.eyebrow{color:var(--blau);font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase}
.lead{font-size:21px;color:var(--text-2);max-width:600px}
.muted{color:var(--text-3);font-size:16px}
.small{font-size:14px;color:var(--text-3)}
.head{display:flex;flex-direction:column;gap:12px;max-width:740px;margin-bottom:40px}
.head-row{display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:flex-end;margin-bottom:32px}
.head-row .head{margin-bottom:0}
.pill{display:inline-block;font-weight:700;font-size:15px;padding:6px 14px;border-radius:999px;background:var(--petrol-hell);color:var(--petrol)}
.pill--orange{background:var(--orange-hell);color:var(--text)}
.pill--gruen{background:var(--gruen);color:var(--text);font-size:14px;padding:4px 12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:14px 26px;border-radius:12px;font:inherit;font-weight:700;text-decoration:none;border:2px solid transparent;cursor:pointer;background:var(--petrol);color:#fff}
.btn:hover{background:var(--petrol-dunkel);color:#fff}
.btn--line{background:#fff;color:var(--petrol);border-color:var(--petrol)}
.btn--line:hover{background:var(--petrol-hell);color:var(--petrol-dunkel)}
.btn--orange{background:var(--orange);color:var(--text)}
.btn--orange:hover{background:#E09B0B;color:var(--text)}
.btns{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.icon{width:20px;height:20px;flex:none}

/* Kopf */
.topbar{background:var(--petrol);color:#fff;font-size:15px}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:6px 28px;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.topbar a{color:#fff}
.topbar strong a{text-decoration:none}
.topbar .info{display:flex;flex-wrap:wrap;gap:6px 24px}
.header{border-bottom:1px solid var(--linie);background:#fff;position:sticky;top:0;z-index:5}
.header .wrap{display:flex;flex-wrap:wrap;gap:12px 32px;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.logo img{height:64px;width:auto}
.nav{display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center;font-size:17px;font-weight:600}
.nav a{text-decoration:none;color:var(--text);padding:6px 0}
.nav a[aria-current="page"]{color:var(--petrol);box-shadow:inset 0 -3px 0 var(--orange)}
.nav .btn{padding:10px 22px;border-radius:999px;min-height:44px}
.menu-btn{display:none}
@media (max-width:900px){
  .header{position:static}
  .logo img{height:52px}
  .menu-btn{display:inline-flex;font:inherit;font-weight:700;background:#fff;border:2px solid var(--petrol);color:var(--petrol);border-radius:10px;padding:8px 14px;min-height:44px;cursor:pointer}
  .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}
  .nav.offen{display:flex}
  .nav a{padding:12px 0;border-top:1px solid var(--linie)}
  .nav .btn{margin-top:12px;border-radius:12px}
}

/* Start */
.hero{background:var(--sand);padding:64px 0}
.hero .text{display:flex;flex-direction:column;gap:22px}
.hero img{border-radius:24px;width:100%;height:440px;object-fit:cover}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.fakten{border-bottom:1px solid var(--linie)}
.fakten .grid{--min:200px;padding-top:32px;padding-bottom:32px;gap:24px}
.fakt{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.fakt b{font-size:30px;color:var(--petrol);line-height:1.2}
.fakt span{color:var(--text-3);font-size:16px}
@media (max-width:700px){.fakten .grid{grid-template-columns:1fr 1fr;gap:10px;padding-top:20px;padding-bottom:20px}.fakt{background:var(--sand);border-radius:16px;padding:14px 14px 12px;gap:4px}.fakt b{font-size:19px;line-height:1.2;hyphens:auto}.fakt span{font-size:14px;line-height:1.35}.fakt:last-child{grid-column:1/-1}}

/* Ampel */
.ampel{background:var(--sand);padding:48px 0}
.ampel ul{list-style:none;margin:0;padding:0;--min:240px}
.ampel li a{display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--text);background:#fff;border:1px solid var(--linie);border-radius:16px;padding:20px 22px;height:100%}
.ampel li a:hover{border-color:var(--petrol)}
.leuchte{flex:none;width:34px;padding:6px 0;border-radius:10px;background:var(--text);display:flex;flex-direction:column;align-items:center;gap:5px}
.leuchte i{width:18px;height:18px;border-radius:50%;background:#3A4947;display:block}
[data-status="frei"] .leuchte i:nth-child(3){background:#46A758;box-shadow:0 0 8px #46A758}
[data-status="begrenzt"] .leuchte i:nth-child(2){background:#F5B021;box-shadow:0 0 8px #F5B021}
[data-status="voll"] .leuchte i:nth-child(1){background:#E5484D;box-shadow:0 0 8px #E5484D}
.ampel .bereich{font-weight:800;font-size:19px;display:block}
.ampel .status{font-size:16px;font-weight:600;display:block}
[data-status="frei"] .status{color:#1E6B2E}
[data-status="begrenzt"] .status{color:#8A5A00}
[data-status="voll"] .status{color:#B3261E}
.ampel .mehr{font-size:15px;font-weight:700;color:var(--petrol);text-decoration:underline}

/* Karten */
.karte{border:1px solid var(--linie);border-radius:var(--radius);padding:32px;display:flex;flex-direction:column;gap:12px;background:#fff}
.karte--betont{border:2px solid var(--petrol);background:#F3F8F7}
.karte p{color:var(--text-2);font-size:17px}
.karte .hinweis{font-size:15px;color:var(--petrol);font-weight:600;margin-top:auto}
.karte svg{width:36px;height:36px}
.karte--sand{background:var(--sand);border:none}
.weiss{background:#fff;color:var(--text);border-radius:16px;padding:28px}
.weiss p{color:var(--text-2);font-size:17px}

/* Listen */
.haken{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.haken li{display:flex;gap:12px;align-items:flex-start}
.haken li::before{content:"";flex:none;width:24px;height:24px;margin-top:3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23126B6D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.foto{border-radius:24px;width:100%;object-fit:cover}

/* Chronik & Team */
.chronik{--min:220px}
.chronik div{border-top:4px solid var(--petrol);padding-top:18px}
.chronik div:last-child{border-color:var(--orange)}
.chronik b{font-size:28px;display:block}
.chronik span{color:var(--text-2);font-size:17px}
.person{display:flex;flex-wrap:wrap;gap:32px;align-items:center;background:var(--sand);border-radius:24px;padding:32px;margin-top:40px}
.person img{width:180px;height:180px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 0 0 2px var(--linie)}
.person>div{flex:1 1 360px}
.orte{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}
.orte li{background:var(--petrol-hell);color:var(--petrol);font-weight:600;padding:8px 16px;border-radius:999px}

/* Rechner */
.rechner .platz{border:2px dashed #B9C7C4;border-radius:12px;min-height:0}
.rechner iframe{width:100%;min-height:560px;border:0;border-radius:12px}

/* Bewertungen */
.wertung{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);border:1px solid var(--linie);border-radius:14px;padding:12px 18px}
.wertung b{font-size:36px;color:var(--petrol)}
.sterne{color:#C98F00;letter-spacing:2px;font-size:18px}
blockquote{margin:0;font-size:18px}
figure{margin:0}

/* Blog */
.beitrag{text-decoration:none;color:var(--text);border:1px solid var(--linie);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.beitrag .bild{height:140px;background:var(--petrol-mittel)}
.beitrag:nth-child(even) .bild{background:#E6E1D6}
.beitrag div{padding:20px;display:flex;flex-direction:column;gap:6px}
.beitrag small{color:var(--petrol);font-weight:700;font-size:14px}
.beitrag strong{font-size:19px;line-height:1.3}

/* Karriere */
.karriere{background:var(--text);color:#fff;border-radius:28px;padding:clamp(24px,5vw,56px);display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.karriere img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 20%;border-radius:18px;flex:1 1 100%}
@media (max-width:700px){.karriere img{aspect-ratio:auto}}
.karriere p{color:#C9D3D1}
.karriere .eyebrow{color:var(--orange)}
.stelle{margin-top:32px;border:2px solid var(--petrol);border-radius:24px;padding:clamp(24px,4vw,40px);display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.stelle>div{flex:2 1 520px;min-width:0;display:flex;flex-direction:column;gap:18px}
.stelle>img{flex:1 1 280px;min-width:0;width:100%;max-width:400px;height:auto;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.08)}
@media (max-width:600px){.stelle{gap:28px}.stelle>img{flex-basis:100%;max-width:100%}}
.stelle h4{font-size:19px;color:var(--petrol);margin-bottom:8px}
.stelle ul{margin:0;padding-left:20px;color:var(--text-2);font-size:17px}

/* Formular */
.formular{background:#fff;border-radius:24px;padding:clamp(22px,4vw,36px);display:flex;flex-direction:column;gap:18px}
.formular label,.formular legend{font-weight:600;font-size:16px}
.feld{display:flex;flex-direction:column;gap:6px}
.formular input:not([type=checkbox]):not([type=radio]),.formular select,.formular textarea{font:inherit;font-weight:400;padding:14px;border:1px solid #8FA19D;border-radius:10px;background:#fff;width:100%}
.formular fieldset{border:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.wahl{display:flex;gap:10px;align-items:center;font-weight:400!important}
.wahl input{width:22px;height:22px;margin:0;flex:none}
.zustimmung{display:flex;gap:10px;align-items:flex-start;font-weight:400!important;font-size:15px!important;color:var(--text-2)}
.zustimmung input{width:22px;height:22px;margin-top:2px;flex:none}
.bewerbung{display:flex;flex-direction:column;gap:18px;border-top:2px solid var(--petrol-hell);padding-top:18px}
.bewerbung[hidden]{display:none}
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.meldung{padding:14px 16px;border-radius:10px;font-weight:600}
.meldung--ok{background:#E3F4E6;color:#1E6B2E}
.meldung--fehler{background:#FCE8E8;color:#B3261E}
.kontakt-daten span{display:block;font-size:15px;color:var(--text-3)}
.kontakt-daten .tel{font-weight:800;font-size:28px;text-decoration:none}

/* Gruppe & Partner */
.firma{text-decoration:none;color:var(--text);border:1px solid var(--linie);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:10px}
.firma .logo-box{height:110px;display:flex;align-items:center}
.firma .logo-box img{max-height:100px;width:auto}
.firma strong{font-size:19px}
.firma span{color:var(--text-2);font-size:16px}
.firma em{font-style:normal;color:var(--petrol);font-weight:700;font-size:15px}
.platzhalter{border:2px dashed #B9C7C4;border-radius:12px;background:#F3F5F4;color:var(--text-3);font-size:14px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px}

/* Unterseiten */
.brotkrumen{font-size:15px;color:var(--text-3);display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.schritte{list-style:none;margin:0;padding:0;counter-reset:s}
.schritte li{background:#fff;border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:10px;counter-increment:s}
.schritte li::before{content:counter(s);width:44px;height:44px;border-radius:50%;background:var(--petrol);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.schritte li:last-child::before{background:var(--orange);color:var(--text)}
details{background:#fff;border-radius:14px;padding:20px 24px;border:1px solid var(--linie)}
summary{font-weight:700;font-size:19px;cursor:pointer}
details p{margin-top:12px;color:var(--text-2)}
.cta{background:var(--orange-hell);border-radius:28px;padding:clamp(24px,4vw,48px);display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.rechtstext{max-width:800px}
.rechtstext h2{font-size:26px;margin:32px 0 8px}
.rechtstext p{margin-bottom:12px}

/* Sprungleiste & Tabellen */
.sprungleiste{border-bottom:1px solid var(--linie);background:#fff}
.sprungleiste .wrap{display:flex;gap:8px 24px;overflow-x:auto;padding-top:14px;padding-bottom:14px;font-size:16px;font-weight:600;white-space:nowrap}
.sprungleiste a{text-decoration:none;flex:none}
@media (min-width:901px){.sprungleiste{position:sticky;top:93px;z-index:4}}
.tabelle-box{overflow-x:auto;background:#fff;border-radius:16px;border:1px solid var(--linie)}
.tabelle{width:100%;border-collapse:collapse;font-size:17px}
.tabelle caption{text-align:left;font-weight:700;padding:16px 18px 4px}
.tabelle th,.tabelle td{padding:12px 18px;border-top:1px solid var(--linie);text-align:left;vertical-align:top}
.tabelle thead th{background:var(--petrol-hell);color:var(--petrol);font-size:15px;border-top:none}
.tabelle tbody th{font-weight:700}
.tabelle tbody th span{display:block;font-weight:400;font-size:14px;color:var(--text-3)}
.tabelle--breit{min-width:640px}
.tabelle--breit td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tabelle--breit thead th:not(:first-child){text-align:right}
.tabelle .zahl{white-space:nowrap}
.tabelle-box>p{padding:0 18px 16px}

/* Fuß */
.footer{background:var(--text);color:#C9D3D1;font-size:16px;padding:56px 0 32px}
.footer a{color:#C9D3D1}
.footer .grid{--min:220px;gap:32px}
.footer .spalte{display:flex;flex-direction:column;gap:8px}
.footer strong{color:#fff}
.footer .logo-weiss{width:220px;background:#fff;border-radius:12px;padding:8px 12px}
.footer .unten{border-top:1px solid #34494A;margin-top:32px;padding-top:20px;font-size:14px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
.footer .unten img{height:48px;width:auto;background:#fff;border-radius:8px;padding:6px 10px}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.topbar,.header nav,.menu-btn,.footer,.formular{display:none}}
