/* IndexPay · basis (tokens, knoppen, header, footer, hero, mockups). Bron: indexplan-redesign/shared.css */
/* IndexPlan redesign · gedeelde basis voor de drie richtingen */

:root {
  --ink: #12100e;
  --ink-2: #1b1612;
  --cocoa: #2a1d14;
  --ember: #6b3410;
  --cream: #f4efe7;
  --cream-dim: rgba(244, 239, 231, 0.68);
  --cream-faint: rgba(244, 239, 231, 0.14);
  --paper: #faf7f2;
  --sand: #efe8dd;
  --text: #1a1714;
  --text-2: #5b544c;
  --rule: rgba(26, 23, 20, 0.12);
  --orange: #f5871f;
  --orange-hot: #ff9a3d;
  --orange-deep: #c9650c;
  --orange-ink: #a3500a; /* oranje voor kleine tekst op licht, 5.4:1 op paper */
  --orange-wash: #fde9d4;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r-control: 999px;
  --r-sheet: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: clamp(1360px, 76vw / var(--schaal, 1), 2800px); /* inhoud groeit op brede schermen mee in de breedte */
  --schaal: 1; /* schaal van de hele pagina op desktop, zie onder dit blok */

  --font: "Manrope", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Schaal van de hele pagina op desktop. Tot 1440px is de schaal 1. Daarna loopt hij af naar 0,9 op 1920px (daar oogt
   het ontwerp op 100% te grof) en weer op naar 1 op 2560px en 1,2 op 3840px (hooguit 1,5), anders wordt alles op 4K
   te klein. tan(atan2(100vw, Npx)) maakt van de schermbreedte een kaal getal: breedte gedeeld door N.
   Schermmaten (vw, vh, svh) zoomen ook mee en worden daarom waar ze tellen door var(--schaal, 1) gedeeld.
   De editor van WordPress (iframe) doet niet mee. */
@supports (zoom: tan(atan2(100vw, 2560px))) {
  @media (min-width: 1441px) {
    :root:not(.block-editor-iframe__html) {
      --schaal: max(min(1, 1.3 - tan(atan2(100vw, 4800px))), min(0.6 + tan(atan2(100vw, 6400px)), 1.5));
      zoom: var(--schaal);
    }
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "tnum" 0;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; font-weight: 750; }
p { margin: 0; text-wrap: pretty; }
main { overflow-x: clip; } /* clip maakt geen scrollcontainer, sticky blijft werken */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.site-header, .site-footer { --max: 200vw; } /* altijd breder dan het scherm: logo en knop lopen tot aan de marge, niet tot de inhoudsbreedte */
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

html { scrollbar-color: var(--orange) var(--ink); }

/* Knoppen */
.btn {
  --bg: var(--orange); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-control); border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 16px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn i { font-size: 18px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--dark { --bg: var(--ink); --fg: var(--cream); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--orange-hot); }
  .btn:hover i.ph-arrow-right { transform: translateX(3px); }
  .btn--ghost:hover { --bg: var(--cream-faint); }
  .btn--dark:hover { --bg: #2b241e; }
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--cream);
  transition: background-color 300ms var(--ease-out), backdrop-filter 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.site-header.is-solid { background: rgba(18, 16, 14, 0.78); backdrop-filter: blur(14px) saturate(1.3); }
.site-header .bar { display: flex; align-items: center; gap: 32px; height: 76px; }
.site-header .logo img { height: 34px; width: auto; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.site-header nav a { text-decoration: none; opacity: 0.82; transition: opacity 160ms; }
.site-header nav a[aria-current] { opacity: 1; color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .site-header nav a:hover { opacity: 1; } }
.site-header .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.site-header .menu { display: none; background: none; border: 0; color: inherit; font-size: 26px; padding: 8px; }
@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .menu { display: block; margin-left: auto; }
  .site-header .bar { gap: 12px; }
}

.crumbs { display: flex; gap: 8px; font-size: 17px; font-weight: 600; color: var(--orange); }
.crumbs a { text-decoration: none; }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* Lees meer: volledige tekst staat in de bron, alleen visueel ingeklapt */
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange); margin-top: 10px; }
.more summary::-webkit-details-marker { display: none; }
.more summary i { transition: transform 200ms var(--ease-out); }
.more[open] summary i { transform: rotate(180deg); }
.more[open] summary .closed, .more:not([open]) summary .open { display: none; }
.more > p { margin-top: 12px; }

