/* ==========================================================================
   Booklane — admin design system (editorial)
   Serif display + gold/black/cream, card-based, theme-aware, no build step.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg:            #f6f4ef;
  --surface:       #ffffff;
  --surface-2:     #faf9f6;
  --surface-sunk:  #f2f0ea;
  --border:        #eae7df;
  --border-strong: #ddd9cf;

  --text:          #1c1a17;
  --text-2:        #6a675f;
  --text-3:        #9c988c;

  /* Merk: goud */
  --gold:          #96702f;   /* tekst-goud, voldoende contrast op wit */
  --gold-bright:   #c19a5b;
  --gold-weak:     #f4ecdd;   /* cream, voor icon-cirkels */
  --gold-weak-b:   #e7dcc4;

  /* Primair = inkt-zwart */
  --ink:           #1c1a17;
  --ink-hover:     #000000;
  --on-ink:        #ffffff;

  /* Semantisch */
  --ok:      #2f7d48;  --ok-bg:   #e8f2ea;  --ok-bd:  #cfe6d5;
  --warn:    #8f6a24;  --warn-bg: #f8efda;  --warn-bd:#ecdcb6;
  --err:     #b3261e;  --err-bg:  #fbeae8;  --err-bd: #f0d2ce;
  --info:    #5852a0;  --info-bg: #edecf7;  --info-bd:#dcd9ee;

  --c-direct: #3f8f57;
  --c-request:#c08a3c;
  --c-busy-a: #b7b2a5;
  --c-busy-b: #ded9cc;
  --c-appt:   #1c1a17;

  --r-xs: 6px;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  --shadow-xs: 0 1px 2px rgba(28,26,23,.04);
  --shadow-sm: 0 1px 2px rgba(28,26,23,.04), 0 6px 18px -10px rgba(28,26,23,.10);
  --shadow-md: 0 2px 6px rgba(28,26,23,.05), 0 16px 40px -16px rgba(28,26,23,.16);
  --shadow-pop:0 20px 48px -14px rgba(28,26,23,.28);

  --ring: 0 0 0 3px color-mix(in srgb, var(--gold) 26%, transparent);

  --sidebar-w: 250px;
  --topbar-h: 60px;
  --content-max: 1280px;
  --rail-w: 340px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
          "Apple Color Emoji", "Segoe UI Emoji";
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step: 160ms cubic-bezier(.2, .6, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:#12110f; --surface:#1a1917; --surface-2:#1f1e1b; --surface-sunk:#262421;
    --border:#302e2a; --border-strong:#403d38;
    --text:#f3f0e9; --text-2:#a8a49a; --text-3:#78746b;
    --gold:#cba360; --gold-bright:#dcb779; --gold-weak:#2a2519; --gold-weak-b:#3d3626;
    --ink:#f3f0e9; --ink-hover:#ffffff; --on-ink:#1a1917;
    --ok:#63c281; --ok-bg:#15271b; --ok-bd:#26402d;
    --warn:#e0aa53; --warn-bg:#2a2113; --warn-bd:#45351a;
    --err:#e8746b; --err-bg:#2b1614; --err-bd:#4a2622;
    --info:#9a93e0; --info-bg:#1e1c30; --info-bd:#332f50;
    --shadow-xs:0 1px 2px rgba(0,0,0,.5);
    --shadow-sm:0 1px 2px rgba(0,0,0,.5), 0 6px 18px -10px rgba(0,0,0,.6);
    --shadow-md:0 2px 6px rgba(0,0,0,.5), 0 16px 40px -16px rgba(0,0,0,.7);
    --shadow-pop:0 20px 48px -14px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:#12110f; --surface:#1a1917; --surface-2:#1f1e1b; --surface-sunk:#262421;
  --border:#302e2a; --border-strong:#403d38;
  --text:#f3f0e9; --text-2:#a8a49a; --text-3:#78746b;
  --gold:#cba360; --gold-bright:#dcb779; --gold-weak:#2a2519; --gold-weak-b:#3d3626;
  --ink:#f3f0e9; --ink-hover:#ffffff; --on-ink:#1a1917;
  --ok:#63c281; --ok-bg:#15271b; --ok-bd:#26402d;
  --warn:#e0aa53; --warn-bg:#2a2113; --warn-bd:#45351a;
  --err:#e8746b; --err-bg:#2b1614; --err-bd:#4a2622;
  --info:#9a93e0; --info-bg:#1e1c30; --info-bd:#332f50;
  --shadow-xs:0 1px 2px rgba(0,0,0,.5);
  --shadow-sm:0 1px 2px rgba(0,0,0,.5), 0 6px 18px -10px rgba(0,0,0,.6);
  --shadow-md:0 2px 6px rgba(0,0,0,.5), 0 16px 40px -16px rgba(0,0,0,.7);
  --shadow-pop:0 20px 48px -14px rgba(0,0,0,.8);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
::selection { background: color-mix(in srgb, var(--gold) 22%, transparent); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-xs); }

.muted { color: var(--text-2); }
.small { font-size: 12.5px; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
code {
  background: var(--surface-sunk); color: var(--text);
  padding: 1.5px 5px; border-radius: var(--r-xs);
  font-family: var(--mono); font-size: .86em; border: 1px solid var(--border);
}

* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-full); border: 3px solid var(--bg); }

/* ==========================================================================
   Shell
   ========================================================================== */
.app { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--sidebar-w);
  display: flex; flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.sidebar-top { padding: 18px 16px 12px; }
.workspace { display: flex; align-items: center; gap: 11px; width: 100%; }
.workspace .ws-mark {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  object-fit: contain; display: block;
  background: var(--gold-weak); padding: 5px;
  border: 1px solid var(--gold-weak-b);
}
.workspace .ws-col { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.workspace .ws-name { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace .ws-meta { font-size: 10.5px; color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.nav { flex: 1; overflow-y: auto; padding: 8px 12px 14px; }
.nav-group { margin-top: 18px; }
.nav-group:first-child { margin-top: 6px; }
.nav-group-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); padding: 0 10px 8px;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: var(--r-sm);
  color: var(--text-2); font-weight: 500; font-size: 13.5px;
  position: relative; transition: background var(--step), color var(--step);
}
.nav-item:hover { background: var(--surface-sunk); color: var(--text); text-decoration: none; }
.nav-item .icon { flex: none; color: var(--text-3); transition: color var(--step); }
.nav-item:hover .icon { color: var(--text-2); }
.nav-item.is-active { background: var(--gold-weak); color: var(--gold); font-weight: 600; }
.nav-item.is-active .icon { color: var(--gold); }
.nav-item.is-active::before {
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--gold);
}
.nav-item .nav-label { flex: 1; }
.nav-badge {
  font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: var(--r-full);
  background: var(--surface-sunk); color: var(--text-3); border: 1px solid var(--border);
  min-width: 18px; text-align: center;
}
.nav-badge-alert { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.nav-item.is-active .nav-badge-alert { background: var(--gold); border-color: var(--gold); color: #fff; }

.sidebar-foot { border-top: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.user { display: flex; align-items: center; gap: 10px; padding: 2px 6px; min-width: 0; }
.avatar {
  width: 32px; height: 32px; flex: none; border-radius: var(--r-full);
  background: var(--gold-weak); color: var(--gold);
  display: grid; place-items: center; font-weight: 700; font-size: 12px;
  border: 1px solid var(--gold-weak-b);
}
.user-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; overflow: hidden; }
.user-meta .u-name { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta .u-mail { font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-actions { display: flex; gap: 8px; }
.sidebar-actions > * { flex: 1; }

.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid transparent; color: var(--text-2);
  cursor: pointer; transition: background var(--step), color var(--step), border-color var(--step);
}
.icon-btn:hover { background: var(--surface-sunk); color: var(--text); border-color: var(--border); }

/* Main column + topbar */
.main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); flex: none;
  display: flex; align-items: center; gap: 14px; padding: 0 30px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 30;
}
.nav-open { display: none; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-3); }
.crumbs .crumb-now { color: var(--text); font-weight: 600; }
.crumbs .crumb-sep { color: var(--border-strong); }
.topbar-spacer { flex: 1; }

