/* OpenAGF – stijlen voor de publieke site.
   Opbouw: lichte pagina met donkergroene banden (header, hero, afsluiter); één look, geen dark mode.
   Lettertypen staan lokaal in /assets/fonts (SIL Open Font License, zie LICENSE-*.txt). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #16201A;
  --ink-deep: #0F1612;
  --ink-2: #2A352F;
  --muted: #3E4A43;
  --muted-2: #4F5B54;
  --paper: #F4F5F2;
  --white: #FFFFFF;
  --line: #DDE2DE;
  --line-soft: #EDF0EC;
  --line-strong: #8C958F;
  --green: #1F6B40;
  --green-dark: #154D2E;
  --mint: #8FD3A5;
  --mint-soft: #E3F1E8;
  --mint-ink: #1D3D2A;
  --on-dark: #D3DAD5;
  --on-dark-muted: #A9B3AC;
  --on-green: #DCEFE3;
  --dark-field: #222D27;
  --dark-border: #7C8981;
  --blue: #234A84;
  --blue-soft: #E8EEF8;
  --navy: #1B3A5C;
  --navy-soft: #E4ECF5;
  --navy-ink: #D6E1EC;
  --amber: #9A4416;
  --amber-soft: #FFF0E5;
  --gold: #F2B544;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --section-y: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .band-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: var(--section-y); display: flex; flex-direction: column; gap: 40px; }
.band-dark { background: var(--ink); color: var(--white); }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Header */
.site-header { background: var(--ink); }
.site-nav { padding-block: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.brand { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand span { color: var(--mint); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--on-dark); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.nav-links a.btn { color: var(--ink); text-decoration: none; }
/* Smal scherm: logo, Inloggen en knop op de eerste regel, de overige links op de regel eronder (geen verborgen links). */
@media (max-width: 560px) {
  .site-nav { justify-content: flex-start; gap: 0 14px; padding-block: 14px 8px; }
  .brand { font-size: 22px; }
  .nav-links { display: contents; }
  .site-nav::after { content: ""; order: 1; flex-basis: 100%; }
  .nav-links li { order: 2; }
  .nav-links li:has(.btn), .nav-links li.nav-login { order: 0; margin-left: auto; }
  .nav-links li.nav-login ~ li:has(.btn) { margin-left: 0; }
  .nav-links a { font-size: 14px; }
  .nav-links .btn-sm { padding: 0 14px; }
}

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 10px; font: 600 16px var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #A6DDB7; color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #2A352F; color: var(--white); }
.btn-ghost-dark { border-color: var(--dark-border); color: var(--white); font-weight: 500; }
.btn-ghost-dark:hover { border-color: var(--white); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--paper); color: var(--ink); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 15px; font-weight: 600; color: var(--mint); letter-spacing: 0.02em; }
.h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.small-dark { margin: 0; font-size: 14px; color: var(--on-dark-muted); }

/* Productbeeld */
.mock { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mock figcaption { font-size: 13px; color: var(--on-dark-muted); }
.mock-card { background: var(--white); color: var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.mock-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mock-meta { font-size: 13px; color: var(--muted-2); }
.mock-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.mock-rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.mock-row > div { flex: 1; min-width: 0; }
.mock-who { font-weight: 600; font-size: 15px; }
.mock-sub { font-size: 12px; color: var(--muted-2); }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.tick { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; }

.pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pill-green { color: var(--green); background: var(--mint-soft); }
.pill-blue { color: var(--blue); background: var(--blue-soft); }
.pill-grey { color: var(--muted); background: #F0F2EF; }
.pill-navy { color: var(--navy); background: var(--navy-soft); }
.pill-amber { color: var(--amber); background: var(--amber-soft); }
.pill-lg { font-size: 13px; padding: 4px 10px; white-space: normal; }

/* Whitelabel-mock */
.wl-card { background: var(--white); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.wl-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--line-soft); border-bottom: 1px solid var(--line); }
.wl-dot { width: 10px; height: 10px; border-radius: 50%; background: #C9CFCA; flex: none; }
.wl-url { margin-left: 8px; flex: 1; min-width: 0; background: var(--white); border-radius: 6px; padding: 4px 10px; font-size: 12px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-body { display: flex; }
.wl-side { width: 140px; flex: none; background: var(--navy); color: var(--white); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.wl-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; line-height: 1.2; }
.wl-logo i { width: 26px; height: 26px; border-radius: 6px; background: var(--gold); flex: none; }
.wl-menu { display: flex; flex-direction: column; gap: 4px; font-size: 13px; margin: 0; padding: 0; list-style: none; }
.wl-menu li { padding: 6px 8px; color: var(--navy-ink); }
.wl-menu li.on { background: rgba(255,255,255,0.14); border-radius: 6px; color: var(--white); }
.wl-main { flex: 1; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.wl-group { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.wl-group-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 14px; }
.wl-group p { margin: 4px 0 0; font-size: 12px; color: var(--muted-2); }
.wl-rule { border: 1px dashed #A3ACA6; border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
@media (max-width: 420px) { .wl-side { width: 112px; padding: 14px 8px; } }

/* Koppen en intro's */
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; }
.intro { margin: 0; font-size: 18px; color: var(--muted); }
.band-dark .intro { color: var(--on-dark); }

/* Kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3, .step h3, .feature h3 { margin: 0; font-size: 19px; font-weight: 600; }
.card p, .step p, .feature p { margin: 0; color: var(--muted); }
.card-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green); }

/* Stappen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--paper); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.chip { font-size: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink-2); }
.chip-b { font-weight: 600; }
.chip-wide { font-size: 13px; border-radius: 8px; padding: 8px 10px; }
.progress { margin-top: auto; display: flex; gap: 6px 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.progress i { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.progress i.done { background: var(--green); border-color: var(--green); }
.progress span { display: inline-flex; align-items: center; gap: 6px; }

/* Kenmerken */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 40px; }
.features > div { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--ink); padding-top: 16px; }
.features h3 { margin: 0; font-size: 18px; font-weight: 600; }
.features p { margin: 0; color: var(--muted); }
.features h3 .pill { margin-left: 6px; vertical-align: 2px; }
.features-wide { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.band-dark .features > div { border-top-color: var(--dark-border); }
.band-dark .features p { color: var(--on-dark); }

/* Twee kolommen met tabel */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .split-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > .split-side { flex: 2 1 520px; min-width: 0; }
.split.center { align-items: center; gap: 48px; }
.split.center > .split-text { flex-basis: 380px; }
.split.center > .split-side { flex: 1 1 440px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.compare { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; vertical-align: top; }
.compare thead tr { background: var(--paper); }
.compare thead th { font-weight: 600; color: var(--muted); }
.compare thead th.us { color: var(--green); }
.compare tbody tr { border-top: 1px solid var(--line-soft); }
.compare tbody th { font-weight: 500; }
.compare td.them { color: var(--muted); }
.route { min-width: 400px; }
.route thead th { font-size: 13px; padding: 12px 18px; }
.route tbody th, .route tbody td { padding: 16px 18px; vertical-align: middle; }
.route tbody th { font-weight: 600; }
@media (max-width: 560px) {
  .compare:not(.route) { min-width: 0; font-size: 14px; }
  .compare:not(.route) th, .compare:not(.route) td { padding: 12px 10px; }
}

/* Prijzen */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan-main { border: 2px solid var(--green); }
.plan-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-price { margin: 4px 0 0; font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1.2; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan p { margin: 0; }
.plan-dark p { color: var(--on-dark); }
.plan .btn { margin-top: auto; min-height: 48px; }

/* Veelgestelde vragen */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--font-display); font-size: 24px; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 4px 0 8px; color: var(--muted); max-width: 70ch; }
.faq h3 { margin: 0; font: inherit; }

/* Afsluiter en formulieren */
.cta-band { background: var(--green); color: var(--white); }
.cta { padding-block: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-text p { margin: 0; font-size: 18px; color: var(--on-green); }
.signup { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup label { font-size: 14px; font-weight: 500; color: var(--white); }
.signup input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 2px solid var(--white); font: 16px var(--font-body); color: var(--ink); background: var(--white); }
.form-note { margin: 0; font-size: 14px; color: var(--on-green); }
.form-note a, .cta-band a { color: var(--white); }
.form-status { margin: 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.cta-band .form-status { background: var(--green-dark); color: var(--white); border-radius: 8px; padding: 10px 12px; }

.contact { padding-block: var(--section-y); display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-text p { margin: 0; color: var(--on-dark); }
.contact-text p.big { font-size: 18px; }
.contact-text a { color: var(--mint); }
.contact-form { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-dark); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--dark-border); background: var(--dark-field); color: var(--white); font: 16px var(--font-body); }
.contact-form textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.contact-form .btn { justify-self: start; }
.contact-form .form-note { color: var(--on-dark-muted); }
.contact-form .form-note a { color: var(--mint); }
.contact-form .form-status { background: var(--dark-field); color: var(--white); border-radius: 8px; padding: 10px 12px; }
@media (max-width: 560px) { .contact-form { grid-template-columns: minmax(0, 1fr); } }

/* Veilinghuizen: schema */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.flow-box { flex: 1 1 240px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow-box h3 { margin: 0; font-size: 20px; font-weight: 600; }
.flow-box p { margin: 0; color: var(--muted); }
.flow-box.mid { flex: 1.2 1 260px; background: var(--ink); color: var(--white); border-color: var(--ink); }
.flow-box.mid p { color: var(--on-dark); }
.flow-tag { font-size: 13px; font-weight: 600; }
.flow-tag.navy { color: var(--navy); }
.flow-tag.green { color: var(--green); }
.flow-tag.mint { color: var(--mint); }
.flow-arrow { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 860px) { .flow-arrow { flex-basis: 100%; height: 24px; } .flow-arrow svg { transform: rotate(90deg); } }
.callout { margin: 0; padding: 18px 22px; background: var(--mint-soft); border-radius: 12px; color: var(--mint-ink); }
.notice { margin: 0; padding: 14px 18px; background: var(--amber-soft); border-radius: 12px; color: #5C2A0D; font-size: 15px; }

/* Lopende tekst (privacy) */
.prose { max-width: 72ch; padding-block: var(--section-y); }
.prose h1 { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; font-weight: 600; }
.prose h2 { margin: 40px 0 10px; font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.prose thead th { background: var(--white); border-top: 0; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); }
.footer-inner { padding-block: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 14px; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.footer-brand span { color: var(--mint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--on-dark); display: inline-flex; min-height: 44px; align-items: center; }
.footer-links a:hover { color: var(--white); }
.footer-legal { flex-basis: 100%; color: var(--on-dark-muted); }
