/*
Theme Name: NKC Drenthe
Theme URI: https://www.nkcarsolutions.nl/
Author: OpenAI
Description: Een snelle, tweetalige WordPress-themebasis voor een autogarage in Marwijksoord, met regionale SEO en een aparte B2B-pagina.
Version: 5.3.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: nkc-drenthe
*/

:root {
  --ink: #070b12;
  --ink-soft: #111c2e;
  --paper: #ffffff;
  --paper-alt: #f4f7fb;
  --line: #d9e2ee;
  --accent: #0878e8;
  --accent-dark: #0455a7;
  --success: #176b45;
  --danger: #a32929;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(17, 24, 39, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(8,120,232,.45); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 16px; background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 1000; color: #fff; background: rgba(17,24,39,.97); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.brand-mark svg { width: 28px; }
.brand-copy small { display: block; margin-top: -3px; color: #bec8d5; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 11px; border-radius: 8px; color: #e8edf3; font-size: 15px; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.lang-switch { display: inline-flex; padding: 4px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.lang-switch a { min-width: 39px; padding: 5px 8px; border-radius: 999px; color: #d9e0e8; font-size: 12px; font-weight: 900; text-align: center; text-decoration: none; }
.lang-switch a.is-active { color: var(--ink); background: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #fff; background: transparent; }

.button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 10px;
  color: #fff; background: var(--accent); font-weight: 850; line-height: 1.2; text-decoration: none;
  box-shadow: 0 10px 25px rgba(8,120,232,.23); transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover, .wp-block-button__link:hover { color: #fff; background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(8,120,232,.28); }
.button--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.42); box-shadow: none; }
.button--ghost:hover { background: rgba(255,255,255,.1); }
.button--dark { background: var(--ink); box-shadow: none; }
.button--dark:hover { background: var(--ink-soft); }
.button--small { min-height: 42px; padding: 9px 14px; font-size: 14px; }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(122deg, #0d1522 0%, #172337 58%, #222f43 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, transparent, #000); }
.hero::after { content: ""; position: absolute; width: 550px; height: 550px; right: -170px; top: -245px; border-radius: 50%; border: 90px solid rgba(8,120,232,.16); }
.hero-grid { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 55px; padding-block: 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 3px; border-radius: 3px; background: currentColor; }
.hero h1 { max-width: 820px; margin: 0 0 20px; font-size: clamp(42px, 6.2vw, 78px); line-height: .98; letter-spacing: -.047em; }
.hero .lead { max-width: 710px; margin: 0 0 28px; color: #d9e1ea; font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: #dbe2ea; font-size: 14px; font-weight: 700; }
.hero-trust li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 950; }
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-card { position: relative; width: min(100%, 430px); padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: 0 35px 80px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.hero-car { display: block; margin: 5px auto 26px; color: var(--accent); }
.hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat { padding: 17px; border-radius: 14px; background: rgba(255,255,255,.09); }
.hero-stat strong { display: block; color: #fff; font-size: 20px; }
.hero-stat span { color: #bdc8d5; font-size: 13px; }

.section { padding-block: 92px; }
.section--soft { background: var(--paper-alt); }
.section--dark { color: #fff; background: var(--ink); }
.section-header { max-width: 750px; margin-bottom: 38px; }
.section-header h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.035em; }
.section-header p { margin: 0; color: #5c6675; font-size: 18px; }
.section--dark .section-header p { color: #c4ced9; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 30px rgba(17,24,39,.045); }
.card h3 { margin: 0 0 9px; font-size: 23px; line-height: 1.18; }
.card p { margin: 0; color: #5c6675; }
.service-card { position: relative; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
 .service-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; color: var(--accent-dark); background: linear-gradient(180deg, #eef6ff 0%, #e0efff 100%); box-shadow: inset 0 0 0 1px rgba(8,120,232,.12); }
.service-icon svg { width: 29px; height: 29px; stroke: currentColor; }
.service-card::after { content: ""; position: absolute; width: 85px; height: 85px; right: -44px; bottom: -44px; border-radius: 50%; background: rgba(8,120,232,.08); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.workshop-visual { position: relative; min-height: 450px; overflow: hidden; border-radius: 26px; background: linear-gradient(145deg,#1d2a3e,#0f1724); box-shadow: var(--shadow); }
.workshop-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 73% 28%, rgba(8,120,232,.35), transparent 30%), linear-gradient(130deg, transparent 0 54%, rgba(255,255,255,.06) 54% 55%, transparent 55%); }
.workshop-visual .garage-door { position: absolute; left: 12%; right: 12%; bottom: 0; height: 74%; border: 6px solid #5d6875; border-bottom: 0; background: repeating-linear-gradient(0deg,#344153 0 14px,#2b3748 14px 28px); }
.workshop-visual .garage-door::after { content: "NKC • MARWIJKSOORD"; position: absolute; left: 50%; top: 22%; transform: translateX(-50%); color: rgba(255,255,255,.76); font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
.workshop-visual .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(#1b2635,#0f1724); clip-path: polygon(0 34%,100% 0,100% 100%,0 100%); }
.check-list { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 13px; font-weight: 950; }

.region-strip { padding: 28px 0; color: #fff; background: var(--accent); }
.region-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.region-strip strong { display: block; font-size: 21px; }
.region-strip span { opacity: .92; }
.region-strip .button { color: var(--ink); background: #fff; box-shadow: none; }

.testimonial { padding: 30px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; box-shadow: 0 8px 30px rgba(17,24,39,.05); }
.testimonial p { margin: 0 0 16px; font-size: 18px; }
.testimonial strong { font-size: 14px; }

.page-hero { padding: 88px 0 72px; color: #fff; background: linear-gradient(120deg,#111827,#253247); }
.page-hero h1 { margin: 0 0 13px; font-size: clamp(38px,5vw,64px); line-height: 1; letter-spacing: -.04em; }
.page-hero p { max-width: 750px; margin: 0; color: #d1dae4; font-size: 19px; }
.breadcrumbs { margin-bottom: 22px; color: #c4ced9; font-size: 14px; }
.breadcrumbs a { color: #fff; }
.content-wrap { padding-block: 72px 96px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2em; font-size: 34px; line-height: 1.15; }
.prose h3 { margin-top: 1.7em; font-size: 25px; }
.prose > :first-child { margin-top: 0; }

.info-panel { padding: 28px; border-radius: var(--radius); color: #fff; background: var(--ink); }
.info-panel a { color: #fff; }
.info-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row:last-child { border-bottom: 0; }
.info-row strong { display: block; }
.info-row span { color: #c7d0db; }

.form-card { padding: clamp(24px,4vw,44px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd2da; border-radius: 10px; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8,120,232,.13); outline: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field small { display: block; margin-top: 6px; color: #6a7482; }
.form-note { color: #66717f; font-size: 13px; }
.form-status { margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-weight: 750; }
.form-status--success { color: var(--success); background: #e7f5ee; }
.form-status--error { color: var(--danger); background: #fbeaea; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.b2b-steps { counter-reset: steps; }
.b2b-step { position: relative; padding-left: 76px; }
.b2b-step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--accent); font-weight: 950; font-size: 21px; }
.business-call-card { max-width: 760px; padding: clamp(26px,4vw,42px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,#fff,#f2f7fc); box-shadow: var(--shadow); }
.business-call-card h2 { margin: 0 0 14px; font-size: clamp(28px,4vw,42px); line-height: 1.12; }
.business-call-card > p:not(.eyebrow):not(.form-note) { max-width: 64ch; color: #526174; }
.business-call-card__button { margin-top: 8px; }

.cta-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 42px; border-radius: 24px; color: #fff; background: linear-gradient(120deg,var(--ink),#27354a); }
.cta-box h2 { margin: 0 0 8px; font-size: clamp(28px,4vw,42px); line-height: 1.1; }
.cta-box p { margin: 0; color: #c6d0dc; }

.site-footer { color: #d7dfe8; background: #0b111b; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 55px; padding-block: 68px 46px; }
.footer-brand p { max-width: 430px; color: #9eabb9; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: #cbd4df; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 30px; border-top: 1px solid rgba(255,255,255,.1); color: #8f9baa; font-size: 13px; }

@media (max-width: 1040px) {
  .header-inner { min-height: 70px; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); display: none; margin: 0; padding: 12px; border-radius: 14px; background: #111827; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { padding: 12px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-actions .button { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 320px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 780px) {
  body.admin-bar .site-header { top: 46px; }
  .site-notices { top: 70px; }
  body.admin-bar .site-notices { top: 116px; }
  .home-notice { grid-template-columns: 32px 1fr; padding: 12px 13px; }
  .home-notice__content h2 { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-copy small { display: none; }
  .hero-grid { padding-block: 62px; gap: 25px; }
  .hero h1 { font-size: clamp(42px,12vw,62px); }
  .hero-card-grid, .grid-2, .grid-3, .split, .form-grid, .footer-main { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding-block: 68px; }
  .workshop-visual { min-height: 360px; }
  .region-strip .container, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cta-box { grid-template-columns: 1fr; padding: 30px; }
  .field--full { grid-column: auto; }
  .footer-main { gap: 34px; }
}
@media (max-width: 480px) {
  .lang-switch { display: none; }
  .hero-visual { display: none; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* NKC huisstijl v2: zwart, blauw en witte achtergronden. */
.site-header{color:var(--ink);background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);box-shadow:0 8px 28px rgba(7,11,18,.06)}
.site-brand{color:var(--ink);gap:10px}.site-brand:hover{color:var(--ink)}
.brand-logo{display:grid;place-items:center;flex:0 0 auto}.brand-logo img{display:block;width:104px;height:47px;object-fit:contain;border-radius:5px;background:#050505}
.brand-copy small{color:#526174}.site-nav a{color:#172033}.site-nav a:hover,.site-nav a[aria-current="page"]{color:#0455a7;background:#eaf4ff}
.lang-switch{border-color:#ccd7e5}.lang-switch a{color:#4c5a6d}.lang-switch a.is-active{color:#fff;background:var(--ink)}
.menu-toggle{color:var(--ink);border-color:#ccd7e5;background:#fff}
.hero{background:linear-gradient(122deg,#070b12 0%,#0c1728 58%,#10223c 100%)}
.hero::after{border-color:rgba(8,120,232,.18)}
.hero-card{min-height:430px;background:rgba(255,255,255,.07);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
.hero-card::before{content:"";display:block;flex:1 1 220px;min-height:220px;margin:-12px -8px 18px;background-image:var(--nkc-hero-image);background-position:center;background-size:contain;background-repeat:no-repeat;filter:drop-shadow(0 20px 28px rgba(0,0,0,.32))}
.hero-car{display:none}
.workshop-visual{background-image:linear-gradient(180deg,rgba(7,11,18,.08),rgba(7,11,18,.48)),var(--nkc-content-image);background-position:center;background-size:cover;background-repeat:no-repeat}
.workshop-visual::before{background:linear-gradient(135deg,rgba(8,120,232,.20),transparent 46%)}
.workshop-visual .garage-door,.workshop-visual .floor{display:none}
.region-strip{background:var(--accent)}
.page-hero{background:linear-gradient(120deg,#070b12,#102a4f)}
.card{border-color:#dce5f0;box-shadow:0 8px 30px rgba(7,11,18,.05)}
.service-icon{color:var(--accent-dark);background:#eaf4ff}
.service-card::after{background:rgba(8,120,232,.08)}
.info-panel,.section--dark{background:var(--ink)}
.cta-box{background:linear-gradient(120deg,#070b12,#0c2b50)}
.site-footer{background:#05080d}
.faq-grid .card h3{font-size:20px}
.nkc-image-preview img{width:100%;height:auto;border-radius:6px}
@media (max-width:1040px){.site-nav{background:#070b12}.site-nav a{color:#e8edf3}.site-nav a:hover,.site-nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.1)}}
@media (max-width:780px){.brand-logo img{width:82px;height:37px}.brand-copy{font-size:14px}}
.brand-logo img{width:58px;height:58px;border-radius:4px}
@media (max-width:780px){.brand-logo img{width:48px;height:48px}}

/* v2.3: stockbeelden uitsluitend op Diensten, plus online afspraakplanner. */
.hero-card::before { display: none; }
.hero-car { display: block; }
.nkc-has-hero-image .hero-card::before { display: block; }
.nkc-has-hero-image .hero-car { display: none; }
body:not(.nkc-has-hero-image) .hero-card { min-height: 0; }
.workshop-visual {
  background-image: linear-gradient(145deg,#1d2a3e,#0f1724);
  background-position: center;
  background-size: cover;
}
.workshop-visual .garage-door,
.workshop-visual .floor { display: block; }
.nkc-has-content-image .workshop-visual {
  background-image: linear-gradient(180deg,rgba(7,11,18,.08),rgba(7,11,18,.48)),var(--nkc-content-image);
}
.nkc-has-content-image .workshop-visual .garage-door,
.nkc-has-content-image .workshop-visual .floor { display: none; }
.nkc-has-hero-image .page-hero {
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(90deg,rgba(7,11,18,.96) 0%,rgba(7,11,18,.78) 48%,rgba(7,11,18,.34) 100%),var(--nkc-hero-image);
  background-position: center;
  background-size: cover;
}
.nkc-has-hero-image .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,transparent 55%,rgba(7,11,18,.32));
}

.booking-shell { margin-top: 30px; }
.booking-layout {
  display: grid;
  grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr);
  gap: 28px;
  align-items: start;
}
.booking-calendar-card,
.booking-details-card {
  padding: clamp(22px,3vw,34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.booking-calendar-card { position: sticky; top: 105px; }
.booking-calendar-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.booking-calendar-head h2 {
  margin: 0;
  font-size: 22px;
  text-align: center;
  text-transform: capitalize;
}
.calendar-nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 28px;
  line-height: 1;
}
.calendar-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-dark); background: #eef6ff; }
.calendar-nav:disabled { opacity: .3; cursor: not-allowed; }
.calendar-weekdays,
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 6px;
}
.calendar-weekdays { margin-bottom: 7px; }
.calendar-weekdays span {
  color: #657286;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}
.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--ink);
  background: #f4f7fb;
  font-size: 14px;
  font-weight: 800;
}
.calendar-day:hover:not(:disabled) { color: var(--accent-dark); border-color: #a8cef5; background: #eaf4ff; }
.calendar-day.is-selected { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 7px 18px rgba(8,120,232,.24); }
.calendar-day.is-today:not(.is-selected) { border-color: var(--accent); }
.calendar-day:disabled { color: #b5bdc8; background: #fafbfd; cursor: not-allowed; }
.calendar-day.is-notice-period { color: #8b95a3; background: #f1f3f6; opacity: .72; }
.calendar-day--empty { aspect-ratio: 1; }
.booking-selected-date { margin: 18px 0 0; color: #526174; font-size: 14px; font-weight: 750; text-align: center; }
.booking-details-card .field + .time-slot-fieldset { margin-top: 22px; }
.time-slot-fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.time-slot-fieldset legend { margin-bottom: 10px; font-size: 14px; font-weight: 850; }
.time-slots { display: flex; flex-wrap: wrap; gap: 9px; min-height: 45px; }
.time-slots p { margin: 6px 0; color: #687487; }
.time-slot { position: relative; display: inline-flex; cursor: pointer; }
.time-slot input { position: absolute; opacity: 0; pointer-events: none; }
.time-slot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 43px;
  padding: 8px 13px;
  border: 1px solid #cad6e5;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
}
.time-slot:hover span { border-color: var(--accent); background: #eef6ff; }
.time-slot input:focus-visible + span { outline: 3px solid rgba(8,120,232,.32); outline-offset: 2px; }
.time-slot input:checked + span { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 7px 18px rgba(8,120,232,.22); }
.booking-contact-fields { margin-top: 4px; }
.booking-consent, .apk-reminder-consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; line-height: 1.5; }
.booking-consent input { width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 3px 0 0; flex: 0 0 18px; }
.apk-reminder-consent { margin-top: 9px; padding: 0; border: 0; color: #475569; background: transparent; font-size: 13px !important; }
.apk-reminder-consent input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 2px 0 0;
  flex: 0 0 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.apk-reminder-consent input::before {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .12s ease;
}
.apk-reminder-consent input:checked { border-color: var(--accent); background: var(--accent); }
.apk-reminder-consent input:checked::before { transform: rotate(45deg) scale(1); }
.apk-reminder-consent input:focus-visible { outline: 3px solid rgba(8,120,232,.24); outline-offset: 2px; }
.apk-reminder-consent a, .booking-consent a { text-decoration: underline; text-underline-offset: 2px; }
.booking-explanation { padding-bottom: 0; }
.booking-explanation .card { height: 100%; }

@media (max-width: 980px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-calendar-card { position: static; }
}
@media (max-width: 520px) {
  .booking-calendar-card,
  .booking-details-card { padding: 18px; border-radius: 18px; }
  .calendar-weekdays,
  .booking-calendar { gap: 3px; }
  .calendar-day { border-radius: 8px; font-size: 13px; }
  .time-slot { flex: 1 1 calc(33.333% - 9px); }
  .time-slot span { width: 100%; min-width: 0; }
}
.nkc-has-content-image .content-wrap > .container > .section:first-of-type::before {
  content: "";
  display: block;
  min-height: clamp(240px,32vw,410px);
  margin-bottom: 46px;
  border-radius: 26px;
  background-image: linear-gradient(180deg,rgba(7,11,18,.02),rgba(7,11,18,.20)),var(--nkc-content-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

/* v2.4: alle hoofdafbeeldingen en iconen beheerbaar vanuit WordPress. */
.service-icon .nkc-service-icon-image {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.info-row-icon {
  width: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
}
.nkc-contact-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.nkc-menu-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.nkc-has-custom-check-icon .check-list li::before,
.nkc-has-custom-check-icon .hero-trust li::before {
  content: "";
  background-color: transparent;
  background-image: var(--nkc-check-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 0;
}
.nkc-has-custom-check-icon .hero-trust li::before {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
}


/* v2.5: Gutenberg-bewerkbare pagina-indeling. */
.entry-content > .wp-block-group,
body.page .wp-block-group.hero,
body.page .wp-block-group.section,
body.page .wp-block-group.content-wrap,
body.page .wp-block-group.region-strip { margin-block-start: 0; margin-block-end: 0; }
.hero .wp-block-group,
.section .wp-block-group,
.content-wrap .wp-block-group,
.region-strip .wp-block-group { box-sizing: border-box; }
.hero-actions.wp-block-group,
p.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
p.hero-actions .button { margin: 0; }
.hero-stat { margin: 0; }
.card > .wp-block-heading:first-of-type { margin-top: 0; }
.card > p:last-child { margin-bottom: 0; }
.wp-block-shortcode { margin: 0; }

/* v3.0: afzonderlijke dienstenpagina's, pagina-herstel en geïntegreerde werkplaatsfoto. */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card > .button,
.service-card > p:last-child .button,
.service-card > .wp-block-shortcode:last-child .button {
  align-self: flex-start;
  margin-top: 22px;
}
.workshop-section-layout { align-items: center; }
.workshop-photo-wrap {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.workshop-photo-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #dfe6ee;
}
.workshop-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.workshop-photo-wrap:hover img { transform: scale(1.015); }
.workshop-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,11,18,.88);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.workshop-photo-wrap figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 21px 20px;
  color: #687487;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.workshop-photo-wrap figcaption strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}
.workshop-section .section-header { margin-bottom: 24px; }
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}
.service-detail-content {
  max-width: none;
}
.service-detail-content > section + section {
  margin-top: 58px;
}
.service-answer {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 22px;
  align-items: start;
  border-top: 4px solid var(--accent);
}
.service-answer .service-icon {
  margin: 0;
}
.service-answer .eyebrow {
  margin-bottom: 8px;
}
.service-answer h2 {
  margin: 0 0 12px;
  font-size: clamp(27px,3vw,38px);
}
.service-answer p:last-child {
  margin-bottom: 0;
}
.service-steps {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}
.service-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 15px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.service-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}
.service-steps p {
  margin: 4px 0 0;
}
.service-region {
  padding: 30px;
  border-radius: var(--radius);
}
.service-region h2 {
  margin-top: 0;
}
.service-sidebar {
  position: relative;
}
.service-sidebar-inner {
  position: sticky;
  top: 105px;
}
.service-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.service-sidebar-actions .button {
  width: 100%;
}
.service-link-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.service-link-card {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  min-height: 92px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-link-card:hover {
  color: var(--ink);
  border-color: #a8cef5;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(17,24,39,.08);
}
.service-link-icon .service-icon {
  margin: 0;
}
.service-link-card strong,
.service-link-card small {
  display: block;
}
.service-link-card small {
  margin-top: 3px;
  color: var(--accent-dark);
  font-weight: 750;
}
@media (max-width: 980px) {
  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .service-sidebar-inner {
    position: static;
  }
}
@media (max-width: 620px) {
  .service-answer,
  .service-link-grid {
    grid-template-columns: 1fr;
  }
  .service-link-card {
    grid-template-columns: 54px minmax(0,1fr);
  }
  .service-region {
    padding: 22px;
  }
}


/* Homepage announcements */
.home-notices { padding: 12px 0; background: #eef5fd; border-bottom: 1px solid var(--line); }
.site-notices { position: sticky; top: 78px; z-index: 998; box-shadow: 0 10px 26px rgba(17,24,39,.08); }
body.admin-bar .site-notices { top: 110px; }
.home-notices__list { display: grid; gap: 10px; }
.home-notice { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 13px 16px; border: 1px solid #c8ddf5; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(17,24,39,.05); }
.home-notice__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 950; }
.home-notice__content h2 { margin: 0 0 2px; font-size: 17px; line-height: 1.22; }
.home-notice__content p { margin: 0; color: #465365; }
.home-notice--warning { border-color: #f0cf82; background: #fffaf0; }
.home-notice--warning .home-notice__icon { background: #b46f00; }
.home-notice--closed { border-color: #e3a9a9; background: #fff5f5; }
.home-notice--closed .home-notice__icon { background: #a32929; }

.booking-calendar.is-loading { opacity: .65; pointer-events: none; }
.calendar-day.is-unavailable { opacity: .3; text-decoration: line-through; }


/* News module */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(17,24,39,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-alt); }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card__image img { transform: scale(1.035); }
.news-card__body { padding: 25px; }
.news-card__body time { display: block; margin-bottom: 9px; color: #66717f; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.news-card__body h2 { margin: 0 0 11px; font-size: 24px; line-height: 1.15; }
.news-card__body h2 a { color: var(--ink); text-decoration: none; }
.news-card__body h2 a:hover { color: var(--accent-dark); }
.news-card__body p { margin: 0 0 18px; color: #5c6675; }
.news-card__link { font-weight: 850; text-decoration: none; }
.news-pagination { margin-top: 42px; }
.news-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.news-pagination a, .news-pagination span { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-decoration: none; font-weight: 800; }
.news-pagination .current { color: #fff; border-color: var(--accent); background: var(--accent); }
.news-single__header { padding: 82px 0 62px; color: #fff; background: linear-gradient(120deg,#111827,#253247); }
.news-single__header-inner { max-width: 900px; }
.news-single__header h1 { max-width: 900px; margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.news-single__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: #ccd5df; font-size: 14px; font-weight: 700; }
.news-single__featured { margin-top: 48px; }
.news-single__featured img { display: block; width: 100%; max-height: 650px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.news-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; padding-block: 68px 86px; }
.news-single__content { max-width: 780px; }
.news-single__content > h2:first-child { margin-top: 0; }
.news-single__content img { border-radius: 16px; }
.news-single__aside { position: sticky; top: 110px; }
.news-single__aside .card h2 { margin-top: 0; }
.news-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.news-gallery a { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 10px 30px rgba(17,24,39,.08); }
.news-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-gallery a:hover img { transform: scale(1.03); }

@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-single__layout { grid-template-columns: 1fr; gap: 38px; }
  .news-single__aside { position: static; }
}
@media (max-width: 720px) {
  .news-grid, .news-gallery { grid-template-columns: 1fr; }
  .news-single__header { padding: 64px 0 48px; }
  .news-single__featured { margin-top: 28px; }
  .news-single__featured img { border-radius: 18px; }
  .news-single__layout { padding-block: 48px 64px; }
}

/* v3.5 day-based planner, loan transport and mobile refinements */
.booking-layout--day-only { align-items: start; }
.booking-day-summary { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-alt); color: #4b5563; font-weight: 700; }
.loan-options { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.loan-options legend { padding: 0 8px; font-weight: 900; color: var(--ink); }
.loan-options label { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-weight: 750; }
.loan-options input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.loan-status { min-height: 1.4em; margin: 10px 0 0; color: #4b5563; font-weight: 750; }
.loan-status.is-error { color: var(--danger); }
.loan-mobility-block { margin: 44px auto 0; padding: clamp(24px,4vw,42px); border: 1px solid rgba(8,120,232,.18); border-radius: 24px; background: linear-gradient(135deg,#f7fbff,#fff); box-shadow: 0 12px 35px rgba(17,24,39,.07); }
.loan-mobility-block h2 { margin: 0 0 12px; font-size: clamp(26px,4vw,40px); line-height: 1.1; }
.loan-mobility-block p:last-child { margin-bottom: 0; }
.mobile-sticky-actions { display: none; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header { position: sticky; }
  .header-inner { gap: 10px; min-height: 64px; }
  .site-brand { max-width: 58vw; }
  .custom-logo, .nkc-default-logo { max-width: 150px; height: auto; }
  .hero-grid { padding-block: 42px; }
  .hero h1, .page-hero h1 { font-size: clamp(34px,10vw,48px); letter-spacing: -.035em; }
  .hero .lead, .page-hero p, .section-header p { font-size: 16px; }
  .button, .wp-block-button__link { width: 100%; min-height: 52px; padding: 14px 18px; }
  .hero-actions { width: 100%; }
  .card, .form-card, .booking-calendar-card, .booking-details-card, .info-panel { padding: 22px; border-radius: 18px; }
  .booking-layout, .booking-layout--day-only { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .booking-calendar-head { position: sticky; top: 64px; z-index: 3; margin-inline: -8px; padding: 8px; border-radius: 14px; background: #fff; }
  .calendar-day { min-height: 48px; font-size: 16px; border-radius: 12px; }
  .calendar-nav { width: 46px; height: 46px; }
  .form-grid, .booking-contact-fields { grid-template-columns: 1fr; gap: 14px; }
  .field input, .field select, .field textarea { min-height: 50px; font-size: 16px; }
  .field textarea { min-height: 120px; }
  .loan-options label, .booking-consent { align-items: flex-start; padding: 8px 0; line-height: 1.45; }
  .site-nav.is-open { max-height: calc(100vh - 92px); overflow-y: auto; }
  .site-nav a { font-size: 17px; padding: 14px; }
  .section { padding-block: 54px; }
  .content-wrap { padding-block: 44px 64px; }
  .grid-3, .grid-2, .split { gap: 18px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand-copy { display: none; }
  .calendar-weekdays span { font-size: 12px; }
  .calendar-day { min-height: 44px; padding: 0; }
  .booking-calendar { gap: 5px; }
  .hero-trust { display: grid; gap: 8px; }
  .section-header h2 { font-size: clamp(28px,9vw,38px); }
  .footer-main { padding-block: 44px 28px; }
  .loan-mobility-block { margin-top: 28px; padding: 22px; }
}

/* v3.7: echte huisstijlfoto's en logo, plus dubbele homepage-melding voorkomen. */
.site-brand { min-width: 0; }
.brand-logo img,
.custom-logo,
.nkc-default-logo {
  width: clamp(150px, 18vw, 218px) !important;
  height: auto !important;
  max-height: 74px;
  object-fit: contain;
  border-radius: 6px;
  background: #050505;
}
.brand-copy { display: none; }
.nkc-has-hero-image .hero-card::before {
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  filter: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.hero-card { min-height: min(430px, 62vw); }
.workshop-photo-media { background: #080b11; }
.workshop-photo-media img,
.nkc-workshop-photo {
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
  object-position: center;
}
@media (max-width: 780px) {
  .brand-logo img,
  .custom-logo,
  .nkc-default-logo {
    width: 142px !important;
    max-height: 54px;
  }
  .site-notices { top: 70px; }
  .hero-card { min-height: 310px; }
  .workshop-photo-media img,
  .nkc-workshop-photo { height: 280px; }
}


/* v3.8: betere headeruitsnedes voor echte foto's.
   De vorige versie gebruikte overal cover, waardoor staande foto's en onderwerpen aan de rand te hard werden afgesneden. */
.nkc-has-hero-image .page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(260px, 34vw, 430px);
  display: flex;
  align-items: center;
  background: linear-gradient(120deg,#070b12,#102a4f) !important;
}
.nkc-has-hero-image .page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58vw, 820px);
  z-index: -2;
  background-image: var(--nkc-hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--nkc-hero-position, center center);
  opacity: .96;
}
.nkc-has-hero-image .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,11,18,.98) 0%, rgba(7,11,18,.86) 40%, rgba(7,11,18,.28) 72%, rgba(7,11,18,.10) 100%),
    linear-gradient(180deg, transparent 62%, rgba(7,11,18,.46) 100%);
}
.nkc-portrait-hero.nkc-has-hero-image .page-hero::before,
.nkc-page-key-about.nkc-has-hero-image .page-hero::before,
.nkc-page-key-contact.nkc-has-hero-image .page-hero::before,
.nkc-page-key-appointment.nkc-has-hero-image .page-hero::before,
.nkc-page-key-news.nkc-has-hero-image .page-hero::before,
.nkc-page-key-business.nkc-has-hero-image .page-hero::before {
  width: min(46vw, 620px);
  background-size: contain;
  background-color: #070b12;
  background-position: center center;
}
.nkc-has-hero-image .hero-card::before {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #060a10;
  background-position: var(--nkc-hero-position, center center);
}
.workshop-visual,
.nkc-has-content-image .workshop-visual,
.nkc-has-content-image .content-wrap > .container > .section:first-of-type::before {
  background-position: var(--nkc-content-position, center center);
}
.workshop-photo-media img,
.nkc-workshop-photo {
  object-position: var(--nkc-content-position, center center);
}
.nkc-photo-contain img,
.nkc-photo-contain .nkc-workshop-photo {
  object-fit: contain;
  background: #080b11;
}
@media (max-width: 900px) {
  .nkc-has-hero-image .page-hero {
    min-height: auto;
    padding-top: 210px;
    padding-bottom: 48px;
  }
  .nkc-has-hero-image .page-hero::before,
  .nkc-portrait-hero.nkc-has-hero-image .page-hero::before,
  .nkc-page-key-about.nkc-has-hero-image .page-hero::before,
  .nkc-page-key-contact.nkc-has-hero-image .page-hero::before,
  .nkc-page-key-appointment.nkc-has-hero-image .page-hero::before,
  .nkc-page-key-news.nkc-has-hero-image .page-hero::before,
  .nkc-page-key-business.nkc-has-hero-image .page-hero::before {
    inset: 0 0 auto 0;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: var(--nkc-hero-position, center center);
  }
  .nkc-has-hero-image .page-hero::after {
    background:
      linear-gradient(180deg, rgba(7,11,18,.10) 0%, rgba(7,11,18,.20) 150px, rgba(7,11,18,.96) 220px, rgba(7,11,18,.98) 100%);
  }
}
@media (max-width: 520px) {
  .nkc-has-hero-image .page-hero { padding-top: 190px; }
  .nkc-has-hero-image .page-hero::before,
  .nkc-portrait-hero.nkc-has-hero-image .page-hero::before { height: 200px; }
  .hero-card { min-height: 260px; }
}


/* v3.9: rijkere Over ons-pagina en compacter mobiel ontwerp */
.about-gallery-section { padding-top: 42px; }
.about-gallery-heading { margin-inline: auto; text-align: center; }
.about-photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.about-photo-card { grid-column: span 3; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(17,24,39,.07); }
.about-photo-card.about-photo-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; }
.about-photo-card__media { min-height: 260px; background: #070b12; }
.about-photo-card__media img { width: 100%; height: 100%; min-height: 260px; display: block; object-fit: cover; object-position: center; }
.about-photo-card__body { padding: clamp(22px, 3vw, 34px); }
.about-photo-card__body span { display: inline-flex; margin-bottom: 12px; color: var(--accent-dark); font-size: 12px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.about-photo-card__body h3 { margin: 0 0 10px; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.about-photo-card__body p { margin: 0; color: #566171; }

@media (max-width: 900px) {
  .about-photo-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-photo-card,
  .about-photo-card.about-photo-wide { grid-column: auto; display: block; }
  .about-photo-card__media,
  .about-photo-card__media img { min-height: 220px; }
}

@media (max-width: 780px) {
  body { font-size: 15.5px; line-height: 1.55; }
  .container { width: min(calc(100% - 20px), var(--max)); }
  .header-inner { min-height: 58px; }
  .brand-logo img,
  .custom-logo,
  .nkc-default-logo { width: 132px !important; max-height: 48px; }
  .site-notices { top: 58px; }
  body.admin-bar .site-notices { top: 104px; }
  .home-notices { padding: 7px 0; }
  .home-notice { grid-template-columns: 26px 1fr; gap: 8px; padding: 8px 10px; border-radius: 12px; }
  .home-notice__icon { width: 24px; height: 24px; font-size: 12px; }
  .home-notice__content h2 { font-size: 14px; margin-bottom: 0; }
  .home-notice__content p { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-grid { padding-block: 30px; gap: 18px; }
  .hero h1, .page-hero h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.02; }
  .hero .lead, .page-hero p, .section-header p { font-size: 15px; }
  .hero-trust { margin-top: 18px; font-size: 13px; gap: 6px 12px; }
  .button, .wp-block-button__link { min-height: 46px; padding: 11px 14px; font-size: 15px; }
  .section { padding-block: 38px; }
  .content-wrap { padding-block: 34px 48px; }
  .section-header { margin-bottom: 22px; }
  .section-header h2 { font-size: clamp(25px, 8vw, 34px); }
  .card, .form-card, .booking-calendar-card, .booking-details-card, .info-panel { padding: 18px; border-radius: 16px; }
  .card h3 { font-size: 20px; }
  .service-card { min-height: 0; }
  .service-icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .service-icon svg { width: 24px; height: 24px; }
  .grid-3, .grid-2, .split { gap: 14px; }
  .cta-box { padding: 22px; gap: 18px; }
  .cta-box h2 { font-size: clamp(24px, 8vw, 32px); }
  .workshop-photo-media img,
  .nkc-workshop-photo { height: 230px; }
  .about-gallery-section { padding-top: 28px; }
  .about-photo-card__media,
  .about-photo-card__media img { min-height: 190px; }
  .about-photo-card__body { padding: 18px; }
  .about-photo-card__body h3 { font-size: 22px; }
  .about-photo-card__body p { font-size: 14.5px; }
}

@media (max-width: 520px) {
  .nkc-has-hero-image .page-hero { padding-top: 160px; padding-bottom: 34px; }
  .nkc-has-hero-image .page-hero::before,
  .nkc-portrait-hero.nkc-has-hero-image .page-hero::before { height: 170px; }
  .hero-card { min-height: 210px; }
  .hero-visual { min-height: 220px; }
  .hero-card-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stat { padding: 10px; }
  .hero-stat strong { font-size: 16px; }
  .hero-stat span { font-size: 12px; }
  .calendar-day { min-height: 40px; font-size: 14px; }
  .booking-calendar-head { top: 58px; }
  .footer-main { padding-block: 34px 22px; }
}

/* v4.6: per-page editable extra images. */
.nkc-page-image-figure { margin: 28px 0; }
.nkc-page-image-figure img, .nkc-page-extra-image { display:block; width:100%; height:auto; border-radius:22px; box-shadow:var(--shadow); }
.nkc-page-image-figure figcaption { margin-top:9px; color:#64748b; font-size:14px; }


/* v4.9: contact APK signup and general terms page. */
.nkc-terms-page { max-width: 900px; }
.nkc-terms-page > p:first-child { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-alt); }
.nkc-terms-page h2 { margin-top: 2.1em; font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* v5.0: mobile-first appointment flow, responsive forms and floating booking action. */
.booking-layout--day-only {
  grid-template-areas:
    "calendar service"
    "calendar details";
}
.booking-service-card,
.booking-calendar-card,
.booking-details-card {
  min-width: 0;
}
.booking-service-card {
  grid-area: service;
  padding: clamp(22px,3vw,34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.booking-calendar-card { grid-area: calendar; }
.booking-details-card { grid-area: details; }
.booking-step-card { scroll-margin-top: 94px; }
.booking-step-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 19px;
}
.booking-step-heading > div { min-width: 0; }
.booking-step-heading h2 {
  margin: 0 0 3px;
  font-size: clamp(20px,2.1vw,27px);
  line-height: 1.16;
}
.booking-step-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}
.booking-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 7px 18px rgba(8,120,232,.22);
}
.booking-step-card.is-complete .booking-step-number { background: var(--success); }
.booking-calendar-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
}
.booking-mobile-steps { display: none; }
.booking-calendar,
.calendar-weekdays,
.booking-contact-fields,
.booking-contact-fields .field,
.booking-contact-fields input,
.booking-contact-fields select,
.booking-contact-fields textarea { min-width: 0; max-width: 100%; }
.calendar-day {
  width: 100%;
  min-width: 0;
  touch-action: manipulation;
}
.loan-options label {
  min-width: 0;
  border-radius: 11px;
}
.loan-options label span { min-width: 0; overflow-wrap: anywhere; }
.loan-options input[type="radio"] { accent-color: var(--accent); }
.booking-consent,
.apk-reminder-consent {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.booking-consent span,
.apk-reminder-consent span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.booking-consent {
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  color: #334155;
  background: #f8fafc;
  font-size: 14px !important;
}
.booking-consent input,
.apk-reminder-consent input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  margin: 1px 0 0 !important;
  flex: 0 0 20px;
  border: 1.5px solid #8795a8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.booking-consent input::before,
.apk-reminder-consent input::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .12s ease;
}
.booking-consent input:checked,
.apk-reminder-consent input:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.booking-consent input:checked::before,
.apk-reminder-consent input:checked::before { transform: rotate(45deg) scale(1); }
.booking-consent input:focus-visible,
.apk-reminder-consent input:focus-visible {
  outline: 3px solid rgba(8,120,232,.24);
  outline-offset: 2px;
}
.booking-submit-row .button { width: 100%; }
.mobile-booking-bar { display: none; }

@media (max-width: 860px) {
  html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
  main, section, article, aside, .wp-block-group, .container, .card, .form-card, .info-panel { min-width: 0; }
  iframe, video, table, pre { max-width: 100%; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose, .card, .form-card, .info-panel, .section-header, .page-hero { overflow-wrap: anywhere; }

  .booking-shell { margin-top: 20px; }
  .booking-mobile-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
  }
  .booking-mobile-steps li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 8px 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #64748b;
    background: #fff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
  }
  .booking-mobile-steps li span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #526174;
    background: #e8eef6;
    font-size: 10px;
  }
  .booking-mobile-steps li.is-active {
    color: var(--accent-dark);
    border-color: #9fc9f4;
    background: #edf6ff;
  }
  .booking-mobile-steps li.is-active span { color: #fff; background: var(--accent); }
  .booking-mobile-steps li.is-complete { color: var(--success); border-color: #aad8c4; background: #edf8f3; }
  .booking-mobile-steps li.is-complete span { color: #fff; background: var(--success); }

  .booking-layout--day-only {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-areas:
      "service"
      "calendar"
      "details";
    gap: 15px;
  }
  .booking-service-card,
  .booking-calendar-card,
  .booking-details-card {
    width: 100%;
    padding: 18px;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(17,24,39,.08);
  }
  .booking-calendar-card { position: static !important; top: auto !important; }
  .booking-step-card { scroll-margin-top: 76px; }
  .booking-step-heading { gap: 10px; margin-bottom: 15px; }
  .booking-step-heading h2 { font-size: 20px; }
  .booking-step-heading p { font-size: 13px; }
  .booking-step-number { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }

  .booking-calendar-head {
    position: static !important;
    top: auto !important;
    grid-template-columns: 42px minmax(0,1fr) 42px;
    gap: 7px;
    margin: 0 0 13px !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .booking-calendar-head h3 { min-width: 0; font-size: 18px; }
  .calendar-nav { width: 42px; height: 42px; padding: 0; border-radius: 11px; }
  .calendar-weekdays,
  .booking-calendar { width: 100%; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
  .calendar-weekdays { margin-bottom: 5px; }
  .calendar-weekdays span { min-width: 0; font-size: 11px; }
  .calendar-day,
  .calendar-day--empty {
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1;
  }
  .booking-selected-date { margin-top: 14px; font-size: 13px; line-height: 1.4; }
  .booking-day-summary { margin: 0 0 16px; padding: 12px 13px; font-size: 13px; line-height: 1.45; }
  .loan-options { margin: 0 0 18px; padding: 13px; border-radius: 14px; }
  .loan-options legend { padding-inline: 5px; font-size: 14px; }
  .loan-options label {
    align-items: center;
    gap: 11px;
    margin: 7px 0;
    padding: 11px 10px;
    border: 1px solid #e1e8f1;
    background: #f8fafc;
    font-size: 14px;
    line-height: 1.35;
  }
  .loan-options label:has(input:checked) { border-color: #9fc9f4; background: #edf6ff; }
  .loan-options input[type="radio"] { width: 21px; height: 21px; margin: 0; flex: 0 0 21px; }
  .loan-status { min-height: 0; margin: 7px 2px 0; font-size: 13px; }
  .booking-contact-fields { gap: 13px; }
  .booking-contact-fields .field { width: 100%; }
  .field input, .field select, .field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 16px;
  }
  .field textarea { min-height: 112px; }
  .apk-reminder-consent,
  .booking-consent {
    align-items: flex-start !important;
    gap: 10px;
    line-height: 1.4;
  }
  .apk-reminder-consent { margin-top: 10px; padding: 11px 12px; border: 1px solid #dce5f0; border-radius: 11px; background: #f8fafc; font-size: 13px !important; }
  .booking-consent { padding: 12px; font-size: 13px !important; }
  .booking-submit-row { margin-top: 2px; }
  .booking-submit-row .button { min-height: 54px; border-radius: 12px; font-size: 16px; }
  .booking-details-card .form-note { margin-bottom: 0; line-height: 1.45; }

  .nkc-has-mobile-booking-bar { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .mobile-booking-bar {
    position: fixed;
    z-index: 990;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    display: block;
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-booking-bar.is-hidden,
  .mobile-booking-bar.is-menu-hidden { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
  .mobile-booking-bar a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 64px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(120deg,var(--accent),var(--accent-dark));
    box-shadow: 0 15px 38px rgba(4,85,167,.35);
    text-decoration: none;
  }
  .mobile-booking-bar__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    color: var(--accent-dark);
    background: #fff;
    font-size: 18px;
    font-weight: 950;
  }
  .mobile-booking-bar__copy { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; line-height: 1.2; }
  .mobile-booking-bar__copy strong { color: #fff; font-size: 15px; }
  .mobile-booking-bar__copy small { margin-top: 3px; color: rgba(255,255,255,.84); font-size: 11px; }
  .mobile-booking-bar__arrow { flex: 0 0 auto; color: #fff; font-size: 24px; line-height: 1; }
}

@media (max-width: 420px) {
  .nkc-page-key-appointment .container { width: min(calc(100% - 12px), var(--max)); }
  .booking-service-card,
  .booking-calendar-card,
  .booking-details-card { padding: 13px; border-radius: 14px; }
  .booking-step-heading--calendar { margin-bottom: 13px; }
  .calendar-weekdays,
  .booking-calendar { gap: 2px; }
  .calendar-weekdays span { font-size: 10px; }
  .calendar-day,
  .calendar-day--empty { border-radius: 7px; font-size: 13px; }
  .booking-mobile-steps li { gap: 3px; padding-inline: 2px; font-size: 10px; }
  .booking-mobile-steps li span { width: 18px; height: 18px; }
  .mobile-booking-bar { left: 7px; right: 7px; bottom: max(7px, env(safe-area-inset-bottom)); }
  .mobile-booking-bar a { min-height: 60px; padding: 8px 11px; border-radius: 15px; }
  .mobile-booking-bar__copy small { display: none; }
}
