
/* ALTENHEIMEFINDEN Phase 8 Production polish */
:root{--p8-navy:#062f4a;--p8-blue:#0d5c88;--p8-green:#6c911f;--p8-bg:#f7fafc;--p8-border:#dbe7ef;--p8-shadow:0 14px 38px rgba(4,42,66,.10)}
body{background:var(--p8-bg)}
.master-wrap,.wrap{max-width:1320px}
.master-hero{position:relative;min-height:430px;border-radius:0 0 24px 24px;overflow:hidden;box-shadow:var(--p8-shadow);background:#183d55}
.master-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.95) contrast(1.03)}
.master-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,29,46,.80) 0%,rgba(3,29,46,.57) 45%,rgba(3,29,46,.12) 78%);pointer-events:none}
.master-hero__content{position:relative;z-index:2;max-width:650px;margin:48px 0;padding:30px;border-radius:20px;background:rgba(255,255,255,.95);box-shadow:0 18px 46px rgba(0,0,0,.14);color:#17354b}
.master-hero__content h1{font-size:clamp(2.2rem,4vw,3.8rem);line-height:1.04;margin:.25rem 0 1rem;color:#092f4b}
.master-hero__content .legacy-badge{color:var(--p8-green);font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.master-hero__content .kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.master-hero__content .kpi{border:1px solid var(--p8-border);background:#f8fbfd;border-radius:14px;padding:12px}
.profile-grid{gap:20px}.profile-card{border:1px solid var(--p8-border);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(4,42,66,.06);transition:transform .2s ease,box-shadow .2s ease}.profile-card:hover{transform:translateY(-3px);box-shadow:var(--p8-shadow)}
.profile-card .img-wrap{aspect-ratio:16/10;background:#dfe9ef;overflow:hidden}.profile-card .img-wrap img{width:100%;height:100%;object-fit:cover}
.profile-hero{min-height:430px;position:relative;overflow:hidden;background:#183d55}.profile-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,28,45,.66),rgba(2,28,45,.12) 70%);pointer-events:none}.profile-hero>.wrap{position:relative;z-index:2;padding-top:54px;padding-bottom:54px}.profile-box{max-width:590px;background:rgba(255,255,255,.96);border-radius:20px;padding:28px;box-shadow:0 18px 46px rgba(0,0,0,.15)}.profile-box h1{font-size:clamp(2.1rem,4vw,3.4rem);line-height:1.05;color:#092f4b}
.tabs{position:sticky;top:72px;z-index:25;box-shadow:0 5px 18px rgba(4,42,66,.06)}
.fact,.service,.panel{border-radius:14px;border-color:var(--p8-border)}
.section h2{color:#0a3452}.section h3{color:#124b6d}
.footer-logo-img{filter:none!important;background:transparent!important;mix-blend-mode:normal!important}
img[src*="fallback-pflegeheim.jpg"]{object-fit:cover}
@media(max-width:900px){.master-hero{min-height:360px}.master-hero__content{margin:22px 0;padding:22px}.master-hero__content .kpis{grid-template-columns:1fr}.profile-hero>.wrap{padding-top:30px;padding-bottom:30px}.tabs{top:0}.master-wrap,.wrap{width:min(100% - 24px,1320px)}}
