/* 660, voorbeeldsite. Basis uit ui-ux-pro-max (Swiss, hero + diensten + CTA, donkere inkt met één actiekleur);
   kleuren uit de werkplaats: grafiet, betongrijs, machinegeel, en het marineblauw van het scherm van de balanceerbank. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("fonts/archivo-var.woff2") format("woff2-variations"), url("fonts/archivo-var.woff2") format("woff2"); }

:root {
  --ground: #e8eaeb;
  --surface: #f7f8f8;
  --step: #d8dcdf;
  --ink: #15181b;
  --ink-2: #3f464e;
  --accent: #f2c230;
  --accent-press: #ddb01f;
  --on-accent: #15181b;
  --screen: #0b2545;
  --screen-2: #12365f;
  --screen-field: #1f6fd1;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --t-h1: clamp(2.375rem, 1.2rem + 4.6vw, 5.25rem);
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --t-h3: 1.625rem;
  --t-body: 1.125rem;
  --t-small: 1rem;
  --gap-section: clamp(88px, 7vw + 48px, 168px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.55; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: #000; text-decoration-thickness: 2.5px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: .98; font-stretch: 108%; }
h2 { font-size: var(--t-h2); line-height: 1.02; font-stretch: 108%; }
h3 { font-size: var(--t-h3); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Skiplink en voorbeeldmelding ---------- */
.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 14px 12px; margin: 0 -12px; white-space: nowrap; color: inherit; text-decoration: underline; }
.demo-note a:hover { color: inherit; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -10px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 700; font-size: var(--t-body); font-stretch: 100%; text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out); }
.btn svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease-out); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-press); color: var(--on-accent); text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #2b3036; color: #fff; text-decoration: none; }
.btn-quiet { background: var(--step); color: var(--ink); }
.btn-quiet:hover { background: #c7ccd0; color: var(--ink); text-decoration: none; }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--ground); }
.bar { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ground); margin-right: auto; min-height: 44px; }
.wordmark:hover { color: #fff; text-decoration: none; }
.wm-num { font-weight: 900; font-stretch: 125%; font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1; }
.wm-num i { font-style: normal; color: var(--accent); }
.wm-sub { font-size: 1rem; font-weight: 500; color: #c9cfd5; white-space: nowrap; line-height: 1.2; }
.nav-links { display: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; white-space: nowrap; color: var(--ground); }
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.head-mail { min-width: 44px; min-height: 44px; padding: 0 12px; background: #2b3036; color: var(--ground); }
.head-mail:hover { background: #3a4048; color: #fff; }
.head-mail .label { display: none; }
.head-cta { min-height: 44px; padding: 0 16px; }
.head-cta .long { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; color: var(--ground); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--surface); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); /* taste-skill-ignore: menu is a real overlay */ display: flex; flex-direction: column; padding: 8px; }
.menu-panel a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--ground); }
@media (max-width: 479px) { .wm-sub { display: none; } }
@media (min-width: 400px) and (max-width: 479px), (min-width: 600px) { .head-mail .label { display: inline; } }
@media (min-width: 680px) { .head-cta .long { display: inline; } }
@media (min-width: 1200px) { .nav-links { display: flex; gap: 2px; margin-right: 12px; } .menu { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 4vw, 72px); }
.hero-grid { display: grid; gap: 32px; }
.lead { font-size: var(--t-body); line-height: 1.5; max-width: 36em; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-pic { margin: 0; }
.frame { overflow: hidden; background: var(--step); aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: var(--t-small); color: var(--ink-2); margin-top: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.facts svg { width: 26px; height: 26px; flex: none; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .lead { font-size: var(--t-h3); line-height: 1.38; font-weight: 400; }
  .hero-pic .frame { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-pic .frame img { animation: settle 2.6s var(--ease-out) both; }
}
@keyframes settle { from { transform: scale(1.08) rotate(-1.5deg); } to { transform: none; } }

/* ---------- Secties ---------- */
.section { padding-top: var(--gap-section); }
.section-head { display: grid; gap: 18px; }
@media (min-width: 960px) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; } }
main > section:last-child:not(.close) { padding-bottom: var(--gap-section); }

/* ---------- Diensten (rijen) ---------- */
.rows { display: grid; gap: clamp(88px, 8vw, 112px); margin-top: clamp(40px, 5vw, 72px); }
.row { display: grid; gap: 24px; }
.row figure { margin: 0; order: 2; }
.row h3 { font-size: var(--t-h2); line-height: 1; font-weight: 800; font-stretch: 108%; letter-spacing: -0.025em; }
.row .own { margin-top: 14px; font-size: var(--t-h3); line-height: 1.35; }
.row ul { margin-top: 18px; display: grid; gap: 8px; }
.row li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.row li svg { width: 22px; height: 22px; margin-top: 3px; }
.row .btn { margin-top: 24px; }
@media (min-width: 960px) {
  .row { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .row figure { order: 0; }
  .rows .row:nth-child(even) figure { order: 2; }
  .row > div:first-child:not(:only-child) + figure { order: 2; }
}

/* ---------- Rekenhulp: scherm van de balanceerbank ---------- */
.calc-band { background: var(--ink); color: var(--ground); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 128px) 0; }
.calc-band a { color: var(--ground); }
.calc-grid { display: grid; gap: 36px; margin-top: 36px; }
.calc-copy p + p { margin-top: 14px; }
.calc-copy .formula { font-weight: 700; font-size: var(--t-h3); line-height: 1.3; margin-top: 22px; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } }
.screen { background: var(--screen); color: #fff; border: 3px solid #3d4a5c; border-radius: 6px; padding: 0; overflow: hidden; }
.screen-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--screen-2); font-weight: 700; flex-wrap: wrap; }
.screen-head span:last-child { color: #ffd76a; font-weight: 600; }
.screen-body { padding: 18px; display: grid; gap: 16px; }
.s-row { display: grid; gap: 8px; }
.s-row > label, .s-row > legend { font-weight: 600; padding: 0; }
.s-in { display: flex; align-items: center; gap: 10px; }
.s-in input { width: 100%; max-width: 12ch; min-height: 48px; padding: 0 12px; border: 2px solid #5d8fd6; border-radius: 4px; background: var(--screen-field); color: #fff; font-weight: 700; font-size: 1.375rem; text-align: right; font-variant-numeric: tabular-nums; }
.s-in input:focus { outline: 3px solid #ffd76a; outline-offset: 1px; }
.s-in span { font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.classes { display: flex; flex-wrap: wrap; gap: 6px; }
.classes label { position: relative; }
.classes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.classes span { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; padding: 0 10px; border: 2px solid #5d8fd6; border-radius: 4px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
.classes input:checked + span { background: #ffd76a; border-color: #ffd76a; color: var(--screen); }
.classes input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.classes label:hover span { background: var(--screen-2); }
.classes label:hover input:checked + span { background: #ffd76a; }
.screen-out { display: grid; gap: 0; background: #071a33; padding: 8px 18px 14px; }
.screen-out p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 2px solid #1d3557; }
.screen-out p:last-child { border-bottom: 0; }
.screen-out strong { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: #ffd76a; white-space: nowrap; }
.screen-out small { font-size: 1rem; font-weight: 600; color: #fff; margin-left: 4px; }
.calc-note { margin-top: 16px; color: #c9cfd5; max-width: 62ch; }
.screen-foot { padding: 16px 18px 18px; background: #071a33; }
.screen-foot .btn { width: 100%; white-space: normal; text-align: center; }
@media (min-width: 640px) { .screen-foot .btn { width: auto; } }

/* ---------- Werkwijze ---------- */
.steps-band { background: var(--step); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 120px) 0; }
.steps { display: grid; gap: 32px; margin-top: 40px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps svg { width: 56px; height: 56px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Voor wie ---------- */
.who { display: grid; gap: 36px; }
.who-list { display: grid; gap: 24px 32px; margin-top: 32px; }
.who-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.who-list svg { width: 56px; height: 56px; }
.who-list p { margin-top: 4px; }
.who figure { margin: 0; }
@media (min-width: 640px) { .who-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .who { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; } }

/* ---------- Vragen ---------- */
.faq { display: grid; gap: 28px; }
.faq-list details { background: var(--surface); border-radius: 6px; }
.faq-list details + details { margin-top: 8px; }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; min-height: 64px; padding: 14px 20px; font-weight: 700; font-size: var(--t-body); line-height: 1.3; letter-spacing: -0.01em; }
@media (min-width: 640px) { .faq-list summary { font-size: var(--t-h3); line-height: 1.2; } }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 24px; height: 24px; transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details > div { padding: 0 20px 22px; max-width: 44rem; }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } }

/* ---------- Contactslot en voet ---------- */
.close { background: var(--accent); color: var(--ink); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 24px, 128px) 0; }
.close-grid { display: grid; gap: 32px; }
.mail-big { display: inline-block; font-weight: 800; font-stretch: 108%; font-size: var(--t-h2); line-height: 1; letter-spacing: -0.02em; margin-top: 22px; padding-block: 8px; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: .12em; overflow-wrap: anywhere; }
.close .btn-ink { margin-top: 24px; }
.close-facts { display: grid; gap: 22px; align-content: start; }
.close-facts h3 { margin-bottom: 4px; }
@media (min-width: 1000px) { .close-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; } .close-facts { padding-top: 12px; } }
.site-footer { background: var(--ink); color: #c9cfd5; padding: 80px 0 40px; }
.foot-mark { font-weight: 900; font-stretch: 125%; color: var(--ground); font-size: clamp(6rem, 2rem + 20vw, 19rem); line-height: .8; letter-spacing: -0.04em; margin: 0; }
.foot-mark i { font-style: normal; color: var(--accent); }
.foot-grid { display: grid; gap: 24px; margin-top: 40px; font-size: var(--t-small); }
.foot-grid b { color: var(--ground); display: block; font-weight: 700; }
.foot-grid a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }
.foot-grid a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.credits { margin-top: 32px; font-size: var(--t-small); color: #aab2bb; max-width: 72ch; }
.credits a { color: inherit; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* ---------- Fotorij ---------- */
.strip { display: grid; gap: 16px; margin-top: 36px; }
.strip figure { margin: 0; }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Contactpagina ---------- */
.contact-grid { display: grid; gap: 40px; margin-top: 36px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-row + .form-row { margin-top: 18px; }
.field-l label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-l .hint { font-weight: 400; color: var(--ink-2); }
.field-l input, .field-l select, .field-l textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #9aa3ab; border-radius: 6px; background: var(--surface); font-size: 1.0625rem; }
.field-l textarea { min-height: 128px; resize: vertical; }
.field-l input:focus, .field-l select:focus, .field-l textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.field-l [aria-invalid="true"] { border-color: #b42318; }
.err { color: #b42318; font-weight: 600; margin-top: 6px; display: none; }
.err.show { display: block; }
.hp { position: absolute; left: -9999px; overflow: hidden; }
.form .btn { margin-top: 24px; }
.form-done { display: none; }
.form-done.show { display: block; background: var(--surface); padding: clamp(20px, 3vw, 40px); border-radius: 6px; }
.form-done h2 { font-size: var(--t-h3); line-height: 1.2; }
.form-done p { margin-top: 12px; }
.aside-block + .aside-block { margin-top: 32px; }
.aside-block h2 { font-size: var(--t-h3); line-height: 1.2; font-stretch: 100%; }
.aside-block p { margin-top: 10px; }
.aside-block .mail-mid { font-weight: 800; font-size: var(--t-h3); text-decoration: underline; text-decoration-thickness: 2px; display: inline-block; margin-top: 8px; padding-block: 8px; overflow-wrap: anywhere; }

/* ---------- Beweging ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.frame-band { aspect-ratio: 21 / 9; }
.bring { display: grid; gap: 24px 32px; margin-top: 32px; }
.bring p { margin-top: 6px; }
@media (min-width: 640px) { .bring { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bring { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.calc-band + .steps-band { margin-top: 0; }