.bell { position: relative; }
.bell-badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--err); color: #fff; font-size: 10px; font-weight: 700;
  border-radius: var(--r-full); display: grid; place-items: center;
  border: 2px solid var(--bg);
}

.content { flex: 1; width: 100%; max-width: var(--content-max); margin: 0 auto; padding: 30px 34px 72px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: 33px; letter-spacing: -.02em; line-height: 1.1; }
.page-sub { color: var(--text-2); font-size: 14px; margin-top: 8px; max-width: 62ch; }
.page-actions { display: flex; gap: 9px; flex: none; align-items: center; }

.scrim { position: fixed; inset: 0; z-index: 35; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity var(--step); }
body.nav-shown .scrim { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --_bg: var(--ink); --_fg: var(--on-ink); --_bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; height: 38px; border-radius: var(--r-sm);
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: background var(--step), border-color var(--step), transform var(--step);
}
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); text-decoration: none; }
.btn:active { transform: translateY(.5px); }
.btn .icon { margin-left: -2px; }
.btn-ghost { --_bg: var(--surface); --_fg: var(--text); --_bd: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-sunk); border-color: var(--border-strong); }
.btn-gold { --_bg: var(--gold); --_fg: #fff; --_bd: var(--gold); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 88%, #000); border-color: color-mix(in srgb, var(--gold) 88%, #000); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.link-btn { background: none; border: 0; padding: 0; margin: 0; color: var(--gold); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-danger { color: var(--err); }

.pill-select, select.pill-select {
  height: 38px; padding: 0 34px 0 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-strong); background: var(--surface); font-weight: 600; font-size: 13px;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  padding: 24px;
  margin-bottom: 20px;
}
.card > h2 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em; margin-bottom: 4px; }
.card > h2 + p, .card > h2 + .muted { margin-bottom: 16px; }
.card h3 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; }

.soon-card { border-style: dashed; background: var(--surface-2); }
.soon-badge {
  display: inline-block; margin-bottom: 12px;
  background: var(--gold-weak); color: var(--gold); border: 1px solid var(--gold-weak-b);
  font-weight: 700; font-size: 11px; padding: 3px 10px; border-radius: var(--r-full);
  text-transform: uppercase; letter-spacing: .05em;
}

.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }

/* ==========================================================================
   Icon circle
   ========================================================================== */
.icon-circle {
  width: 44px; height: 44px; flex: none; border-radius: var(--r-full);
  background: var(--gold-weak); color: var(--gold);
  display: grid; place-items: center; border: 1px solid var(--gold-weak-b);
}
.icon-circle.is-dark { background: var(--ink); color: var(--gold-bright); border-color: var(--ink); }
.icon-circle.sm { width: 38px; height: 38px; }

/* ==========================================================================
   Stat cards
   ========================================================================== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); padding: 20px; display: flex; gap: 15px; align-items: flex-start;
}
.stat .stat-body { min-width: 0; }
.stat .stat-value { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .stat-label { color: var(--text-2); font-size: 13px; margin-top: 6px; }
.stat .stat-delta { font-size: 11.5px; font-weight: 600; margin-top: 8px; color: var(--text-3); }
.stat .stat-delta.up { color: var(--gold); }
.stat .stat-delta.down { color: var(--err); }

.dashboard-actions {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px;
}
.dashboard-action {
  display: flex; align-items: flex-start; gap: 14px; min-height: 126px; padding: 19px;
  color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-xs); transition: border-color var(--step), transform var(--step);
}
.dashboard-action:hover { color: inherit; text-decoration: none; border-color: var(--gold); transform: translateY(-1px); }
.dashboard-action.is-urgent { border-color: var(--gold-weak-b); }
.dashboard-action.is-error { border-color: color-mix(in srgb, var(--err) 42%, var(--border)); }
.dashboard-action.is-error .icon-circle { color: var(--err); background: color-mix(in srgb, var(--err) 9%, var(--surface)); border-color: color-mix(in srgb, var(--err) 22%, var(--border)); }
.dashboard-action-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.dashboard-action-label { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-action-body strong { font-family: var(--serif); font-size: 20px; line-height: 1.2; font-weight: 500; }
.dashboard-action-body > span:last-child { color: var(--text-2); font-size: 12.5px; line-height: 1.4; }
.dashboard-failures { margin-bottom: 22px; border-color: color-mix(in srgb, var(--err) 30%, var(--border)); }
.dashboard-failure-row { color: inherit; text-decoration: none; }
.dashboard-failure-row:hover { color: inherit; text-decoration: none; background: var(--surface-sunk); }
.dashboard-failure-row .icon-circle { color: var(--err); }

/* ==========================================================================
   Forms
   ========================================================================== */
