/*
Theme Name: Car Care Peeters
Theme URI: http://localhost:8881
Author: Car Care Peeters
Author URI: http://localhost:8881
Description: Atelier Noir — donker redactioneel blokthema voor Car Care Peeters, garage & carrosserie in Lummen. Magazine-masthead, hairlines, corner-ticked fotokaders, mono-bijschriften en één scherp groen accent.
Version: 1.0.1
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: car-care-peeters
*/

/* ============================================================
   TOKENS — Atelier Noir (dark = primary). Kleuren zijn gekoppeld
   aan de theme.json-paletten zodat aanpassingen via
   Weergave -> Stijlen doorwerken in alle componenten.
   ============================================================ */
:root {
  --bg: var(--wp--preset--color--base, #0A0A0A);
  --surface: var(--wp--preset--color--surface, #0F0F0F);
  --surface-2: var(--wp--preset--color--surface-2, #141414);
  --text: var(--wp--preset--color--contrast, #F5F5F0);
  --muted: var(--wp--preset--color--muted, #A9A9A2);
  --accent: var(--wp--preset--color--accent, #5FD92B);
  --accent-fill: #5FD92B;
  --accent-ink: #0A0A0A;
  --hairline: rgba(245, 245, 240, 0.12);
  --hairline-strong: rgba(245, 245, 240, 0.22);
  --frame: rgba(245, 245, 240, 0.30);
  --logo-well: #0A0A0A;
  --font-serif: var(--wp--preset--font-family--heading, 'Playfair Display', Georgia, serif);
  --font-sans: var(--wp--preset--font-family--body, 'Inter Tight', sans-serif);
  --font-mono: var(--wp--preset--font-family--mono, ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace);
}
@media (prefers-color-scheme: light) {
  /* :root:root — wint bewust van WP's global-styles (:root), die ná dit
     stylesheet wordt geprint en anders de donkere presetwaarden terugzet. */
  :root:root {
    --bg: #F5F5F0;
    --surface: #EFEFE8;
    --surface-2: #E9E9E0;
    --text: #111110;
    --muted: #55554F;
    --accent: #2B7010;
    --accent-fill: #5FD92B;
    --accent-ink: #0A0A0A;
    --hairline: rgba(10, 10, 10, 0.14);
    --hairline-strong: rgba(10, 10, 10, 0.26);
    --frame: rgba(10, 10, 10, 0.35);
    --logo-well: #0A0A0A;
    /* Route ook de WP-preset-variabelen mee, zodat gedempte tekst
       (captions, mono, metadata) in lichte modus altijd #55554F wordt
       en accenttekst AA-veilig #2B7010 — nooit het donkere #A9A9A2. */
    --wp--preset--color--base: #F5F5F0;
    --wp--preset--color--contrast: #111110;
    --wp--preset--color--muted: #55554F;
    --wp--preset--color--accent: #2B7010;
    --wp--preset--color--surface: #EFEFE8;
    --wp--preset--color--surface-2: #E9E9E0;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }
.wp-block-image img { max-width: 100%; height: auto; }

/* telefoonnummers breken nooit middenin het nummer af */
a[href^="tel:"] { white-space: nowrap; }

/* alleen voor schermlezers (o.a. H1-suffix "garage in Lummen") */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PAGINA-CONTAINER
   ============================================================ */
.ccp-page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  position: relative;
}
/* Kolomlijnen verwijderd op verzoek (2026-07-16): het 12-koloms sierraster
   (.ccp-page::before) tekende verticale lijnen door alle secties. */
.ccp-page > * { position: relative; z-index: 1; }

/* ============================================================
   ATOMEN — mono, micro, dot, titels, lede, links
   ============================================================ */
.mono, .mono p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.micro, .micro p {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.has-dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: none;
  margin-right: 0.8rem;
  vertical-align: 1px;
}
h2.title, .title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2.title em, .title em, .serif-em, .mast-h em, .intro-h em, .cta-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}
.body-link, .lede a, .entry-text a, .about-text a, .car-desc a, .stock-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.45s ease, text-decoration-color 0.45s ease;
}
.body-link:hover, .lede a:hover, .entry-text a:hover, .about-text a:hover, .car-desc a:hover, .stock-note a:hover { color: var(--accent); }
.body-link a { color: inherit; text-decoration: inherit; }

/* ============================================================
   REVEALS — entree bij laden + scroll-onthulling
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.31s; } .d4 { animation-delay: 0.44s; }
.d5 { animation-delay: 0.57s; }
.sr {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sr.in { opacity: 1; transform: none; }
.sd2 { transition-delay: 0.13s; } .sd3 { transition-delay: 0.26s; } .sd4 { transition-delay: 0.39s; }
body:not(.js-sr) .sr { opacity: 1; transform: none; }

/* ============================================================
   KNOPPEN — omlijnd, vult groen bij hover; ghost = onderstreept
   ============================================================ */
.btn-row { gap: 1.4rem; align-items: center; }
.btn-row .wp-block-button__link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  display: inline-block;
  cursor: pointer;
  background: transparent;
  border-radius: 0;
  line-height: 1.4;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.btn-primary .wp-block-button__link {
  color: var(--text);
  border: 1px solid var(--frame);
}
.btn-primary .wp-block-button__link:hover {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-ink);
}
.btn-ghost .wp-block-button__link {
  color: var(--muted);
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 0.55rem 0.1rem;
}
.btn-ghost .wp-block-button__link:hover {
  background: transparent;
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   BRANDBAR + NAVIGATIE
   ============================================================ */
/* Vast bovenaan (DESIGN.md): hairline-onderrand verschijnt pas na scroll.
   z-index 20 — één duidelijke stap boven de inhoud (.ccp-page > * op z-1).
   Sticky staat op de template-part-wrapper: .ccp-header zelf zit in een
   wrapper die precies zo hoog is als de header, waardoor sticky daar
   nergens heen kan. */
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 20;
}
.ccp-header {
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.45s ease;
}
.ccp-header.scrolled { border-bottom-color: var(--hairline); }
/* zonder JS: hairline altijd zichtbaar (nooit een rand die niet kán verschijnen) */
body:not(.js-hdr) .ccp-header { border-bottom-color: var(--hairline); }

.brandbar {
  gap: 1.5rem;
  padding: 1.6rem 0;
  flex-wrap: wrap;
}
.brand-left { gap: 1.1rem; }
.logo-well {
  background: var(--logo-well);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 4px;
  line-height: 0;
  display: inline-block;
  margin: 0;
}
.logo-well img { height: 44px !important; width: auto !important; display: block; border-radius: 0; }
.ccp-nav { gap: 1.4rem; align-items: center; }
.ccp-nav .wp-block-navigation { gap: 1.4rem; }
.ccp-nav .wp-block-navigation-item__content,
.ccp-nav .wp-block-pages-list__item__link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 0.85rem 0.2rem;
  transition: color 0.45s ease, border-color 0.45s ease;
}
.ccp-nav .wp-block-navigation-item__content:hover,
.ccp-nav .wp-block-pages-list__item__link:hover { color: var(--accent); }
.ccp-nav .current-menu-item > .wp-block-navigation-item__content,
.ccp-nav .current-menu-item > .wp-block-pages-list__item__link,
.ccp-nav .wp-block-navigation-item__content[aria-current="page"],
.ccp-nav .wp-block-pages-list__item__link[aria-current="page"] {
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: calc(0.85rem - 1px);
}
/* header-CTA: op desktop naar /contact/, op mobiel rechtstreeks bellen
   (selector wint van core's .wp-block-buttons > .wp-block-button) */
.wp-block-buttons .wp-block-button.nav-cta-tel { display: none; }
@media (max-width: 720px) {
  .wp-block-buttons .wp-block-button.nav-cta-desk { display: none; }
  .wp-block-buttons .wp-block-button.nav-cta-tel { display: block; }
}
.nav-cta .wp-block-button__link {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--frame);
  border-radius: 0;
  padding: 0.7rem 1.4rem;
  transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.nav-cta .wp-block-button__link:hover {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: var(--accent-ink);
}
/* onder 1000px past merknaam + nav + knop niet meer op één rij;
   het logo-wel draagt het merk dan alleen */
@media (max-width: 1000px) { .brand-name { display: none; } }
/* Mobiel: logo + belknop op rij 1 (space-between), alle vier de
   navigatielinks samen op rij 2 — maximaal twee rijen. */
@media (max-width: 560px) {
  .brandbar.brandbar { padding: 1rem 0; row-gap: 0.7rem !important; }
  /* dubbele klasse: wint van WP's later geprinte .wp-container-flexregel */
  .ccp-nav.ccp-nav { display: contents; }
  .brand-left { order: 1; }
  .ccp-nav > .wp-block-buttons { order: 2; }
  .ccp-nav > .wp-block-navigation { order: 3; flex-basis: 100%; min-width: 100%; }
  .ccp-nav .wp-block-navigation.wp-block-navigation,
  .ccp-nav .wp-block-navigation .wp-block-navigation__container {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem !important;
    flex-wrap: nowrap;
  }
  .ccp-nav .wp-block-navigation-item__content,
  .ccp-nav .wp-block-pages-list__item__link {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    padding: 0.45rem 0;
  }
  .ccp-nav .current-menu-item > .wp-block-navigation-item__content,
  .ccp-nav .current-menu-item > .wp-block-pages-list__item__link,
  .ccp-nav .wp-block-navigation-item__content[aria-current="page"],
  .ccp-nav .wp-block-pages-list__item__link[aria-current="page"] {
    padding-bottom: calc(0.45rem - 1px);
  }
}

/* ============================================================
   MASTHEAD — dubbele regels, oversized serif titel, mono metabalk
   ============================================================ */
.masthead { padding: clamp(2rem, 4.5vw, 3rem) 0 0; }
hr.mast-rules, .mast-rules {
  border: none;
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline);
  height: 5px;
  background: none !important;
  opacity: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}
.mast-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 10.5vw, 7.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-align: center;
  padding: clamp(1.2rem, 3vw, 1.8rem) 0;
  text-wrap: balance;
  margin: 0;
}
.mast-title-sub { font-size: clamp(2.6rem, 8vw, 5.6rem); padding: clamp(1.4rem, 3.5vw, 2.4rem) 0; }
.mast-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.mast-meta {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline-strong);
  padding: 0.85rem 0;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.mast-meta p { margin: 0; color: var(--muted); }
/* de bewijs-stat ("10+ jaar vakmanschap") blijft ook op mobiel zichtbaar;
   de metabalk mag daar gewoon over twee regels lopen */
@media (max-width: 640px) {
  .mast-meta { justify-content: flex-start; column-gap: 1.6rem !important; }
}

.mast-body { padding: clamp(1.8rem, 4.5vw, 3rem) 0 clamp(3rem, 7vw, 5rem); gap: clamp(1rem, 2.5vw, 2rem); }
.mast-intro { padding-top: 1rem; }
.mast-intro .micro, .intro-left .micro, .intro-text .micro, .mast-intro-plain .micro { display: flex; align-items: center; margin-bottom: 1.8rem; }
.mast-h, .intro-h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.mast-intro .lede, .intro-left .lede, .intro-text .lede, .mast-intro-plain .lede { margin-top: 1.6rem; }
.mast-intro .btn-row { margin-top: 2.4rem; }
.mast-photo img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.mast-intro-plain { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.mast-intro-plain .intro-h { max-width: 24ch; }

/* ============================================================
   FOTOKADER — corner ticks (8 gradiëntstrepen), mono bijschrift
   ============================================================ */
.photo-frame {
  position: relative;
  padding: 14px;
  background-color: transparent;
  background-image:
    linear-gradient(var(--frame), var(--frame)), linear-gradient(var(--frame), var(--frame)),
    linear-gradient(var(--frame), var(--frame)), linear-gradient(var(--frame), var(--frame)),
    linear-gradient(var(--frame), var(--frame)), linear-gradient(var(--frame), var(--frame)),
    linear-gradient(var(--frame), var(--frame)), linear-gradient(var(--frame), var(--frame));
  background-repeat: no-repeat;
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px;
}
.photo-frame .wp-block-image, .photo-frame .wp-block-post-featured-image { margin: 0; }
.photo-frame img {
  width: 100%;
  display: block;
  filter: grayscale(18%) contrast(1.04);
  transition: filter 0.7s ease;
}
.photo-frame:hover img { filter: grayscale(0%) contrast(1.02); }
.photo-caption {
  margin-top: 1rem;
  color: var(--muted);
  justify-content: space-between;
  gap: 1rem;
}
.photo-caption p { margin: 0; color: var(--muted); }

/* ============================================================
   SECTIES OP HET RASTER — spread, sec-label, grid12
   ============================================================ */
.spread, .entry, .feature { border-top: 1px solid var(--hairline); padding: clamp(3.2rem, 7vw, 5rem) 0; }
.spread-flush-bottom { padding-bottom: 0; }
.sec-label { gap: 1rem; align-items: baseline; margin-bottom: 2.4rem; }
.sec-label p { margin: 0; }
.sec-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
}
.title-gap { margin-bottom: 2.6rem; }
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
/* WP's flow-layout geeft sibling-blokken margin-block-start (24px);
   in een grid- of flexrij hoort die niet — anders lijnen kolommen niet uit.
   Dubbele klasse: wint van WP's later geprinte .wp-container-regel. */
.grid12.grid12 > *,
.service-cards.service-cards > *,
.contact-cells.contact-cells > *,
.steps.steps > *,
.map-content.map-content > *,
.occ-body.occ-body > * { margin-block-start: 0; }
/* grid-items mogen niet breder worden dan hun track (min-content-overflow) */
.grid12.grid12 > * { min-width: 0; }
/* herstel het bewuste token dat hierboven mee zou sneuvelen */
.occ-body.occ-body > .specs { margin-top: 1.1rem; }
.mast-body.grid12 { display: grid; }
.mast-intro { grid-column: 1 / 7; }
.mast-photo { grid-column: 7 / 13; }
@media (max-width: 720px) {
  .mast-intro, .mast-photo { grid-column: 1 / -1; }
}

/* ============================================================
   DIENSTEN-KAARTEN (home) — genummerd 3x2 hairline-raster
   ============================================================ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
@media (max-width: 900px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .service-cards { grid-template-columns: 1fr; } }
.svc {
  padding: 2rem 1.8rem 2.2rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  transition: background 0.5s ease;
  margin-right: -1px;
  margin-bottom: -1px;
}
.svc:hover { background: var(--surface); }
.svc .svc-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: block;
  margin: 0 0 1.6rem;
}
.svc h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  transition: color 0.45s ease;
}
.svc h3 a { color: inherit; text-decoration: none; }
.svc:hover h3, .svc:hover h3 a { color: var(--accent); }
.svc p { color: var(--muted); font-size: 0.9rem; font-weight: 400; text-wrap: pretty; margin: 0; }
.svc .svc-tag { display: block; margin-top: 1.4rem; }

/* ============================================================
   AANPAK — pull-quote spread
   ============================================================ */
.pullquote {
  grid-column: 1 / 7;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.32;
  text-wrap: balance;
  position: relative;
  padding-top: 3rem;
  border: none;
  margin: 0;
}
.pullquote::before {
  content: "";
  position: absolute;
  top: 0; left: 2px;
  width: 1px; height: 2.2rem;
  background: var(--accent);
}
.pullquote p { margin: 0; font-size: inherit; line-height: inherit; }
.pullquote cite, .quote-attr {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.approach-text { grid-column: 8 / 13; }
.approach-text p { color: var(--muted); font-weight: 400; font-size: 1rem; text-wrap: pretty; margin: 0; }
.approach-text p + p { margin-top: 1.2rem; }
.approach-text p strong, .entry-text p strong, .about-text p strong, .reach-body p strong, .car-desc strong { color: var(--text); font-weight: 500; }
.approach-photo { grid-column: 3 / 11; margin-top: clamp(2.5rem, 6vw, 4rem); }
.approach-photo img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 720px) {
  .pullquote, .approach-text, .approach-photo { grid-column: 1 / -1; }
  .approach-text { margin-top: 2rem; }
}

/* ============================================================
   WERKPLAATS — full-bleed fotoband + caption-bar + offset thumbs
   ============================================================ */
.band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.band .wp-block-image { margin: 0; }
.band img {
  width: 100%;
  height: clamp(320px, 62vh, 560px);
  object-fit: cover;
  display: block;
  filter: grayscale(18%) contrast(1.04);
  transition: filter 0.7s ease;
}
.band:hover img { filter: grayscale(0%) contrast(1.02); }
/* Panorama-variant: natuurlijke verhouding, geen cover-crop
   (bron is een breed panorama; cover zou zwaar opschalen en snijden) */
.band-pano img { height: auto; }
.caption-bar {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.caption-bar .caption-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0.9rem clamp(1.5rem, 5vw, 4rem);
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.caption-bar p { margin: 0; color: var(--muted); }
.work-thumbs { margin-top: clamp(2.5rem, 6vw, 4rem); }
/* Thumbs op één lijn (verspringing verwijderd op verzoek, 2026-07-16);
   vaste captionhoogte houdt ook de onderranden gelijk. */
.work-thumbs .grid12 > .photo-frame:nth-child(1) { grid-column: 1 / 5; }
.work-thumbs .grid12 > .photo-frame:nth-child(2) { grid-column: 5 / 9; }
.work-thumbs .grid12 > .photo-frame:nth-child(3) { grid-column: 9 / 13; }
.work-thumbs img { aspect-ratio: 4 / 4.4; object-fit: cover; }
.work-thumbs .photo-caption { min-height: 4.8em; align-items: flex-start; }
@media (max-width: 720px) {
  .work-thumbs .grid12 > .photo-frame:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  /* alleen row-gap: 11 kolom-gaps van 2rem zouden breder zijn dan de
     container zelf en 1px horizontale overflow geven */
  .work-thumbs .grid12 { row-gap: 2rem; }
}

/* ============================================================
   TE KOOP (home) — occasion-kaarten met oversized serif prijs
   Query Loop over post type "wagen".
   ============================================================ */
ul.occ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) { ul.occ-grid { grid-template-columns: 1fr; max-width: 500px; } }
ul.occ-grid > li { margin: 0; display: flex; }
.occ-card {
  border: 1px solid var(--hairline);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: border-color 0.5s ease, transform 0.5s ease;
}
.occ-card:hover { border-color: var(--frame); transform: translateY(-4px); }
.occ-card .wp-block-post-featured-image { margin: 0; }
.occ-card .wp-block-post-featured-image img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  filter: grayscale(18%) contrast(1.04);
  transition: filter 0.7s ease;
}
.occ-card:hover .wp-block-post-featured-image img { filter: grayscale(0%) contrast(1.02); }
.occ-body { padding: 1.6rem 1.6rem 0; flex: 1; }
.occ-body .micro { display: flex; align-items: center; margin: 0 0 0.9rem; }
.occ-body .wp-block-post-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
}
.occ-body .wp-block-post-title a { color: inherit; text-decoration: none; transition: color 0.45s ease; }
.occ-body .wp-block-post-title a:hover { color: var(--accent); }
.specs { margin-top: 1.1rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
}
.specs .spec-row:first-child { border-top: 1px solid var(--hairline); }
.spec-row p { margin: 0; }
.spec-row .spec-label { color: var(--muted); font-size: 0.84rem; font-weight: 400; }
.spec-row .spec-val { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.occ-price-row {
  padding: 1.4rem 1.6rem 1.7rem;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.occ-price-row p { margin: 0; }
.occ-price-row .price {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.occ-price-row .mono { color: var(--muted); }

/* ============================================================
   OVER — portret op het raster (foto kol 1–5, tekst kol 6–13);
   geen float meer: kop en tekst lopen nergens omheen.
   ============================================================ */
.about-photo { grid-column: 1 / 6; }
.about-photo img { aspect-ratio: 4 / 4.8; object-fit: cover; }
.about-text { grid-column: 6 / 13; }
.about-text h2 { margin: 0 0 1.4rem; }
.about-text p { color: var(--muted); font-weight: 400; font-size: 1.02rem; text-wrap: pretty; margin: 0 0 1.2rem; }
.about-text p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .about-photo, .about-text { grid-column: 1 / -1; }
  .about-photo { max-width: 420px; }
}

/* ============================================================
   CONTACT — datacellen, kaartpaneel, uren, bereikbaarheid
   ============================================================ */
.contact-cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
@media (max-width: 640px) { .contact-cells { grid-template-columns: 1fr; } }
.cell {
  padding: 1.9rem 1.8rem 2.1rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-right: -1px;
  margin-bottom: -1px;
  transition: background 0.5s ease;
}
.cell:hover { background: var(--surface); }
.cell p { margin: 0; }
.cell .mono { color: var(--muted); display: block; margin-bottom: 0.9rem; }
.cell .val {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}
.cell .val a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.45s ease;
}
.cell .val a:hover { color: var(--accent); }
.contact-cells-lg .cell { padding: 2.2rem 2rem 2.4rem; }
.contact-cells-lg .cell .mono { margin-bottom: 1.1rem; }
.contact-cells-lg .cell .val { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.cell-tel { grid-column: 1 / -1; padding: clamp(2.4rem, 5vw, 3.4rem) 2rem !important; text-align: center; }
.cell-tel .val { font-size: clamp(2.2rem, 6.5vw, 4.2rem) !important; line-height: 1.1; letter-spacing: -0.01em; }
.cell-tel .cell-note { margin-top: 1.2rem; color: var(--muted); font-weight: 400; font-size: 0.95rem; font-family: var(--font-sans); }
.cell-wide { grid-column: 1 / -1; }
.hours { margin-top: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
}
.hours .hours-row:first-child { border-top: 1px solid var(--hairline); }
.hours-row p { margin: 0; }
.hours-row .hours-day { font-family: var(--font-sans); font-weight: 400; font-size: 0.92rem; color: var(--muted); }
.hours-row .mono { color: var(--text); margin-bottom: 0; display: inline; }

/* locatiepaneel — rustig hairline-paneel met adres, uren en kaart-link */
.map-panel {
  margin-top: 2rem;
  background-color: var(--surface-2);
  border: 1px solid var(--hairline);
  transition: border-color 0.5s ease;
}
.map-panel:hover { border-color: var(--frame); }
.map-content {
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.map-content .micro { display: flex; align-items: center; margin: 0; }
.coords {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.35;
  margin: 0;
}
.map-meta { margin: 0; color: var(--muted); }
.map-cta { align-self: flex-start; }
/* home-variant: laag paneel, inhoud naast elkaar */
.map-panel-row .map-content {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.map-panel-row .coords { font-size: 1.35rem; }
.section-head-row {
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}

/* bereikbaarheid */
.reach { }
.reach-title { grid-column: 1 / 6; }
.reach-body { grid-column: 7 / 13; }
@media (max-width: 720px) {
  .reach-title, .reach-body { grid-column: 1 / -1; }
}
.reach-body p { color: var(--muted); font-weight: 400; font-size: 1.02rem; text-wrap: pretty; margin: 0; }
.reach-body p + p { margin-top: 1.2rem; }
ul.reach-facts {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
ul.reach-facts li {
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-weight: 400;
}
ul.reach-facts li:first-child { border-top: 1px solid var(--hairline); }

/* ============================================================
   QUOTE-BLOK — signatuur
   ============================================================ */
.quote-block { text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem; position: relative; }
.quote-block::before {
  content: "";
  position: absolute;
  top: clamp(2rem, 5vw, 3rem); left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 2.2rem;
  background: var(--accent);
}
.quote-block blockquote, .quote-block .wp-block-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.35;
  max-width: 26ch;
  margin: 2rem auto 1.8rem;
  text-wrap: balance;
  border: none;
  padding: 0;
}
.quote-block .wp-block-quote p { margin: 0; font-size: inherit; line-height: inherit; }
.quote-block .wp-block-quote cite { display: block; margin-top: 1.8rem; }
.quote-block .quote-attr { color: var(--muted); }

/* ============================================================
   DIENSTEN-PAGINA — toc, entries, speclists, stappen
   ============================================================ */
.intro { padding: clamp(2.5rem, 6vw, 4rem) 0; align-items: start; }
.intro-left { grid-column: 1 / 7; }
.intro-right { grid-column: 8 / 13; padding-top: 0.6rem; }
.intro-text { grid-column: 1 / 7; }
.intro-photo { grid-column: 8 / 13; margin-top: 1rem; }
@media (max-width: 720px) {
  .intro-left, .intro-right, .intro-text, .intro-photo { grid-column: 1 / -1; margin-top: 0; }
}
.toc-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
}
.toc .toc-row:first-child { border-top: 1px solid var(--hairline); }
.toc-row p { margin: 0; }
.toc-row .toc-link a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.45s ease;
}
.toc-row .toc-link a:hover { color: var(--accent); }
.stock-note {
  margin-top: 2rem;
  border: 1px solid var(--hairline);
  background: var(--surface);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  color: var(--muted);
}
p.stock-note, p.stock-note a { font-size: 0.8rem; }

.entry h2 { margin: 0 0 1.3rem; }
.entry-text p { color: var(--muted); font-weight: 400; font-size: 1.02rem; text-wrap: pretty; margin: 0; }
.entry-text p + p { margin-top: 1.1rem; }
.speclist .spec-head { display: block; margin-bottom: 1.1rem; }
ul.speclist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
ul.speclist-list li {
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
  transition: background 0.5s ease;
}
ul.speclist-list li:first-child { border-top: 1px solid var(--hairline); }
ul.speclist-list li:hover { background: var(--surface); }

.e-text-l { grid-column: 1 / 6; }
.e-spec-l { grid-column: 6 / 9; }
.e-photo-r { grid-column: 9 / 13; margin-top: 1.6rem; }
.e-photo-l { grid-column: 1 / 5; margin-top: 1.6rem; }
.e-spec-m { grid-column: 5 / 8; }
.e-text-r { grid-column: 8 / 13; }
.e-text-half { grid-column: 1 / 7; }
.e-spec-half { grid-column: 8 / 13; }
@media (max-width: 840px) {
  .e-text-l, .e-spec-l, .e-photo-r,
  .e-photo-l, .e-spec-m, .e-text-r,
  .e-text-half, .e-spec-half { grid-column: 1 / -1; margin-top: 0; }
  .e-photo-l { order: 3; }
  .e-spec-m { order: 2; }
  .e-text-r { order: 1; }
  .entry .grid12 { row-gap: 2.2rem; }
}
.e-photo-r img, .e-photo-l img { aspect-ratio: 4 / 4.6; object-fit: cover; }
.wide-photo img { aspect-ratio: 21 / 9 !important; object-fit: cover; }
.thumb-offset { margin-top: clamp(2.5rem, 6vw, 4rem); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 2rem 1.8rem 2.2rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-right: -1px;
  margin-bottom: -1px;
  transition: background 0.5s ease;
}
.step:hover { background: var(--surface); }
.step .step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin: 0 0 1.2rem;
  line-height: 1;
}
.step h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; margin: 0 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.9rem; font-weight: 400; text-wrap: pretty; margin: 0; }

