/*
Theme Name: Hausservice Ammerland
Theme URI: https://www.hausservice-ammerland.de
Author: Hausservice Ammerland
Description: Premium WordPress Theme für Nachlassservice, Gebäudereinigung und Objektservice im Ammerland.
Version: 3.5.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hausservice-ammerland
*/
:root{--navy:#0e2b40;--navy2:#153f54;--green:#69b94c;--green-dark:#317d42;--ink:#183044;--muted:#617280;--light:#f3f7f6;--line:#e2e9e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff}a{color:var(--green-dark)}.wrap{max-width:1240px;margin:auto;padding:0 26px}.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 4px 24px #0b25330e}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:92px}.brand img{width:min(320px,48vw);height:auto;display:block}.nav{display:flex;align-items:center;gap:26px}.nav a{text-decoration:none;color:var(--ink);font-weight:700;font-size:14px}.nav a:hover{color:var(--green-dark)}.btn,.button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 23px;border-radius:8px;background:var(--green);color:#102c23!important;font-weight:800;text-decoration:none;border:0;cursor:pointer;box-shadow:0 7px 18px #112b2620;transition:transform .2s,background .2s}.btn:hover,.button:hover{background:#82ca64;transform:translateY(-2px)}.nav .btn{color:#123321!important}.hero{background:radial-gradient(circle at 15% 20%,#1c5060 0%,transparent 43%),linear-gradient(125deg,#102c41,#12374a 72%,#194d4c);color:#fff;overflow:hidden}.hero-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:55px;align-items:center;min-height:600px;padding-top:62px;padding-bottom:70px}.eyebrow{display:inline-block;font-size:12px;letter-spacing:.17em;font-weight:850;color:#9bdc86}.eyebrow.dark{color:#35894d}.hero h1{font-size:clamp(42px,5.4vw,72px);line-height:1.1;letter-spacing:-.045em;margin:18px 0 24px;color:#fff}.hero h1 em,.section h2 em,.region-section h2 em{font-style:normal;color:var(--green)}.hero p{max-width:620px;font-size:19px;line-height:1.7;color:#d8e7eb}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn-outline{background:transparent;border:1px solid #91b0b5;color:#fff!important;box-shadow:none}.btn-outline:hover{background:#ffffff16}.hero-proof{display:flex;gap:19px;flex-wrap:wrap;margin-top:40px;font-size:12px;font-weight:700;color:#cde5d9}.hero-photo{height:460px;border-radius:24px;position:relative;background:linear-gradient(180deg,#062b3500,#062b3599),url(assets/hero-service.webp) center/cover;box-shadow:0 30px 75px #00101e66;border:7px solid #ffffff1c}.photo-caption{position:absolute;bottom:22px;left:22px;right:22px;border-radius:12px;background:#fff;color:var(--navy);padding:15px 20px;display:flex;flex-direction:column;line-height:1.4;box-shadow:0 10px 35px #0002}.photo-caption small{color:var(--muted);margin-top:3px}.trust-strip{background:#fff;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:26px;padding-bottom:26px}.trust-grid>span{font-size:25px;color:var(--green-dark);display:flex;align-items:center;gap:14px}.trust-grid b{font-size:14px;color:var(--navy)}.trust-grid small{font-size:12px;color:var(--muted);display:block;margin-left:auto;max-width:155px;line-height:1.4}.section{padding:92px 0}.section h2{font-size:clamp(32px,4vw,49px);line-height:1.18;letter-spacing:-.035em;color:var(--navy);margin:14px 0 24px}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:32px}.section-intro p{max-width:410px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.service-card{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 13px 38px #0e2b4010;border:1px solid var(--line);transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px #0e2b4020}.service-art{height:145px;display:grid;place-items:center;background:linear-gradient(135deg,#1e5566,#1d8770);position:relative;overflow:hidden}.service-art:before{content:"";width:240px;height:240px;border-radius:50%;border:34px solid #ffffff18;position:absolute;right:-60px;top:-105px}.service-art span{font-size:72px;color:#d3f6d2;line-height:1}.art-1{background:linear-gradient(130deg,#254b5b,#4a8475)}.art-2{background:linear-gradient(130deg,#1d5874,#53a2a3)}.art-3{background:linear-gradient(130deg,#234759,#598ca0)}.art-4{background:linear-gradient(130deg,#235f57,#76a77a)}.art-5{background:linear-gradient(130deg,#243c58,#5b8c7c)}.service-content{padding:23px 24px 26px}.service-content h3{font-size:19px;line-height:1.35;margin:0 0 9px;color:var(--navy)}.service-content p{color:var(--muted);font-size:14px;min-height:72px;margin:0 0 14px}.service-content a{text-decoration:none;font-size:14px;font-weight:800}.feature-section{background:var(--light)}.feature-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}.feature-visual{min-height:410px;background:radial-gradient(circle at 65% 35%,#8ecf8a 0%,transparent 45%),linear-gradient(145deg,#1a5761,#0f3045);border-radius:22px;display:grid;place-items:center;position:relative;box-shadow:0 22px 40px #0d35431a}.feature-icon{font-size:220px;line-height:1;color:#e0f5e1;text-shadow:0 15px 25px #0003}.feature-tag{position:absolute;top:22px;left:22px;background:#fff;color:var(--navy);padding:8px 13px;border-radius:7px;font-size:11px;font-weight:800;letter-spacing:.08em}.feature-layout p{color:var(--muted)}.check-list{display:grid;gap:12px;margin:24px 0 28px;font-weight:650;color:var(--navy)}.process-section{text-align:center}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:35px;text-align:left}.process-grid article{padding:30px;border:1px solid var(--line);border-radius:14px}.process-grid b{font-size:35px;color:var(--green-dark)}.process-grid h3{margin:10px 0;color:var(--navy)}.process-grid p{color:var(--muted)}.region-section{background:linear-gradient(110deg,#102e45,#1a5d59);padding:65px 0;color:#fff}.region-layout{display:flex;align-items:center;justify-content:space-between;gap:40px}.region-section h2{font-size:clamp(28px,3.7vw,43px);line-height:1.2;max-width:750px;margin:12px 0;color:#fff}.region-section p{color:#c8e0df}.btn-light{background:#fff;color:var(--navy)!important;white-space:nowrap}.footer{background:#0a2334;color:#d9e8ec;padding:55px 0}.footer a{color:#d9e8ec}.footer-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:24px}.page-body{padding:70px 0;min-height:48vh}.page-body h1{color:var(--navy)}.cookie-backdrop{position:fixed;inset:0;background:#071724ae;z-index:9998}.cookie-panel{position:fixed;z-index:9999;bottom:18px;left:50%;transform:translateX(-50%);background:#fff;box-shadow:0 12px 55px #0004;border-radius:15px;padding:26px;max-width:660px;width:calc(100% - 28px)}.cookie-panel h2{font-size:23px;margin:0;color:var(--navy)}.cookie-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.cookie-actions button{border:1px solid #c7d3d8;background:#fff;color:var(--navy);padding:11px 15px;border-radius:7px;cursor:pointer;font-weight:700}.cookie-actions .accept{background:var(--green);color:var(--navy);border-color:var(--green)}.cookie-settings{margin-top:10px}.cookie-settings label{display:block;padding:5px 0}.cookie-manage{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:10px;z-index:99999;background:#fff;padding:12px}@media(max-width:1000px){.hero-layout{gap:30px}.nav{gap:14px}.trust-grid small{display:none}}@media(max-width:780px){.header-inner{flex-direction:column;align-items:flex-start;padding-top:12px;padding-bottom:14px;min-height:unset}.nav{flex-wrap:wrap;gap:12px}.nav a{font-size:13px}.hero-layout,.feature-layout{grid-template-columns:1fr}.hero-layout{padding-top:52px}.hero-photo{height:300px}.cards,.process-grid{grid-template-columns:1fr 1fr}.trust-grid{grid-template-columns:1fr;gap:12px}.section-intro,.region-layout{display:block}.region-layout .btn{margin-top:15px}.section{padding:65px 0}}@media(max-width:540px){.wrap{padding:0 18px}.brand img{width:260px;max-width:100%}.hero h1{font-size:42px}.hero-proof{gap:10px}.hero-photo{height:240px}.cards,.process-grid{grid-template-columns:1fr}.section-intro{margin-bottom:24px}.feature-visual{min-height:260px}.feature-icon{font-size:150px}.cookie-panel{max-height:90vh;overflow:auto}}

/* Legal content */
.hsam-legal{max-width:960px}.hsam-legal h2{font-size:1.25rem;margin:1.8rem 0 .5rem}.hsam-legal p{line-height:1.8}.hsam-email a{overflow-wrap:anywhere}

/* v2.3.0 – Mobile header and hero refinement */
.mobile-menu-toggle{display:none}
@media(max-width:780px){
 .site-header{position:relative}
 .header-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding-top:16px;padding-bottom:14px}
 .brand{display:block;width:100%;text-align:center}
 .brand img{display:block;width:86%;max-width:520px;height:auto;margin:0 auto}
 .mobile-menu-toggle{display:flex;align-self:center;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:46px;height:42px;margin-top:12px;border:1px solid #dce6e5;border-radius:10px;background:#f5f8f8;cursor:pointer}
 .mobile-menu-toggle span{display:block;width:21px;height:2px;background:#17395c;border-radius:2px}
 .mobile-menu-toggle:focus-visible{outline:3px solid #18875c;outline-offset:3px}
 .nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;margin-top:12px;padding:10px;background:#f3f7f6;border:1px solid #e2e9e9;border-radius:12px}
 .nav.is-open{display:flex}
 .nav a{display:block;padding:12px 14px;font-size:15px}
 .nav .btn{display:flex;margin-top:8px;text-align:center}
 .hero-layout{padding-top:32px;padding-bottom:44px;gap:25px;min-height:0}
 .hero h1{font-size:clamp(35px,8.5vw,49px);line-height:1.14;margin:14px 0 20px}
 .hero p{font-size:17px;line-height:1.6}
 .hero-actions{margin-top:24px}
 .hero-actions .btn{max-width:100%;text-align:center}
}
@media(max-width:540px){
 .brand img{width:86%;max-width:none}
 .hero h1{font-size:clamp(34px,8.3vw,43px)}
 .hero-actions .btn{width:100%;padding:14px 16px}
}

/* v2.7.0 – compact mobile header, logo and menu on one row */
@media (max-width:780px){
 .site-header{position:relative;background:#fff}
 .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;justify-content:space-between;column-gap:12px;row-gap:0;min-height:0;padding-top:12px;padding-bottom:12px}
 .site-header .brand{width:100%;min-width:0;display:flex;align-items:center;justify-content:flex-start}
 .site-header .brand img{width:100%;max-width:390px;max-height:85px;object-fit:contain;object-position:left center;margin:0}
 .site-header .mobile-menu-toggle{display:flex;grid-column:2;grid-row:1;justify-self:end;align-self:center;margin:0;width:48px;height:48px;border:1px solid #d7e4e5;border-radius:12px;background:#f5f8f8;box-shadow:0 2px 7px #102b4010}
 .site-header .nav{grid-column:1/-1;grid-row:2;margin-top:10px;width:100%;box-shadow:0 12px 24px #0e2b4014}
 .site-header .nav:not(.is-open){display:none}
 .site-header .nav.is-open{display:flex}
 .site-header .nav a:focus-visible,.site-header .mobile-menu-toggle:focus-visible{outline:3px solid #18875c;outline-offset:3px}
}
@media (max-width:420px){
 .site-header .header-inner{grid-template-columns:minmax(0,1fr) 46px;column-gap:9px;padding-top:10px;padding-bottom:10px}
 .site-header .mobile-menu-toggle{width:44px;height:44px}
 .site-header .brand img{max-height:74px}
}

/* v2.8: vollständige Leistungsübersicht */
.hs-expanded-services{background:#f5f9f7}.hs-expanded-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}.hs-expanded-card{background:white;border:1px solid #dce9e3;border-radius:18px;padding:24px;box-shadow:0 10px 30px #17395c0b}.hs-expanded-card h3{color:#17395c;font-size:21px;margin:0 0 15px}.hs-expanded-card ul{padding-left:0;list-style:none;margin:0;display:grid;gap:9px}.hs-expanded-card li{padding-left:23px;position:relative;line-height:1.5}.hs-expanded-card li:before{content:'✓';position:absolute;left:0;color:#18875c;font-weight:900}.hs-service-region{margin-top:28px;color:#375367}.services-section .cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:780px){.hs-expanded-grid{grid-template-columns:1fr}.services-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.services-section .cards{grid-template-columns:1fr}.hs-expanded-card{padding:20px}}

/* v3.2: Dienstleistungsbilder, Detaildialog und mobile Zentrierung */
.hs-photo-art{height:205px;background:#e8f0eb}.hs-photo-art:before{display:none}.hs-photo-art img{display:block;width:100%;height:100%;object-fit:cover}.hs-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.hs-more{font:inherit;font-weight:800;color:#1e7546;background:#e9f5ed;border:1px solid #c5e4d0;border-radius:8px;padding:9px 14px;cursor:pointer}.hs-card-actions a{padding:9px 0}.hs-service-dialog-backdrop[hidden]{display:none!important}.hs-service-dialog-backdrop{position:fixed;inset:0;background:#061e2cc7;z-index:10010;display:grid;place-items:center;padding:20px}.hs-service-dialog{position:relative;max-width:620px;width:100%;max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:35px;box-shadow:0 25px 80px #0005}.hs-service-dialog h3{font-size:27px;color:#17395c;margin:0 35px 12px 0}.hs-service-dialog p{color:#526878}.hs-service-dialog li{margin:9px 0}.hs-service-dialog-close{position:absolute;right:14px;top:12px;border:0;background:#edf3f3;border-radius:50%;width:40px;height:40px;font-size:28px;cursor:pointer}.hs-service-dialog-open{overflow:hidden}
@media(max-width:780px){.hero-copy,.hero-copy p,.section-intro,.section-intro p,.services-section,.service-content,.feature-layout>div,.process-section,.process-grid article,.region-section,.region-section p,.hs-expanded-services,.hs-expanded-card,.hs-service-dialog,.hs-service-dialog p{text-align:center}.hero-copy p,.section-intro p{margin-left:auto;margin-right:auto}.hero-actions,.hero-proof,.hs-card-actions{justify-content:center}.feature-layout .check-list{text-align:center}.service-content p{min-height:0}.hs-expanded-card li{padding-left:0}.hs-expanded-card li:before{position:static;margin-right:7px}.hs-service-dialog ul{display:inline-block;text-align:left;padding-left:22px}.hs-service-dialog h3{margin-right:0}.hs-service-dialog .btn{margin:auto}.region-layout{text-align:center}.hs-photo-art{height:220px}}
@media(max-width:540px){.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .btn{width:100%;text-align:center}.hero-proof{justify-content:center}.hs-service-dialog{padding:30px 18px}.hs-photo-art{height:200px}}

/* v3.3.0 – image cards link to SEO landing pages; accessible mobile lists */
.hs-card-actions .hs-more{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.hs-landing-hero{padding:65px 0;background:#f4f8f7}.hs-landing-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}.hs-landing-layout h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.15;color:#17395c}.hs-landing-layout p{font-size:1.15rem;line-height:1.7}.hs-landing-layout img{width:100%;height:360px;object-fit:cover;border-radius:20px}.hs-landing-main{max-width:900px}.hs-landing-main h2{color:#17395c;margin-top:32px}.hs-landing-list,.hs-expanded-card ul{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px}.hs-landing-list li,.hs-expanded-card li{position:relative;padding-left:30px;text-align:left!important;line-height:1.55}.hs-landing-list li:before,.hs-expanded-card li:before{content:'✓';position:absolute;left:0;top:0;color:#18875c;font-weight:900;margin:0}.hs-landing-cta{margin-top:38px;padding:26px;background:#edf6f0;border-radius:18px}.hs-landing-editor{margin-top:30px}
@media(max-width:780px){.hs-landing-layout{grid-template-columns:1fr;text-align:center}.hs-landing-layout img{height:250px}.hs-landing-main{text-align:center}.hs-landing-list{max-width:560px;margin:24px auto}.hs-landing-list li,.hs-expanded-card li{text-align:left!important;padding-left:30px!important}.hs-expanded-card li:before{position:absolute!important;left:0!important;margin-right:0!important}.hs-landing-cta{text-align:center}}

/* v3.4.0 – Service image cards, spacious action buttons */
.services-section .service-card{border-radius:24px;border:1px solid #dae7e1;box-shadow:0 16px 38px rgba(15,44,57,.09);overflow:hidden}
.services-section .service-art.hs-photo-art{height:215px}
.services-section .service-art.hs-photo-art::before{display:none}
.services-section .service-art.hs-photo-art img{width:100%;height:100%;object-fit:cover;display:block}
.services-section .service-content{padding:30px 25px 34px;text-align:center}
.services-section .service-content h3{font-size:clamp(20px,2vw,25px);line-height:1.35;margin:0 auto 14px;color:var(--navy)}
.services-section .service-content h3::after{content:"";display:block;width:54px;height:3px;background:#46a84c;border-radius:5px;margin:15px auto 0}
.services-section .service-content p{font-size:16px;line-height:1.7;min-height:0;margin:0 auto 29px;max-width:37ch}
.services-section .hs-card-actions{display:flex;flex-direction:column;align-items:center;gap:17px;margin-top:6px}
.services-section .hs-card-actions a{display:inline-flex;align-items:center;justify-content:center;gap:11px;text-align:center;width:100%;max-width:340px;min-height:56px;padding:13px 16px;border-radius:12px;font-size:15px;line-height:1.35;font-weight:800;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}
.services-section .hs-card-actions .hs-more{color:#166a2c;background:#ecf8ed;border:1.5px solid #56aa63;box-shadow:0 5px 12px #154b1e0b}
.services-section .hs-card-actions .hs-inquire{color:#fff;background:linear-gradient(135deg,#68ba48,#329e22);border:1px solid #419d2d;box-shadow:0 10px 22px #329e2230}
.services-section .hs-card-actions a:hover,.services-section .hs-card-actions a:focus-visible{transform:translateY(-2px);box-shadow:0 12px 24px #185b2428}
.services-section .hs-action-icon{font-size:21px;line-height:1;flex:none}
/* Mobile typography centered, checkmark lists aligned in a fixed left column */
@media(max-width:780px){
 .services-section .service-content{padding:32px 24px 37px;text-align:center}
 .services-section .service-art.hs-photo-art{height:220px}
 .services-section .service-content p{font-size:16px;margin-bottom:32px}
 .services-section .hs-card-actions{gap:20px}
 .services-section .hs-card-actions a{max-width:360px;min-height:58px}
 .page-body h1,.page-body h2,.page-body>div>p,.section-intro,.section-intro p{text-align:center}
 .check-list{width:min(100%,540px);margin-left:auto;margin-right:auto;text-align:left}
 .check-list>*,.hsam-service-list li,.service-detail-list li{ text-align:left }
 .hsam-service-list,.service-detail-list{padding-left:0;list-style:none}
 .hsam-service-list li,.service-detail-list li{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start}
}
@media(max-width:540px){.services-section .service-content{padding:30px 22px 34px}.services-section .service-art.hs-photo-art{height:195px}.services-section .hs-card-actions a{width:100%;font-size:15px}}

/* Frontend-only basic copy deterrence; no restriction on forms */
@media screen { body:not(.wp-admin) .site-main img, body:not(.wp-admin) main img { -webkit-user-drag:none; user-drag:none; } }
@media print { body > * { display:none !important; } body::before { content:"Druckansicht für diese Website deaktiviert."; display:block !important; padding:2rem; font:18px sans-serif; } }