/* Contact */
.contact { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); }
.contact .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.contact figure { margin: 0; border-radius: var(--r-sheet); overflow: hidden; aspect-ratio: 4 / 3; }
.contact figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.contact h2 { font-size: clamp(36px, 4.4vw, 60px); }
.contact p { margin-top: 18px; color: var(--text-2); max-width: 46ch; font-size: 18px; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact .btn--ghost { color: var(--text); }
@media (max-width: 800px) { .contact .grid { grid-template-columns: 1fr; } }

/* Footer */
/* flow-root: marges van de inhoud blijven binnen de footer, zodat hij naadloos op het slotblok aansluit */
.site-footer { position: relative; display: flow-root; background: var(--ink); color: var(--cream-dim); font-size: 15px; }
.site-footer a { text-decoration: none; color: inherit; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--cream); } }
.site-footer a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.site-footer .base { background: var(--orange); color: var(--ink); font-weight: 600; font-size: 14px; padding: 14px 0; }
.site-footer .base a { color: var(--ink); }
/* Groot genoeg dat "PAY" onder INDEX leesbaar is */
.f-logo { display: inline-block; }
.f-logo img { height: clamp(48px, 4.6vw, 64px); width: auto; display: block; }
.f-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(40px, 6vw, 110px); padding: clamp(32px, 3.5vw, 56px) 0 clamp(32px, 3.5vw, 48px); }
.f-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; line-height: 1.6; }
.f-offices b { display: block; color: var(--cream); font-size: 15px; margin-bottom: 2px; }
.f-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.f-links h3 { color: var(--orange); font-size: 17px; font-weight: 750; letter-spacing: -0.005em; margin-bottom: 14px; }
.f-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* Links grijs zoals de adressen, wit bij aanwijzen */
/* Links wit en vet, met dezelfde hover als het hoofdmenu: van iets gedimd naar vol */
.f-links a { position: relative; isolation: isolate; display: inline-block; padding: 6px 12px; margin: -6px -12px; border-radius: var(--r-control);
  color: var(--cream); font-weight: 700; opacity: 0.82; transition: opacity 160ms; }