/* ============================================================
   TE KOOP-PAGINA — occasion-features via Query Loop, afwisselend
   ============================================================ */
ul.features-list { list-style: none; margin: 0; padding: 0; }
ul.features-list > li { margin: 0; }
.feature-item { border-top: 1px solid var(--hairline); padding: clamp(3.2rem, 7vw, 5rem) 0; }
.f-photo { grid-column: 1 / 8; }
.f-info { grid-column: 8 / 13; }
ul.features-list > li:nth-child(even) .f-photo { grid-column: 6 / 13; order: 2; }
ul.features-list > li:nth-child(even) .f-info { grid-column: 1 / 6; order: 1; }
@media (max-width: 840px) {
  .f-photo, .f-info,
  ul.features-list > li:nth-child(even) .f-photo,
  ul.features-list > li:nth-child(even) .f-info { grid-column: 1 / -1; order: 0; }
  .feature-item .grid12, .single-wagen-grid.grid12 { row-gap: 2.2rem; }
}
.f-photo img { aspect-ratio: 16 / 11; object-fit: cover; }
.car-title.wp-block-post-title, .car-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.car-title a { color: inherit; text-decoration: none; }
.car-sub, .car-sub p { color: var(--muted); font-weight: 400; font-size: 0.95rem; margin: 0.4rem 0 0; }
.price, p.price {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 1.6rem 0 0.4rem;
  display: block;
  color: var(--text);
}
.price-note { color: var(--muted); display: block; margin: 0 0 1.6rem; text-transform: uppercase; }
.spec-table { margin: 0.4rem 0 1.8rem; }
.spec-table .spec-row { padding: 0.62rem 0.2rem; }
.spec-table .spec-row:first-child { border-top: 1px solid var(--hairline); }
.spec-table .spec-label { color: var(--muted); font-weight: 400; font-size: 0.86rem; }
.spec-table .spec-val { color: var(--text); text-align: right; }
.car-desc, .car-desc p { color: var(--muted); font-weight: 400; font-size: 0.98rem; text-wrap: pretty; margin: 0 0 1.8rem; }
.car-desc p + p { margin-top: 0.8rem; }
.feature-label p { margin: 0; }