label.field { display: block; margin-bottom: 15px; }
label.field > span:first-child { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
label.field small { font-weight: 400; color: var(--text-3); }

input[type=text], input[type=email], input[type=password], input[type=time], input[type=date],
input[type=number], input[type=search], input[type=datetime-local], select, textarea {
  width: 100%; padding: 9px 12px; min-height: 38px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px;
  transition: border-color var(--step), box-shadow var(--step);
}
textarea { min-height: 78px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239c988c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 34px;
}
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; min-height: 0; accent-color: var(--gold); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; }
.form-grid .field { margin-bottom: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid .field.checkbox { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.form-grid .field.checkbox input { width: auto; }
.form-grid .field.checkbox span { margin: 0; font-weight: 500; font-size: 13.5px; }
.field em.err { display: block; color: var(--err); font-size: 12px; font-style: normal; margin-top: 5px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form input[type=text] { flex: 1; min-width: 220px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 16px 18px; }
.filter-bar select, .filter-bar input { min-height: 36px; }

/* ==========================================================================
   Tab filters
   ========================================================================== */
.tab-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-filter {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background var(--step), color var(--step), border-color var(--step);
}
.tab-filter:hover { color: var(--text); border-color: var(--text-3); text-decoration: none; }
.tab-filter.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tab-filter .tf-count {
  font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: var(--r-full);
  background: var(--surface-sunk); color: var(--text-3); min-width: 16px; text-align: center;
}
.tab-filter.is-active .tf-count { background: rgba(255,255,255,.18); color: #fff; }

/* ==========================================================================
   List cards  (aanvragen / afspraken)
   ========================================================================== */
.list-stack { display: flex; flex-direction: column; gap: 12px; }
.list-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); padding: 18px 20px;
  transition: border-color var(--step), box-shadow var(--step);
}
.list-card.is-selected { border-color: var(--gold); box-shadow: var(--ring); }
.list-card .lc-body { flex: 1; min-width: 0; }
.lc-title { font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.lc-sub { color: var(--text-2); font-size: 13px; margin-top: 1px; }
.lc-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.lc-meta .lc-row { display: flex; align-items: center; gap: 7px; }
.lc-meta .icon { color: var(--text-3); flex: none; }
.lc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; text-align: right; }
.lc-time { font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.lc-actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; justify-content: flex-end; }
.list-foot { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 14px; }

/* Date block */
.date-block {
  flex: none; width: 46px; text-align: center; line-height: 1.1;
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 6px 0; background: var(--surface-2);
}
.date-block .db-dow { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.date-block .db-day { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.date-block .db-mon { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ==========================================================================
   Detail rail layout
   ========================================================================== */
.with-rail { display: grid; grid-template-columns: 1fr var(--rail-w); gap: 22px; align-items: start; }
.rail {
  position: sticky; top: calc(var(--topbar-h) + 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.rail h3.rail-title { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: -.01em;
  text-transform: none; color: var(--text); margin-bottom: 14px; }
.rail .rail-empty { color: var(--text-3); font-size: 13px; }
.rail dl { margin: 0; }
.rail dt { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin: 14px 0 3px; }
.rail dd { margin: 0; font-size: 13px; color: var(--text); }
.rail .rail-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.rail .rail-actions .btn, .rail .rail-actions form { width: 100%; }
.rail .rail-actions .btn { width: 100%; }

/* ==========================================================================
   Tags / status pills
   ========================================================================== */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; padding: 3px 10px;
  border-radius: var(--r-full); white-space: nowrap; border: 1px solid transparent;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: var(--r-full); background: currentColor; }
.tag-green { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-bd); }
.tag-amber { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-bd); }
.tag-blue  { background: var(--info-bg); color: var(--info); border-color: var(--info-bd); }
.tag-red   { background: var(--err-bg); color: var(--err); border-color: var(--err-bd); }
.tag-muted { background: var(--surface-sunk); color: var(--text-2); border-color: var(--border); }
.tag-muted::before { display: none; }

/* ==========================================================================
   Tables (still used on some screens)
   ========================================================================== */
.table-card { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table thead th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); padding: 12px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.data-table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background var(--step); }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table tr.is-archived { opacity: .5; }
.data-table input[type=text], .data-table input[type=number] { padding: 6px 9px; min-height: 32px; }
.row-actions { display: flex; gap: 14px; align-items: center; white-space: nowrap; }
.row-actions form { display: inline; margin: 0; }

.sum-table { width: 100%; border-collapse: collapse; }
.sum-table td { padding: 9px 2px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 13.5px; }
.sum-table td:first-child { color: var(--text-2); width: 38%; }
.sum-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Flash
   ========================================================================== */
.flash {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 15px; border-radius: var(--r-md); font-size: 13px; margin-bottom: 16px;
  border: 1px solid var(--border); background: var(--surface-2);
}
.flash::before { content: ""; width: 3px; align-self: stretch; border-radius: var(--r-full); background: var(--text-3); flex: none; }
.flash-info    { background: var(--info-bg); border-color: var(--info-bd); color: var(--info); }
.flash-success { background: var(--ok-bg);   border-color: var(--ok-bd);   color: var(--ok); }
.flash-warning { background: var(--warn-bg); border-color: var(--warn-bd); color: var(--warn); }
.flash-error   { background: var(--err-bg);  border-color: var(--err-bd);  color: var(--err); }
.flash-info::before{background:var(--info);} .flash-success::before{background:var(--ok);}
.flash-warning::before{background:var(--warn);} .flash-error::before{background:var(--err);}

/* ==========================================================================
   Phase stepper (dashboard)
   ========================================================================== */
.phase-steps { display: flex; gap: 4px; margin: 4px 0 16px; }
.phase-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; position: relative; }
.phase-step .ps-n {
  width: 28px; height: 28px; border-radius: var(--r-full); display: grid; place-items: center;
  font-weight: 700; font-size: 12px; background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text-3);
}
.phase-step .ps-l { font-size: 11px; color: var(--text-3); line-height: 1.25; }
.phase-step::after {
  content: ""; position: absolute; top: 14px; left: calc(50% + 18px); right: calc(-50% + 18px);
  height: 1.5px; background: var(--border-strong);
}
.phase-step:last-child::after { display: none; }
.phase-step.done .ps-n { background: var(--ink); border-color: var(--ink); color: var(--gold-bright); }
.phase-step.done::after { background: var(--ink); }
.phase-step.current .ps-n { border-color: var(--gold); color: var(--gold); background: var(--gold-weak); }
.phase-step.current .ps-l, .phase-step.done .ps-l { color: var(--text-2); }

/* ==========================================================================
   Dashboard: upcoming rail + weekgrid
   ========================================================================== */
.dash-grid { display: grid; grid-template-columns: 1fr var(--rail-w); gap: 22px; align-items: start; }
.up-list { display: flex; flex-direction: column; }
.up-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.up-row:last-child { border-bottom: 0; }
.up-row .up-body { flex: 1; min-width: 0; }
.up-row .up-title { font-weight: 600; font-size: 13.5px; }
.up-row .up-time { color: var(--text-2); font-size: 12.5px; margin-top: 1px; }

/* Weekrooster */
.week-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.week-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.week-nav .btn { height: 32px; padding: 0 11px; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: middle; }
.dot-green { background: var(--c-direct); }
.dot-amber { background: var(--c-request); }
.dot-busy  { background: repeating-linear-gradient(45deg, var(--c-busy-a), var(--c-busy-a) 3px, var(--c-busy-b) 3px, var(--c-busy-b) 6px); }
.dot-appt  { background: var(--c-appt); }
.week-grid { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.week-row { display: grid; grid-template-columns: 70px 1fr; align-items: stretch; gap: 12px; }
.week-day { display: flex; flex-direction: column; justify-content: center; font-size: 12.5px; line-height: 1.25; }
.week-day.is-today strong { color: var(--gold); }
.week-track { position: relative; height: 34px; background: var(--surface-sunk); border: 1px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.week-seg { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 600; color: #fff; overflow: hidden; white-space: nowrap; border-radius: 4px; }
.week-seg span { padding: 0 5px; }
.seg-green { background: var(--c-direct); } .seg-amber { background: var(--c-request); }
.seg-busy  { background: repeating-linear-gradient(45deg, var(--c-busy-a), var(--c-busy-a) 4px, var(--c-busy-b) 4px, var(--c-busy-b) 8px); top: 0; bottom: 0; border-radius: 0; }
.seg-appt  { background: var(--c-appt); top: 0; bottom: 0; border-radius: 0; }
.week-empty { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
.week-count { font-size: 11px; color: var(--text-3); margin-top: 3px; display: flex; align-items: center; gap: 5px; }

/* Google-agendakeuze */
.cal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 6px 0 4px; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13.5px; }
.check-row input { width: auto; }

/* Slot-preview */
.slot-days { display: flex; flex-direction: column; gap: 10px; }
.slot-day { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.slot-day-head { font-size: 12.5px; font-weight: 600; padding-top: 5px; color: var(--text-2); }
.slot-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.slot-pill { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: var(--r-sm); color: #fff; font-variant-numeric: tabular-nums; }
.pill-green { background: var(--c-direct); } .pill-amber { background: var(--c-request); }

/* Aanvraag behandelen: klantwizard-achtige momentkiezer + actuele bezetting */
.request-planner-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.request-days { display:flex; align-items:stretch; gap:8px; margin-top:18px; }
.request-days-track { flex:1; display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:8px; }
.request-days-nav {
  flex:none; width:38px; min-height:74px; display:grid; place-items:center;
  border:1px solid var(--border-strong); border-radius:var(--r-sm); background:var(--surface);
  color:var(--text); font-size:18px;
}
.request-days-nav:hover { text-decoration:none; border-color:var(--ink); }
.request-days-nav[aria-disabled="true"] { opacity:.3; pointer-events:none; }
.request-day {
  min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:10px 6px; border:1px solid var(--border-strong); border-radius:var(--r-sm);
  background:var(--surface); color:var(--text); text-align:center;
}
.request-day:hover { border-color:var(--ink); text-decoration:none; }
.request-day.is-active { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.request-day-dow { font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--text-3); }
.request-day strong { margin:1px 0; font-size:14px; }
.request-day > span:last-child { max-width:100%; font-size:10.5px; color:var(--text-3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.request-planner-grid { display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(300px, .85fr); gap:28px; margin-top:22px; }
.request-planner-grid > div + div { border-left:1px solid var(--border); padding-left:28px; }
.request-planner-grid h3 { margin:0 0 3px; }
.request-free-slots { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.request-slot { position:relative; }
.request-slot input { position:absolute; opacity:0; pointer-events:none; }
.request-slot span {
  min-width:70px; display:block; padding:9px 13px; border:1.5px solid var(--border-strong);
  border-radius:var(--r-sm); background:var(--surface); text-align:center; font-weight:600;
  font-variant-numeric:tabular-nums; cursor:pointer;
}
.request-slot span:hover { border-color:var(--ink); }
.request-slot input:focus-visible + span { box-shadow:var(--ring); }
.request-slot input:checked + span { background:var(--ink); border-color:var(--ink); color:var(--on-ink); }
.request-custom-slot { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-top:14px; font-size:13px; }
.request-custom-slot > input[type="radio"] { width:auto; }
.request-custom-slot > input[type="datetime-local"] { width:auto; max-width:230px; }
.request-outcome { border:0; padding:0; margin:12px 0 8px; }
.request-planner-empty { padding:12px 14px; border:1px dashed var(--border-strong); border-radius:var(--r-sm); color:var(--text-3); font-size:13px; }
.request-agenda { display:flex; flex-direction:column; gap:7px; margin-top:14px; }
.request-agenda-row { display:grid; grid-template-columns:82px 1fr; gap:10px; padding:9px 10px; border-left:4px solid var(--c-appt); background:var(--surface-sunk); border-radius:0 var(--r-sm) var(--r-sm) 0; }
.request-agenda-row.is-request { border-color:var(--c-request); }
.request-agenda-row.is-proposal { border-color:var(--info); }
.request-agenda-row.is-google { border-color:var(--c-busy-a); }
.request-agenda-row.is-current { border-color:var(--gold); background:var(--gold-weak); }
.request-agenda-time { font-weight:700; font-variant-numeric:tabular-nums; }
.request-agenda-row small { display:block; margin-top:1px; color:var(--text-2); }
.request-planner-legend { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:14px; font-size:11px; color:var(--text-3); }
.request-planner-legend span { display:flex; align-items:center; gap:5px; }
.request-planner-legend i { width:9px; height:9px; border-radius:2px; background:var(--c-appt); }
.request-planner-legend i.is-request { background:var(--c-request); }
.request-planner-legend i.is-proposal { background:var(--info); }
.request-planner-legend i.is-google { background:var(--c-busy-a); }
.request-planner-legend i.is-current { background:var(--gold); }
.request-planner-link { display:inline-block; margin-left:8px; font-size:11px; }

@media (max-width: 760px) {
  .request-planner-head { flex-direction:column; }
  .request-days-track { display:flex; overflow-x:auto; scroll-snap-type:x proximity; }
  .request-day { flex:0 0 88px; scroll-snap-align:start; }
  .request-planner-grid { grid-template-columns:1fr; }
  .request-planner-grid > div + div { border-left:0; border-top:1px solid var(--border); padding:20px 0 0; }
}

/* Prijssimulator */
.estimate { margin-top: 6px; }
.estimate-table { width: 100%; border-collapse: collapse; max-width: 460px; }
.estimate-table td { padding: 9px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.estimate-table td:first-child { color: var(--text-2); width: 45%; }
.estimate-table td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.estimate-table tr.estimate-total td { border-bottom: 0; border-top: 2px solid var(--text); font-size: 17px; padding-top: 13px; }

/* ==========================================================================
   Login / public
   ========================================================================== */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: 36px 34px;
}
.login-card h1 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin-bottom: 3px; }
.login-card .sub { color: var(--text-2); font-size: 13.5px; margin-bottom: 22px; }
.login-card .btn { width: 100%; margin-top: 4px; }
.login-logo { display: block; width: 260px; max-width: 88%; height: auto; margin: -6px auto 16px; }
:root[data-theme="dark"] .login-logo { background: #fff; padding: 12px 16px; border-radius: 12px; width: 220px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-logo { background:#fff; padding:12px 16px; border-radius:12px; width:220px; } }
.login-mark {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  background: var(--gold-weak); border: 1px solid var(--gold-weak-b);
  display: grid; place-items: center; font-weight: 700; font-size: 17px; color: var(--gold);
}


/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .with-rail, .dash-grid { grid-template-columns: 1fr; }
  .dashboard-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { position: static; }
}
@media (max-width: 940px) {
  .sidebar { transform: translateX(-100%); transition: transform var(--step); box-shadow: var(--shadow-pop); }
  body.nav-shown .sidebar { transform: translateX(0); }
  .main { margin-left: 0; }
  .nav-open { display: inline-grid; }
  .content { padding: 22px 16px 60px; }
  .topbar { padding: 0 16px; }
  .form-grid, .cal-grid { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 27px; }
  .list-card { flex-direction: column; }
  .lc-side { align-items: flex-start; text-align: left; }
}
@media (max-width: 620px) {
  .dashboard-actions { grid-template-columns: 1fr; }
  .dashboard-action { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0ms !important; animation-duration: 0ms !important; } }

/* ==========================================================================
   BOEKINGSWIZARD v2 — publieke klantzijde (.bk-*)
   Editorial: cream canvas, serif display, dunne lijnen, goud accent.
   ========================================================================== */
body.bk {
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}

.bk-page {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 34px 36px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.bk-page.is-wide { max-width: 1240px; }

/* Wordmark / logo */
.bk-head { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.bk-brand { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.bk-brand:hover { text-decoration: none; }
.bk-mark { display: flex; flex-direction: column; line-height: 1.15; }
.bk-mark-top { font-size: 15px; font-weight: 600; letter-spacing: .16em; }
.bk-mark-sub { font-size: 9.5px; font-weight: 600; letter-spacing: .28em; color: var(--text-2); }
.bk-logo { display: block; height: 46px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 900px) { .bk-logo { height: 38px; } }

/* Zichtbare voortgang door de boekingsflow. */
.bk-progress {
  display: flex; align-items: flex-start; margin: 0 0 28px; max-width: 640px;
}
.bk-progress-step {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column;
  align-items: center; gap: 7px; color: var(--text-3); text-align: center;
}
.bk-progress-step::after {
  content: ""; position: absolute; top: 13px; left: calc(50% + 18px); right: calc(-50% + 18px);
  height: 1px; background: var(--border-strong); z-index: 0;
}
.bk-progress-step:last-child::after { display: none; }
.bk-progress-dot {
  position: relative; z-index: 1; width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--border-strong);
  background: var(--bg); font-size: 11px; font-weight: 700;
}
.bk-progress-label { font-size: 11px; font-weight: 600; line-height: 1.2; }
.bk-progress-step.is-done::after { background: var(--gold); }
.bk-progress-step.is-done .bk-progress-dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.bk-progress-step.is-current { color: var(--text); }
.bk-progress-step.is-current .bk-progress-dot { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* Twee kolommen */
.bk-body { flex: 1; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.bk-page.is-wide .bk-body { grid-template-columns: 1fr; gap: 0; }
.bk-main { min-width: 0; max-width: 640px; }

.bk-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-2); margin-bottom: 12px;
}
.bk-back:hover { color: var(--text); text-decoration: none; }

.bk-foot {
  margin-top: 28px;
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

/* Titels */
.bk-eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 12px;
}
.bk-h1 {
  font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.bk-h1.is-hero { font-size: 40px; }
.bk-lead { color: var(--text-2); font-size: 14px; line-height: 1.6; max-width: 46ch; }
.bk-sub { color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.bk-section-l {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2); margin: 18px 0 10px;
}

/* ---------- Rail ---------- */
.bk-rail { position: sticky; top: 30px; }
.bk-rail-card {
  border: 1px solid var(--border); border-radius: var(--r-lg, 18px);
  background: var(--surface); padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.bk-rail-title {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin: 0;
}
.bk-rail-empty {
  display: flex; gap: 11px; align-items: flex-start; padding: 18px 0 2px;
  color: var(--text-2); font-size: 13px; line-height: 1.55;
}
.bk-rail-empty svg { flex: none; color: var(--gold); margin-top: 2px; }
.bk-rail-row {
  display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.bk-rail-row.is-sub { padding: 12px 0; }
.bk-rail-row.is-sub + .bk-rail-row.is-sub { border-top: 0; }
.bk-rail-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--surface-sunk); color: var(--gold);
  display: grid; place-items: center;
}
.bk-rail-row.is-sub .bk-rail-ico { width: 32px; height: 32px; border-radius: 9px; }
.bk-rail-main { min-width: 0; flex: 1; }
.bk-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bk-rail-l { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.bk-rail-row.is-sub .bk-rail-l { font-size: 12.5px; }
.bk-rail-edit {
  font-size: 11px; color: var(--gold); text-decoration: underline; text-underline-offset: 2px; flex: none;
}
.bk-rail-edit:hover { color: var(--text); }
.bk-rail-v { display: block; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.bk-rail-v.is-empty { color: var(--text-3); }
.bk-rail-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px;
  padding: 14px 16px; border-radius: 12px; background: var(--surface-sunk);
  font-size: 12.5px; line-height: 1.5; color: var(--text-2);
}
.bk-rail-note svg { flex: none; color: var(--gold); margin-top: 1px; }
.bk-rail-note strong { color: var(--text); font-weight: 700; }

/* ---------- Knoppen ---------- */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 26px;
  min-width: 190px; padding: 13px 20px; border: 1px solid var(--ink); border-radius: var(--r-sm);
  background: var(--ink); color: var(--on-ink); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background var(--step), border-color var(--step);
}
.bk-btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); text-decoration: none; }
.bk-btn.is-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.bk-btn.is-gold:hover { background: color-mix(in srgb, var(--gold) 88%, #000); border-color: color-mix(in srgb, var(--gold) 88%, #000); }
.bk-btn.is-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.bk-btn.is-ghost:hover { background: var(--surface-sunk); }
.bk-btn.is-block { width: 100%; }
.bk-btn.is-center { justify-content: center; gap: 10px; }
.bk-btn:disabled { opacity: .45; cursor: not-allowed; }
.bk-link { font-size: 13px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.bk-link:hover { color: var(--text); }
.bk-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Categoriekaarten ---------- */
.bk-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.bk-cat {
  display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%;
  padding: 18px; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); cursor: pointer;
  transition: border-color var(--step), background var(--step), color var(--step);
  position: relative; min-height: 108px;
}
.bk-cat:hover { border-color: var(--ink); text-decoration: none; }
.bk-cat.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bk-cat .bi { flex: none; margin-top: 2px; color: var(--text-2); }
.bk-cat.is-active .bi { color: var(--gold-bright); }
.bk-cat-body { flex: 1; min-width: 0; display: block; padding-right: 20px; }
.bk-cat-name {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 5px;
}
.bk-cat-desc { display: block; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.bk-cat.is-active .bk-cat-desc { color: rgba(255,255,255,.72); }
.bk-cat-arrow { position: absolute; right: 16px; bottom: 14px; color: var(--text-3); }
.bk-cat.is-active .bk-cat-arrow { color: var(--gold-bright); }

/* Dienstkeuze (stap 02) — tegels, twee kolommen; meest gekozen springt eruit */
.bk-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.bk-svc {
  display: flex; gap: 13px; align-items: flex-start; text-align: left; width: 100%;
  padding: 15px 16px 56px; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); cursor: pointer; position: relative; min-height: 118px;
  transition: border-color var(--step), background var(--step), color var(--step), box-shadow var(--step);
}
.bk-svc:hover { border-color: var(--ink); text-decoration: none; }
.bk-svc.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bk-svc.is-featured {
  grid-column: 1 / -1; border-color: var(--gold); border-width: 1.5px; padding-bottom: 56px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 14%, transparent);
}
.bk-svc.is-featured.is-active { box-shadow: none; }
.bk-svc-tag {
  position: absolute; top: -10px; left: 18px;
  background: var(--gold); color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
}
.bk-svc-ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px; margin-top: 1px;
  background: var(--surface-sunk); color: var(--gold);
  display: grid; place-items: center;
}
.bk-svc.is-active .bk-svc-ico { background: rgba(255,255,255,.12); color: var(--gold-bright); }
.bk-svc-body { flex: 1; min-width: 0; }
.bk-svc-cat {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 3px;
}
.bk-svc.is-active .bk-svc-cat { color: var(--gold-bright); }
.bk-svc-name { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.bk-svc.is-featured .bk-svc-name { font-size: 17px; }
.bk-svc-desc {
  font-size: 12px; line-height: 1.5; color: var(--text-2); margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bk-svc.is-featured .bk-svc-desc { -webkit-line-clamp: 3; }
.bk-svc.is-active .bk-svc-desc { color: rgba(255,255,255,.72); }
.bk-svc-meta {
  position: absolute; left: 16px; right: 34px; bottom: 13px;
  display: flex; flex-wrap: nowrap; gap: 7px; align-items: center;
  font-size: 11.5px; color: var(--text-2); font-weight: 600;
}
.bk-svc-meta > span {
  display: inline-flex; align-items: center; gap: 4px; min-height: 23px;
  line-height: 1.2; white-space: nowrap;
}
.bk-svc-meta .is-direct, .bk-svc-meta .is-request, .bk-svc-meta .is-price {
  border-radius: 999px; padding: 3px 7px;
}
.bk-svc-meta .is-direct { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.bk-svc-meta .is-request { color: var(--gold); background: var(--gold-weak); }
.bk-svc-meta .is-price { color: var(--text); background: var(--surface-sunk); }
.bk-svc.is-active .bk-svc-meta { color: rgba(255,255,255,.82); }
.bk-svc.is-active .bk-svc-meta .is-direct,
.bk-svc.is-active .bk-svc-meta .is-request,
.bk-svc.is-active .bk-svc-meta .is-price { color: #fff; background: rgba(255,255,255,.12); }
.bk-svc-arrow { position: absolute; right: 16px; bottom: 12px; color: var(--text-3); }
.bk-svc.is-active .bk-svc-arrow { color: var(--gold-bright); }

/* Geruststellende band onder de dienstenlijst */
.bk-svc-band {
  display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden;
  margin-top: 20px; padding: 18px 20px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-sunk);
}
.bk-svc-band-ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--surface); color: var(--gold);
  display: grid; place-items: center;
}
.bk-svc-band-copy { display: block; min-width: 0; z-index: 1; }
.bk-svc-band-copy strong { display: block; font-size: 13.5px; font-weight: 700; }
.bk-svc-band-copy span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.bk-svc-band-art {
  position: absolute; right: -8px; bottom: -6px; width: 150px; height: 90px;
  color: var(--border-strong); opacity: .5; pointer-events: none;
}
@media (max-width: 900px) { .bk-svc-band-art { display: none; } }

/* ---------- Chip (gekozen categorie) ---------- */
.bk-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}

/* ---------- Formulier ---------- */
.bk-field { display: block; margin-bottom: 16px; }
.bk-field > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.bk-field input[type=text], .bk-field input[type=email], .bk-field input[type=tel], .bk-field textarea {
  width: 100%; padding: 12px 14px; font-size: 14px;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
}
.bk-field textarea { min-height: 76px; resize: vertical; line-height: 1.55; }
.bk-field input:focus, .bk-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
.bk-field .bk-err { display: block; color: var(--err); font-size: 12px; margin-top: 6px; }
.bk-field-ok { position: relative; }
.bk-field-ok .bk-tick {
  position: absolute; right: 13px; bottom: 13px; color: var(--ok);
}
.bk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* Pill-keuzes */
.bk-q { margin-bottom: 16px; }
.bk-q-label { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.bk-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.bk-pill { position: relative; }
.bk-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bk-pill label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 13px; border: 1px solid var(--border-strong); border-radius: var(--r-full);
  background: var(--surface); font-size: 13.5px; cursor: pointer;
  transition: border-color var(--step), background var(--step);
}
.bk-pill label::before {
  content: ""; width: 13px; height: 13px; border-radius: var(--r-full);
  border: 1.5px solid var(--border-strong); flex: none; transition: border-color var(--step), border-width var(--step);
}
.bk-pill label:hover { border-color: var(--text-3); }
.bk-pill input:checked + label { border-color: var(--ink); }
.bk-pill input:checked + label::before { border-color: var(--ink); border-width: 4px; }
.bk-pill input:focus-visible + label { box-shadow: var(--ring); }

.bk-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin: 4px 0 8px; }
.bk-check input { width: 16px; height: 16px; accent-color: var(--gold); }

.bk-footnote { color: var(--text-3); font-size: 11.5px; line-height: 1.6; margin-top: 16px; }

/* ---------- Locatie (scherm 05) ---------- */
.bk-location-grid { display: grid; grid-template-columns: minmax(120px, .36fr) minmax(0, .64fr); gap: 18px; }
.bk-live-status { margin: -4px 0 12px; min-height: 18px; color: var(--text-3); font-size: 11.5px; }
.bk-live-error {
  margin: -2px 0 14px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--err) 35%, transparent);
  border-radius: var(--r-sm); background: color-mix(in srgb, var(--err) 7%, transparent);
  color: var(--err); font-size: 12px;
}
.bk-loc-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 4px 0 0; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
}
.bk-loc-info dt { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.bk-loc-info dd { margin: 4px 0 0; font-size: 14px; }
.bk-loc-km { color: var(--text-2); margin-left: 8px; font-size: 12.5px; }
.bk-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 18px; }
.bk-total-l { font-size: 12.5px; color: var(--text-2); }
.bk-total-v { font-family: var(--serif); font-size: 22px; font-weight: 500; }

/* ---------- Dagstrip + tijden (scherm 05) ---------- */
.bk-strip-hint {
  display: flex; align-items: center; gap: 6px; margin: 12px 0 0;
  font-size: 12px; color: var(--text-3);
}
.bk-strip-hint svg { color: var(--text-2); }

.bk-days { display: flex; align-items: stretch; gap: 10px; margin-top: 6px; }
.bk-days-nav {
  flex: none; width: 42px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
  transition: background var(--step), border-color var(--step), color var(--step);
}
.bk-days-nav svg { width: 20px; height: 20px; }
.bk-days-nav:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); text-decoration: none; }
.bk-days-nav[aria-disabled="true"] { opacity: .3; pointer-events: none; }
.bk-days-track { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; min-width: 0; }
.bk-day {
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface);
  padding: 14px 6px 12px; text-align: center; color: var(--text); cursor: pointer;
  transition: border-color var(--step), box-shadow var(--step), transform var(--step);
}
.bk-day:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.bk-day.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.bk-day.is-empty { color: var(--text-3); }
.bk-day-dow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.bk-day-date { font-size: 14px; font-weight: 700; margin: 3px 0 4px; white-space: nowrap; }
.bk-day-note { display: block; font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-day-fee {
  display: inline-block; margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent); padding: 1px 6px; border-radius: 999px;
}

.bk-daypart { margin-top: 16px; }
.bk-daypart-l { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; text-transform: uppercase; color: var(--text-2); }
.bk-times { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bk-time {
  min-width: 76px; text-align: center; padding: 12px 16px;
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); background: var(--surface);
  font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); cursor: pointer;
  transition: background var(--step), border-color var(--step), color var(--step), transform var(--step);
}
.bk-time:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.bk-time.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bk-time.is-request { border-style: dashed; color: var(--text-2); }
.bk-daypart-empty { font-size: 13px; color: var(--text-3); }

/* Legenda "op aanvraag" */
.bk-legend {
  display: flex; align-items: flex-start; gap: 14px; margin-top: 24px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-sunk); font-size: 12.5px; line-height: 1.55; color: var(--text-2);
}
.bk-legend strong { color: var(--text); }
.bk-legend-sample { flex: none; pointer-events: none; padding: 7px 11px; min-width: 0; font-size: 12px; }

