/*
Theme Name: MH Service
Theme URI: https://mhservice.nl
Author: MH Service
Description: Thema voor mhservice.nl: Ajax alarm, camerabeveiliging en elektrische installaties in Lelystad. Geen Elementor nodig.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mhservice
*/
:root{
  --paper:#f3f2ef; --white:#fff; --ink:#14222b; --muted:#4b5b64; --line:#d6d9d6;
  --panel:#14222b; --deep:#0d1820; --panel-ink:#e6eeee; --panel-muted:#a9bcc3;
  --orange:#f47c20; --orange-dark:#dc6a10; --orange-text:#b84a08; --orange-soft:#ffb274;
  --led:#2fbf71;
  --font:"Avenir Next","Segoe UI",system-ui,-apple-system,Roboto,sans-serif;
  --serif:"Bodoni 72","Bodoni MT",Didot,"Didot LT STD","Hoefler Text",Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1.0625rem/1.6 var(--font)}
a{color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.dark :focus-visible,.mbar :focus-visible,footer :focus-visible{outline-color:#fff}
.wrap{max-width:70rem;margin:0 auto;padding:0 1.25rem}
h1,h2{font-family:var(--serif);font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,5vw,3.9rem);line-height:1.04;margin:0 0 1.25rem}
h2{font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.1;margin:0 0 1.25rem}
h3{font-size:1.25rem;line-height:1.25;margin:0 0 .4rem}
p{margin:0 0 1rem}
.muted{color:var(--muted)}
.btn{display:inline-block;background:var(--orange);color:var(--ink);text-decoration:none;font-weight:700;padding:.9rem 1.5rem;border-radius:4px;border:2px solid var(--orange)}
.btn:hover{background:var(--orange-dark);border-color:var(--orange-dark)}
.btn.ghost{background:none;color:var(--ink);border-color:var(--ink)}
.btn.ghost:hover{background:var(--ink);color:var(--paper)}
.dark .btn.ghost,.hero .btn.ghost{color:var(--panel-ink);border-color:var(--panel-ink)}
.dark .btn.ghost:hover,.hero .btn.ghost:hover{background:var(--panel-ink);color:var(--panel)}
.actions{display:flex;flex-wrap:wrap;gap:.75rem}
button.btn{font:inherit;font-weight:700;cursor:pointer}

/* kop: licht, zodat het zwarte logo goed leesbaar is */
.topbar{position:sticky;top:0;z-index:30;background:var(--white);border-bottom:3px solid var(--orange)}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-top:.6rem;padding-bottom:.6rem}
.logo{display:block;line-height:0}
.logo img{height:2.9rem;width:auto;display:block}
.topbar nav{display:flex;gap:1.6rem;margin-left:auto}
.topbar nav a{text-decoration:none;padding:.25rem 0;border-bottom:2px solid transparent;font-size:.98rem}
.topbar nav a:hover{border-bottom-color:var(--orange)}
.topbar .btn{padding:.55rem 1.1rem;font-size:.98rem}

