/*
Theme Name: UNN Care Ruhe
Description: Ruhige, mobile One-Page-Website für einen ambulanten Pflegedienst.
Version: 1.0.4
Text Domain: unncare
*/
:root{--blue:#155da4;--blue-dark:#0c3d70;--blue-soft:#eaf4fb;--ink:#17324a;--muted:#61788c;--white:#fff;--line:#d9e7f1;--radius:24px;--shadow:0 18px 55px rgba(15,61,104,.11)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.65}a{color:inherit}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(217,231,241,.8)}.header-inner{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;color:var(--blue-dark);font-size:22px;letter-spacing:-.02em}.brand-mark{width:44px;height:44px;border-radius:15px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:24px;box-shadow:0 8px 20px rgba(21,93,164,.22)}nav{display:flex;gap:28px;align-items:center}nav a{text-decoration:none;font-size:15px;font-weight:700}.call{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:999px;background:var(--blue);color:#fff;text-decoration:none;font-weight:800;box-shadow:0 9px 22px rgba(21,93,164,.2)}.call:hover{background:var(--blue-dark)}.hero{overflow:hidden;background:linear-gradient(125deg,#f8fcff 0%,#e9f5fc 100%);padding:88px 0 70px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:68px;align-items:center}.eyebrow{color:var(--blue);font-size:14px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;margin:0 0 16px}.hero h1{font-size:clamp(42px,6vw,72px);line-height:1.06;letter-spacing:-.045em;margin:0 0 24px;color:var(--blue-dark);max-width:760px}.lead{font-size:clamp(19px,2vw,23px);color:var(--muted);max-width:650px;margin:0 0 32px}.actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.text-link{font-weight:800;color:var(--blue);padding:12px}.trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:36px;color:#48667f;font-size:14px;font-weight:650}.trust span:before{content:"✓";color:var(--blue);font-weight:900;margin-right:7px}.care-visual{position:relative;min-height:480px}.care-card{position:absolute;inset:20px 0 20px 55px;background:#fff;border-radius:48% 52% 44% 56% / 42% 44% 56% 58%;box-shadow:var(--shadow);display:grid;place-items:center;overflow:hidden}.care-card:before,.care-card:after{content:"";position:absolute;border-radius:50%;background:var(--blue-soft)}.care-card:before{width:280px;height:280px;right:-55px;top:-65px}.care-card:after{width:180px;height:180px;left:-45px;bottom:-30px}.heart{position:relative;z-index:1;width:172px;height:172px;border-radius:50%;background:var(--blue);display:grid;place-items:center;color:#fff;font-size:78px;box-shadow:0 22px 45px rgba(21,93,164,.24)}.mini-card{position:absolute;z-index:2;background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px 18px;box-shadow:var(--shadow);font-size:14px;font-weight:800}.mini-one{top:62px;left:0}.mini-two{right:0;bottom:55px}.section{padding:95px 0}.section.alt{background:#f7fbfe}.section-head{max-width:720px;margin:0 auto 46px;text-align:center}.section h2{font-size:clamp(34px,4vw,50px);line-height:1.13;letter-spacing:-.035em;color:var(--blue-dark);margin:0 0 15px}.section-head p{color:var(--muted);margin:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:0 10px 35px rgba(15,61,104,.06)}.icon{width:52px;height:52px;border-radius:17px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:25px;margin-bottom:20px}.service h3{margin:0 0 8px;font-size:20px;color:var(--blue-dark)}.service p{margin:0;color:var(--muted);font-size:15px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:steps}.step{padding:8px 10px}.step:before{counter-increment:steps;content:counter(steps);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--blue);color:#fff;font-weight:850;margin-bottom:18px}.step h3{margin:0 0 8px;color:var(--blue-dark)}.step p{margin:0;color:var(--muted)}.cta{margin:0 auto 95px;width:min(1160px,calc(100% - 40px));padding:55px 60px;border-radius:32px;background:var(--blue-dark);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{color:#fff;font-size:clamp(30px,4vw,44px);margin:0 0 8px}.cta p{margin:0;color:#d9eafa}.cta .call{background:#fff;color:var(--blue-dark);white-space:nowrap;padding:16px 24px}.site-footer{background:#092f56;color:#d5e5f3;padding:40px 0 95px}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer-inner p{margin:4px 0;font-size:14px}.footer-links{display:flex;gap:18px;font-size:14px}.mobile-call{display:none}
@media(max-width:800px){body{font-size:16px}.wrap{width:min(100% - 28px,1160px)}nav>a:not(.call){display:none}.header-inner{height:70px}.brand{font-size:19px}.brand-mark{width:38px;height:38px}.header-inner .call{padding:10px 14px;font-size:14px}.hero{padding:58px 0 46px}.hero-grid{grid-template-columns:1fr;gap:25px}.hero h1{font-size:43px}.care-visual{min-height:300px}.care-card{inset:0 20px 0 45px}.heart{width:125px;height:125px;font-size:58px}.mini-one{top:25px}.mini-two{bottom:20px}.section{padding:70px 0}.services,.steps{grid-template-columns:1fr}.service{padding:24px}.cta{width:calc(100% - 28px);padding:35px 25px;margin-bottom:70px;display:block}.cta .call{margin-top:24px}.footer-inner{display:block}.footer-links{margin-top:20px}.site-footer{padding-bottom:105px}.mobile-call{display:flex;position:fixed;z-index:30;left:14px;right:14px;bottom:14px;background:var(--blue);color:#fff;border:3px solid #fff;border-radius:18px;padding:14px;justify-content:center;text-decoration:none;font-weight:850;box-shadow:0 10px 28px rgba(9,47,86,.3)}}
/* Original UnnaCare logo and inner pages */
.brand img{display:block;width:155px;height:auto;max-height:66px;object-fit:contain}.brand-mark,.brand>span{display:none}.page-hero{padding:70px 0;background:linear-gradient(125deg,#f8fcff,#e9f5fc)}.page-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-.04em;color:var(--blue-dark);margin:0 0 15px}.page-hero p{max-width:700px;margin:0;color:var(--muted);font-size:20px}.page-content{padding:75px 0 100px}.prose{max-width:850px}.prose h2{font-size:30px;color:var(--blue-dark);margin:48px 0 12px}.prose h3{font-size:21px;color:var(--blue-dark);margin:30px 0 8px}.prose p,.prose li{color:var(--muted)}.prose a{color:var(--blue);font-weight:700}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.detail-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;background:#fff;box-shadow:0 10px 35px rgba(15,61,104,.06)}.detail-card h2{font-size:25px;margin:0 0 12px;color:var(--blue-dark)}.detail-card p{color:var(--muted)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-box{padding:34px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.contact-box h2{margin-top:0;color:var(--blue-dark)}.contact-box .big-link{display:block;color:var(--blue);font-size:24px;font-weight:850;text-decoration:none;margin:8px 0}.back-home{display:inline-block;margin-top:35px;color:var(--blue);font-weight:800;text-decoration:none}
@media(max-width:800px){.brand img{width:125px;max-height:56px}.page-hero{padding:48px 0}.page-content{padding:50px 0 80px}.detail-grid,.contact-grid{grid-template-columns:1fr}.detail-card,.contact-box{padding:24px}}

/* Calmer hero composition */
.hero{padding:92px 0 82px}.hero-grid{gap:90px}.hero h1{max-width:650px}.actions{gap:24px}.quiet-link{color:var(--blue-dark);font-size:15px;font-weight:750;text-decoration:none;border-bottom:1px solid #9dbbd5;padding:8px 0}.hero-note{margin:25px 0 0;color:var(--muted);font-size:14px}.care-visual{min-height:420px}.care-card{inset:20px;background:rgba(255,255,255,.72);border:1px solid rgba(217,231,241,.9);border-radius:50%;box-shadow:0 22px 60px rgba(15,61,104,.07);display:flex;flex-direction:column;justify-content:center;gap:24px}.care-card:before{width:230px;height:230px;right:-70px;top:-75px;opacity:.65}.care-card:after{width:150px;height:150px;left:-55px;bottom:-45px;opacity:.65}.heart{width:140px;height:140px;font-size:62px;box-shadow:0 15px 35px rgba(21,93,164,.18)}.visual-caption{position:relative;z-index:2;margin:0;color:var(--blue-dark);font-size:16px;font-weight:800;letter-spacing:.01em}.mini-card,.trust{display:none}
@media(max-width:800px){.hero{padding:58px 0 48px}.hero-grid{gap:42px}.actions{align-items:flex-start;gap:18px}.hero-note{margin-top:20px}.care-visual{min-height:260px}.care-card{inset:0 35px}.heart{width:105px;height:105px;font-size:48px}.visual-caption{font-size:14px}}

/* Use the actual UnnaCare brand in the hero */
.hero-logo{position:relative;z-index:2;width:min(72%,360px);height:auto;display:block;object-fit:contain;filter:drop-shadow(0 10px 20px rgba(15,61,104,.08))}.care-card{padding:45px}.care-card .heart,.care-card .visual-caption{display:none}
@media(max-width:800px){.hero-logo{width:min(82%,290px)}.care-card{padding:30px}}

.hero-logo{width:min(78%,390px);aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply}.care-card{padding:24px}
@media(max-width:800px){.hero-logo{width:min(86%,300px)}}

/* More prominent brand in the header */
.header-inner{height:104px}.brand img{width:235px;max-height:92px}.site-header{box-shadow:0 6px 24px rgba(15,61,104,.05)}
@media(max-width:800px){.header-inner{height:78px}.brand img{width:155px;max-height:68px}}

/* Freestanding transparent hero mark */
.care-card{background:transparent;border:0;box-shadow:none}.care-card:before,.care-card:after{display:none}.hero-logo{mix-blend-mode:normal;filter:drop-shadow(0 18px 28px rgba(15,61,104,.14))}

/* Large, legible header wordmark */
.header-inner{height:136px}.brand img{width:330px;max-height:124px}.header-inner nav{margin-left:auto}
@media(max-width:800px){.header-inner{height:88px}.brand img{width:185px;max-height:76px}}

/* Restore the calm oval hero design around the transparent heart */
.care-card{inset:20px;background:rgba(255,255,255,.76);border:1px solid rgba(217,231,241,.9);border-radius:50%;box-shadow:0 22px 60px rgba(15,61,104,.07);overflow:hidden}.care-card:before,.care-card:after{display:block}.care-card:before{width:230px;height:230px;right:-70px;top:-75px;opacity:.62}.care-card:after{width:150px;height:150px;left:-55px;bottom:-45px;opacity:.62}.hero-logo{width:min(69%,345px)}
@media(max-width:800px){.care-card{inset:0 28px}.hero-logo{width:min(72%,245px)}}

/* Independently sized header mark and readable wordmark */
.brand{gap:18px}.brand .brand-heart{display:block;width:124px;height:124px;object-fit:contain;flex:0 0 124px}.brand .brand-copy{display:flex;flex-direction:column;color:var(--blue-dark);line-height:1}.brand-copy strong{font-size:32px;letter-spacing:-.035em;white-space:nowrap}.brand-copy small{font-size:14px;letter-spacing:0}.brand-copy>span{display:block;margin-top:8px;font-size:15px;font-weight:650;letter-spacing:.01em;white-space:nowrap}.brand>img+span{display:flex}
@media(max-width:800px){.brand{gap:9px}.brand .brand-heart{width:68px;height:68px;flex-basis:68px}.brand-copy strong{font-size:20px}.brand-copy small{font-size:9px}.brand-copy>span{font-size:9px;margin-top:5px}.header-inner{height:82px}}

/* Slightly larger heart inside the oval */
.hero-logo{width:min(78%,390px)}
@media(max-width:800px){.hero-logo{width:min(80%,270px)}}

/* Consistent inner-page title band */
.page-hero{height:250px;min-height:250px;padding:0;display:flex;align-items:center}.page-hero>.wrap{width:min(1160px,calc(100% - 40px))}.page-hero h1{margin-bottom:12px}.page-hero p{margin:0}
@media(max-width:800px){.page-hero{height:210px;min-height:210px;padding:0}.page-hero>.wrap{width:min(100% - 28px,1160px)}}

/* Keep editorial CTA buttons identical to the CTA on the services page. */
.prose a.call,
.prose a.call:visited{color:#fff}
.prose a.call:hover,
.prose a.call:focus{color:#fff;background:var(--blue-dark)}

/* Inner pages share one fixed title baseline, independent of subtitle length. */
.page-hero{align-items:flex-start;padding-top:52px}
.page-hero>.wrap{margin-top:0;margin-bottom:0}
.page-content .prose>h2:first-child{margin-top:0}
@media(max-width:800px){.page-hero{padding-top:34px}}

/* Prevent horizontal header movement between pages and keep the sticky header
   below the WordPress toolbar while editors are signed in. */
html{scrollbar-gutter:stable}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