/* Geruststellende / info-callout */
.bk-callout {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-md); font-size: 13px; line-height: 1.55;
  border: 1px solid var(--border); background: var(--surface-sunk); color: var(--text-2);
}
.bk-callout strong { color: var(--text); }
.bk-callout svg { flex: none; margin-top: 1px; color: var(--text-3); }
.bk-callout.is-fee {
  border-color: color-mix(in srgb, var(--gold) 40%, var(--border));
  background: color-mix(in srgb, var(--gold) 10%, var(--surface));
}
.bk-callout.is-fee svg { color: var(--gold); }
.bk-day-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-top: 20px; }

/* ---------- Slotbevestiging (scherm 07) ---------- */
.bk-slot-card {
  border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface);
  padding: 30px; text-align: center; max-width: 420px;
}
.bk-slot-day { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.bk-slot-time { font-family: var(--serif); font-size: 52px; font-weight: 400; color: var(--gold); line-height: 1.05; margin: 12px 0 16px; }
.bk-slot-svc { font-size: 15px; font-weight: 600; }
.bk-slot-meta { color: var(--text-2); font-size: 13px; margin-top: 5px; line-height: 1.6; }
.bk-slot-note { font-size: 12.5px; color: var(--text-2); margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- Overzicht (scherm 09) ---------- */
.bk-review { display: grid; grid-template-columns: 1fr 262px; gap: 30px; align-items: start; margin-top: 4px; }
.bk-review-rows { display: flex; flex-direction: column; gap: 17px; }
.bk-rrow { display: flex; gap: 13px; align-items: flex-start; }
.bk-rrow .bi { color: var(--text-3); flex: none; margin-top: 2px; }
.bk-rrow-l { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.bk-rrow-v { font-size: 14px; margin-top: 2px; line-height: 1.5; }
.bk-pricecard { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); padding: 18px; }
.bk-pricecard h3 { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.bk-pline { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 6px 0; }
.bk-pline .v { white-space: nowrap; }
.bk-pline .v { font-variant-numeric: tabular-nums; }
.bk-pline.is-total {
  border-top: 1px solid var(--text); margin-top: 10px; padding-top: 12px;
  font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; align-items: baseline;
}
.bk-pline.is-total .v { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 0; text-transform: none; }

/* ---------- Bevestigd (scherm 10) ---------- */
.bk-done { max-width: 500px; }
.bk-done-mark {
  width: 46px; height: 46px; border-radius: var(--r-full); margin-bottom: 22px;
  border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--ok);
}
.bk-done-card {
  display: flex; gap: 16px; align-items: center; margin: 24px 0 20px;
  border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); padding: 16px 18px;
}
.bk-done-date {
  flex: none; text-align: center; padding-right: 16px; border-right: 1px solid var(--border); line-height: 1.15;
}
.bk-done-date .d1 { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.bk-done-date .d2 { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.bk-done-meta { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-top: 4px; }
.bk-done-ref { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.bk-done-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---------- Hero (scherm 01) ---------- */
.bk-hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.bk-hero-copy { max-width: 520px; }
.bk-hero-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.bk-hero-foot p { font-size: 13px; color: var(--text-2); margin-bottom: 5px; }

/* USP-rij op de landing */
.bk-usps {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.bk-usps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); }
.bk-usps li svg { color: var(--gold); flex: none; }
.bk-usp-note {
  margin: 10px 0 0; display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-2);
}
.bk-usp-note svg { color: var(--text-3); flex: none; }
.bk-usp-note strong { color: var(--text); font-weight: 600; }

/* Foto vult de rechterhelft van het venster, met een zachte overgang links. */
.bk-hero-photo {
  position: fixed; inset: 0 0 0 auto; width: 46vw; z-index: 0; pointer-events: none;
}
.bk-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.bk-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 10%, transparent 26%);
}
body.bk.is-hero .bk-page { position: relative; z-index: 1; max-width: 1240px; }
body.bk.is-hero .bk-main { max-width: 500px; }
body.bk.is-hero .bk-foot { position: relative; z-index: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bk-page { padding: 16px 16px 28px; }
  .bk-body { grid-template-columns: 1fr; gap: 22px; }
  .bk-rail { position: static; order: 2; }
  .bk-h1 { font-size: 24px; }
  .bk-h1.is-hero { font-size: 30px; }
  .bk-cat-grid, .bk-svc-grid, .bk-grid-2, .bk-location-grid, .bk-loc-info, .bk-review { grid-template-columns: 1fr; }
  .bk-svc.is-featured { grid-column: auto; }
  .bk-hero-photo { position: static; width: auto; height: 220px; margin: 28px -18px 0; }
  .bk-hero-photo::after { display: none; }
  body.bk.is-hero .bk-main { max-width: none; }
  .bk-days-track { grid-template-columns: repeat(3, 1fr); }
  .bk-btn { width: 100%; }
  .bk-progress { margin-bottom: 22px; overflow-x: auto; padding-bottom: 2px; }
  .bk-progress-step { min-width: 66px; }
  .bk-progress-label { font-size: 10px; }
  .bk-svc { min-height: 130px; padding-bottom: 70px; }
  .bk-svc-meta { flex-wrap: wrap; }
}