/* ============================================================
   CTA-BAND — full-bleed
   ============================================================ */
.cta-band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-band .cta-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 22ch;
  margin: 0;
}
.cta-note { margin: 0.9rem 0 0; color: var(--muted); font-weight: 400; font-size: 0.95rem; }

/* ============================================================
   FOOTER — colophon
   ============================================================ */
.colophon { padding: clamp(4rem, 9vw, 6.5rem) 0 3rem; text-align: center; }
hr.colo-rules, .colo-rules {
  border: none;
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline);
  height: 5px;
  background: none !important;
  opacity: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}
.colo-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) 0;
  margin: 0;
}
.colo-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.colo-meta {
  border-top: 1px solid var(--hairline);
  padding: 0.85rem 0 0;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}
.colo-meta p { margin: 0; color: var(--muted); }
.colo-nav { justify-content: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 2.4rem; }
.colo-nav p { margin: 0; }
.colo-nav a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.45s ease;
}
.colo-nav a:hover { color: var(--accent); }
.colo-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 2.4rem 0 1.4rem;
}
/* laatste conversiekans: duidelijk leesbaar, geen microtekst */
p.colo-contact { color: var(--muted); margin: 0; font-size: 1rem; letter-spacing: 0.04em; }
p.colo-contact a { text-transform: uppercase; font-size: 1rem; }

