/* Provisual theme — component styles, applied via "Additional CSS class(es)" on core blocks. */

/* Guard against horizontal scroll from any descendant of <main> (e.g. the
   hero glow blobs, which are deliberately allowed to bleed past their
   own boxed container out to the viewport edge via overflow:visible —
   clipping THAT element would box the hero in, which is the wrong fix).
   <main> is a sibling of <header>, not an ancestor, so this can't affect
   the header's position:sticky the way html/body overflow-x:hidden did. */
main{ overflow-x:hidden; }

/* theme.json's default h2 (2.5rem = 40px, no responsive scaling) is fine
   on desktop but too large on phones for headings that sit inside a
   padded card, like "Eén vast aanspreekpunt." — it wrapped to 4 tight
   lines that crowded the card edges. Only affects headings without their
   own inline font-size (the many section headings across the site that
   rely on the default, e.g. "Zo werkt het", "Veelgestelde vragen") —
   anything with an explicit inline size already overrides this. */
@media (max-width:600px){
  h1{ font-size:2.25rem; }
  h2{ font-size:1.75rem; }
}

/* No gap between the sticky header and whatever comes right after it
   (WP adds a default block-gap margin between top-level blocks). */
header.wp-block-template-part + *{ margin-block-start:0 !important; }

/* Safe side gutter so content never touches the screen edge, incl. mobile */
.wp-block-group.is-layout-constrained{
  padding-left:24px;
  padding-right:24px;
}

/* True edge-to-edge full-bleed, independent of WP's root-padding-aware
   alignment system (which needs theme.json wiring we don't have inside
   post-content). Applied via .alignfull, which we already add to these
   section wrappers — this just makes it actually reach the viewport edge. */
.wp-block-group.alignfull{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding-left:24px;
  padding-right:24px;
  box-sizing:border-box;
}

/* Never let a transformed (hidden-on-scroll) header break the mobile nav's
   fixed-position overlay — an ancestor transform creates a new containing
   block for position:fixed children, which would trap the overlay. */
header.wp-block-template-part:has(.is-menu-open){
  transform:none !important;
}

:root{
  --pv-blue:#0B84FF; --pv-blue-strong:#0A6FDB;
  --pv-green:#22C55E; --pv-green-strong:#159A48;
  --pv-ink:#101828; --pv-ink-soft:#3E4757; --pv-muted:#6B7385;
  --pv-bg:#F5F8FF; --pv-surface:#FFFFFF; --pv-surface-2:#EEF3FC; --pv-border:#DCE4F2;
  --pv-gold:#F5A524;
  --pv-gradient:linear-gradient(135deg, var(--pv-blue), var(--pv-green));
  --pv-shadow:0 1px 2px rgba(16,24,40,.05), 0 14px 34px -14px rgba(16,24,40,.22);
}

/* Eyebrow label */
.pv-eyebrow{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--pv-muted);}

/* Gradient text */
.pv-gradient-text{background:var(--pv-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;}

/* Buttons: primary gets the gradient, ghost stays outlined */
.wp-block-button.pv-btn-primary .wp-block-button__link{background:var(--pv-gradient) !important;color:#fff !important;border:none;box-shadow:0 8px 20px -8px rgba(11,132,255,.45);}
.wp-block-button.pv-btn-ghost .wp-block-button__link{background:transparent !important;color:var(--pv-ink) !important;border:1px solid var(--pv-border) !important;}
.wp-block-button.pv-btn-ghost .wp-block-button__link:hover{border-color:var(--pv-blue) !important;color:var(--pv-blue-strong) !important;}

/* Cards */
/* box-sizing:border-box is required here: as a flex item inside
   .pv-flex-columns, this element's width is set by the flex algorithm as
   a content-box size; without border-box, its own padding/border (e.g.
   26px + 1px per side) then gets added ON TOP of that, overflowing the
   column by exactly padding+border — that's what pushed the hero
   "hostingcapaciteit" stat card 6px past the edge on mobile. */
.pv-card{background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:14px;box-shadow:var(--pv-shadow);transition:transform .18s ease, box-shadow .18s ease;display:flex;flex-direction:column;position:relative;box-sizing:border-box;}
.pv-card:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(16,24,40,.06), 0 20px 40px -16px rgba(16,24,40,.28);}
.pv-card-flat{background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:14px;}
.pv-card-link{margin-top:auto !important;padding-top:10px;}
.pv-review-name{margin-top:auto !important;padding-top:12px;display:block;}
/* Stretched-link: makes the whole card clickable via the "Meer over..." link,
   without adding a second, competing link element. */
.pv-card-link a::after{content:"";position:absolute;inset:0;z-index:1;}

/* Links & buttons: hover states */
.wp-block-button__link{transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;}
.wp-block-button__link:hover{transform:translateY(-1px);}
.pv-btn-primary .wp-block-button__link:hover{box-shadow:0 10px 26px -8px rgba(11,132,255,.55) !important;}
/* Inline content links — a thin, offset underline instead of the browser-
   default thick one glued to the text, so links read as a deliberate,
   modern accent rather than the classic "blue and underlined" look. The
   underline solidifies to full color on hover. */
main a:not(.wp-element-button):not(.pv-eyebrow):not(.pv-tag):not(.pv-mega-item):not(.pv-mega-highlight-cta):not(.pv-case-title a),
.entry-content a:not(.wp-element-button){
  color:var(--pv-blue-strong);
  text-decoration-line:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
  text-decoration-color:color-mix(in srgb, var(--pv-blue-strong) 35%, transparent);
  transition:color .15s ease, text-decoration-color .15s ease;
}
main a:not(.wp-element-button):hover,
.entry-content a:not(.wp-element-button):hover{
  color:var(--pv-blue);
  text-decoration-color:var(--pv-blue);
}

/* Status console (hero widget) — gentle floating/bobbing motion */
.pv-console{background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:16px;box-shadow:var(--pv-shadow);overflow:hidden;}
@media (prefers-reduced-motion:no-preference){
  .pv-console,
  .pv-float{animation:pv-float 6s ease-in-out infinite;}
}
@keyframes pv-float{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}
.pv-console-bar,
.pv-browser-mock .pv-browser-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--pv-border);font-family:var(--wp--preset--font-family--mono);font-size:.72rem;color:var(--pv-muted);}