/* Bij hover zakt er een ronde knop achter de link, zoals bij de items in de uitklapmenu's van de header */
.f-links a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(244, 239, 231, 0.18);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(244, 239, 231, 0.06);
  opacity: 0; transform: scale(1.06); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.f-links a:focus-visible::before { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .f-links a:hover { opacity: 1; } .f-links a:hover::before { opacity: 1; transform: none; } .f-links a:active::before { transform: scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .f-links a { transition: none; } .f-links a::before { transform: none !important; transition: opacity 120ms ease; } }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.f-legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.f-legal-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* Desktop: logo gecentreerd boven de twee kantoren, het merkblok is zo breed als die adressen */
@media (min-width: 961px) { .f-brand { display: grid; justify-items: center; width: fit-content; } .f-offices { grid-template-columns: auto auto; gap: 20px 40px; } }
@media (max-width: 900px) {
  .f-top { grid-template-columns: 1fr; }
  .f-links { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 560px) {
  .f-offices { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
}

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 30px; text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
}

/* Video-dialoog */
.player { border: 0; padding: 0; background: transparent; width: min(92vw / var(--schaal, 1), 1280px); max-width: none; }
.player::backdrop { background: rgba(10, 8, 7, 0.86); backdrop-filter: blur(6px); }
.player video { width: 100%; border-radius: 14px; }
.player .close { position: absolute; top: -52px; right: 0; background: none; border: 0; color: var(--cream); font-size: 30px; cursor: pointer; }
.player[open] { animation: player-in 280ms var(--ease-out); }
@keyframes player-in { from { opacity: 0; transform: scale(0.96); } }

/* ========== App-mockups (opgebouwd door shared.js) ========== */
.app {
  --a-bg: #fff; --a-line: #ece8e2; --a-text: #1a1714; --a-dim: #7b746c;
  background: var(--a-bg); color: var(--a-text);
  border-radius: 14px; overflow: hidden;
  font-size: 13px; line-height: 1.35; letter-spacing: -0.005em; text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 40px 80px -24px rgba(0, 0, 0, 0.55);
  user-select: none;
}
.app-top { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--a-line); }
.app-top .mark { width: 74px; height: 16px; background: url(../img/indexpay-logo.png) left center / contain no-repeat; filter: invert(1) hue-rotate(180deg); }
.app-tabs { display: flex; gap: 6px; }
.app-tabs span { padding: 6px 12px; border-radius: 999px; color: var(--a-dim); font-weight: 600; }
.app-tabs span.on { color: var(--a-text); box-shadow: inset 0 0 0 1.5px var(--a-text); }
.app-top .right { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--a-dim); font-weight: 600; }
.app-top .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--a-text); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.app-sub { display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--a-line); color: var(--a-dim); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; }
.app-sub span { padding: 10px 0; }
.app-sub span.on { color: var(--a-text); box-shadow: inset 0 -2px var(--orange); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--a-line); }
.app-bar strong { font-size: 15px; }
.app-bar .chip { padding: 5px 10px; border-radius: 999px; background: #f4f1ec; color: var(--a-dim); font-weight: 600; }
.app-bar .pub { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 800; }

.roster { display: grid; grid-template-columns: 150px repeat(7, minmax(0, 1fr)); }
.roster > div { border-bottom: 1px solid var(--a-line); border-left: 1px solid var(--a-line); padding: 8px; min-height: 52px; }
.roster .h { min-height: 0; padding: 10px 8px; color: var(--a-dim); font-weight: 700; font-size: 12px; background: #fbfaf8; }
.roster .h.today { color: var(--orange-deep); }
.roster .who { border-left: 0; display: flex; flex-direction: column; justify-content: center; }
.roster .who b { font-weight: 700; }
.roster .who small { color: var(--a-dim); font-size: 11px; }
.shift { display: block; padding: 6px 8px; border-radius: 8px; font-weight: 700; font-size: 12px; background: var(--c, #f2ede6); }
.shift small { display: block; font-weight: 600; opacity: 0.7; font-size: 10.5px; }
.shift.f1 { --c: #fde3c8; } .shift.f2 { --c: #e6eef0; } .shift.f3 { --c: #ece6f4; }
.shift.open { background: transparent; border: 1.5px dashed #d9a675; color: var(--orange-deep); }
.roster .open-row { background: #fffaf4; }

.dash { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.dash-hello { padding: 18px 22px 14px; }
.dash-hello small, .dash .lbl { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-dim); }
.dash-hello strong { font-size: 20px; letter-spacing: -0.02em; }
.dash-next { margin: 0 12px; padding: 18px 22px; border: 1px solid var(--a-line); border-bottom: 0; border-radius: 10px 10px 0 0; display: flex; align-items: center; }
.dash-next .t { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.dash-next .s { color: var(--a-dim); margin-top: 4px; }
.dash-next .now { margin-left: auto; text-align: right; font-weight: 700; }
.dash-next .now span { display: block; font-size: 18px; }
.dash { margin: 0 12px 12px; border: 1px solid var(--a-line); border-radius: 0 0 10px 10px; }
.dash > section { padding: 18px 22px; }
.dash > section + section { border-left: 1px solid var(--a-line); }
.dash .big { font-size: 22px; font-weight: 600; margin: 6px 0 12px; }
.dash .big small { font-size: 12px; color: var(--a-dim); font-weight: 500; }
.bars { display: grid; grid-template-columns: 24px 1fr 30px; gap: 9px 10px; align-items: center; color: var(--a-dim); }
.bars i { display: block; height: 6px; border-radius: 4px; background: #efebe5; overflow: hidden; }
.bars i b { display: block; height: 100%; width: var(--w); background: var(--a-text); border-radius: inherit; transform-origin: left; }
.opens { display: grid; gap: 8px; margin-top: 10px; }
.opens > div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #f6f3ee; }
.opens > div > span { border-left: 2px solid #cfc6ba; padding-left: 10px; }
.opens small { display: block; color: var(--a-dim); }
.opens em { margin-left: auto; font-style: normal; padding: 6px 12px; border-radius: 999px; background: var(--a-text); color: #fff; font-weight: 700; font-size: 12px; transition: background-color 200ms; }
.opens em.done { background: #3c8a5a; }
.msgs { display: grid; gap: 12px; margin-top: 10px; }
.msgs div { display: grid; grid-template-columns: 10px 1fr; gap: 2px 10px; }
.msgs div::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-top: 6px; }
.msgs b { font-weight: 700; } .msgs small { grid-column: 2; color: var(--a-dim); }

.phone {
  width: 260px; aspect-ratio: 9 / 19.2; border-radius: 40px; padding: 10px;
  background: #0d0c0b; box-shadow: inset 0 0 0 1.5px #3a332c, 0 40px 80px -24px rgba(0, 0, 0, 0.6);
}
.phone .screen { height: 100%; border-radius: 31px; background: #f7f4ef; overflow: hidden; display: flex; flex-direction: column; font-size: 12px; color: #1a1714; }
.phone .notch { width: 84px; height: 22px; border-radius: 12px; background: #0d0c0b; margin: 8px auto 6px; }
.phone .ph-head { padding: 6px 16px 10px; }
.phone .ph-head small { color: #7b746c; font-weight: 700; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.phone .ph-head strong { display: block; font-size: 19px; letter-spacing: -0.02em; }
.phone .card { margin: 0 12px 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.phone .card .t { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.phone .card small { color: #7b746c; }
.phone .card.dark { background: var(--ink); color: var(--cream); }
.phone .card.dark small { color: var(--cream-dim); }
.phone .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone .row em { font-style: normal; padding: 6px 11px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 11px; }
.phone .tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 16px; border-top: 1px solid #e8e2d9; color: #9a9289; font-size: 20px; }
.phone .tabs i.on { color: var(--orange-deep); }

@media (max-width: 720px) {
  .roster { grid-template-columns: 92px repeat(7, minmax(0, 1fr)); }
  .roster > div { padding: 4px; min-height: 40px; }
  .shift { font-size: 9px; padding: 4px; } .shift small { display: none; }
  .roster .who small { display: none; }
  .app { font-size: 10px; }
  .dash { grid-template-columns: 1fr; } .dash > section + section { border-left: 0; border-top: 1px solid var(--a-line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ========== Gedeelde blokken voor homepage en sectorpagina's ========== */

/* Fotohero: foto over de volle breedte, warm donker verloop eroverheen */
.photo-hero { position: relative; min-height: calc(100svh / var(--schaal, 1)); display: grid; align-content: end; color: var(--cream); overflow: hidden; isolation: isolate; background: var(--ink); }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.92) 0%, rgba(18, 16, 14, 0.7) 38%, rgba(18, 16, 14, 0.1) 75%),
    linear-gradient(0deg, rgba(18, 16, 14, 0.95) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(201, 101, 12, 0.55), transparent 70%); }
.photo-hero .crumbs { position: absolute; top: 104px; left: 0; right: 0; }
.photo-hero .inner { padding: 160px 0 clamp(96px, 12vw, 160px); }
.photo-hero h1 { font-size: clamp(56px, 8vw, 128px); letter-spacing: -0.045em; line-height: 0.92; max-width: 11ch; }
.photo-hero h1 em { font-style: normal; color: var(--orange); }
.photo-hero .intro { max-width: 56ch; margin-top: 28px; color: var(--cream-dim); font-size: 18px; }
.photo-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.photo-hero .btn--ghost { color: var(--cream); }
/* Keurmerkregel (ipb_keurmerk): SNA-logo op een wit tegeltje en de IND-erkenning als tekst, link naar Certificaten */
.keur { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; color: inherit; font-size: 15px; font-weight: 700; text-decoration: none; }
.keur span { display: inline-flex; align-items: center; gap: 10px; }
.keur img { width: 40px; height: 40px; padding: 4px; border-radius: 10px; background: #fff; object-fit: contain; }
.keur i { width: 40px; text-align: center; font-size: 24px; color: var(--orange); } /* even breed als het logo: ook onder elkaar op één lijn */
@media (hover: hover) and (pointer: fine) { .keur:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; } }
@media (max-width: 700px) {
  .photo-hero::before { background: linear-gradient(0deg, rgba(18, 16, 14, 0.96) 30%, rgba(18, 16, 14, 0.35) 75%), radial-gradient(ellipse 80% 40% at 20% 100%, rgba(201, 101, 12, 0.5), transparent 70%); }
}

/* Vel dat over de hero schuift */
.sheet { position: relative; z-index: 2; margin-top: -72px; background: var(--paper); color: var(--text); border-radius: 28px; padding: clamp(28px, 5vw, 72px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }

/* Scrollzinnen die een voor een oplichten */
.lines p { font-size: clamp(42px, 7.6vw, 120px); font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.lines p + p { margin-top: 0.12em; }
.lines em { font-style: normal; color: var(--orange); }

/* Beeldpositie zonder foto: gestreept vlak met briefing */
.ph-slot { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-2); font-size: 14px; font-weight: 600;
  background: repeating-linear-gradient(135deg, #efe8dd 0 12px, #e6ddcf 12px 24px); }
.ph-slot b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: transform 240ms var(--ease-out), background-color 200ms; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--orange); }
.faq details p { padding: 0 56px 26px 0; color: var(--text-2); font-size: 17px; max-width: 70ch; }
.faq details[open] p { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { background: var(--orange-wash); } }

/* ========== Kostenberekening ========== */
.calc { background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
.calc-steps { display: flex; align-items: center; list-style: none; padding: 0; margin: 0 0 30px; }
.calc-steps li { display: flex; align-items: center; flex: 1; }
.calc-steps li:last-child { flex: none; }
.calc-steps li::after { content: ""; flex: 1; height: 2px; margin: 0 10px; background: var(--sand); transition: background-color 300ms var(--ease-out); }
.calc-steps li:last-child::after { display: none; }
.calc-steps span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--text-2); font-weight: 800; font-size: 14px; transition: background-color 250ms var(--ease-out), color 250ms, transform 250ms var(--ease-out); }
.calc-steps li.done span, .calc-steps li[aria-current] span { background: var(--orange); color: var(--ink); }
.calc-steps li[aria-current] span { transform: scale(1.1); }
.calc-steps li.done::after { background: var(--orange); }
.calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc .step[hidden] { display: none; }
.calc .step:not([hidden]) { animation: step-in 320ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
.calc legend, .calc .q { font-size: clamp(21px, 2vw, 26px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; padding: 0; margin-bottom: 18px; }
.calc .hint { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { position: relative; display: grid; place-items: center; min-height: 72px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 750; font-size: 18px; cursor: pointer; transition: box-shadow 160ms, background-color 160ms; }
.choice input { position: absolute; opacity: 0; }
.choice label:has(input:checked) { background: var(--orange-wash); box-shadow: inset 0 0 0 2px var(--orange); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .choice label:hover { box-shadow: inset 0 0 0 1.5px var(--text); } }
.calc input[type="text"], .calc input[type="email"], .calc input[type="tel"], .calc input[type="number"], .calc select {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--paper);
  font: 600 17px var(--font); color: var(--text); caret-color: var(--orange-deep); transition: border-color 160ms, box-shadow 160ms;
}
.calc select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%231a1714' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 135, 31, 0.18); }
.calc input[aria-invalid="true"], .calc select[aria-invalid="true"] { border-color: #c0392b; }
.calc .err { color: #b03224; font-size: 14px; font-weight: 600; margin-top: 6px; }
.calc .field + .field { margin-top: 22px; }
.calc .field label { display: block; font-weight: 700; margin-bottom: 8px; }
.calc .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc .grid2 .field + .field { margin-top: 0; }
.factor { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.factor .top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.factor .top b { font-size: 30px; letter-spacing: -0.03em; }
.track { position: relative; height: 8px; border-radius: 4px; margin: 14px 0 8px; background: linear-gradient(90deg, #f9c99a, var(--orange), var(--orange-deep)); }
.track .pos { position: absolute; inset: 0; transform: translateX(var(--p, 0%)); transition: transform 500ms var(--ease-out); }
.track .pos::before { content: ""; position: absolute; left: -9px; top: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.factor .scale { display: flex; justify-content: space-between; color: var(--text-2); font-size: 13px; font-weight: 600; }
.factor p { color: var(--text-2); font-size: 14.5px; margin-top: 10px; }
.result { margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--cream); }
.result small { color: var(--cream-dim); font-weight: 600; }
.result b { display: block; font-size: clamp(32px, 3.6vw, 46px); letter-spacing: -0.035em; color: var(--orange); margin-top: 2px; }
.calc .nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.calc .nav .btn--ghost { color: var(--text); }
.calc .done-msg { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--orange-wash); font-weight: 650; }
@media (max-width: 600px) { .calc .grid2 { grid-template-columns: 1fr; } .calc .grid2 .field + .field { margin-top: 22px; } .calc .nav .btn { padding: 0 18px; } }

/* ---------- Reviews (blocks/reviews): home, provincie- en plaatspagina's ---------- */
.reviews { background: var(--paper); color: var(--text); padding: clamp(100px, 12vw, 180px) 0; }
.reviews h2 { max-width: 14ch; font-size: clamp(36px, 4.2vw, 60px); letter-spacing: -0.045em; text-wrap: balance; }
.reviews h2 em { font-style: normal; color: var(--orange); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
/* Quote als blokje: openingsteken linksboven, sluitteken rechtsonder */
.quotes figure { margin: 0; padding: clamp(24px, 2.4vw, 36px); border-radius: 20px; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(26, 23, 20, 0.06), 0 18px 40px -28px rgba(26, 23, 20, 0.35); }
.quotes blockquote { flex: 1; display: flex; flex-direction: column; margin: 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.45; text-wrap: pretty; }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 72px; line-height: 0.6; color: var(--orange); font-weight: 800; margin-bottom: 14px; }
.quotes blockquote::after { content: "\201D"; display: block; text-align: right; font-size: 72px; line-height: 0.6; color: var(--orange); font-weight: 800; margin-top: auto; padding-top: 18px; transform: translateY(0.3em); }
.quotes figcaption { margin-top: auto; padding-top: 8px; font-weight: 750; }
.quotes figcaption span { display: block; color: var(--text-2); font-weight: 600; font-size: 14px; }
.quotes .stars { display: flex; gap: 3px; margin-bottom: 10px; font-size: 18px; color: var(--orange); }
.quotes .stars .off { color: var(--sand); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
