/* ==========================================================================
   Site + dashboard
   Stijl: rustig en strak (Notion/Figma). Zwart-wit, dunne lijnen, blauw alleen
   voor focus, links en actieve staten. Schaduw alleen voor zwevende lagen.
   ========================================================================== */
:root {
  --paper: #f7f7f5;          /* zijbalken, panelen, achtergrond van de app */
  --paper-2: #efefed;        /* hover, segmenten, rustige vlakken */
  --card: #ffffff;           /* canvas */
  --ink: #191919;
  --ink-2: #5a5a57;
  --ink-3: #91918e;
  --line: #e9e9e7;
  --line-2: #dcdcd9;
  --accent: #2383e2;         /* blauw: focus, links, actief */
  --accent-ink: #ffffff;
  --accent-soft: #e9f2fc;
  --primary: #191919;        /* hoofdknoppen */
  --primary-hover: #000000;
  --ok: #1b7f5c;
  --ok-soft: #e4f3ec;
  --warn: #946200;
  --warn-soft: #fbf1dc;
  --bad: #d1352b;
  --bad-soft: #fcebea;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --shadow: 0 0 0 1px rgba(15, 15, 15, .05), 0 4px 12px rgba(15, 15, 15, .06);
  --shadow-float: 0 0 0 1px rgba(15, 15, 15, .06), 0 12px 32px rgba(15, 15, 15, .12);
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dots: radial-gradient(circle, #d6d6d3 1px, transparent 1.2px) 0 0 / 18px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--card); color: var(--ink); font: 14.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: #cfe3f8; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; color: var(--ink-3); }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Knoppen ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--primary);
  background: var(--primary); color: #fff; font: 500 14px/1 var(--font); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  white-space: nowrap; box-shadow: 0 1px 2px rgba(15, 15, 15, .08);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--primary-hover); }
.btn-accent { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-accent:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-blue { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-light { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-light:hover { background: var(--paper); border-color: var(--line-2); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: #b62a21; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; gap: 5px; }
.btn-sm svg { width: 14px; height: 14px; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 15px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.icon-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: var(--radius-sm);
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer; padding: 0; transition: background .12s, color .12s;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; background: transparent; }
.icon-btn svg { width: 16px; height: 16px; }

/* Formulieren ------------------------------------------------------------ */
label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 6px; color: var(--ink); }
.field + .field { margin-top: 16px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=tel], input[type=time], input[type=date], input[type=datetime-local], textarea, select {
  width: 100%; height: 36px; padding: 0 11px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); font: inherit; font-size: 14px; transition: border-color .12s, box-shadow .12s;
}
textarea { height: auto; padding: 9px 11px; resize: vertical; min-height: 90px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35, 131, 226, .18); }
select { appearance: none; padding-right: 30px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%2391918e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center; }
input[type=color] { width: 40px; height: 36px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { margin-top: 3px; }
.error { color: var(--bad); font-size: 13px; margin-top: 6px; }
.hint { color: var(--ink-3); font-size: 12.5px; margin-top: 6px; }
.prefix-input { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; height: 36px; }
.prefix-input span { display: flex; align-items: center; padding: 0 0 0 11px; color: var(--ink-3); white-space: nowrap; font-size: 14px; }
.prefix-input input { border: 0 !important; height: 34px; padding-left: 1px; box-shadow: none !important; }
.prefix-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35, 131, 226, .18); }

/* Meldingen -------------------------------------------------------------- */
.alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 18px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-soft); color: #145f45; border-color: #cce7da; }
.alert-bad { background: var(--bad-soft); color: #a32920; border-color: #f5d1ce; }
.alert-warn { background: var(--warn-soft); color: #7a5200; border-color: #f0e0bb; }
.alert a { font-weight: 600; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 12px; font-weight: 500; background: var(--paper-2); color: var(--ink-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-accent { background: var(--accent-soft); color: #1b67b3; }

/* Kaarten: een dunne lijn, geen schaduw ----------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.card h2 { font-size: 1.05rem; letter-spacing: -.01em; }

/* ==========================================================================
   Marketing
   ========================================================================== */
.site-nav { position: sticky; top: 0; z-index: 30; padding: 10px 0; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-nav .container { display: flex; align-items: center; gap: 12px; }
.logo { font: 600 17px/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); display: inline-grid; place-items: center; flex: none; }
.logo-mark::after { content: ''; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; }

.hero { padding: 72px 0 80px; position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--dots); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 12em; }
.hero h1 em { font-style: normal; color: inherit; }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 30em; margin-bottom: 28px; line-height: 1.5; }
.claim { display: flex; max-width: 460px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 4px 4px 4px 14px; align-items: center; box-shadow: var(--shadow); }
.claim:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35, 131, 226, .18); }
.claim span { color: var(--ink-3); white-space: nowrap; }
.claim input { border: 0 !important; height: 36px; padding: 0 2px; background: transparent; box-shadow: none !important; min-width: 0; }

.phone {
  width: 280px; margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 38px; border: 8px solid var(--ink);
  background: #f4f1ec; padding: 36px 20px; position: relative; box-shadow: var(--shadow-float);
}
.phone .ph-avatar { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 22px var(--display); }
.phone .ph-name { text-align: center; font: 600 16px var(--display); color: var(--ink); }
.phone .ph-bio { text-align: center; font-size: 12px; color: var(--ink-2); margin-bottom: 18px; }
.phone .ph-link { background: #fff; color: var(--ink); border-radius: 10px; padding: 11px; text-align: center; font-size: 13px; font-weight: 500; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(15, 15, 15, .08); }
.phone .ph-icons { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.phone .ph-icons i { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); opacity: .8; }

.section { padding: 72px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2, .section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.section-head p { color: var(--ink-2); font-size: 16.5px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.feature { padding: 24px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature .num { font: 500 13px var(--font); color: var(--ink-3); margin-bottom: 10px; }
.feature p { color: var(--ink-2); margin: 0; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 15px; }
.plan.is-highlight { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan.is-current { border-color: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.plan .tag { position: absolute; top: -10px; left: 20px; }
.plan .tag.badge, .plan .badge.tag { background: var(--ink); color: #fff; }
.plan .price { font: 600 36px/1 var(--display); margin: 14px 0 4px; letter-spacing: -.035em; }
.plan .price small { font: 400 14px var(--font); color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; border-top: 1px solid var(--line); padding-top: 14px; }
.plan li { padding: 5px 0 5px 24px; position: relative; font-size: 13.5px; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 3px; top: 11px; width: 10px; height: 5px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg); }

.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-top: 24px; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font: 500 13px var(--font); color: var(--ink); margin: 4px 0 10px; }
.footer-grid a:not(.logo) { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; font-size: 13.5px; }
.footer-grid a:not(.logo):hover { color: var(--ink); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Blogbeheer ------------------------------------------------------------- */
.post-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.post-side .card { padding: 16px; }
.post-side .card + .card { margin-top: 12px; }
.post-side h3 { font-size: 14px; margin-bottom: 10px; }
.post-side .check + .check { margin-top: 6px; }
.title-input { font: 600 24px/1.2 var(--display) !important; height: auto !important; padding: 12px 14px !important; letter-spacing: -.02em; }
.EasyMDEContainer .editor-toolbar { background: var(--card); border-color: var(--line-2); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.EasyMDEContainer .CodeMirror { border-color: var(--line-2); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font: 15px/1.7 var(--font); }
.serp { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; font-family: Arial, sans-serif; background: #fff; }
.serp-url { font-size: 12px; color: #4d5156; }
.serp-title { color: #1a0dab; font-size: 17px; line-height: 1.3; margin: 3px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.serp-desc { color: #4d5156; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog --------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .15s; }
.post-card:hover { border-color: var(--line-2); }
.post-card:hover h2, .post-card:hover h3 { color: var(--accent); }
.post-card .cover { aspect-ratio: 1200 / 630; background: var(--paper-2); object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.post-card .cover-ph { aspect-ratio: 1200 / 630; display: grid; place-items: center; background: var(--dots), var(--paper); color: var(--ink-3); font: 600 36px var(--display); border-bottom: 1px solid var(--line); }
.post-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.05rem; margin-bottom: 6px; transition: color .15s; }
.post-card p { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; flex: 1; }
.post-meta { font-size: 13px; color: var(--ink-3); }
.article { padding: 40px 0 20px; }
.article-head { max-width: 720px; margin: 0 auto 28px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.article-head .lead { font-size: 19px; color: var(--ink-2); }
.article-cover { max-width: 1000px; margin: 0 auto 36px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.article-body { max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.article-body h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body li { margin: .3em 0; }
.article-body a { color: var(--accent); text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius); margin: 1.4em auto; height: auto; }
.article-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ink); color: var(--ink-2); }
.article-body blockquote p:last-child { margin: 0; }
.article-body code { background: var(--paper-2); padding: 2px 6px; border-radius: 4px; font-size: .88em; color: #c4302b; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }

/* Nieuwe blokken, QR en agenda ------------------------------------------- */
.nav-count { margin-left: auto; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; }
.add-blocks { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.add-block-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.chip-btn { border: 1px solid var(--line-2); background: var(--card); border-radius: var(--radius-sm); height: 28px; padding: 0 10px; font: 500 13px var(--font); color: var(--ink-2); cursor: pointer; }
.chip-btn:hover { color: var(--ink); background: var(--paper); }
.chip-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.add-panel { margin-top: 12px; padding: 14px; background: var(--paper); border-radius: var(--radius-sm); }
.schedule-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--warn); background: var(--warn-soft); height: 20px; padding: 0 7px; border-radius: 4px; }
.schedule-badge svg { width: 13px; height: 13px; }
.schedule-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.schedule-box input { margin-top: 4px; }

.qr-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; }
.qr-layout .card + .card { margin-top: 16px; }
.qr-card { text-align: center; position: sticky; top: 28px; }
.qr-stage { background: var(--dots), var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; }
.qr-stage canvas { width: 100%; max-width: 300px; height: auto; image-rendering: pixelated; border-radius: 6px; box-shadow: var(--shadow); }
.qr-url { margin-top: 12px; font-size: 13px; color: var(--ink-2); word-break: break-all; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 8px 10px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-color: var(--ink); }
.setup-steps { margin-bottom: 18px; }
.setup-steps ol { margin: 8px 0 0; padding-left: 0; list-style: none; counter-reset: s; }
.setup-steps li { counter-increment: s; padding: 6px 0 6px 32px; position: relative; }
.setup-steps li::before { content: counter(s); position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.setup-steps li.done::before { content: '✓'; background: var(--ok); border-color: var(--ok); color: #fff; }
.setup-steps li.done a { color: var(--ink-3); text-decoration: line-through; }
.day-head { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 22px 0 8px; }
.day-head:first-of-type { margin-top: 4px; }
.appt { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: relative; }
.appt::before { content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--ok); }
.appt + .appt { margin-top: 8px; }
.appt-pending::before { background: #e0a100; }
.appt-cancelled::before, .appt-declined::before { background: var(--line-2); }
.appt-cancelled, .appt-declined { opacity: .6; }
.appt-time { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.appt-time strong { font-size: 16px; font-weight: 600; }
.appt-time span { font-size: 12px; color: var(--ink-3); }
.appt-contact a { color: var(--ink-2); }
.appt-note { margin-top: 8px; font-size: 13px; background: var(--paper); padding: 8px 10px; border-radius: 6px; white-space: pre-line; }
.appt-actions { display: flex; flex-direction: column; gap: 6px; }
.service-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 12px 14px; }
.service-grid .field + .field { margin-top: 0; }
.service-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.service-item summary::-webkit-details-marker { display: none; }
.service-item.is-off { opacity: .6; }
.hours-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .day-toggle { margin: 0; font-weight: 500; }
.hours-times { display: flex; align-items: center; gap: 8px; }
.hours-times input { width: 120px; }
.hours-closed { display: none; }
.hours-row.is-closed .hours-times { display: none; }
.hours-row.is-closed .hours-closed { display: block; }
.closed-add input { max-width: 200px; }

/* Hoofdmenu ---------------------------------------------------------------- */
.site-menu { display: flex; gap: 2px; margin-left: 20px; }
.site-menu a { height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.site-menu a:hover, .site-menu a.active { color: var(--ink); background: var(--paper-2); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; }
.mobile-menu-panel { position: absolute; right: 0; top: 42px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-float); padding: 6px; min-width: 200px; z-index: 20; }
.mobile-menu-panel a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.mobile-menu-panel a:hover { background: var(--paper-2); }

/* Marketingpagina's -------------------------------------------------------- */
.page-hero { padding: 64px 0 44px; text-align: center; position: relative; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--dots); -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 50% 30%, #000 20%, transparent 70%); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 15em; margin-inline: auto; }
.page-hero h1 em, .hero h1 em { font-style: normal; color: inherit; }
.page-hero .lead { font-size: 18px; color: var(--ink-2); max-width: 34em; margin: 0 auto 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 13px var(--font); color: var(--ink-2); background: var(--card); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.center { text-align: center; }
.btn-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero .btn-row { justify-content: flex-start; }
.compare-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font: 600 14px var(--display); background: var(--paper); color: var(--ink) !important; }
.compare thead th small { display: block; font: 400 12px var(--font); color: var(--ink-3); margin-top: 2px; }
.compare tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: #fbfbfa; }
.yes { color: var(--ink); font-weight: 600; }
.no { color: var(--line-2); }
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 500; font-size: 15.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 22px; width: 8px; height: 8px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq details p { color: var(--ink-2); margin: 0; padding: 0 0 18px; max-width: 64ch; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.feature-card { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card:nth-child(3n) { border-right: 0; }
.feature-card:nth-last-child(-n+3):nth-child(3n+1), .feature-card:nth-last-child(-n+3):nth-child(3n+1) ~ .feature-card { border-bottom: 0; }
.feature-card .ico { width: 32px; height: 32px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; background: var(--card); }
.feature-card .ico svg { width: 17px; height: 17px; }
.feature-card h3 { font-size: 15px; }
.feature-card p { color: var(--ink-2); margin: 0; font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); }
.checklist li::before { content: ''; position: absolute; left: 3px; top: 13px; width: 10px; height: 5px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255, 255, 255, .14) 1px, transparent 1.2px) 0 0 / 18px 18px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.03em; }
.cta-band p { color: rgba(255, 255, 255, .7); max-width: 32em; margin: 0 auto 22px; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: #ececea; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips a { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.mini-phone { width: 270px; margin-inline: auto; aspect-ratio: 9 / 17; border-radius: 36px; border: 8px solid var(--ink); padding: 34px 18px; box-shadow: var(--shadow-float); font-family: var(--mp-font); }
.mini-phone .mp-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; font: 700 22px var(--mp-font); }
.mini-phone .mp-name { text-align: center; font-weight: 700; font-size: 16px; }
.mini-phone .mp-bio { text-align: center; font-size: 12px; opacity: .8; margin-bottom: 16px; }
.mini-phone .mp-link { padding: 11px; text-align: center; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.steps > div { padding: 24px; border-right: 1px solid var(--line); }
.steps > div:last-child { border-right: 0; }
.steps > div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px var(--font); margin-bottom: 14px; }
.steps h3 { font-size: 15px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 14px; }

.prose { max-width: 680px; }
.prose h2 { margin-top: 1.6em; font-size: 1.2rem; }

/* Auth ------------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--paper); position: relative; isolation: isolate; }
.auth::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--dots); -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.auth-box { width: min(400px, 100%); }
.auth-box > .logo { margin: 0 auto 22px; display: flex; justify-content: center; }
.auth-box .card { padding: 28px; box-shadow: var(--shadow); border-color: var(--line); }
.auth-box .card h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 4px; }
.auth-foot { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.auth-foot a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ==========================================================================
   Dashboard
   ========================================================================== */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--card); }
.sidebar { background: var(--paper); border-right: 1px solid var(--line); padding: 14px 8px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar .logo { padding: 6px 10px; margin-bottom: 14px; }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 10px; border-radius: var(--radius-sm); text-decoration: none;
  color: var(--ink-2); font: 500 14px var(--font); width: 100%; background: none; border: 0; cursor: pointer; text-align: left; transition: background .1s, color .1s;
}
.nav a:hover, .nav button:hover { background: var(--paper-2); color: var(--ink); }
.nav a.active { background: #e6e6e3; color: var(--ink); }
.nav a.active svg { color: var(--ink); }
.nav svg { width: 17px; height: 17px; flex: none; color: var(--ink-3); }
.nav form { margin-top: 1px; }
.nav-label { font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 16px 10px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .me { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--line); }
.me-url { display: block; font-size: 13px; font-weight: 500; word-break: break-all; text-decoration: none; color: var(--ink); }
.me-url:hover { color: var(--accent); }

.main { padding: 32px clamp(16px, 4vw, 56px) 64px; min-width: 0; max-width: 1180px; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 1.6rem; margin: 0; letter-spacing: -.03em; }
.with-preview { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.preview { position: sticky; top: 28px; }
.preview-frame { width: 300px; height: 610px; border-radius: 38px; border: 8px solid var(--ink); overflow: hidden; background: var(--paper-2); margin-inline: auto; }
.preview-frame iframe { width: 100%; height: 100%; border: 0; }
.preview .tiny { text-align: center; margin-top: 10px; }

.share { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 18px; }
.share code { font: 500 14px var(--font); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.switch { position: relative; width: 32px; height: 18px; border-radius: 999px; background: var(--line-2); border: 0; cursor: pointer; padding: 0; transition: background .15s; }
.switch::after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(14px); }

.empty { text-align: center; padding: 44px 20px; color: var(--ink-2); border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); }
.empty h3 { font-size: 15px; color: var(--ink); }

.avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 28px var(--display); flex: none; }

.upsell { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.upsell strong { font-weight: 600; }
.upsell a { color: var(--accent); font-weight: 500; }
.seg-choice { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--paper-2); border-radius: var(--radius-sm); padding: 2px; }
.seg-choice label { margin: 0; font-weight: 500; cursor: pointer; }
.seg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.seg-choice span { display: block; padding: 5px 12px; border-radius: 4px; font-size: 13px; color: var(--ink-2); }
.seg-choice input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 15, 15, .1), 0 0 0 1px rgba(15, 15, 15, .04); }
.seg-choice input:focus-visible + span { outline: 2px solid var(--accent); }
.color-field { display: flex; gap: 8px; align-items: center; }
.color-field input[type=text] { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; }
.lock { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--ink); color: #fff; display: inline-block; vertical-align: 1px; }

.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--card); }
.stat-tiles .tile { border: 0; border-radius: 0; border-right: 1px solid var(--line); }
.stat-tiles .tile:last-child { border-right: 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.tile .label { font-size: 13px; color: var(--ink-3); }
.tile .value { font: 600 28px/1.1 var(--display); margin-top: 6px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: var(--radius-sm); padding: 2px; gap: 2px; }
.seg a { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.seg a.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 15, 15, .1), 0 0 0 1px rgba(15, 15, 15, .04); }
.seg span { padding: 0 10px; font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.chart .bar-v { fill: #c7ddf5; }
.chart .bar-c { fill: var(--accent); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12.5px; color: var(--ink-3); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fbfbfa; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.locked-box { position: relative; }
.locked-box::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, var(--card) 85%); border-radius: var(--radius); }

.mobile-bar { display: none; }

/* Agency ----------------------------------------------------------------- */
.managing-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--accent-soft); color: #134a80; border: 1px solid #cfe2f6; padding: 8px 10px 8px 12px; border-radius: var(--radius); margin-bottom: 18px; font-size: 13.5px; }
.managing-bar .btn-light { border-color: #cfe2f6; }
.mini-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font: 600 11px var(--display); flex: none; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.client-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.client { background: var(--card); padding: 12px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.client + .client { border-top: 1px solid var(--line); }
.client .avatar { width: 40px; height: 40px; font-size: 15px; }
.client .name { font-weight: 600; }
.client .meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.client .meta a { color: var(--ink-2); text-decoration: none; }
.client .meta a:hover { color: var(--accent); }
.client .actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.client-more { grid-column: 1 / -1; display: none; border-top: 1px solid var(--line); padding-top: 14px; }
.client.is-open .client-more { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.client-more h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.invite-link { display: flex; gap: 8px; align-items: center; background: var(--ok-soft); border-radius: var(--radius-sm); padding: 8px 10px; margin-top: 10px; }
.invite-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }
.agency-band { background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.agency-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.agency-band .muted { color: var(--ink-2); }
.agency-band ul { list-style: none; padding: 0; margin: 18px 0 0; }
.agency-band li { padding: 5px 0 5px 24px; position: relative; color: var(--ink-2); }
.agency-band li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 10px; height: 5px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.calc-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.calc-row strong { color: var(--ink); font-weight: 600; }
.calc-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font: 600 22px var(--display); display: flex; justify-content: space-between; letter-spacing: -.02em; }
.calc-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* Formulieren in het dashboard */
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; }
.color-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.color-row .field + .field { margin-top: 0; }
.save-bar { position: sticky; bottom: 12px; z-index: 5; margin-top: 18px; display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 8px 8px 8px 16px; box-shadow: var(--shadow-float); }
.save-bar [data-dirty] { color: var(--warn); font-weight: 500; }

/* Berichten (contactformulier) */
.msg { padding: 16px 18px; }
.msg-head { display: flex; align-items: flex-start; gap: 10px; }
.msg-head .badge { margin-left: 6px; }
.msg-head a { color: inherit; }
.msg-body { white-space: pre-line; margin: 12px 0 14px; line-height: 1.55; }
.msg-answers { margin: 12px 0 14px; display: grid; gap: 2px; }
.msg-answers dt { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-top: 8px; }
.msg-answers dd { margin: 0; white-space: pre-line; line-height: 1.5; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .with-preview { grid-template-columns: 1fr; }
  .preview { display: none; }
}
@media (max-width: 960px) {
  .site-menu { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 860px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid, .pricing { grid-template-columns: 1fr; }
  .features, .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature, .steps > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child, .steps > div:last-child { border-bottom: 0; }
  .feature-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .feature-card:last-child { border-bottom: 0 !important; }
  .split, .post-grid, .post-form { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 250px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-float); }
  .sidebar.open { transform: none; }
  .mobile-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .main { padding: 22px 16px 56px; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .stat-tiles .tile:nth-child(2n) { border-right: 0; }
  .stat-tiles .tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .summary { grid-template-columns: 1fr; }
  .agency-band { grid-template-columns: 1fr; }
  .client { grid-template-columns: auto minmax(0, 1fr); }
  .client .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .client.is-open .client-more { grid-template-columns: 1fr; }
  .service-grid, .qr-layout { grid-template-columns: 1fr; }
  .qr-card { position: static; }
  .appt { grid-template-columns: 54px minmax(0, 1fr); }
  .appt-actions { grid-column: 1 / -1; flex-direction: row; }
  .hours-row { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .claim { flex-wrap: wrap; padding: 8px; }
  .claim .btn { width: 100%; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Zijbalk in de builder: alleen icoontjes, klapt uit bij aanwijzen/focus
   (schuift over de inhoud heen, zodat er niets verspringt)
   ========================================================================== */
@media (min-width: 861px) {
  .app.app-compact { grid-template-columns: 56px minmax(0, 1fr); }
  .app-compact .sidebar {
    width: 56px; z-index: 60; overflow-x: hidden; overflow-y: auto; padding: 14px 8px;
    transition: width .16s ease, box-shadow .16s ease;
  }
  .app-compact .sidebar:hover, .app-compact .sidebar:focus-within { width: 240px; box-shadow: var(--shadow-float); transition-delay: .12s; }
  .app-compact .sidebar .logo { padding: 6px 9px; white-space: nowrap; }
  .app-compact .nav a, .app-compact .nav button { white-space: nowrap; padding: 0 11px; position: relative; }
  .app-compact .nav-label, .app-compact .sidebar .me { white-space: nowrap; transition: opacity .12s ease; }

  /* Ingeklapt: tekst weg, tellers als stipje op het icoon */
  .app-compact .sidebar:not(:hover):not(:focus-within) .nav-label { opacity: 0; }
  .app-compact .sidebar:not(:hover):not(:focus-within) .nav a,
  .app-compact .sidebar:not(:hover):not(:focus-within) .nav button,
  .app-compact .sidebar:not(:hover):not(:focus-within) .logo { font-size: 0; gap: 0; }
  .app-compact .sidebar:not(:hover):not(:focus-within) .me { opacity: 0; pointer-events: none; }
  .app-compact .sidebar:not(:hover):not(:focus-within) .nav-count {
    position: absolute; left: 22px; top: 3px; min-width: 15px; height: 15px; padding: 0 4px; font-size: 9.5px; border: 2px solid var(--paper);
  }
  .app-compact .sidebar:not(:hover):not(:focus-within) .nav a.active .nav-count { border-color: #e6e6e3; }
}

/* Abonnement kiezen (publiceren) ----------------------------------------- */
.pp-toggle { display: flex; width: max-content; margin: 0 auto 22px; padding: 3px; gap: 2px; background: var(--paper-2); border-radius: 999px; }
.pp-toggle button { border: 0; background: none; font: 500 13px var(--font); color: var(--ink-2); padding: 7px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pp-toggle button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 15, 15, .12); }
.pp-save { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 999px; }
.pp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; align-items: stretch; }
.pp-plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; background: var(--card); text-align: left; }
.pp-plan.is-pick { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pp-tag { position: absolute; top: -10px; left: 16px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.pp-plan h3 { margin: 0; font-size: 15px; }
.pp-tagline { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-3); }
.pp-price { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 5px; }
.pp-price span { font: 600 32px/1 var(--display); letter-spacing: -.035em; }
.pp-price small { font-size: 13px; color: var(--ink-3); }
.pp-billed { margin: 0 0 14px; font-size: 12px; color: var(--ink-3); }
.pp-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); font-size: 12px; line-height: 1.45; }
.pp-warn[hidden] { display: none; }
.pp-features { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.pp-features li { position: relative; padding-left: 20px; margin: 0 0 7px; }
.pp-features li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.pp-note { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; max-width: 620px; margin-inline: auto; }

.paywall { position: fixed; inset: 0; z-index: 90; background: rgba(15, 15, 15, .4); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.paywall[hidden] { display: none; }
.paywall-box { position: relative; width: min(880px, 100%); background: var(--card); border-radius: 16px; padding: 30px 26px 22px; box-shadow: var(--shadow-float); text-align: center; margin: auto; }
.paywall-box > h2 { margin: 0 0 4px; font-size: 22px; }
.paywall-box > .muted { margin: 0 0 20px; font-size: 13.5px; }
.paywall-close { position: absolute; top: 12px; right: 12px; }
@media (max-width: 560px) { .paywall { padding: 36px 0 0; place-items: start stretch; } .paywall-box { border-radius: 16px 16px 0 0; padding: 30px 16px 18px; margin: 0; min-height: calc(100% - 36px); } }
.alert-info { background: var(--accent-soft); color: #1a5a9c; border-color: #cfe3f8; }
.alert-info a { color: inherit; font-weight: 600; }