/* Houd de wizard op een laptop in één viewport. De normale documentflow blijft
   actief voor uitzonderlijk veel inhoud en op kleinere schermen. */
@media (min-width: 901px) {
  body.bk.is-wizard .bk-page { padding-top: 14px; padding-bottom: 16px; }
  body.bk.is-wizard .bk-head { min-height: 42px; margin-bottom: 14px; }
  body.bk.is-wizard .bk-logo { height: 40px; }
  body.bk.is-wizard .bk-progress {
    position: absolute; top: 21px; left: 210px;
    width: min(620px, calc(100% - 244px)); margin: 0;
  }
  body.bk.is-wizard .bk-foot { display: none; }
}

@media (min-width: 901px) and (max-height: 950px) {
  body.bk.is-wizard .bk-body { gap: 36px; }
  body.bk.is-wizard .bk-back { margin-bottom: 7px; }
  body.bk.is-wizard .bk-h1 { margin-bottom: 6px; }
  body.bk.is-wizard .bk-lead { line-height: 1.45; }
  body.bk.is-wizard .bk-svc-grid { gap: 9px; margin-top: 10px; }
  body.bk.is-wizard .bk-svc {
    min-height: 116px; padding: 12px 14px 48px;
  }
  body.bk.is-wizard .bk-svc.is-featured { min-height: 102px; padding-bottom: 48px; }
  body.bk.is-wizard .bk-svc-meta { left: 14px; right: 34px; bottom: 9px; }
  body.bk.is-wizard .bk-svc-arrow { right: 10px; bottom: 12px; }
  body.bk.is-wizard .bk-svc-band { margin-top: 10px; padding: 12px 16px; }
  body.bk.is-wizard .bk-rail-card { padding: 18px; }
  body.bk.is-wizard .bk-rail-empty { padding-top: 14px; }
  body.bk.is-wizard .bk-rail-note { margin-top: 14px; padding: 12px 14px; }
}

