/*
Theme Name:   deedni
Theme URI:    https://deedni.nl
Description:  Thema voor deedni, het platform waar bedrijven online marketeers vinden. Gebaseerd op het homepage-ontwerp. Werkt samen met de plugin deedni Core en Advanced Custom Fields.
Author:       deedni
Version:      1.0.0
Requires at least: 6.3
Requires PHP: 8.0
License:      GPL-2.0-or-later
Text Domain:  deedni
*/

/* Layout: sticky kop, hero met doelgroepkeuze (marketeer of werkgever) die tekst en demo wisselt,
   daarna één doorlopend verhaal: handdruk-stappen, privacy, vergelijking, kosten, vragen, aanmelden. */
:root {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --sunken: #EFEDE6;
  --line: #E2DFD6;
  --fg: #16213A;
  --muted: #4A5368;
  --quiet: #5A6275;
  --accent: #C2410C;
  --accent-fg: #FFFFFF;
  --accent-text: #9A3412;
  --accent-soft: #FDEBDD;
  --block: #16213A;
  --block-fg: #FFFFFF;
  --block-muted: #C9CFDC;
  --btn: #16213A;
  --btn-fg: #FFFFFF;
  --ok-bg: #DCFCE7;
  --ok-fg: #14532D;
  --err: #B42318;
  --shadow: 0 1px 0 #E2DFD6, 0 18px 40px rgba(22, 33, 58, 0.10);
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 14px; --step-0: 17px; --step-1: 19px; --step-2: 24px; --step-3: clamp(30px, 4.2vw, 46px); --step-4: clamp(44px, 6.6vw, 84px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1626; --surface: #182238; --sunken: #222E47; --line: #2B3753;
    --fg: #EEF0F5; --muted: #B4BCCD; --quiet: #9EA7BA;
    --accent: #F0773A; --accent-fg: #0F1626; --accent-text: #FDBA8C; --accent-soft: #3A2418;
    --block: #22304D; --block-fg: #FFFFFF; --block-muted: #C9D1E2;
    --btn: #EEF0F5; --btn-fg: #0F1626; --ok-bg: #133A24; --ok-fg: #BBF7D0; --err: #FCA5A5;
    --shadow: 0 1px 0 #2B3753, 0 18px 40px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1626; --surface: #182238; --sunken: #222E47; --line: #2B3753;
  --fg: #EEF0F5; --muted: #B4BCCD; --quiet: #9EA7BA;
  --accent: #F0773A; --accent-fg: #0F1626; --accent-text: #FDBA8C; --accent-soft: #3A2418;
  --block: #22304D; --block-fg: #FFFFFF; --block-muted: #C9D1E2;
  --btn: #EEF0F5; --btn-fg: #0F1626; --ok-bg: #133A24; --ok-fg: #BBF7D0; --err: #FCA5A5;
  --shadow: 0 1px 0 #2B3753, 0 18px 40px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: var(--step-0); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(64px, 9vw, 104px); }
.band--surface { background: var(--surface); }
.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: var(--step-3); line-height: 1.05; font-weight: 800; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--btn); color: var(--btn-fg); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 16px/1.1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22, 33, 58, 0.16); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--accent { background: var(--accent); color: var(--accent-fg); }
.btn--primary { background: var(--btn); color: var(--btn-fg); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--light { background: #FFFFFF; color: #16213A; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { flex: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, background-color 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding-block: 10px; }
.nav a:not(.btn):hover { color: var(--accent-text); }
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); font: 600 15px var(--body); cursor: pointer; align-items: center; gap: 8px; }
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding-block: 32px clamp(64px, 8vw, 96px); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: var(--step-4); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.audience { display: inline-flex; align-self: flex-start; background: var(--sunken); border-radius: 999px; padding: 4px; gap: 4px; }
.audience button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px var(--body); cursor: pointer; }
.audience button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(22, 33, 58, 0.18); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--ok-fg); flex: none; }
.branch-note { font-size: 14px; color: var(--quiet); }
.branch-note strong { color: var(--fg); }