/* ============================================================
   SINGLE WAGEN
   ============================================================ */
.single-wagen-grid { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3.2rem, 7vw, 5rem); }
.single-wagen-title { text-align: center; }
.wagen-back { margin-top: 2rem; }

/* ============================================================
   INDEX / ARCHIEF-FALLBACK
   ============================================================ */
ul.index-list { list-style: none; margin: 0; padding: clamp(2rem, 5vw, 3rem) 0; }
ul.index-list > li { border-bottom: 1px solid var(--hairline); padding: 1.6rem 0; }
ul.index-list .wp-block-post-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; margin: 0 0 0.5rem; }
ul.index-list .wp-block-post-title a { color: var(--text); text-decoration: none; transition: color 0.45s ease; }
ul.index-list .wp-block-post-title a:hover { color: var(--accent); }
ul.index-list .wp-block-post-excerpt { color: var(--muted); font-weight: 400; }

/* ============================================================
   HULPKLASSEN & GAP-OVERRIDES
   ============================================================ */
.btn-row-gap { margin-top: 2.4rem; }
.lede-top-gap { margin-top: 2.4rem; }
/* extra lucht vóór sectie 04: als padding, omdat WP's flow-regel
   (.wp-site-blocks > * + *) elke authored margin-top zou overschrijven */