/* ---------- Juridische pagina's ---------- */
.bk-page.is-legal .bk-main, .bk-prose { max-width: 720px; }
.bk-prose { font-size: 15px; line-height: 1.7; }
.bk-prose .bk-h1 { margin-bottom: 6px; }
.bk-updated { font-size: 12.5px; color: var(--text-3); margin-bottom: 26px; }
.bk-prose h2 {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em;
  margin: 34px 0 10px; padding-top: 20px; border-top: 1px solid var(--border);
}
.bk-prose p { margin-bottom: 14px; color: var(--text); }
.bk-prose ul { margin: 0 0 16px; padding-left: 20px; }
.bk-prose li { margin-bottom: 7px; }
.bk-prose a { text-decoration: underline; text-underline-offset: 2px; }
.bk-addr {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 18px; font-size: 14px; line-height: 1.65;
}
.bk-table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 13.5px; }
.bk-table th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3); padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--border-strong);
}
.bk-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.bk-legal-nav { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; }
.bk-foot-links { margin-top: 0; display: inline-flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; align-items: center; }
.bk-foot-links a { color: var(--text-3); }
.bk-foot-links a:hover { color: var(--text-2); }


/* ==========================================================================
   Laadstatus bij formulier-verzending (voorkomt weg-navigeren tijdens SMTP/DB)
   ========================================================================== */