.hero-demo { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.demo-label { font-size: 13px; color: var(--quiet); display: flex; justify-content: space-between; gap: 12px; }
.card { background: var(--surface); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; border: 2px solid var(--accent); }
.card--arrive { animation: arrive 0.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arrive { from { transform: translateY(14px) scale(0.985); } to { transform: none; } }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--quiet); }
.badge { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.badge--new { background: var(--accent-soft); color: var(--accent-text); }
.badge--ok { background: var(--ok-bg); color: var(--ok-fg); }
.badge--new::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); margin-right: 6px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.card-title { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.15; }
.card-sub { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { background: var(--bg); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.fact small { display: block; font-size: 12px; color: var(--quiet); }
.fact strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.card blockquote { margin: 0; font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--sunken); }
.locked { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.locked div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--quiet); }
.locked i { display: block; width: 110px; height: 9px; border-radius: 999px; background: var(--line); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-actions .btn { flex: 1 1 150px; min-height: 48px; font-size: 15px; }
.card-result { display: flex; gap: 10px; align-items: flex-start; background: var(--ok-bg); color: var(--ok-fg); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; }
.card-result button { margin-left: auto; background: none; border: 0; color: inherit; font: 600 14px var(--body); text-decoration: underline; cursor: pointer; padding: 0 4px; min-height: 32px; }

/* Specialismen */
.spec { padding-bottom: clamp(56px, 7vw, 80px); }
.spec-label { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); }

/* Handdruk */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 20px; border-radius: 18px; background: var(--bg); counter-increment: s; min-width: 0; }
.flow li.is-employer { background: var(--block); color: var(--block-fg); }
.flow li.is-final { background: var(--accent); color: var(--accent-fg); }
.flow .num { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.flow .num::before { content: counter(s); }
.who { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--fg); }
.flow li.is-employer .who { background: rgba(255, 255, 255, 0.14); color: var(--block-fg); }
.flow li.is-final .who { background: rgba(255, 255, 255, 0.22); color: inherit; }
.flow strong { font-size: 17px; line-height: 1.25; }
.flow span.desc { font-size: 14px; opacity: 0.85; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 14px; color: var(--quiet); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }

/* Lagen */
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.layer { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.layer--locked { background: var(--block); color: var(--block-fg); border-color: transparent; }
.layer-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.layer ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.layer--locked ul { color: var(--block-muted); }
.note { margin-top: 18px; font-size: 15px; color: var(--quiet); }

/* Vergelijking */
.table-scroll { overflow-x: auto; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--quiet); font-weight: 600; background: var(--surface); }
.compare tbody th { font-weight: 600; color: var(--fg); width: 26%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: var(--accent-soft); color: var(--fg); font-weight: 600; }
.compare thead .us { color: var(--accent-text); font-weight: 800; font-size: 16px; }

/* Prijzen */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan--featured { background: var(--block); color: var(--block-fg); border-color: transparent; }
.plan h3 { font-family: var(--body); font-size: 20px; letter-spacing: 0; font-weight: 700; }
.plan-for { font-size: 14px; color: var(--quiet); margin-top: -8px; }
.plan--featured .plan-for { color: var(--block-muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: 44px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; color: var(--quiet); }
.plan--featured .price span, .plan--featured ul { color: var(--block-muted); }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }

.calc { margin-top: 24px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.calc-input { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.calc-input label { font-weight: 700; }
.calc-input .value { font-family: var(--display); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-input input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 32px; }
.calc-input .range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.calc-out { flex: 1 1 340px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-box { border-radius: 16px; padding: 16px 18px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.calc-box--us { background: var(--accent-soft); }
.calc-box small { font-size: 13px; color: var(--quiet); }
.calc-box strong { font-family: var(--display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-box--us strong { color: var(--accent-text); }
.fine { font-size: 13px; color: var(--quiet); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }

/* Aanmelden */
.signup { background: var(--block); color: var(--block-fg); border-radius: 28px; padding: clamp(26px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.signup-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.signup h2 { font-size: var(--step-3); line-height: 1.05; font-weight: 800; }
.signup-copy p { color: var(--block-muted); }
.signup-copy .checks { color: var(--block-muted); flex-direction: column; }
.signup-copy .checks svg { color: #86EFAC; }
.signup-form { flex: 1 1 380px; min-width: 0; background: var(--surface); color: var(--fg); border-radius: 22px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--fg); background: var(--sunken); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--quiet); }
.field input, .field select { min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: 400 16px var(--body); color: var(--fg); background: var(--surface); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field .error { font-size: 14px; font-weight: 600; color: var(--err); }
.signup-form .btn { width: 100%; }
.privacy { font-size: 13px; color: var(--quiet); }
.success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.success-icon { width: 48px; height: 48px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-fg); display: flex; align-items: center; justify-content: center; }
.success h3 { font-size: 24px; }
.success p { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--fg); font: 600 15px var(--body); text-decoration: underline; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 14px; color: var(--quiet); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { text-decoration: none; padding-block: 8px; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .logo { font-size: 20px; color: var(--fg); }

/* ==========================================================================
   Hieronder: stijlen voor de WordPress-pagina's (pagina's, zoeken, profielen,
   overzicht en formulieren). Alles hierboven komt rechtstreeks uit het
   homepage-ontwerp.
   ========================================================================== */

.nav a[aria-current="page"] { color: var(--accent-text); }
.nav .nav-quiet { color: var(--muted); }

/* Paginakop en inhoud */
.page-head { padding-block: clamp(32px, 5vw, 56px) 8px; }
.page-head h1 { font-size: var(--step-3); line-height: 1.05; font-weight: 800; }
.page-head .lead { margin-top: 12px; }
.page-body { padding-block: 24px clamp(64px, 8vw, 96px); }
.entry { max-width: 760px; }
.entry > * + * { margin-top: 1em; }
.entry h2 { font-size: var(--step-2); margin-top: 1.6em; }
.entry h3 { font-size: 20px; margin-top: 1.4em; }
.entry a:not(.btn) { color: var(--accent-text); }
.entry .card-title a, .entry .dn-contact a, .entry .dn-pagination a { color: inherit; }
.entry img { max-width: 100%; height: auto; border-radius: 14px; }
.page-body--wide .entry { max-width: none; }

/* Meldingen */
.dn-notice { border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; font-size: 15px; background: var(--sunken); color: var(--fg); }
.dn-notice a { color: inherit; font-weight: 700; }
.dn-notice--success { background: var(--ok-bg); color: var(--ok-fg); }
.dn-notice--error { background: var(--accent-soft); color: var(--err); }

/* Panelen, formulieren */
.dn-panel { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.dn-panel h2 { font-size: var(--step-2); }
.dn-form { display: flex; flex-direction: column; gap: 16px; }
.dn-form .btn { align-self: stretch; }
.field textarea { border-radius: 12px; border: 1.5px solid var(--line); padding: 12px 14px; font: 400 16px/1.5 var(--body); color: var(--fg); background: var(--surface); width: 100%; resize: vertical; }
.field textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.field legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 6px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.dn-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; cursor: pointer; }
.dn-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--accent); flex: none; padding: 0; }
.dn-check a { color: var(--accent-text); }
.dn-row { display: flex; gap: 12px; align-items: center; }
.dn-row > * { flex: 1 1 0; min-width: 0; }
.dn-row > span { flex: none; color: var(--quiet); font-size: 14px; }
.dn-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dn-register { max-width: 520px; }
.signup .dn-register { max-width: none; }
.dn-register .privacy a { color: var(--accent-text); }
.hint { font-size: 13px; color: var(--quiet); }

/* Status- en sectiekoppen */
.dn-status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--block); color: var(--block-fg); border-radius: 22px; padding: 22px 26px; margin-bottom: 28px; }
.dn-status__code { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.dn-status__text { color: var(--block-muted); }
.dn-status .btn--ghost { color: var(--block-fg); border-color: rgba(255, 255, 255, 0.3); }
.dn-status .btn--ghost:hover { border-color: var(--block-fg); }
.dn-section-title { font-size: var(--step-2); margin: 8px 0 18px; display: flex; align-items: center; gap: 12px; }
.badge--soft { background: var(--sunken); color: var(--muted); }

/* Zoeken */
.dn-search { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.dn-filters { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.dn-filters .field input, .dn-filters .field select { min-height: 44px; font-size: 15px; }
.dn-filters__actions { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.dn-filters__actions .link-btn { align-self: center; }
.dn-tools summary { cursor: pointer; font-size: 14px; font-weight: 700; min-height: 32px; }
.dn-tools__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dn-chip-check { position: relative; cursor: pointer; }
.dn-chip-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dn-chip-check span { display: inline-block; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 999px; border: 1.5px solid var(--line); }
.dn-chip-check input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.dn-chip-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.dn-results__count { font-family: var(--body); font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 16px; }
.dn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.dn-grid--offers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.dn-card { border-color: var(--line); border-width: 1.5px; box-shadow: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.dn-card:hover { border-color: var(--fg); box-shadow: var(--shadow); }
.dn-card .card-title { font-size: 21px; }
.dn-card .card-title a { text-decoration: none; }
.dn-card .card-actions { margin-top: auto; }
.dn-card .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dn-offer .card-actions .btn { flex: 1 1 200px; }
.dn-empty { align-items: flex-start; }
.dn-closed { max-width: 640px; }
.dn-pagination { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.dn-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; }
.dn-pagination .current { background: var(--fg); color: var(--bg); border-color: var(--fg); }
@media (max-width: 880px) {
  .dn-search { grid-template-columns: minmax(0, 1fr); }
}

/* Profiel */
.dn-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 24px; align-items: start; }
.dn-profile > .dn-notice { grid-column: 1 / -1; margin: 0; }
.dn-profile__main { border-color: var(--line); border-width: 1.5px; box-shadow: none; gap: 22px; }
.dn-profile__title { font-size: var(--step-3); line-height: 1.05; font-weight: 800; margin-top: 4px; }
.dn-profile__side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.dn-facts-4 { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.dn-block h2 { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--quiet); margin-bottom: 10px; }
.dn-block p + p { margin-top: 0.8em; }
.dn-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 15px; }
.dn-dl dt { color: var(--quiet); }
.dn-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dn-dl a { color: var(--accent-text); }
.dn-locked { padding: 18px 20px; gap: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; }
.dn-locked__title { font-weight: 700; color: var(--fg); }
.dn-contact { background: var(--ok-bg); color: var(--ok-fg); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dn-contact__title { font-family: var(--display); font-size: 22px; font-weight: 800; }
.dn-contact .dn-dl dt { color: inherit; opacity: 0.8; }
.dn-contact .dn-dl a { color: inherit; }
@media (max-width: 880px) {
  .dn-profile { grid-template-columns: minmax(0, 1fr); }
  .dn-profile__side { position: static; }
}

/* Aanbiedingen */
.dn-offer--done { border-color: var(--line); border-width: 1.5px; box-shadow: none; }
.dn-offer__head { display: flex; gap: 14px; align-items: center; }
.dn-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--bg); flex: none; }
.dn-offer form.card-actions { margin: 0; }
.dn-details summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.dn-details p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.dn-details a { color: var(--accent-text); }
.card-result--muted { background: var(--sunken); color: var(--muted); }
.dn-stats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.dn-stats li { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 18px; color: var(--muted); font-size: 15px; }
.dn-stats strong { display: block; font-family: var(--display); font-size: 30px; color: var(--fg); font-variant-numeric: tabular-nums; }
.dn-list { display: flex; flex-direction: column; gap: 12px; }
.dn-row-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.dn-row-card__main { min-width: 0; flex: 1 1 280px; }
.dn-row-card__main h3 { font-size: 20px; margin: 2px 0; }
.dn-row-card__meta { font-size: 13px; color: var(--quiet); }
.dn-row-card__meta a { color: var(--accent-text); font-weight: 700; }
.dn-row-card__contact { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

/* ACF-profielformulier */
.dn-acf-form .acf-fields > .acf-field { border-top: 0 !important; padding: 10px 0; }
.dn-acf-form .acf-fields { display: flex; flex-wrap: wrap; column-gap: 20px; }
.dn-acf-form .acf-fields > .acf-field { flex: 1 1 100%; min-width: 0; }
.dn-acf-form .acf-fields > .acf-field[data-width="50"] { flex: 1 1 calc(50% - 20px); width: auto !important; }
.dn-acf-form .acf-tab-wrap, .dn-acf-form .acf-fields > .acf-field-message { flex: 1 1 100%; }
.dn-acf-form .acf-field .acf-label label { font: 700 14px var(--body); color: var(--fg); }
.dn-acf-form .acf-field .acf-label p.description { font-size: 13px; color: var(--quiet); }
.dn-acf-form .acf-field input[type="text"], .dn-acf-form .acf-field input[type="url"], .dn-acf-form .acf-field input[type="number"], .dn-acf-form .acf-field input[type="email"], .dn-acf-form .acf-field select, .dn-acf-form .acf-field textarea {
  min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 10px 14px; font: 400 16px/1.4 var(--body); color: var(--fg); background: var(--surface); box-shadow: none;
}
.dn-acf-form .acf-field textarea { min-height: 0; }
.dn-acf-form .acf-input-prepend { min-height: 48px; display: flex; align-items: center; border-radius: 12px 0 0 12px; border: 1.5px solid var(--line); border-right: 0; background: var(--sunken); }
.dn-acf-form .acf-input-prepend + .acf-input-wrap input { border-radius: 0 12px 12px 0 !important; }
.dn-acf-form .acf-field input:focus, .dn-acf-form .acf-field select:focus, .dn-acf-form .acf-field textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.dn-acf-form .acf-checkbox-list li { font-size: 15px; margin-bottom: 6px; }
.dn-acf-form .acf-checkbox-list input { accent-color: var(--accent); width: 18px; height: 18px; vertical-align: -3px; }
.dn-acf-form .acf-tab-wrap { margin-bottom: 8px; }
.dn-acf-form .acf-tab-group { border-bottom: 1.5px solid var(--line); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dn-acf-form .acf-tab-group li { margin: 0; }
.dn-acf-form .acf-tab-group li a { background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 12px 6px; margin-right: 14px; font: 600 15px var(--body); color: var(--muted); }
.dn-acf-form .acf-tab-group li.active a { background: transparent; color: var(--fg); border-bottom-color: var(--accent); }
.dn-acf-form .acf-field-message { background: var(--sunken); border-radius: 12px; padding: 12px 16px !important; font-size: 15px; color: var(--muted); }
.dn-acf-form .acf-switch { border-radius: 999px; }
.dn-acf-form .acf-switch.-on { background: var(--accent); border-color: var(--accent); }
.dn-acf-form .acf-form-submit { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.dn-acf-form .acf-error-message { border-radius: 12px; }
.dn-acf-form .select2-container .select2-selection--multiple { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); }
@media (max-width: 640px) {
  .dn-acf-form .acf-fields > .acf-field[data-width="50"] { flex-basis: 100%; }
}

/* Thema-onderdelen */
.post-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card h2 { font-size: 22px; }
.post-card a { text-decoration: none; }
.post-card .meta { font-size: 13px; color: var(--quiet); }
.nav-links { display: flex; gap: 12px; margin-top: 28px; }
.dn-acf-form .select2-container--default .select2-selection--single { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); display: flex; align-items: center; }
.dn-acf-form .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; font-size: 16px; color: var(--fg); }
.dn-acf-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.dn-acf-form .acf-checkbox-list.acf-bl { max-height: none; border-radius: 12px; border-color: var(--line); padding: 12px 14px; }
