/* Prototype A — "Kalm". Editorial single column. */
:root {
  --bg: #F6F8FB;
  --paper: #FFFFFF;
  --ink: #17263A;
  --muted: #5B6B7F;
  --line: #DCE3EC;
  --sky: #4DA3FF;
  --deep: #2D76BA;
  --deep-ink: #1E5A94;
  --sun: #FFD100;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
  --col: 66ch;
}
*, *::before, *::after { box-sizing: border-box; }
/* clip i.p.v. hidden: voorkomt horizontaal scrollen zonder de sticky header te breken. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-ink); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(100% - 32px, var(--wrap)); } }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.2vw, 3.9rem); font-variation-settings: "opsz" 144; }
h1 em { font-style: italic; font-weight: 400; color: var(--deep); }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-variation-settings: "opsz" 72; max-width: var(--col); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 36; }
.eyebrow { margin: 0 0 .9rem; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--deep-ink); }
.intro, .lede { color: var(--muted); max-width: var(--col); font-size: 1.1rem; margin: 0 0 1.5rem; }
.lede { font-size: 1.2rem; }
p { max-width: var(--col); }
.fine { font-size: .9rem; color: var(--muted); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(246,248,251,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.brand b { font-weight: 600; color: var(--deep-ink); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { background: #E9F1FB; color: var(--deep-ink); }
.head-call { font-weight: 700; text-decoration: none; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.head-call:hover { background: var(--deep-ink); color: #fff; }
@media (max-width: 860px) {
  .head-row { flex-wrap: wrap; row-gap: 0; padding-bottom: 6px; }
  .brand { order: 1; }
  .head-call { order: 2; margin-left: auto; font-size: .9rem; padding: 8px 12px; }
  .site-nav { order: 3; width: calc(100% + 40px); margin: 0 -20px; overflow-x: auto; scrollbar-width: none; padding: 0 20px 4px; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 6px 10px; white-space: nowrap; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 640px) {
  /* De .wrap-goot is hier 16px, dus de nav-bleed moet mee versmallen: anders scrollt de pagina horizontaal. */
  .site-nav { width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 4px; }
}
@media (max-width: 560px) {
  .head-row { min-height: 0; padding-top: 8px; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 40px; height: auto; }
  .head-call { display: none; } /* de vaste belbalk onderaan neemt dit over */
  .site-nav a { font-size: .9rem; }
  html { scroll-padding-top: 96px; }
}

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 34%); gap: 40px; align-items: center; padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero-text { max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Mededeling — rustige, feitelijke noot (bv. de wachtlijst). Het gele accent van het logo, spaarzaam ingezet. */
.notice {
  max-width: var(--col); margin: 22px 0 0; padding: 14px 18px;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sun);
  border-radius: 12px; font-size: 1rem; line-height: 1.55; color: var(--muted);
}
.notice b { color: var(--ink); font-weight: 700; }

/* 404-pagina — dezelfde opbouw als de hero, maar zonder beeld. */
.notfound { padding: clamp(64px, 12vw, 140px) 0; max-width: var(--col); min-height: 56vh; }
.notfound h1 { margin: 0 0 .4em; }
.notfound .actions { margin-top: 28px; }
.notfound-head .head-call { margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--deep-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--deep); color: var(--deep-ink); }

/* The growth point: the logo drawn in CSS so it can grow in */
.mark { position: relative; aspect-ratio: 1 / 1; max-width: 340px; width: 100%; justify-self: end; }
.mark .c { position: absolute; border-radius: 50%; transform-origin: center; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.mark .c1 { left: 0; top: 24%; width: 60%; height: 60%; background: var(--sky); animation-delay: .05s; }
.mark .c2 { left: 34%; top: 32%; width: 62%; height: 62%; background: var(--deep); animation-delay: .25s; }
.mark .c3 { left: 76%; top: 4%; width: 22%; height: 22%; background: var(--sun); animation-delay: .5s; }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .mark .c { animation: none; } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .mark { max-width: 150px; justify-self: start; order: -1; }
}

/* Sections */
.section { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }

/* Areas */
.areas { display: grid; gap: 10px; margin-top: 8px; max-width: 800px; }
.area { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.area summary { display: grid; grid-template-columns: 44px 1fr auto 20px; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.area summary::-webkit-details-marker { display: none; }
.area summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; justify-self: center; margin-top: -4px; }
.area[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.area summary:hover { background: #F9FBFE; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: #E9F1FB; position: relative; }
.icon::before { content: ""; position: absolute; inset: 9px; background: var(--deep); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.area-title { font-family: var(--display); font-size: 1.25rem; font-weight: 500; font-variation-settings: "opsz" 36; }
.area-for { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.area-body { padding: 0 18px 20px 76px; }
.area-body p { margin: 0 0 .8rem; color: #2F3F53; }
@media (max-width: 560px) {
  .area summary { grid-template-columns: 40px 1fr 20px; }
  .area-for { grid-column: 2; grid-row: 2; }
  .area-body { padding-left: 18px; }
  .icon { width: 40px; height: 40px; }
}

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.about-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px var(--line); }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; gap: 24px; } .about-photo { width: 150px; } }

/* Werkwijze thread: dot grows with each step */
.thread { list-style: none; margin: 16px 0 0; padding: 0; position: relative; max-width: 720px; }
.thread::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 30px; width: 2px; background: var(--line); }
.thread li { position: relative; padding: 0 0 36px 64px; }
.thread li:last-child { padding-bottom: 0; }
.thread li::before { content: ""; position: absolute; left: 16px; top: 12px; translate: -50% -50%; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px var(--bg); }
.thread li:nth-child(1)::before { width: 14px; height: 14px; }
.thread li:nth-child(2)::before { width: 22px; height: 22px; background: var(--deep); }
.thread li:nth-child(3)::before { width: 32px; height: 32px; background: var(--deep); }
.thread li:nth-child(3)::after { content: ""; position: absolute; left: 28px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.thread h3 { margin-bottom: .3em; }
.thread p { margin: 0; color: #2F3F53; }

/* Rates — tariefkiezer + resultatenlijst */
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; margin: 28px 0 22px; max-width: 820px; }
.picker fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.picker legend { grid-column: 1 / -1; float: left; width: 100%; margin: 0 0 10px; padding: 0; font: 700 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.picker label { display: block; min-width: 0; }
.picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picker span {
  display: block; text-align: center; padding: 12px 10px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted);
  font-weight: 600; font-size: .95rem; line-height: 1.25; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.picker span:hover { border-color: var(--sky); }
.picker input:checked + span { border-color: var(--deep); background: #EAF3FD; color: var(--deep-ink); box-shadow: inset 0 0 0 1px var(--deep); }
.picker input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .picker span { transition: none; } }

.rate-list {
  list-style: none; margin: 0; padding: 0; max-width: 820px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.rate-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name own" "detail own";
  align-items: center; gap: 2px 20px; padding: 16px 20px; border-top: 1px solid var(--line);
  transition: background .2s;
}
.rate-list li:first-child { border-top: 0; }
/* Niet-beschikbare prestatie: rustiger, maar met leesbaar contrast. */
.rate-list li.na { background: #FAFBFD; }
.rate-list li.na .rate-name h3, .rate-list li.na .you { color: var(--muted); }
.rate-list li.na .rate-detail { display: none; }
@media (prefers-reduced-motion: reduce) { .rate-list li { transition: none; } }
.rate-name { grid-area: name; min-width: 0; }
.rate-name h3 { margin: 0; font-family: var(--body); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.rate-name small { display: block; color: var(--muted); font-size: .85rem; }
.rate-own { grid-area: own; text-align: right; }
.you {
  display: block; font-family: var(--display); font-size: 1.75rem; font-weight: 500;
  font-variation-settings: "opsz" 60; letter-spacing: -0.01em; line-height: 1.15;
  color: var(--deep-ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.you-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.rate-detail { grid-area: detail; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rate-detail b { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .picker { grid-template-columns: 1fr; gap: 16px; }
  .rate-list li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "own" "detail"; gap: 6px; padding: 16px; }
  .rate-own { text-align: left; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .you { font-size: 1.55rem; }
}

/* FAQ */
.faq { max-width: 720px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--deep); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: #2F3F53; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
address { font-style: normal; display: grid; gap: 18px; align-content: start; }
address p { margin: 0; }
address .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
address .big { font-family: var(--display); font-size: 2rem; text-decoration: none; }
@media (max-width: 700px) { .contact { grid-template-columns: 1fr; gap: 16px; } }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot-row p { margin: 0; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; gap: 8px; }
  .has-proto-bar .call-bar { bottom: 62px; }
  .call-bar a { flex: 1; text-align: center; padding: 14px; border-radius: 999px; font-weight: 800; text-decoration: none; background: var(--deep); color: #fff; box-shadow: 0 10px 30px rgba(23,38,58,.25); }
  .call-bar a.alt { flex: 0 0 auto; background: var(--paper); color: var(--ink); padding-inline: 22px; }
  body { padding-bottom: 90px; }
  .has-proto-bar { padding-bottom: 140px; }
}

/* Contactformulier over de volledige breedte van het contactraster */
.contact .cform { grid-column: 1 / -1; max-width: none; }