@keyframes bl-spin { to { transform: rotate(360deg); } }

.btn.is-loading, .bk-btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading > *, .bk-btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after, .bk-btn.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid var(--on-ink); border-top-color: transparent;
  animation: bl-spin .6s linear infinite;
}
.btn-ghost.is-loading::after, .bk-btn.is-ghost.is-loading::after { border-color: var(--text); border-top-color: transparent; }

/* Schermvullende melding tijdens het aanmaken van de boeking */
.bl-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center;
  background: color-mix(in srgb, var(--surface, #ffffff) 82%, transparent);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  color: var(--text, #1a1a1a); font-size: 14px;
}
.bl-overlay strong { font-size: 15px; }
.bl-overlay span { color: var(--text-2, #6b6b6b); font-size: 13px; }
.bl-overlay .bl-spin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid currentColor; border-top-color: transparent;
  animation: bl-spin .6s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::after, .bk-btn.is-loading::after, .bl-overlay .bl-spin { animation-duration: 1.6s; }
}


/* ==========================================================================
   Verplichte velden duidelijk markeren
   ========================================================================== */
.bk-field:has(> textarea:required) > span::after,
.bk-field:has(> input:required) > span::after,
.bk-field:has(> select:required) > span::after,
label.field:has(> textarea:required) > span::after,
label.field:has(> input:required) > span::after,
label.field:has(> select:required) > span::after {
  content: " *"; color: var(--err); font-weight: 700;
}
/* Fallback voor browsers zonder :has() — expliciete klasse op het label. */
.bk-field.is-required > span::after,
label.field.is-required > span::after { content: " *"; color: var(--err); font-weight: 700; }

.bk-req {
  display: inline-block; margin-left: 7px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--err);
  background: color-mix(in srgb, var(--err) 12%, transparent);
  padding: 1px 6px; border-radius: 999px; vertical-align: middle;
}


/* ==========================================================================
   Wizard-stapovergangen — zachte binnenkomst + duidelijke keuze-feedback
   ========================================================================== */
/* Alleen opacity animeren: een transform op .bk-main zou de position:fixed
   hero-foto (die op de landing bínnen .bk-main staat) als containing block
   nemen i.p.v. het venster, waardoor ze de tekst afdekt. */
@keyframes bk-step-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.bk .bk-main { animation: bk-step-in .28s ease both; }
body.bk.is-hero .bk-main { animation: none; }

/* Inhoud "verlaat" het scherm bij het doorklikken. */
.bk-main.is-leaving {
  animation: none;
  opacity: 0;
  transition: opacity .16s ease;
  pointer-events: none;
}

/* De aangeklikte keuze wordt meteen bevestigd (vullen + spinner),
   de rest dimt weg zodat duidelijk is wat je koos. */
.bk-time.is-choosing, .bk-cat.is-choosing, .bk-svc.is-choosing {
  background: var(--ink) !important; border-color: var(--ink) !important; color: transparent !important;
  position: relative; transform: translateY(-1px) scale(.98);
}
.bk-time.is-choosing > *, .bk-cat.is-choosing > *, .bk-svc.is-choosing > * { visibility: hidden; }
.bk-time.is-choosing::after, .bk-cat.is-choosing::after, .bk-svc.is-choosing::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border: 2px solid var(--on-ink); border-top-color: transparent; border-radius: 50%;
  animation: bl-spin .6s linear infinite; visibility: visible;
}
.bk-time.is-dimmed, .bk-cat.is-dimmed, .bk-svc.is-dimmed,
.bk-day.is-dimmed, .bk-days-nav.is-dimmed {
  opacity: .35; pointer-events: none; transition: opacity .15s ease;
}

@media (prefers-reduced-motion: reduce) {
  body.bk .bk-main, .bk-main.is-leaving { animation: none; transition: none; transform: none; }
  .bk-time.is-choosing, .bk-cat.is-choosing, .bk-svc.is-choosing { transform: none; }
}
