/* Toolhub – huisstijl (Baker Tilly-geïnspireerd). Pas kleuren aan via de variabelen hieronder. */
:root {
  --brand: #00685E;
  --brand-dark: #004A43;
  --ink: #0E2A30;
  --muted: #4A5D61;
  --bg: #F4F6F5;
  --line: #DCE3E1;
  --tint: #EEF5F3;
  --accent-soft: #9FD3CB;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #fff; }
.topbar .wrap { max-width: 1400px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brandmark { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brandmark:hover { color: #fff; }
.brandmark img { height: 26px; width: auto; display: block; }
.brandmark .divider { width: 1px; height: 22px; background: rgba(255,255,255,.3); }
.brandmark .product { font-size: 15px; font-weight: 500; opacity: .9; }
.mainnav { display: flex; gap: 4px; flex-wrap: wrap; }
.mainnav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 8px; opacity: .85; }
.mainnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mainnav a.active { background: rgba(255,255,255,.12); opacity: 1; font-weight: 600; }
.spacer { flex: 1 1 0; }
.search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 0 12px; height: 40px; flex: 0 1 200px; min-width: 140px; }
.search input { background: transparent; border: none; outline: none; color: #fff; font: inherit; font-size: 14px; width: 100%; }
.search input::placeholder { color: rgba(255,255,255,.65); }
.iconbtn { width: 44px; height: 44px; border-radius: 10px; background: transparent; border: 1px solid rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.iconbtn:hover { background: rgba(255,255,255,.08); color: #fff; }
.user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: #fff; }
.user .who { display: flex; flex-direction: column; line-height: 1.25; }
.user .who strong { font-size: 14px; }
.user .who span { font-size: 12px; opacity: .75; }

/* ---------- Taal-toggle ---------- */
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.lang button { height: 34px; min-width: 46px; padding: 0 12px; border-radius: 999px; border: none; font-size: 13px; font-weight: 600; cursor: pointer; background: transparent; color: #fff; opacity: .75; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); opacity: 1; }
.lang.light { border-color: var(--line); background: #fff; }
.lang.light button { color: var(--muted); opacity: 1; }
.lang.light button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* ---------- Demo-melding ---------- */
.demo-banner { background: #FFF4E5; color: #6B3A00; font-size: 13px; text-align: center; padding: 8px 16px; border-bottom: 1px solid #F1D9B5; }

/* ---------- Kaarten & secties ---------- */
main { flex: 1 1 auto; }
.section { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 20px; }
.section h2 { font-size: 20px; }
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 260px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s, border-color .15s; }
a.card:hover { box-shadow: 0 10px 28px rgba(14,42,48,.10); transform: translateY(-2px); border-color: #B9C9C5; color: var(--ink); }
.card.locked { opacity: .55; }
.card.dashed { flex-grow: 0; flex-basis: 300px; background: transparent; border: 2px dashed #C3D0CD; color: var(--muted); justify-content: center; align-items: flex-start; }
.card h3 { font-size: 20px; letter-spacing: -0.01em; }
.card p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.chip { width: 48px; height: 48px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.chip.lg { width: 64px; height: 64px; }
.chip.sm { width: 44px; height: 44px; }
.chip.grey { background: #E7EDEB; color: var(--muted); }
.cardtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kicker { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #FFF4E5; color: #8A4B00; white-space: nowrap; }
.go { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.steps { display: flex; gap: 28px; flex-wrap: wrap; }
.step { flex: 1 1 220px; display: flex; gap: 14px; align-items: flex-start; }
.step .num { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; border: 2px solid var(--brand); }
.step .num.filled { color: #fff; border: none; }
.step strong { font-size: 15px; display: block; margin-bottom: 4px; }
.step span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Home ---------- */
.hello { padding-top: 48px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 8px; }
.hello .date { font-size: 14px; color: var(--muted); }
.hello h1 { font-size: 40px; letter-spacing: -0.025em; }
.hello p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 680px; }
.listhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.filters button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.toollist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toolrow { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.toolrow:last-child { border-bottom: none; }
.toolrow:hover { background: #F9FBFA; color: var(--ink); }
.toolrow .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.toolrow strong { font-size: 15px; flex: 1 1 200px; }
.toolrow .desc { font-size: 14px; color: var(--muted); flex: 2 1 260px; }
.empty { padding: 24px; color: var(--muted); font-size: 14px; }

/* ---------- Hubpagina ---------- */
.hubhero { background: #fff; border-bottom: 1px solid var(--line); }
.hubhero .wrap { padding-top: 28px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.crumbs { font-size: 14px; color: var(--muted); }
.hubhead { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.hubhead .txt { flex: 1 1 480px; display: flex; flex-direction: column; gap: 8px; }
.hubhead .txt .kicker { font-size: 13px; letter-spacing: .1em; }
.hubhead h1 { font-size: 38px; letter-spacing: -0.025em; }
.hubhead p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 760px; }
.toolcard { flex: 1 1 360px;
}
.card.dashed.toolcard { flex: 0 1 360px; }
.toolcard { padding: 28px; gap: 18px; }
.toolcard .head { display: flex; align-items: center; gap: 14px; }
.toolcard .head h3 { flex: 1; }
.toolcard .lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 4px; }
.toolcard .body { font-size: 15px; line-height: 1.55; color: var(--ink); }
.io { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.io .box { flex: 1 1 140px; background: var(--bg); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.io .box span { font-size: 12px; color: var(--muted); }
.io .box b { font-size: 14px; }
.io .arrow { display: flex; align-items: center; color: var(--muted); }
.actions { margin-top: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border: none; cursor: pointer; }
.btn:hover { filter: brightness(.92); color: #fff; }
.btn[aria-disabled="true"] { background: #C3D0CD !important; color: #fff; pointer-events: none; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: #fff; }
footer .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* ---------- Login ---------- */
.login { display: flex; flex-wrap: wrap; min-height: 100vh; flex: 1; }
.login .brandside { flex: 1 1 520px; background: var(--ink); color: #fff; padding: 56px 64px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden; }
.login .watermark { position: absolute; right: -120px; bottom: -140px; width: 560px; height: auto; opacity: .07; pointer-events: none; }
.login .brandside > *:not(.watermark) { position: relative; }
.login .brandmark img { height: 34px; }
.login .claim { display: flex; flex-direction: column; gap: 20px; max-width: 520px; margin-top: auto; }
.login .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.login h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; }
.login .claim p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.82); }
.login .feats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: auto; }
.login .feats span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 14px; }
.login .formside { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 88px 24px 48px; position: relative; }
.login .formside .lang { position: absolute; top: 24px; right: 24px; }
.login .box { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 20px 50px rgba(14,42,48,.08); }
.login .box h2 { font-size: 26px; letter-spacing: -0.015em; margin-bottom: 8px; }
.login .box p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.login .ssobtn { height: 52px; font-size: 16px; width: 100%; }
.login .note { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 10px; background: var(--tint); font-size: 13px; line-height: 1.5; color: var(--muted); }
.login .note strong { color: var(--ink); }
.login .small { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .login .brandside { padding: 40px 24px; }
  .login h1 { font-size: 34px; }
  .hello h1 { font-size: 30px; }
  .hubhead h1 { font-size: 30px; }
  .search { min-width: 0; flex: 1 1 100%; }
}
