/*
Theme Name: Spinnenpreventie Cornet
Theme URI: https://spinnenpreventie.nl
Author: Cornet Exterieur Reiniging
Description: Maatwerk WordPress-thema voor Spinnenpreventie.nl, met Otis en offerteformulier.
Version: 1.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: spinnenpreventie-cornet
*/
:root{--red:#d92c38;--ink:#192126;--muted:#647077;--cream:#f6f7f7;--line:#e5e8e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#fff}a{color:inherit}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,5.7vw,5rem);margin:.2em 0}h2{font-size:clamp(2rem,3.4vw,3.15rem);margin:0 0 18px}h3{font-size:1.2rem}p{margin:0 0 18px}.container{max-width:1180px;margin:auto;padding:0 24px}.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 1px 0 var(--line)}.header-row{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:84px}.brand{font-weight:900;font-size:clamp(1.1rem,2.1vw,1.65rem);letter-spacing:-.06em;text-decoration:none;white-space:nowrap}.brand span{color:var(--red)}.nav{display:flex;align-items:center;gap:25px}.nav a{text-decoration:none;font-size:.94rem;font-weight:700}.nav a:hover{color:var(--red)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--red);color:#fff!important;padding:14px 23px;font-weight:800;text-decoration:none;cursor:pointer;font-size:1rem}.btn:hover{background:#b51f2b}.btn-outline{background:transparent;border:1px solid #fff;color:#fff!important}.btn-dark{background:var(--ink)}.hero{background:radial-gradient(circle at 85% 40%,#414c50 0,#1b252a 45%,#11191d 100%);color:#fff;overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding-top:72px;padding-bottom:72px;min-height:570px}.eyebrow{display:inline-block;font-size:.8rem;letter-spacing:.15em;text-transform:uppercase;font-weight:900;color:var(--red)}.hero .eyebrow{color:var(--red)}.hero-highlight{color:var(--red)}.hero p{color:#dce2e3;font-size:1.14rem;max-width:600px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.otis{width:100%;max-width:480px;justify-self:center;filter:drop-shadow(0 18px 30px #0005);border-radius:50%}.section{padding:90px 0}.section-alt{background:var(--cream)}.section-intro{max-width:730px;margin-bottom:36px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:16px;padding:30px;background:#fff;box-shadow:0 12px 25px #1b252a08}.card .num{display:inline-flex;background:#ffedf0;color:var(--red);border-radius:10px;font-size:1rem;font-weight:900;padding:7px 13px}.card p{color:var(--muted)}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.bullet{list-style:none;padding:0}.bullet li{margin:12px 0;padding-left:27px;position:relative}.bullet li:before{content:'✓';position:absolute;left:0;color:var(--red);font-weight:900}.panel{background:var(--ink);border-radius:20px;padding:45px;color:#fff}.panel p{color:#dce2e3}.faq details{padding:20px 0;border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;font-weight:800}.faq details p{padding-top:12px;color:var(--muted)}.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:700;font-size:.92rem}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd2d5;border-radius:8px;padding:12px;font:inherit;background:#fff}.field textarea{min-height:130px}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #e95c66;outline-offset:1px}.privacy-note{font-size:.82rem;color:var(--muted)}.notice{padding:16px;border-radius:8px;margin-bottom:22px}.notice.ok{background:#e7f5ec}.notice.error{background:#fff0f0}.site-footer{background:#11191d;color:#e7ecee;padding:52px 0}.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-grid p{color:#aeb9be}.footer-grid a{color:#fff}.footer-bottom{border-top:1px solid #344047;margin-top:25px;padding-top:20px;font-size:.85rem;color:#aeb9be}.page-content{padding:70px 0;min-height:55vh}.page-content .entry{max-width:840px}.mobile-menu{display:none}.honeypot{position:absolute!important;left:-9999px!important}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}@media(max-width:850px){.header-row{min-height:72px}.mobile-menu{display:block;border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:white;font-weight:700}.nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:22px 24px;flex-direction:column;align-items:stretch;box-shadow:0 14px 25px #0002}.nav.open{display:flex}.hero-inner,.split{grid-template-columns:1fr}.hero-inner{padding-top:56px;padding-bottom:50px}.otis{max-width:320px}.grid3{grid-template-columns:1fr}.section{padding:64px 0}}@media(max-width:520px){.form{grid-template-columns:1fr}.panel{padding:28px}.container{padding:0 18px}}

/* Version 1.1 – approved homepage refinements */
.hero{position:relative;background:linear-gradient(90deg,#11191d 0%,#192328 58%,#192328dd 78%,#11191dcc 100%),url('assets/hero-gevel.webp') right center/auto 100% no-repeat;background-color:#11191d}
.hero-inner{position:relative;z-index:1;padding-bottom:40px}
.hero .otis{border-radius:50%;box-shadow:0 20px 70px #0006;object-fit:cover}
.benefits{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-bottom:35px}
.benefits>div{border-top:1px solid #ffffff3b;padding-top:14px;display:flex;flex-direction:column;gap:2px}
.benefits strong{font-size:.95rem;color:#fff}.benefits span{font-size:.84rem;color:#c8d2d6}
@media(max-width:850px){.hero{background:linear-gradient(100deg,#11191df5,#1b252aef),url('assets/hero-gevel.webp') center/cover}.benefits{grid-template-columns:1fr;gap:10px}.hero-inner{padding-bottom:25px}}

/* v1.2: mobile usability and responsive refinements */
html{scroll-padding-top:100px}body{overflow-wrap:break-word}button,input,select,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:3px}
@media(max-width:1050px){.nav{gap:14px}.nav a{font-size:.86rem}.header-row{gap:14px}.brand{font-size:1.25rem}}
@media(max-width:850px){
.site-header{top:0}.header-row{min-height:68px}.brand{font-size:clamp(1.05rem,4.4vw,1.35rem);min-width:0;overflow:hidden;text-overflow:ellipsis}.brand img{max-width:min(230px,62vw)!important;height:auto!important;max-height:46px!important;object-fit:contain}
.mobile-menu{display:inline-flex;align-items:center;justify-content:center;min-width:90px;min-height:44px;cursor:pointer;flex-shrink:0}
.nav{top:100%;max-height:calc(100dvh - 68px);overflow-y:auto;gap:0;padding:10px 20px 22px;border-top:1px solid var(--line)}.nav a{font-size:1rem;padding:13px 4px;min-height:46px;display:flex;align-items:center}.nav .btn{margin-top:12px;justify-content:center;padding:15px 20px}
.hero{background:linear-gradient(105deg,#11191df7,#1b252aeb),url('assets/hero-gevel.webp') center/cover no-repeat}.hero-inner{grid-template-columns:minmax(0,1fr);gap:22px;min-height:0;padding-top:45px;padding-bottom:20px}.hero h1{font-size:clamp(2.55rem,7.7vw,4rem);line-height:1.1;letter-spacing:-.04em}.hero p{font-size:1rem;line-height:1.65}.otis{width:min(76%,330px);max-width:330px;justify-self:center}.actions{margin-top:23px}.actions .btn{min-height:48px}.benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-bottom:27px}.benefits strong{font-size:.86rem}.benefits span{font-size:.78rem}.section{padding:58px 0}.split{gap:28px}.grid3{gap:15px}.card{padding:24px}.page-content{padding:45px 0}
}
@media(max-width:600px){
.container{padding-left:20px;padding-right:20px}.hero-inner{padding-top:34px;gap:12px}.hero h1{font-size:clamp(2.25rem,10vw,3.15rem);margin:14px 0 16px}.hero .eyebrow{font-size:.71rem;letter-spacing:.11em}.hero p{font-size:.97rem}.actions{display:grid;grid-template-columns:1fr;gap:10px}.actions .btn{width:100%;min-height:49px;padding:12px 16px;text-align:center}.otis{width:min(78vw,290px);max-width:290px;margin-top:6px}.benefits{grid-template-columns:1fr;gap:8px;padding-bottom:25px}.benefits>div{padding:10px 0 5px}.benefits strong{font-size:.95rem}.benefits span{font-size:.86rem}.section{padding:48px 0}.section-intro{margin-bottom:24px}h2{font-size:clamp(1.85rem,8vw,2.35rem)}.panel{padding:24px 20px}.form{grid-template-columns:minmax(0,1fr);gap:14px}.field{min-width:0}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.field textarea{min-height:125px}.form .btn{width:100%;min-height:49px}.card{padding:22px}.faq details{padding:17px 0}.faq summary{min-height:36px}.site-footer{padding:38px 0}.footer-grid{flex-direction:column;gap:14px}
}
@media(max-width:360px){.container{padding-left:15px;padding-right:15px}.brand{font-size:1rem}.mobile-menu{min-width:78px;padding:8px}.hero h1{font-size:2.1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v1.3: approved visual direction, logo lockup and two different Otis poses */
:root{--red:#ed182c}
.brand-lockup{display:inline-flex;align-items:center;gap:7px;overflow:visible;letter-spacing:-.055em}
.brand-shield{width:55px;height:55px;object-fit:contain;mix-blend-mode:multiply}
.brand-word{font-size:clamp(1.12rem,1.8vw,1.6rem);font-weight:900;line-height:1.1}
.brand-custom-logo{max-width:260px;max-height:60px;object-fit:contain}
.hero{background:linear-gradient(90deg,#0b161beF 0%,#0b161be8 48%,#0b161b9e 100%),url('assets/hero-gevel.webp') right center/cover no-repeat}
.hero-inner{min-height:510px;padding-top:45px;padding-bottom:20px}
.hero h1{font-size:clamp(2.6rem,5.2vw,4.5rem)}
.hero .eyebrow,.hero-highlight{color:var(--red)}
.benefits{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding-bottom:24px}
.benefits>div{border-top:0;border-left:1px solid #ffffff44;padding:2px 0 2px 16px}
.benefits>div:first-child{border-left:0;padding-left:0}
.services-section{padding:45px 0 60px}
.services-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:45px;align-items:center}
.services-mascot img{width:100%;max-width:470px;border-radius:18px;object-fit:cover}
.services-content h2{margin:4px 0 14px}
.services-content>p{max-width:680px}
.service-cards{gap:12px;margin-top:20px}
.service-cards .card{padding:18px;border-radius:12px}
.service-cards .card h3{font-size:1rem;margin:0 0 10px}
.service-cards .card p{font-size:.87rem;line-height:1.5}
.service-cards .card a{color:var(--red);font-weight:800;text-decoration:none}
@media(max-width:1050px){.brand-shield{width:44px;height:44px}.brand-word{font-size:1.14rem}.nav{gap:12px}.services-layout{gap:24px}.service-cards{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.brand-shield{width:43px;height:43px}.brand-word{font-size:clamp(.95rem,3.5vw,1.2rem)}.benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.benefits>div:nth-child(3){border-left:0;padding-left:0}.services-layout{grid-template-columns:1fr}.services-mascot{max-width:380px;margin:auto}.services-content{text-align:left}.service-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.brand-lockup{gap:4px}.brand-shield{width:39px;height:39px}.brand-word{font-size:clamp(.84rem,3.3vw,1.1rem)}.benefits{grid-template-columns:1fr}.benefits>div,.benefits>div:nth-child(3){border-left:0;border-top:1px solid #ffffff33;padding:9px 0 0}.services-section{padding:35px 0 50px}.services-mascot{max-width:320px}.service-cards{grid-template-columns:1fr}.service-cards .card{padding:20px}.hero h1{font-size:clamp(2.2rem,9vw,3.3rem)}}

/* v1.4: logo cleanup, calm hero typography, consistent Otis artwork */
:root{--red:#ef101a}
.hero h1{font-size:clamp(2.35rem,4.35vw,3.9rem);line-height:1.12;letter-spacing:-.035em;max-width:680px}
.hero-inner{gap:clamp(18px,3vw,42px);min-height:470px;padding-top:40px;padding-bottom:28px}
.hero p{font-size:1.04rem;max-width:550px}
.hero .eyebrow{letter-spacing:.11em}
.brand-shield{mix-blend-mode:normal;object-fit:contain}
.services-mascot{position:relative;isolation:isolate;overflow:visible}
.services-mascot img{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 14px #0c18201a)}
.services-mascot::before{content:'';position:absolute;inset:13% 10% 10%;background:radial-gradient(circle,#f4f7f4 0%,#eef4ee 52%,transparent 72%);z-index:-1;border-radius:50%}
.services-mascot .spider-friend{position:absolute;right:4%;top:10%;font-size:clamp(3.4rem,6vw,5.4rem);line-height:1;transform:rotate(13deg);filter:drop-shadow(0 7px 5px #0003)}
.services-mascot .spider-caption{position:absolute;right:3%;top:2%;font-weight:900;color:var(--red);font-size:.83rem;transform:rotate(9deg)}
@media(max-width:850px){.hero h1{font-size:clamp(2.15rem,6.4vw,3.3rem)}.hero-inner{min-height:0}}
@media(max-width:600px){.hero h1{font-size:clamp(2.05rem,8.2vw,2.75rem)}.hero-inner{padding-top:34px}.services-mascot .spider-friend{font-size:3.3rem}.services-mascot .spider-caption{font-size:.73rem}}

/* v1.4: logo cleanup, calmer hero and original Otis */
:root{--red:#ef101a}
.hero h1{font-size:clamp(2.35rem,4.35vw,3.9rem);line-height:1.12;letter-spacing:-.035em;max-width:680px}
.hero-inner{gap:clamp(18px,3vw,42px);min-height:470px;padding-top:40px;padding-bottom:28px}
.hero p{font-size:1.04rem;max-width:550px}
.hero .eyebrow{letter-spacing:.11em}
.brand-shield{mix-blend-mode:normal;object-fit:contain}
.services-mascot{position:relative;isolation:isolate;overflow:visible}
.services-mascot img{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 12px 14px #0c18201a)}
.services-mascot::before{content:'';position:absolute;inset:13% 10% 10%;background:radial-gradient(circle,#f4f7f4 0%,#eef4ee 52%,transparent 72%);z-index:-1;border-radius:50%}
.services-mascot .spider-friend{position:absolute;right:4%;top:10%;font-size:clamp(3.4rem,6vw,5.4rem);line-height:1;transform:rotate(13deg);filter:drop-shadow(0 7px 5px #0003)}
.services-mascot .spider-caption{position:absolute;right:3%;top:2%;font-weight:900;color:var(--red);font-size:.83rem;transform:rotate(9deg)}
@media(max-width:850px){.hero h1{font-size:clamp(2.15rem,6.4vw,3.3rem)}.hero-inner{min-height:0}}
@media(max-width:600px){.hero h1{font-size:clamp(2.05rem,8.2vw,2.75rem)}.hero-inner{padding-top:34px}.services-mascot .spider-friend{font-size:3.3rem}.services-mascot .spider-caption{font-size:.73rem}}