.spread-top-gap { padding-top: calc(2 * clamp(3.2rem, 7vw, 5rem)); }
.card-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; margin: 0 0 0.4rem; }
.card-specs { color: var(--muted); font-size: 0.82rem; font-weight: 400; margin-bottom: 1.2rem; }

/* automatische nummering van occasion-features (Query Loop) */
ul.features-list { counter-reset: ccp-feature; }
ul.features-list > li { counter-increment: ccp-feature; }
ul.features-list .sec-num::after { content: " " counter(ccp-feature, decimal-leading-zero); }

/* vaste tussenruimtes voor flex-groepen (winnen van WP-layout gap) */
.brandbar { gap: 1.5rem !important; }
.brand-left { gap: 1.1rem !important; }
.ccp-nav { gap: 1.4rem !important; }
.ccp-nav .wp-block-navigation { gap: 1.4rem !important; }
.mast-meta { gap: 1rem !important; }
.photo-caption { gap: 1rem !important; }
.caption-bar .caption-inner { gap: 1rem !important; }
.colo-meta { gap: 1rem !important; }
.colo-nav { gap: 1.8rem !important; }
.btn-row, .wp-block-buttons.btn-row { gap: 1.4rem !important; }
.cta-band .cta-inner { gap: 2rem !important; }
.sec-label { gap: 1rem !important; }
.occ-price-row { gap: 1rem !important; }
.section-head-row { gap: 2rem !important; }

/* ============================================================
   TOEGANKELIJKHEID & EDITOR
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .sr {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Editor: geanimeerde inhoud altijd zichtbaar tijdens bewerken */
.editor-styles-wrapper .reveal,
.editor-styles-wrapper .sr,
.editor-styles-wrapper .sr.in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
.editor-styles-wrapper body::after, .editor-styles-wrapper::after { content: none; }
.editor-styles-wrapper .band,
.editor-styles-wrapper .cta-band { margin-left: 0; margin-right: 0; }
