@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 800; font-display: swap; src: url(/fonts/barlow-latin-800-normal.woff2) format('woff2'); }

:root {
  --blue: #0f4f9e;
  --blue-dark: #0a3870;
  --blue-deep: #071f3f;
  --sky: #3dbfef;
  --sky-soft: #e8f6fd;
  --ink: #12202f;
  --muted: #5b6b7c;
  --line: #e1e8ef;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --surface: #ffffff;
  --input: #ffffff;
  --link: #0f4f9e;
  --header-bg: rgba(255, 255, 255, .96);
  --disabled: #b4bfca;
  --danger-bg: #fdecec; --danger-ink: #8a1c1c; --danger-line: #f5c2c2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 40, 80, .06), 0 8px 24px rgba(10, 40, 80, .07);
  --shadow-lg: 0 20px 50px rgba(7, 31, 63, .18);
  --wrap: 1180px;
  color-scheme: light;
}

/* Donkere stand (donkerblauw). Volgt de telefoon/computer, tenzij de bezoeker zelf kiest via de knop. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #1d64bf; --blue-dark: #2a74d0; --blue-deep: #061833;
    --sky-soft: #14355c; --ink: #e7eef8; --muted: #a9bcd3; --line: #24446c;
    --bg: #0a1930; --bg-alt: #0d2140; --surface: #112a4c; --input: #0b1e3a;
    --link: #8fd0fa; --header-bg: rgba(10, 25, 48, .94); --disabled: #5f7696;
    --danger-bg: #3a1a24; --danger-ink: #ffb8b8; --danger-line: #6b2b36;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --blue: #1d64bf; --blue-dark: #2a74d0; --blue-deep: #061833;
  --sky-soft: #14355c; --ink: #e7eef8; --muted: #a9bcd3; --line: #24446c;
  --bg: #0a1930; --bg-alt: #0d2140; --surface: #112a4c; --input: #0b1e3a;
  --link: #8fd0fa; --header-bg: rgba(10, 25, 48, .94); --disabled: #5f7696;
  --danger-bg: #3a1a24; --danger-ink: #ffb8b8; --danger-line: #6b2b36;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--muted); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(15, 79, 158, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--surface); color: var(--link); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--link); }
.btn-light { background: #fff; color: #0f4f9e; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; margin-bottom: 10px; }

/* Topbar + header */
.announce { background: var(--sky); color: var(--blue-deep); text-align: center; font-weight: 700; padding: 8px 20px; }
.topbar { background: var(--blue-deep); color: #c9d8ea; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar-links { display: flex; gap: 22px; }
.header { background: var(--header-bg); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--link); background: var(--sky-soft); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--link); cursor: pointer; }
.nav-toggle .ico { width: 30px; height: 30px; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(61, 191, 239, .35), transparent 60%), linear-gradient(135deg, var(--blue-deep), var(--blue) 75%); color: #fff; padding: 80px 0 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.hero h1 .hl { color: var(--sky); }
.hero .lead { color: #d3e3f5; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero .btn-primary { background: var(--sky); color: var(--blue-deep); box-shadow: 0 8px 24px rgba(61, 191, 239, .35); }
.hero .btn-primary:hover { background: #63ccf3; }
.hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .3); }
.usps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.usps .ico { color: var(--sky); }
.hero-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.3rem; }
.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rating strong { font-size: 2rem; line-height: 1; color: var(--link); }
.rating span:last-child { font-size: .85rem; color: var(--muted); }
.stars { color: #f5a623; letter-spacing: 2px; }
.contact-tile { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color .15s, background .15s; }
.contact-tile:hover { border-color: var(--sky); background: var(--sky-soft); }
.contact-tile .ico { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--sky-soft); color: var(--link); }
.contact-tile small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.contact-tile span { overflow-wrap: anywhere; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--bg); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
a.card { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .service-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; margin-bottom: 16px; }
.service-card .service-icon .ico { width: 28px; height: 28px; }
.service-card p { color: var(--muted); }
.more { color: var(--link); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
a.card:hover .more .ico { transform: translateX(4px); }
.more .ico { transition: transform .2s; }

.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .thumb img { transform: scale(1.05); }
.ph-tag { position: absolute; top: 10px; right: 10px; background: rgba(7, 31, 63, .75); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.card-body { padding: 20px 22px 24px; }
.card-body p { color: var(--muted); font-size: .97rem; }
.chip { display: inline-block; background: var(--sky-soft); color: var(--link); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; text-decoration: none; }
.meta { color: var(--muted); font-size: .9rem; display: inline-flex; gap: 4px; align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters .chip { padding: 8px 16px; font-size: .9rem; margin: 0; border: 1px solid transparent; }
.filters .chip.active { background: var(--blue); color: #fff; }

.why { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.why p { color: var(--muted); }
.feature { padding: 24px; border-radius: var(--radius); background: var(--bg-alt); }
.feature .ico { width: 36px; height: 36px; color: var(--link); margin-bottom: 10px; }
.feature p { margin: 0; font-size: .95rem; }

.review { margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 16px; font-size: 1.05rem; flex: 1; }
.review figcaption { color: var(--muted); font-size: .95rem; }
.review figcaption strong { color: var(--ink); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--link); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.post-list { display: grid; gap: 12px; }
.post-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--bg-alt); text-decoration: none; color: inherit; }
.post-item:hover { background: var(--sky-soft); }
.post-item time { font-size: .82rem; color: var(--link); font-weight: 700; }
.post-item span { color: var(--muted); font-size: .95rem; }
.post-list.big .post-item { flex-direction: row; gap: 20px; background: var(--surface); padding: 16px; }
.post-list.big .post-item img { width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.post-list.big .post-item div { display: flex; flex-direction: column; gap: 4px; }
.post-hero { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }

.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.area-list .ico { color: var(--sky); }

.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-deep)); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { color: #c9d8ea; margin: 0; }
.cta-band h2 { margin-bottom: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Subpagina's */
.page-hero { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; padding: 48px 0 52px; }
.page-hero .lead { color: #d3e3f5; margin: 0; max-width: 720px; }
.crumbs { font-size: .88rem; color: #a9c1dd; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: start; }
.checklist .ico { color: #fff; background: var(--sky); border-radius: 50%; padding: 3px; margin-top: 3px; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 62px; background: var(--bg-alt); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps strong { display: block; }
.sticky-card { position: sticky; top: 110px; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; }
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox { position: fixed; inset: 0; background: rgba(7, 20, 40, .92); display: grid; place-items: center; z-index: 200; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 10px; }

/* Formulier */
.contact-grid { grid-template-columns: 1.5fr 1fr; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--input); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 4px rgba(61, 191, 239, .2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg legend { font-weight: 700; margin-bottom: 8px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 700; }
.seg input:checked + span { border-color: var(--link); background: var(--sky-soft); color: var(--link); }
.seg input:focus-visible + span { outline: 3px solid var(--sky); }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.form .check input { width: 20px; height: 20px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 10px; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert-error { background: var(--danger-bg); color: var(--danger-ink); border: 1px solid var(--danger-line); }
.contact-card h2 { font-size: 1.4rem; }
.hours { list-style: none; padding: 0; margin: 0 0 12px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours li span:first-child { font-weight: 600; }
.thanks .big-check { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--sky-soft); color: var(--link); display: grid; place-items: center; }
.thanks .big-check .ico { width: 44px; height: 44px; }

/* Footer */
.footer { background: var(--blue-deep); color: #b4c6dc; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h3 { color: #fff; font-size: 1rem; margin-top: 0; }
.footer ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.footer a { color: #dce7f3; text-decoration: none; }
.footer a:hover { color: var(--sky); }
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 16px; }
.contact-list a { display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding: 20px; font-size: .85rem; }
.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .two-col, .why, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-card { position: static; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; }
  .header .wrap { position: relative; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar span:first-child, .topbar a[href^="mailto"] { display: none; }
  .topbar .wrap { justify-content: center; }
  .header .wrap { min-height: 70px; }
  .brand img { width: 120px; }
  .hero { padding: 48px 0 90px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .row2, .footer-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .post-list.big .post-item { flex-direction: column; }
  .post-list.big .post-item img { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .mobile-cta { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(7, 31, 63, .1); }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--link); }
  .mobile-cta a .ico { width: 22px; height: 22px; }
  .mobile-cta a.hl { background: var(--blue); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Afspraakkiezer */
.slots { border: 0; padding: 0; margin: 0; min-width: 0; }
.slots legend { font-weight: 700; margin-bottom: 4px; }
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.slot-day { flex: 0 0 92px; display: grid; gap: 6px; scroll-snap-align: start; }
.slot-date { text-align: center; font-size: .85rem; color: var(--muted); line-height: 1.2; }
.slot-date b { display: block; color: var(--ink); text-transform: capitalize; }
.slot { display: block !important; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: block; text-align: center; padding: 9px 4px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: .9rem; cursor: pointer; background: var(--input); }
.slot input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot input:focus-visible + span { outline: 3px solid var(--sky); }
.slot input:disabled + span { cursor: not-allowed; color: var(--disabled); background: var(--bg-alt); text-decoration: line-through; font-weight: 500; }
.slot-day.full .slot-date { opacity: .5; }
.two-col > *, .form > *, .contact-grid > * { min-width: 0; }
.slot, .seg label { position: relative; } .slot input, .seg input { left: 0; top: 0; }
.slot-day { align-content: start; }

/* Dag/nacht-knop + logo per stand */
.header-tools { display: flex; align-items: center; gap: 4px; order: 3; }
.header .nav { order: 2; margin-left: auto; }
.theme-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--link); cursor: pointer; margin-left: 8px; }
.theme-toggle:hover { border-color: var(--link); }
.theme-toggle .ico { width: 20px; height: 20px; }
.logo-dark, .i-sun { display: none !important; }
:root[data-theme="dark"] .logo-light, :root[data-theme="dark"] .i-moon { display: none !important; }
:root[data-theme="dark"] .logo-dark, :root[data-theme="dark"] .i-sun { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light, :root:not([data-theme="light"]) .i-moon { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark, :root:not([data-theme="light"]) .i-sun { display: block !important; }
}
.theme-choice { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.theme-choice button { font: inherit; font-size: .82rem; color: #dce7f3; background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: 3px 10px; cursor: pointer; }
.theme-choice button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: #071f3f; font-weight: 700; }
/* Plaatshouder-illustraties iets gedimd in de donkere stand, zodat ze niet verblinden */
:root[data-theme="dark"] .thumb img, :root[data-theme="dark"] .gallery-item img { filter: brightness(.92); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .thumb img, :root:not([data-theme="light"]) .gallery-item img { filter: brightness(.92); } }

/* Basis-pakket: foto's per dienst, spoedkaart, tarieven */
.service-card.has-photo { padding-top: 0; overflow: hidden; }
.service-card .service-photo { display: block; width: calc(100% + 52px); max-width: none; margin: 0 -26px 18px; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card.has-photo .service-icon { margin-top: -46px; position: relative; box-shadow: 0 0 0 4px var(--surface); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.photo-grid a { display: block; border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.03); }
.spoed-card { align-self: start; border: 2px solid var(--sky); }
.spoed-card h2 { margin-top: 4px; }

.rates { display: grid; gap: 20px; max-width: 900px; }
.rate-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rate-intro > div { display: flex; gap: 12px; align-items: flex-start; }
.rate-intro .ico { flex: none; width: 26px; height: 26px; color: var(--blue); }
.rate-intro p { margin: 0; }
.rate-card h2 { margin: 0 0 6px; }
.rate-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.rate-table th, .rate-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.rate-table tr:last-child > * { border-bottom: 0; }
.rate-table tbody th { font-weight: 600; }
.rate-table td { text-align: right; white-space: nowrap; }
.rate-table td strong { font-size: 1.05rem; }
.rate-table td small { display: block; color: var(--muted); font-size: .78rem; }
.rate-table .unit { color: var(--muted); font-size: .85rem; }
.rate-table .op-aanvraag { color: var(--muted); font-style: italic; }
.rate-table.matrix thead th { font-size: .82rem; color: var(--muted); font-weight: 600; text-align: right; }
.rate-table.matrix thead th:first-child { text-align: left; }
@media (max-width: 640px) {
  .rate-table.matrix thead { display: none; }
  .rate-table.matrix tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .rate-table.matrix tr:last-child { border-bottom: 0; }
  .rate-table.matrix th, .rate-table.matrix td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 0; }
  .rate-table.matrix td { text-align: right; }
  .rate-table.matrix td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; text-align: left; white-space: normal; }
  .rate-table td { white-space: normal; }
}
.rate-card h2 .excl { font-size: .8rem; font-weight: 600; color: var(--muted); vertical-align: middle; margin-left: 6px; white-space: nowrap; }

/* Lokale pagina's: diensten-lijst en klikbare plaatsen */
.local-services { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.local-services a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.local-services a:hover { border-color: var(--sky); }
.local-services .ico { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.local-services span { display: grid; }
.local-services small { color: var(--muted); }
.area-list a { color: inherit; text-decoration: none; display: flex; gap: 8px; align-items: center; width: 100%; }
.area-list a:hover { color: var(--link); }
.area-list small { margin-left: auto; color: var(--muted); font-weight: 500; }
.area-list li:has(a) { padding: 0; }
.area-list li a { padding: 12px 16px; }

/* Grote schermen: breder en groter, zodat het op een laptop/monitor niet als een tablet-indeling oogt */
@media (min-width: 1400px) {
  :root { --wrap: 1340px; }
  body { font-size: 18px; }
  .header .wrap { min-height: 96px; }
  .brand img { width: 180px; }
  .nav a { font-size: 1.05rem; }
  .hero h1 { font-size: 3.7rem; }
  .hero .lead { font-size: 1.25rem; }
  .section { padding: 96px 0; }
}
@media (min-width: 1800px) {
  :root { --wrap: 1560px; }
  body { font-size: 19px; }
  .brand img { width: 200px; }
  .header .wrap { min-height: 116px; }
  .hero .lead { max-width: 660px; }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.6rem; }
  .hero h1 { font-size: 4.3rem; }
  .hero-card { padding: 36px; }
}

/* Cookiemelding (onderaan, sluit met "Begrepen") */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 640px; margin: 0 auto; display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.45; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar .btn { flex: none; }
@media (max-width: 640px) { .cookie-bar { bottom: 76px; } } /* boven de vaste belbalk op mobiel */
@media (max-width: 520px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; } .cookie-bar .btn { width: 100%; justify-content: center; } }
.info-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.info-table th { width: 34%; font-weight: 700; }
@media (max-width: 640px) { .info-table th, .info-table td { display: block; width: auto; border: 0; padding: 4px 0; } .info-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } }
/* Illustratie/foto bovenaan een dienstpagina */
.service-figure { margin: 4px 0 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.service-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
:root[data-theme="dark"] .illustratie { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .illustratie { filter: brightness(.9); } }
.footer-bottom .gemaakt-door { flex-basis: 100%; text-align: center; opacity: .75; }
.footer-bottom .gemaakt-door a { font-weight: 600; }