/* Real-site screenshot mockup on case detail pages — same browser-chrome
   look as the hero status console, without the floating animation. */
.pv-browser-mock{background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:16px;box-shadow:var(--pv-shadow);overflow:hidden;margin:20px 0 28px;}
.pv-browser-mock .pv-browser-dots{display:flex;gap:6px;margin-right:6px;}
.pv-browser-mock .pv-browser-dots i{width:9px;height:9px;border-radius:50%;background:var(--pv-border);display:block;}
.pv-browser-mock img{width:100%;height:auto;display:block;}
.pv-console .pv-stat{background:var(--pv-surface-2);border:1px solid var(--pv-border);border-radius:10px;padding:12px 14px;}
.pv-console .pv-stat .pv-stat-n{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:1.4rem;background:var(--pv-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;}
.pv-console .pv-stat .pv-stat-l{font-size:.72rem;color:var(--pv-muted);}
.pv-console-log{font-family:var(--wp--preset--font-family--mono);font-size:.76rem;color:var(--pv-ink-soft);}
.pv-console-log .pv-ok{color:var(--pv-green-strong);}

/* Trust / gradient stat strip */
.pv-trust{background:var(--pv-gradient);color:#fff;}
/* Full-width bordered/coloured bands should butt up against each other —
   no default WP inter-block gap between consecutive alignfull sections. */
main .wp-block-group.alignfull{ margin-block-start:0 !important; margin-block-end:0 !important; }
.pv-trust .pv-stat-n{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:1.6rem;color:#fff;}
.pv-trust .pv-stat-l{font-size:.8rem;color:rgba(255,255,255,.85);}
.pv-trust-row{display:flex;flex-wrap:wrap;gap:20px;}
.pv-trust-stat{flex:1 1 200px;min-width:150px;}

/* "Eén vast aanspreekpunt" mini stat cards */
.pv-about-stats-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;}
.pv-about-stat{flex:1;min-width:120px;padding:14px 16px;}

/* Google reviews summary badge + review cards */
.pv-review-summary{display:flex;align-items:center;gap:10px;}
.pv-review-score{font-family:-apple-system,'SF Pro Display','Segoe UI',Arial,sans-serif;font-weight:700;font-size:1.6rem;margin:0;}
.pv-review-stars{color:#F5A524;letter-spacing:1px;margin:0;}
.pv-review-source{font-family:ui-monospace,monospace;font-size:.68rem;color:#6B7385;text-transform:uppercase;letter-spacing:.06em;margin:0;}
.pv-review-stars-card{color:#F5A524;letter-spacing:1px;margin:0;}
.pv-review-quote{color:#3E4757;font-size:.94rem;font-style:italic;margin:12px 0;}

/* Service icon tiles */
.pv-icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;}
.pv-icon.i-blue{background:#DCEBFF;} .pv-icon.i-blue svg{stroke:var(--pv-blue-strong);}
.pv-icon.i-green{background:#DDF7E6;} .pv-icon.i-green svg{stroke:var(--pv-green-strong);}
.pv-icon.i-mix{background:linear-gradient(135deg,#DCEBFF,#DDF7E6);} .pv-icon.i-mix svg{stroke:var(--pv-blue-strong);}

/* Case / portfolio thumbnails — WP's Query Loop renders each card inside
   its own <li>, which is the real CSS grid item and stretches correctly;
   our .pv-card is only that <li>'s child, so it doesn't inherit that
   stretched height on its own and needs to be told to fill it explicitly. */
.wp-block-post-template.is-layout-grid > li,
.pv-case-grid > li{ display:flex; }
.pv-case-tile{ height:100%; }
.pv-case-screen{border-radius:10px 10px 0 0;height:132px;position:relative;overflow:hidden;background:linear-gradient(135deg,var(--pv-blue),var(--pv-green));}
.pv-case-screen .wire{position:absolute;background:rgba(255,255,255,.55);border-radius:3px;}
.pv-case-screen img{width:100%;height:100%;object-fit:cover;}
.pv-case-tile:nth-of-type(4n+2) .pv-case-screen{background:linear-gradient(150deg,var(--pv-green),var(--pv-blue));}
.pv-case-tile:nth-of-type(4n+3) .pv-case-screen{background:linear-gradient(160deg,var(--pv-blue),#6EE7B7);}
.pv-case-tile:nth-of-type(4n+4) .pv-case-screen{background:linear-gradient(160deg,var(--pv-green-strong),var(--pv-blue));}
.pv-case-title{margin:0 0 4px !important;}
.pv-case-title a{color:var(--pv-ink);text-decoration:none;}
.pv-case-title a::after{content:"";position:absolute;inset:0;}

/* "Bekijk andere cases" grid at the bottom of a case detail page —
   [pv_other_cases], reuses the same .pv-case-tile look as the homepage grid */
.pv-case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0 0 28px;}
@media (max-width:700px){ .pv-case-grid{grid-template-columns:1fr;} }
.pv-blog-grid-items{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media (max-width:900px){ .pv-blog-grid-items{grid-template-columns:1fr;} }

/* Badge */
.pv-badge{display:inline-flex;align-items:center;gap:6px;font-family:var(--wp--preset--font-family--mono);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;background:#DDF7E6;color:var(--pv-green-strong);padding:5px 10px;border-radius:999px;}
.pv-dot-live{width:8px;height:8px;border-radius:50%;background:var(--pv-green);display:inline-block;}
@media (prefers-reduced-motion:no-preference){ .pv-dot-live{animation:pv-pulse 2.2s ease-in-out infinite;} }
@keyframes pv-pulse{0%,100%{opacity:1;}50%{opacity:.35;}}

/* Avatar stack */
.pv-avatars{display:flex;}
.pv-avatars span{width:32px;height:32px;border-radius:50%;background:var(--pv-gradient);border:2px solid var(--pv-bg);margin-left:-10px;display:flex;align-items:center;justify-content:center;font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:.7rem;color:#fff;}
.pv-avatars span:first-child{margin-left:0;}

/* CTA band */
.pv-cta-band{background:var(--pv-gradient);color:#fff;border-radius:20px;padding:48px 40px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;}
/* Center-justified flex row of buttons (hand-authored, was WP's layout:flex) */
.pv-buttons-center{display:flex;flex-wrap:wrap;justify-content:center;gap:1em;}
.pv-cta-band h1,
.pv-cta-band h2,
.pv-cta-band h3,
.pv-cta-band h4{color:#fff !important;font-size:1.5rem;}
.pv-cta-band .wp-block-button__link{background:#fff !important;color:var(--pv-blue-strong) !important;}
/* Vertrouwenselementen onderaan elke CTA-band (zie pv_trust_badges_html()
   in functions.php) — flex-basis:100% zodat ze altijd een eigen regel
   krijgen i.p.v. naast de knop te vechten om ruimte. */
.pv-trust-badges{display:flex;flex-wrap:wrap;gap:8px 18px;flex-basis:100%;margin-top:2px;}
.pv-trust-badges span{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:rgba(255,255,255,.88);white-space:nowrap;}
.pv-trust-badges span::before{content:"✓";font-weight:700;color:#fff;}
/* WP adds margin-top to each block as flow spacing between stacked blocks
   (via block-gap) — its own is-layout-flex class silently cancels that on
   direct children since flex uses `gap` for spacing instead, but our
   hand-authored replacement classes didn't replicate that side effect,
   which was throwing off vertical centering (a lopsided margin shifts a
   flex item's centered position). Reset it explicitly wherever we use one
   of these classes in place of WP's own layout:flex. */
.pv-cta-band > *,
.pv-header-row > *,
.pv-buttons-center > *,
.pv-trust-row > *,
.pv-trust-stat > *,
.pv-about-stats-row > *,
.pv-about-stat > *,
.pv-review-summary > *,
.pv-flex > *{ margin-top:0 !important; }

/* Portrait / over ons — a real, replaceable wp:image (click it in the
   editor to swap the photo) inside a fixed-size gradient-bordered frame. */
.pv-portrait{width:200px;height:200px;flex:0 0 200px;border-radius:20px;background:var(--pv-gradient);padding:4px;box-shadow:var(--pv-shadow);overflow:hidden;}
/* The column wrapping the (fixed 200px) portrait was taking the same 50%
   flex-basis as the text column next to it (.pv-flex-columns' default),
   leaving a big empty gap between photo and text. Let it size to its
   content instead, so text sits right up against the photo. */
.wp-block-column:has(> .pv-portrait){flex:0 0 auto;}
.pv-portrait-inner{width:100%;height:100%;border-radius:17px;background:var(--pv-surface);display:flex;align-items:center;justify-content:center;}
.pv-portrait .wp-block-image{margin:0;height:100%;}
.pv-portrait .wp-block-image img{width:100%;height:100%;object-fit:cover;border-radius:17px;display:block;}
.pv-portrait-row{display:flex;flex-direction:row;flex-wrap:wrap;gap:32px;align-items:center;margin:8px 0 32px;padding:32px;}
.pv-portrait-text{flex:1;min-width:280px;}
.pv-portrait-text h2{margin:0 0 14px;}
.pv-portrait-text p{margin:0;}

/* Post / page hero (single.html, page.html) */
.pv-post-hero{background:var(--pv-surface-2);border-bottom:1px solid var(--pv-border);}
.pv-post-meta{font-family:var(--wp--preset--font-family--mono);font-size:.78rem;color:var(--pv-muted);text-transform:uppercase;letter-spacing:.05em;}
.pv-post-hero .wp-block-post-featured-image{border-radius:16px;overflow:hidden;box-shadow:var(--pv-shadow);}

/* Sticky header. WordPress auto-wraps the "header" template part in its own
   <header class="wp-block-template-part"> that is exactly as tall as our
   header — leaving position:sticky on the inner header zero room to stick
   within that tight-fitting parent. Fix: make the OUTER auto-wrapper the
   sticky element (it sits among the page's other sections, so it has the
   whole page height to work with); the inner header just rides along. */
header.wp-block-template-part{
  position:sticky !important;
  top:0 !important;
  z-index:100 !important;
  transition:transform .25s ease;
}
/* NOTE: backdrop-filter deliberately NOT used here — it creates a new
   containing block for position:fixed descendants (like the mobile nav's
   fullscreen overlay), which trapped that overlay inside the header's own
   small box instead of covering the viewport. Using a translucent
   background instead gets a similar "frosted" feel without that bug. */
header.wp-block-group{
  background-color:rgba(245,248,255,.92);
}
header.wp-block-template-part.pv-header-hidden{ transform:translateY(-100%); }
@media (prefers-reduced-motion:reduce){ header.wp-block-group{ transition:none; } }

/* "Mijn Provisual" inside the nav block: only meant for the mobile
   overlay (desktop already has it next to "Gratis kennismaking" via
   .pv-header-cta) — hide it in the plain horizontal desktop nav row. */
.pv-nav-buttons{ display:flex; align-items:center; }
@media (min-width:861px){
  .wp-block-navigation > .wp-block-navigation__container > .pv-nav-buttons,
  .wp-block-navigation .pv-nav-buttons{ display:none !important; }
}
@media (max-width:860px){
  .pv-nav-buttons{ margin-top:16px; padding:0 12px; }
}

/* Header outer row: logo, CTA buttons, nav — was WP's own layout:flex,
   hand-authored here so it needs its own explicit flex rule instead (see
   the block-mismatch note near .pv-flex-columns further down). No
   justify-content here on desktop: logo stays left, nav+buttons are
   pushed to the right edge as one group via margin-left:auto below —
   space-between here would spread all three across the full row instead. */
.pv-header-row{ display:flex; align-items:center; flex-wrap:nowrap; gap:32px; }

/* Header layout order: same 3 DOM items (logo, Gratis-kennismaking-button,
   nav-with-hamburger), reordered per breakpoint via flex `order` —
   Desktop: logo, nav-links (ending in "Mijn Provisual"), then Gratis
   kennismaking right after it, so the two buttons sit adjacent.
   Mobile: logo, Gratis kennismaking in the middle, hamburger on the right. */
.pv-header-cta{ order:3; display:flex; align-items:center; gap:.75em; }
.wp-block-navigation{ order:2; margin-left:auto; }
@media (max-width:860px){
  /* Tight gap: logo + CTA button + hamburger have to fit in one row on
     narrow phones (as little as ~327px available) — the 32px desktop gap
     pushed the hamburger past the right edge of the viewport. */
  .pv-header-row{ justify-content:space-between; gap:8px; }
  .pv-header-cta{ order:2; flex:1; display:flex; justify-content:center; margin-left:0; min-width:0; }
  .wp-block-navigation{ order:3; margin-left:0; flex-shrink:0; }
  /* Only the primary CTA stays visible on mobile; "Mijn Provisual" login
     link isn't essential there and there's no room for both. */
  .pv-header-cta .pv-btn-ghost{ display:none !important; }
  .pv-header-cta .pv-btn-primary .wp-block-button__link{
    white-space:nowrap;
    font-size:.78rem !important;
    padding:7px 12px !important;
  }
}
@media (max-width:360px){
  .pv-header-row{ gap:4px; }
  .pv-header-cta .pv-btn-primary .wp-block-button__link{
    font-size:.72rem !important;
    padding:6px 10px !important;
  }
}

/* Header CTA buttons — full artifact size (13px/22px, .95rem) */
header .wp-block-button .wp-block-button__link{font-size:.95rem !important;padding:13px 22px !important;}

/* Header nav LINKS (Diensten, Over ons, Cases, ...) — compact */
.wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-submenu__toggle{font-size:.85rem !important;}

/* Zoek-item in het hoofdmenu: subtiel icoon-only, dropdown eronder met
   live resultaten (zie pv_render_search_nav_item() in functions.php en
   de fetch-logica in header.js). position:relative op het li-item zelf
   zodat het paneel er direct onder verschijnt, niet t.o.v. een verdere
   ancestor (zelfde soort bug als eerder bij de stretched-link kaarten). */
.pv-search-item{position:relative;display:flex;align-items:center;margin-left:4px;}
.pv-search-trigger{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:none;background:transparent;color:inherit;cursor:pointer;transition:background-color .15s ease,color .15s ease;}
.pv-search-trigger:hover{background:var(--pv-surface-2);color:var(--pv-blue-strong);}
.pv-search-item.pv-search-open .pv-search-trigger{background:var(--pv-surface-2);color:var(--pv-blue-strong);}
.pv-search-panel{display:none;position:absolute;top:calc(100% + 10px);right:0;width:340px;max-width:min(340px,88vw);background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:14px;box-shadow:var(--pv-shadow);padding:12px;z-index:50;}
.pv-search-item.pv-search-open .pv-search-panel{display:block;}
.pv-search-input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--pv-border);border-radius:10px;font-size:.9rem;font-family:inherit;}
.pv-search-input:focus{outline:none;border-color:var(--pv-blue);}
.pv-search-results{margin-top:8px;max-height:340px;overflow-y:auto;}
.pv-search-results:empty{margin-top:0;}
.pv-search-result{display:flex;align-items:baseline;gap:8px;padding:9px 8px;border-radius:8px;text-decoration:none !important;color:var(--pv-ink) !important;}
.pv-search-result:hover{background:var(--pv-surface-2);}
.pv-search-result .pv-search-result-title{font-size:.88rem;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.pv-search-result .pv-search-result-type{flex:0 0 auto;font-family:var(--wp--preset--font-family--mono);font-size:.68rem;letter-spacing:.04em;text-transform:uppercase;color:#6B7385;}
.pv-search-status{padding:9px 8px;font-size:.85rem;color:#6B7385;}
@media (max-width:860px){
  .pv-search-item{margin-left:0;order:1;}
  .pv-search-panel{position:static;width:100%;max-width:none;margin-top:10px;box-shadow:none;}
}

/* WhatsApp floating button. Hidden (via header.js toggling .pv-hide-fab)
   until the visitor scrolls a bit, since fixed bottom-right collides with
   the hero's CTA/social-proof row in the first mobile viewport. Visible
   by default here so a JS failure never hides it permanently. */
.pv-whatsapp{position:fixed;right:20px;bottom:20px;z-index:80;transition:opacity .2s ease, transform .2s ease;}
.pv-whatsapp.pv-hide-fab{opacity:0;transform:translateY(8px);pointer-events:none;}
.pv-whatsapp .wp-block-buttons{margin:0;}
.wp-block-button.pv-whatsapp-btn .wp-block-button__link{
  background:#25D366 !important;
  color:#fff !important;
  border:none;
  border-radius:999px !important;
  padding:12px 20px 12px 44px !important;
  font-size:.92rem !important;
  box-shadow:0 4px 14px rgba(37,211,102,.4);
  position:relative;
}
.wp-block-button.pv-whatsapp-btn .wp-block-button__link::before{
  content:"";
  position:absolute;
  left:16px; top:50%;
  width:18px; height:18px;
  transform:translateY(-50%);
  background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5L2 22l5.2-1.3c1.4.8 3.1 1.3 4.8 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2zm5.9 14.2c-.2.6-1.4 1.2-1.9 1.3-.5.1-1.1.1-1.8-.1-.4-.1-1-.3-1.6-.6-2.9-1.3-4.8-4.2-4.9-4.4-.1-.2-1.2-1.6-1.2-3 0-1.4.7-2.1 1-2.4.3-.3.6-.4.8-.4h.6c.2 0 .4 0 .6.5.2.5.7 1.8.8 1.9.1.1.1.3 0 .5-.1.2-.1.3-.3.5-.1.2-.3.3-.4.5-.1.1-.3.3-.1.6.2.3.9 1.5 1.9 2.4 1.3 1.2 2.4 1.5 2.7 1.7.3.2.5.1.6-.1.2-.2.7-.8.9-1.1.2-.3.4-.2.6-.1.2.1 1.5.7 1.7.8.2.1.4.2.5.3.1.2.1.9-.1 1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5L2 22l5.2-1.3c1.4.8 3.1 1.3 4.8 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2zm5.9 14.2c-.2.6-1.4 1.2-1.9 1.3-.5.1-1.1.1-1.8-.1-.4-.1-1-.3-1.6-.6-2.9-1.3-4.8-4.2-4.9-4.4-.1-.2-1.2-1.6-1.2-3 0-1.4.7-2.1 1-2.4.3-.3.6-.4.8-.4h.6c.2 0 .4 0 .6.5.2.5.7 1.8.8 1.9.1.1.1.3 0 .5-.1.2-.1.3-.3.5-.1.2-.3.3-.4.5-.1.1-.3.3-.1.6.2.3.9 1.5 1.9 2.4 1.3 1.2 2.4 1.5 2.7 1.7.3.2.5.1.6-.1.2-.2.7-.8.9-1.1.2-.3.4-.2.6-.1.2.1 1.5.7 1.7.8.2.1.4.2.5.3.1.2.1.9-.1 1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wp-block-button.pv-whatsapp-btn .wp-block-button__link:hover{
  background:#20BD5A !important;
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(37,211,102,.5);
}
@media (max-width:600px){ .pv-whatsapp{right:14px;bottom:14px;} }

/* Mobile menu toggle — the real open AND real close buttons (both genuine,
   independently clickable WP elements — header.js relocates them into one
   shared slot) crossfade in place. We no longer forward a synthetic click()
   from open to close: Safari does not reliably deliver that to WP's
   Interactivity-API-bound close button, which left the mobile menu stuck
   open. Both real buttons being tappable fixes that regardless of browser. */
.pv-toggle-wrap{
  position:relative;
  display:none;
  width:32px; height:32px;
}
@media (max-width:860px){
  .pv-toggle-wrap{ display:inline-flex; }
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open,
.pv-toggle-wrap .wp-block-navigation__responsive-container-close{
  position:absolute !important;
  inset:0;
  width:32px; height:32px;
  border-radius:8px;
  display:flex !important;
  align-items:center;
  justify-content:center;
  transition:opacity .22s cubic-bezier(.34,1.56,.64,1), transform .22s cubic-bezier(.34,1.56,.64,1), background .15s ease;
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open:hover,
.pv-toggle-wrap .wp-block-navigation__responsive-container-close:hover{
  /* background-color, not the `background` shorthand — the open button's
     middle bar is drawn via background-image (see below), and the
     shorthand resets background-image/-size/-position to none, which was
     making that middle bar vanish on hover. */
  background-color:var(--pv-surface-2);
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open:active,
.pv-toggle-wrap .wp-block-navigation__responsive-container-close:active{
  transform:scale(.92);
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open svg{ display:none !important; }

.pv-toggle-wrap .wp-block-navigation__responsive-container-open::before,
.pv-toggle-wrap .wp-block-navigation__responsive-container-open::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:18px; height:2px;
  background:currentColor;
  border-radius:2px;
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open{
  background-image:linear-gradient(currentColor, currentColor);
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 2px;
}
.pv-toggle-wrap .wp-block-navigation__responsive-container-open::before{ transform:translate(-50%,-50%) translateY(-6px); }
.pv-toggle-wrap .wp-block-navigation__responsive-container-open::after{ transform:translate(-50%,-50%) translateY(6px); }

/* closed: open button visible, close button (real X) scaled/rotated away
   underneath — a spring-y morph rather than a flat crossfade */
.pv-toggle-wrap .wp-block-navigation__responsive-container-close{
  opacity:0;
  transform:rotate(-90deg) scale(.5);
  pointer-events:none;
}
/* open: the bars morph out (rotate+shrink) as the real X morphs in —
   driven by header.js toggling .pv-is-open on the wrap itself */
.pv-toggle-wrap.pv-is-open .wp-block-navigation__responsive-container-open{
  opacity:0;
  transform:rotate(90deg) scale(.5);
  pointer-events:none;
}
.pv-toggle-wrap.pv-is-open .wp-block-navigation__responsive-container-close{
  opacity:1;
  transform:rotate(0deg) scale(1);
  pointer-events:auto;
}

/* The overlay itself pops open instantly (it must stay position:fixed with
   no transform of its own — see the containing-block note below); instead
   its inner content gently fades + slides in, which is safe to animate.
   Mobile-only: on desktop this same content wrapper is the permanently
   visible inline nav, not an openable overlay — fading it by default there
   hid the whole desktop menu. */
@media (max-width:860px){
  .wp-block-navigation__responsive-container-content{
    opacity:0;
    transform:translateY(-10px);
    transition:opacity .22s ease, transform .22s ease;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
    opacity:1;
    transform:translateY(0);
  }
}

/* Mobile overlay — starts BELOW the header (not inset:0) so the logo and
   the menu toggle stay visible/in place while the menu is open, instead of
   being covered by the fullscreen panel. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{
  padding-left:24px !important;
  padding-right:24px !important;
  box-sizing:border-box;
}
.wp-block-navigation__responsive-container.is-menu-open{
  z-index:90 !important;
  position:fixed !important;
  top:var(--pv-header-h, 68px) !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:auto !important;
  opacity:1 !important;
  /* WP applies its own translateY() transform here for the opening
     animation — but transform creates a new containing block, which traps
     fixed-position descendants inside this element instead of the
     viewport. We don't need WP's animation, so drop it. */
  transform:none !important;
}
@media (prefers-reduced-motion:reduce){
  .wp-block-navigation__responsive-container-open::before,
  .wp-block-navigation__responsive-container-open::after{ transition:none; }
}

.pv-footer-stripe{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  height:12px !important;
}
footer .wp-block-html:has(.pv-footer-stripe),
.pv-footer-stripe{ margin-block-start:0 !important; margin-block-end:0 !important; }
/* Kill WP's default block-gap between the stripe and the dark section
   right after it (footer's own constrained layout adds ~24px otherwise). */
footer > .wp-block-html:has(.pv-footer-stripe) + *{ margin-block-start:0 !important; }
footer{ --wp--style--block-gap:0px; }

/* Footer links — subtle mouseover shift, colour brightens to white/green */
footer ul li{overflow:visible;}
footer a{
  transition:color .18s ease, transform .18s ease;
  display:inline-block;
}
footer a:hover{
  color:#fff !important;
  transform:translateX(4px);
}

/* Footer live-status line — needs to read clearly on the dark footer bg */
.pv-footer-status{display:inline-flex !important;align-items:center;gap:7px;margin-top:16px;font-size:.82rem;color:#D5D9E0 !important;}

/* "Diensten" mega menu — desktop only (.pv-mega-trigger, rendered by the
   [pv_diensten_menu] shortcode from a real wp-admin menu, see functions.php).
   Mobile keeps the plain native "Diensten" submenu block below, so it's
   hidden here to avoid showing both. */
.pv-mega-trigger{ display:none; }
@media (min-width:861px){
  li.wp-block-navigation-item.pv-mega{ display:none !important; }
  .pv-mega-trigger{ display:inline-flex; align-items:center; position:relative; }
}
.pv-mega-btn{
  display:flex; align-items:center; gap:5px;
  background:none; border:none; cursor:pointer;
  font-family:var(--wp--preset--font-family--display);
  font-weight:600; font-size:.85rem; line-height:1.4;
  color:var(--pv-ink-soft); padding:0;
}
.pv-mega-btn:hover{ color:var(--pv-blue-strong); }
.pv-mega-btn svg{ width:11px; height:11px; stroke:currentColor; transition:transform .15s ease; }
.pv-mega-trigger.open .pv-mega-btn svg{ transform:rotate(180deg); }

.pv-mega-panel{
  position:absolute; top:calc(100% + 16px); left:50%;
  transform:translateX(-50%) translateY(6px);
  width:600px;
  /* Plain flex row of two INDEPENDENT columns — not a shared CSS grid.
     A grid would force the service list and the CTA box to share row
     tracks, so the CTA box's own height would stretch/inflate the list's
     rows (and vice versa). Two separate flex columns each size to only
     their own content. */
  display:flex; align-items:flex-start; gap:20px;
  background:var(--pv-surface);
  border:1px solid var(--pv-border);
  border-radius:16px;
  box-shadow:var(--pv-shadow);
  padding:18px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .16s ease, transform .16s ease;
  z-index:60;
}
/* Invisible bridge over the visual gap between the button and the panel —
   without it, the cursor briefly leaves .pv-mega-trigger while crossing that
   gap, :hover is lost mid-transit, and the panel closes before you can
   reach it. This extends the panel's own hoverable area up to the button,
   with no visual change. */
.pv-mega-panel::before{
  content:"";
  position:absolute;
  top:-16px; left:0; right:0; height:16px;
}
.pv-mega-trigger.open .pv-mega-panel,
.pv-mega-trigger:hover .pv-mega-panel,
.pv-mega-trigger:focus-within .pv-mega-panel{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.pv-mega-col{
  display:flex; flex-direction:column; gap:2px;
  flex:1 1 auto; min-width:0;
}
.pv-mega-col-highlight{
  flex:0 0 220px;
  gap:8px;
}
.pv-mega-item{
  display:flex; gap:12px; align-items:flex-start;
  padding:10px; border-radius:10px;
  text-decoration:none; color:var(--pv-ink);
}
.pv-mega-item:hover{ background:var(--pv-surface-2); }
.pv-mega-item-text strong{
  font-family:var(--wp--preset--font-family--display);
  font-size:.9rem; font-weight:700; display:block;
}
.pv-mega-item-text small{
  display:block; color:var(--pv-muted); font-size:.76rem; font-weight:400; margin-top:2px;
}
.pv-mega-item .pv-mega-icon{
  width:34px; height:34px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  flex:0 0 auto; font-size:1rem;
  background:var(--pv-surface-2);
}
.pv-mega-highlight{
  background:var(--pv-surface-2);
  border-radius:12px; padding:18px;
  display:flex; flex-direction:column; gap:8px;
}
.pv-mega-highlight .pv-mega-icon{
  width:32px; height:32px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  background:var(--pv-surface); font-size:.95rem; margin-bottom:2px;
}
.pv-mega-highlight strong{ font-family:var(--wp--preset--font-family--display); font-size:.92rem; }
.pv-mega-highlight-desc{ display:block; font-size:.8rem; color:var(--pv-ink-soft); margin:0; line-height:1.5; }
.pv-mega-highlight-cta{
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:4px;
  background:var(--pv-gradient); color:#fff !important;
  font-weight:700; font-size:.85rem;
  padding:10px 14px; border-radius:10px;
  text-decoration:none;
}
.pv-mega-highlight-cta:hover{ filter:brightness(1.06); }

/* Navigation (header) */
.wp-block-navigation{font-family:var(--wp--preset--font-family--display);font-weight:600;}
.wp-block-navigation a{text-decoration:none;}
.wp-block-navigation .wp-block-navigation-item:hover > a{color:var(--pv-blue-strong) !important;}
.wp-block-navigation__submenu-container{border-radius:14px !important;border:1px solid var(--pv-border) !important;box-shadow:var(--pv-shadow) !important;padding:8px !important;}
.wp-block-navigation__submenu-container .wp-block-navigation-item > a{border-radius:8px;padding:8px 10px !important;}
.wp-block-navigation__submenu-container .wp-block-navigation-item > a:hover{background:var(--pv-surface-2);}
/* Inside the mobile overlay, the submenu should expand inline (push
   content down) instead of floating as an absolute dropdown — it isn't a
   hover menu there, it's a plain expanding list. */
@media (max-width:860px){
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container{
    position:static !important;
    box-shadow:none !important;
    border:none !important;
    margin:4px 0 4px 12px !important;
    width:auto !important;
  }
}

/* Marquee (klantenbalk) */
.pv-marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);}
.pv-marquee-track{display:flex;gap:56px;width:max-content;animation:pv-marquee 26s linear infinite;}
@media (prefers-reduced-motion:reduce){ .pv-marquee-track{animation:none;} }
.pv-marquee-track span{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:1.05rem;color:var(--pv-muted);opacity:.75;white-space:nowrap;}
@keyframes pv-marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* Blog listing cards */
.pv-postcard{background:var(--pv-surface);border:1px solid var(--pv-border);border-radius:14px;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease;display:flex;flex-direction:column;height:100%;position:relative;}
.pv-postcard:hover{transform:translateY(-3px);box-shadow:var(--pv-shadow);}
.pv-postcard .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover;}
.pv-postcard .wp-block-read-more{margin-top:auto;padding-top:10px;display:inline-block;font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:.85rem;color:var(--pv-blue-strong) !important;text-decoration:none !important;}
/* Hele tegel klikbaar i.p.v. alleen titel/"Lees meer" — ::after dekt de
   kaart af (inset:0 t.o.v. .pv-postcard, dankzij position:relative hierboven),
   zodat een klik overal op de tegel naar het artikel gaat. De titel-link
   draagt deze class; "Lees meer" en de thumbnail wijzen naar dezelfde URL
   en krijgen elk hun eigen z-index:2 zodat ze zelf ook los aanklikbaar
   blijven (geen los gedrag, wel eigen hover-cursor op die tekst/knop). */
.pv-postcard .pv-postcard-stretch::after{content:"";position:absolute;inset:0;z-index:1;}

/* Blog categoriefilter — echte, in wp-admin beheerde categorieën
   (Berichten → Categorieën), geen code nodig om een knop toe te voegen. */
.pv-cat-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;}
.pv-cat-pill{display:inline-flex;align-items:center;font-family:var(--wp--preset--font-family--display);font-weight:600;font-size:.85rem;color:var(--pv-ink-soft) !important;background:var(--pv-surface);border:1px solid var(--pv-border);padding:8px 16px;border-radius:999px;text-decoration:none !important;transition:background .15s ease, color .15s ease, border-color .15s ease;}
.pv-cat-pill:hover{border-color:var(--pv-blue);color:var(--pv-blue-strong) !important;}
.pv-cat-pill.is-active{background:var(--pv-gradient);border-color:transparent;color:#fff !important;}

/* Scroll-in reveal — headings, paragraphs, images and cards fade/slide up as
   they enter view (header.js observes them and adds .pv-in once). Anything
   with its own animation (.pv-float) or already inside a card is skipped
   there, so this stays a plain, one-shot transition with no conflicts. */
.pv-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s cubic-bezier(.25,.8,.25,1), transform .6s cubic-bezier(.25,.8,.25,1);
}
.pv-reveal.pv-in{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion:reduce){
  .pv-reveal{ opacity:1; transform:none; transition:none; }
}

/* Case detail pages — service tag pills + "aanpak" checklist */
.pv-tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;}
.pv-tag{display:inline-flex;align-items:center;font-family:var(--wp--preset--font-family--mono);font-size:.72rem;letter-spacing:.03em;background:var(--pv-surface-2);color:var(--pv-blue-strong) !important;border:1px solid var(--pv-border);padding:6px 12px;border-radius:999px;text-decoration:none !important;}
.pv-tag:hover{background:var(--pv-blue);color:#fff !important;border-color:var(--pv-blue);}

.pv-checklist{list-style:none;margin:0 0 28px;padding:0;display:grid;gap:10px;}
.pv-checklist li{display:flex;gap:10px;align-items:flex-start;font-size:.95rem;color:var(--pv-ink-soft);}
.pv-checklist li::before{
  content:"";flex:0 0 auto;width:20px;height:20px;border-radius:6px;margin-top:2px;
  background:var(--pv-gradient);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* Prijzenpagina — pakketkaarten, live gesynchroniseerd met Mijn Provisual
   (zie [pv_pricing_table] in functions.php). Hergebruikt .pv-card (kader/
   schaduw) en .pv-checklist (vinkjes) van elders op de site i.p.v. een
   eigen visuele taal te verzinnen. */
.pv-pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:stretch;}
@media (max-width:1100px){
  .pv-pricing-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .pv-pricing-grid{grid-template-columns:1fr;}
}
.pv-pricing-card{padding:28px 24px;}
.pv-pricing-popular{border-color:var(--pv-blue);box-shadow:0 1px 2px rgba(16,24,40,.06), 0 20px 40px -16px rgba(11,132,255,.35);}
.pv-pricing-badge{position:absolute;top:-13px;left:24px;box-shadow:0 4px 10px -2px rgba(21,154,72,.35);}
.pv-pricing-price{display:flex;align-items:baseline;gap:6px;margin-top:16px;}
.pv-pricing-amount{font-family:var(--wp--preset--font-family--display);font-weight:800;font-size:2rem;color:var(--pv-ink);}
.pv-pricing-freq{font-size:.85rem;color:#6B7385;}
.pv-pricing-tagline{margin-top:10px;font-size:.9rem;color:#6B7385;min-height:2.7em;}
.pv-pricing-features{margin-top:18px;margin-bottom:0;flex:1;}
.pv-pricing-features li{font-size:.85rem;}
.pv-pricing-cta{margin-top:20px !important;}
.pv-pricing-cta .wp-block-button__link{width:100%;text-align:center;justify-content:center;}

/* Plain-flex replacements for hand-authored wp:columns / flex-layout
   wp:group|wp:buttons blocks. WP only injects the per-block width/gap CSS
   (and the matching classes the editor expects on re-save) when a block is
   actually saved through the real editor — hand-authored files never get
   it, which both risks a real layout bug (columns collapsing to near-zero
   width) and triggers "Blok bevat onverwachte of ongeldige inhoud". These
   two self-contained utility classes replace WP's dynamic layout system
   with plain, predictable CSS wherever a block is hand-authored. */
.pv-flex-columns{display:flex;flex-wrap:wrap;gap:2em;}
.pv-flex-columns > .wp-block-column{flex:1;min-width:0;margin-top:0 !important;}
@media (max-width:781px){ .pv-flex-columns{flex-direction:column;} }

.pv-flex{display:flex;flex-wrap:wrap;align-items:center;gap:1em;}