/* hero */
.hero{background:radial-gradient(60rem 30rem at 85% 10%,#1f3a48 0,transparent 60%),var(--panel);color:var(--panel-ink);padding:4.5rem 0 5rem;overflow:hidden}
.hero .wrap{display:grid;gap:2.5rem;grid-template-columns:1.05fr .95fr;align-items:center}
.hero .lead{font-size:1.2rem;color:var(--panel-muted);max-width:33rem;margin-bottom:2rem}
.hero ul{list-style:none;margin:2rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;color:var(--panel-muted);font-size:.98rem}
.hero li{padding-left:1.2rem;position:relative}
.hero li::before{content:"";position:absolute;left:0;top:.5em;width:.55rem;height:.55rem;border-radius:50%;background:var(--orange)}
.hero-photo{margin:0 0 0 auto;max-width:26rem;width:100%}
.hero-photo img{display:block;width:100%;height:auto;border-radius:6px;border-bottom:6px solid var(--orange)}
.kit{background:#fff;border-radius:6px;padding:1rem}
.kit img{display:block;width:100%;height:auto}
.shot{display:block;width:100%;max-width:28rem;height:auto;border-radius:6px}

/* vertrouwen */
.trust{background:var(--white);border-bottom:1px solid var(--line)}
.trust .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.trust div{padding:1.6rem 1.25rem;border-right:1px solid var(--line)}
.trust div:first-child{padding-left:0}
.trust div:last-child{border-right:0}
.trust strong{display:block;font-size:1.05rem;margin-bottom:.2rem}
.trust span{color:var(--muted);font-size:.96rem;line-height:1.45;display:block}

section{padding:5rem 0}
.grid2{display:grid;gap:4rem;grid-template-columns:1fr 1fr;align-items:center}
.grid2 p{max-width:33rem}
figure{margin:0}
figure svg{display:block;width:100%;height:auto}
figcaption{font-size:.9rem;color:var(--muted);margin-top:.6rem}

/* voor wie */
.who{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.who a{display:block;text-decoration:none;background:var(--white);border:1px solid var(--line);border-top:6px solid var(--ink);padding:2rem 1.75rem 1.75rem;border-radius:4px}
.who a:hover{border-top-color:var(--orange)}
.who h3{font-family:var(--serif);font-size:1.75rem;letter-spacing:-.01em}
.who p{color:var(--muted);margin-bottom:1rem}
.who b{color:var(--orange-text)}

/* Ajax */
.dark{background:var(--panel);color:var(--panel-ink)}
.dark .muted,.dark figcaption{color:var(--panel-muted)}
.tag{display:inline-block;font-weight:700;font-size:.95rem;color:var(--orange-soft);margin-bottom:.75rem}
.parts{list-style:none;margin:1.5rem 0 2rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1.5rem}
.parts li{padding-left:1.2rem;position:relative}
.parts li::before{content:"";position:absolute;left:0;top:.62em;width:.5rem;height:.5rem;border-radius:50%;background:var(--orange)}

/* camera */
.brands{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;border:2px solid var(--ink);background:var(--white)}
.brands li{padding:1.1rem 1.2rem;font-weight:800;font-size:1.3rem;letter-spacing:-.01em}
.brands li:nth-child(odd){border-right:2px solid var(--ink)}
.brands li:nth-child(-n+2){border-bottom:2px solid var(--ink)}

/* elektra */
.alt{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.checks{list-style:none;margin:1.25rem 0 1.5rem;padding:0}
.checks li{padding:.6rem 0 .6rem 1.7rem;border-bottom:1px solid var(--line);position:relative}
.checks li::before{content:"";position:absolute;left:.15rem;top:1.05rem;width:.7rem;height:.35rem;border-left:3px solid var(--orange-text);border-bottom:3px solid var(--orange-text);transform:rotate(-45deg)}

/* werkwijze: echte volgorde, dus genummerd */
.steps{list-style:none;margin:2rem 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;counter-reset:s}
.steps li{counter-increment:s;border-top:4px solid var(--ink);padding-top:1rem}
.steps li::before{content:counter(s);display:block;font-family:var(--serif);font-size:2.8rem;font-weight:700;line-height:1;color:var(--orange-text);margin-bottom:.5rem}
.steps p{color:var(--muted);margin:0}

/* reviews */
.quotes{display:grid;gap:1.5rem;grid-template-columns:repeat(3,1fr);margin-top:2rem}
blockquote{margin:0;background:var(--paper);border:1px solid var(--line);border-left:6px solid var(--orange);padding:1.5rem;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between;gap:1rem}
blockquote p{margin:0;font-size:1.05rem}
cite{font-style:normal;font-weight:700}

/* faq */
.faq{max-width:46rem;margin-top:1.5rem}
details{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:700;padding:1.1rem 2rem 1.1rem 0;list-style:none;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:.25rem;top:.85rem;font-size:1.6rem;line-height:1;color:var(--orange-text)}
details[open] summary::after{content:"\2212"}
details p{color:var(--muted);padding-bottom:1.1rem;margin:0;max-width:40rem}

/* contact */
.contact address{font-style:normal;font-size:1.1rem;line-height:1.9}
.contact .big{display:block;font-family:var(--serif);font-size:clamp(2rem,4.5vw,3rem);font-weight:700;letter-spacing:-.01em;text-decoration:none;margin:1.25rem 0 .25rem;color:var(--orange-soft)}
form{display:grid;gap:1rem}
label{display:grid;gap:.3rem;font-weight:600}
input,select,textarea{font:inherit;padding:.75rem;border:1px solid #8a999f;border-radius:4px;background:#fff;color:var(--ink)}
textarea{min-height:7rem}
footer{background:var(--deep);color:var(--panel-muted);padding:1.75rem 0;font-size:.95rem}
footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 2rem}
footer img{height:2.4rem;width:auto;display:block}

/* vaste balk op mobiel */
.mbar{display:none}

@media(max-width:900px){
  .topbar nav{display:none}
  .topbar .btn{margin-left:auto}
  .hero{padding:2.75rem 0 3rem}
  .hero .wrap,.grid2,.who,.quotes{grid-template-columns:1fr}
  .grid2{gap:2.5rem}
  .trust .wrap{grid-template-columns:1fr 1fr}
  .trust div{border-bottom:1px solid var(--line);padding-left:0}
  .trust div:nth-child(2n){border-right:0;padding-left:1.25rem}
  .steps{grid-template-columns:1fr 1fr}
  .parts{grid-template-columns:1fr}
  section{padding:3.25rem 0}
  .flip{order:-1}
  .hero-photo{margin:0 auto}
}
@media(max-width:560px){
  .steps{grid-template-columns:1fr}
  .trust .wrap{grid-template-columns:1fr}
  .trust div,.trust div:nth-child(2n){border-right:0;padding-left:0}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;gap:.5rem;padding:.6rem;background:var(--panel);border-top:3px solid var(--orange)}
  .mbar a{flex:1;text-align:center;padding:.75rem}
  body{padding-bottom:4.75rem}
  .topbar .btn{display:none}
  .logo img{height:2.5rem}
}

/* dienstpagina's */
.crumbs{font-size:.92rem;color:var(--panel-muted);margin:0 0 1rem}
.crumbs a{text-decoration:none;border-bottom:1px solid var(--panel-muted)}
.crumbs a:hover{color:#fff}
.topbar nav a[aria-current]{border-bottom-color:var(--orange)}
.hero-photo .kit{border-radius:6px;border-bottom:6px solid var(--orange)}
.hero-photo .kit img{border:0;border-radius:0}
.items{list-style:none;margin:2rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem 1.5rem}
.items li{border-top:4px solid var(--ink);padding-top:1rem}
.items p{color:var(--muted);margin:0}
.two{display:grid;gap:3rem;grid-template-columns:1fr 1fr}
.two p{color:var(--muted);max-width:34rem}
.quotes.stack{grid-template-columns:1fr;margin-top:0}
.shot.tall{max-width:24rem}
.legal{padding-top:3.5rem}
.legal h1{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:.75rem}
.legal h2{font-family:var(--font);font-size:1.2rem;letter-spacing:0;margin:2.25rem 0 .5rem}
.legal p{max-width:44rem}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.small{font-size:.92rem;color:var(--panel-muted);margin:0}
.small a{text-decoration:underline}
@media(max-width:900px){
  .items{grid-template-columns:1fr 1fr}
  .two{grid-template-columns:1fr;gap:1.5rem}
}
@media(max-width:560px){
  .items{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Beheerbalk van WordPress */
.admin-bar .topbar{top:32px}
@media(max-width:782px){.admin-bar .topbar{top:46px}}

/* werkgebied */
.places{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.places li{border:1px solid rgba(127,127,127,.55);border-radius:999px;padding:.4rem 1rem;font-weight:600}
@media(min-width:1000px){.items.four{grid-template-columns:repeat(4,1fr)}}

.reviews-plugin{margin-top:1.5rem}
.reviews-plugin p{max-width:none}

/* wisselende reviews */
.slider{margin-top:2rem;max-width:46rem}
.slides{display:grid}
.slide{grid-area:1/1;padding:1.75rem 2rem}
.slide p{font-size:1.2rem}
.slide cite{font-size:1rem}
.stars{color:var(--orange-text);letter-spacing:.15em;font-size:1.1rem !important}
.slider.is-ready .slide{opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s}
.slider.is-ready .slide.is-active{opacity:1;visibility:visible}
.slider-nav{display:none;align-items:center;gap:1rem;margin-top:1rem}
.slider.has-js .slider-nav{display:flex}
.slider-btn{width:2.75rem;height:2.75rem;border-radius:50%;border:2px solid var(--ink);background:transparent;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}
.slider-btn:hover{background:var(--ink);color:var(--white)}
.slider-count{font-weight:600;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.slider.is-ready .slide{transition:none}}
.slide{justify-content:flex-start}
.slide cite{margin-top:auto}
