/* ============ TOKENS ============ */
:root {
  --accent:        #4ADE80;
  --accent-hover:  #22C55E;
  --accent-dark:   #15803D;
  --accent-soft:   #DCFCE7;

  --dark:          #0A0A0A;
  --dark-elev:     #161616;

  --bg:            #FAFAF9;
  --bg-alt:        #F5F5F4;
  --bg-hero:       #F8F7F4;

  --card:          #FFFFFF;
  --border:        #E7E5E4;
  --border-strong: #D6D3D1;

  --fg:            #18181B;
  --muted:         #57534E;
  --soft:          #78716C;

  --radius-sm:  10px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --pill:       999px;

  --shadow-sm: 0 1px 2px rgba(10,10,10,.04);
  --shadow:    0 1px 3px rgba(10,10,10,.05), 0 4px 12px -4px rgba(10,10,10,.06);
  --shadow-lg: 0 8px 28px -8px rgba(10,10,10,.18), 0 2px 6px -2px rgba(10,10,10,.06);

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 56px);
}

/* ============ RESET ============ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-feature-settings: "ss01","cv11";
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; letter-spacing: -.02em; }
p  { margin: 0; }

/* skip link */
.skip {
  position: fixed; left: 16px; top: 16px;
  transform: translateY(calc(-100% - 32px));
  background: var(--dark); color: #fff; padding: 10px 14px;
  border-radius: 8px; z-index: 200; font-weight: 600;
  transition: transform .15s ease;
}
.skip:focus { transform: translateY(0); }

/* ── Redesign announcement banner ── */
#redesign-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark); color: rgba(255,255,255,.88);
  padding: 9px 16px; font-size: 13px; line-height: 1.4;
  transition: height .25s ease, opacity .25s ease;
}
.rb-icon { color: var(--accent); font-size: 11px; flex-shrink: 0; }
.rb-text { flex: 1; }
.rb-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.rb-link:hover { color: var(--accent-hover); }
.rb-close {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.55); padding: 4px; border-radius: 4px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: color .15s;
}
.rb-close:hover { color: #fff; }
@media (max-width: 540px) { #redesign-banner { font-size: 12px; padding: 8px 12px; } }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { padding: clamp(64px, 8vw, 112px) 0; }
.section-soft { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #FAFAF9; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-dark);
  text-transform: none;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(74,222,128,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
  50%     { box-shadow: 0 0 0 6px rgba(74,222,128,.04); }
}
.section-dark .eyebrow { color: var(--accent); }

h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; line-height: 1.05; }
h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; }
.lead {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,249,.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-color: var(--border);
  background: rgba(250,250,249,.86);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: center;
  color: var(--fg);
}
.logo-mark { height: 44px; width: auto; transition: filter .2s ease; }
.logo:hover .logo-mark { filter: drop-shadow(0 0 10px rgba(120,188,112,.40)) brightness(1.04); }
.footer .logo, .section-dark .logo, .hero-card .logo { color: #FAFAF9; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-links a.is-active { font-weight: 600; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 540px) {
  .nav-cta .btn-primary { display: none; }
}

/* ── Winkelwagen (cart) button ── */
.nav-cart, .nav-account {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  flex-shrink: 0;
  /* overflow: visible zodat .nav-cart-count badge (top:-5px;right:-5px)
     niet wordt afgesneden door de button-rand. */
  overflow: visible;
}
.nav-cart:hover, .nav-account:hover { background: var(--card); border-color: var(--border-strong); }
.nav-cart.is-active { background: var(--fg); border-color: var(--fg); color: #fff; }
.nav-cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  background: var(--accent); color: #052E16;
  font-size: 9.5px; font-weight: 800;
  border-radius: 99px; padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.5);
  transition: all .2s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.nav-cart-count.has-items {
  opacity: 1; transform: scale(1);
}

/* Mobile: cart always visible */
@media (max-width: 540px) {
  .nav-cart { display: inline-flex; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--pill);
  font-size: 14.5px; font-weight: 700; letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--dark); color: #FAFAF9; }
.btn-primary:hover { transform: translateY(-1px); background: #1f1f1f; }
.btn-accent { background: var(--accent); color: #052E16; }
.btn-accent:hover { transform: translateY(-1px); background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-outline:hover { transform: translateY(-1px); background: #fff; box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--dark); border-color: #fff; }
.btn-white:hover { transform: translateY(-1px); background: #f0f0f0; border-color: #f0f0f0; }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 14px; }
.btn-ghost:hover { color: var(--fg); }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ============ HERO (home) ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(74,222,128,.16), transparent 60%),
    radial-gradient(900px 420px at 95% 20%, rgba(74,222,128,.08), transparent 65%),
    linear-gradient(180deg, var(--bg-hero) 0%, var(--bg) 80%);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 7vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-left h1 { margin: 18px 0 22px; }
.hero-left h1 .accent {
  background: linear-gradient(180deg, transparent 62%, rgba(74,222,128,.45) 62%);
  padding: 0 .08em;
}
.hero-left .lead { max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}
.stat .num {
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 800; letter-spacing: -.025em;
  line-height: 1; color: var(--fg);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 2px;
  white-space: nowrap;
}
.stat .num .count { font-variant-numeric: tabular-nums; }
.stat .num .star { color: var(--accent-dark); font-size: .75em; margin-left: 1px; }
.stat .num .stat-unit { font-size: .52em; font-weight: 700; color: var(--muted); letter-spacing: 0; align-self: flex-end; padding-bottom: .1em; }
.stat .label { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* hero card (right) */
.hero-card {
  position: relative;
  background: var(--dark); color: #FAFAF9;
  border-radius: var(--radius-xl); padding: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10,10,10,.35);
}
.hero-card::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(74,222,128,.18), transparent 70%);
  pointer-events: none;
}
.hero-card-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,222,128,.14); color: var(--accent);
  padding: 6px 12px; border-radius: var(--pill);
  font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(74,222,128,.22);
}
.hero-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800; letter-spacing: -.02em;
  margin: 16px 0 8px; line-height: 1.15;
}
.hero-card .sub { color: #A8A29E; font-size: 14.5px; }
.hero-card-img { position: relative; margin: 16px 0 0; }
.hero-card-img-inner { overflow: hidden; max-height: 220px; border-radius: 12px; }
.hero-card-img-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block; transform: scale(1.6); transform-origin: 72% center; }
.hero-card-img .hero-card-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(10,10,10,0.75); color: #fff; border-color: rgba(255,255,255,0.15); backdrop-filter: blur(6px); }
.hero-card-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero-card-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: #E7E5E4;
}
.check {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(74,222,128,.14); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.hero-card-price {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.hero-card-price .hero-card-list { margin: 0; flex: 1; min-width: 0; }
.hero-card-price .btn { flex-shrink: 0; align-self: center; }
.price-block .price { font-size: 38px; font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.euro-sign { font-size: .52em; font-weight: 500; vertical-align: baseline; letter-spacing: 0; }
.price-block .price-meta { font-size: 12.5px; color: #A8A29E; margin-top: 6px; }
.price-block .price-meta strong { color: #FAFAF9; font-weight: 600; }

/* ============ PAGE HERO (subpages) ============ */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(74,222,128,.10), transparent 65%),
    linear-gradient(180deg, var(--bg-hero), var(--bg));
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 14px 0 18px; }
.page-hero .lead { max-width: 640px; }
[data-page="maak-een-afspraak"] .page-hero { padding-bottom: 0; border-bottom: none; }
[data-page="maak-een-afspraak"] .page-hero + section { padding-top: 32px; }
.breadcrumb {
  display: none;
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--muted); }

/* ============ TRUST BAR ============ */
.trust {
  background: var(--bg-alt);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--muted);
}
.trust-item .ic {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
.trust-item strong { color: var(--fg); font-weight: 600; display: block; }

/* ============ SECTION HEADS ============ */
.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 40px; align-items: end;
  margin-bottom: 48px;
}
@media (max-width: 780px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }
.section-head h2 { margin-top: 12px; }
.section-head .lead { max-width: 460px; }
.section-head .head-link {
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-dark);
}

/* ============ DIENSTEN GRID ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.ic-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; min-height: 4.6em; }
.svc-link {
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-link svg { transition: transform .2s ease; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
.svc-card .meta {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--soft); text-transform: uppercase;
  margin-bottom: 6px;
}

/* ============ STEPS / WERKWIJZE ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  background: var(--card);
}
.step:hover { background: var(--bg-alt); }
.step:last-child { border-right: none; }
@media (max-width: 880px) {
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 540px) {
  .step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
}
.step-num {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--accent-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.step-num::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.step h3 { font-size: 20px; margin-bottom: 10px; letter-spacing:-.01em; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ============ PRODUCT GRID ============ */
.shop-teaser .section-head { margin-bottom: 40px; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 540px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Product card enter animation — staggered, no IntersectionObserver needed */
@keyframes pcEnter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-grid .product-card {
  animation: pcEnter .45s cubic-bezier(.22,.68,0,1.05) both;
}
.product-grid .product-card:nth-child(1)  { animation-delay: .04s; }
.product-grid .product-card:nth-child(2)  { animation-delay: .08s; }
.product-grid .product-card:nth-child(3)  { animation-delay: .12s; }
.product-grid .product-card:nth-child(4)  { animation-delay: .16s; }
.product-grid .product-card:nth-child(5)  { animation-delay: .20s; }
.product-grid .product-card:nth-child(6)  { animation-delay: .24s; }
.product-grid .product-card:nth-child(7)  { animation-delay: .28s; }
.product-grid .product-card:nth-child(8)  { animation-delay: .32s; }
.product-grid .product-card:nth-child(n+9) { animation-delay: .36s; }
/* When card has reveal class, let reveal class take over instead */
.product-grid .product-card.reveal { animation: none; }

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.product-img {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(135deg,
      #F5F5F4 0 14px,
      #EEECEA 14px 28px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--soft);
  letter-spacing: .04em;
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-img .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--dark); color: #FAFAF9;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  padding: 5px 9px; border-radius: var(--pill);
  text-transform: uppercase;
}
.product-img .badge.refurb { background: var(--accent); color: #052E16; }
.product-img .badge.sold { background: #57534E; }
.product-info { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.product-info .brand {
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  color: var(--soft); text-transform: uppercase;
}
.product-info h3 {
  font-size: 16px; margin: 6px 0 12px;
  font-weight: 700; letter-spacing: -.01em; line-height: 1.3;
}
.product-info .price-row {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 10px;
}
.product-info .price-row .now { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.product-info .price-row .was { font-size: 13px; color: var(--soft); text-decoration: line-through; }
.product-info .stock {
  margin-top: 10px;
  font-size: 12px; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.stock .dot-stock { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.stock.low { color: #B45309; }
.stock.low .dot-stock { background: #F59E0B; }
.stock.oos { color: var(--soft); }
.stock.oos .dot-stock { background: var(--soft); }

/* ============ BLOG GRID ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: #F5F5F4;
  position: relative;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: var(--bg-alt, #F5F4F2);
  transition: transform .5s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb .cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  font-size: 11.5px; font-weight: 600;
  padding: 5px 10px; border-radius: var(--pill);
  color: var(--fg);
  backdrop-filter: blur(6px);
}
.blog-info { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-info h3 { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.blog-info p { color: var(--muted); font-size: 14px; }
.blog-info .meta { font-size: 12px; color: var(--soft); }
.blog-info .read {
  margin-top: auto; padding-top: 8px;
  font-weight: 600; font-size: 13.5px; color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  background: var(--dark); color: #FAFAF9;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px);
  overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: 40px;
}
@media (max-width: 880px) { .cta-banner { grid-template-columns: 1fr; } }
.cta-banner::before {
  content: ""; position: absolute; inset: -30% -20% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(74,222,128,.20), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: #FAFAF9; }
.cta-banner p { color: #A8A29E; margin-top: 16px; max-width: 460px; font-size: 17px; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-self: end; }
@media (max-width: 880px) { .cta-banner-actions { justify-self: start; } }
.cta-banner .btn-outline { background: transparent; color: #FAFAF9; border-color: rgba(255,255,255,.18); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.08); }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: #D6D3D1; padding: 80px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-word { color: #FAFAF9; }
.footer-brand p { font-size: 14px; color: #A8A29E; margin-top: 16px; max-width: 320px; }
.footer h4 {
  color: #FAFAF9;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: #A8A29E; transition: color .15s ease; }
.footer ul a:hover { color: #FAFAF9; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid #1F1F1F;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: #78716C;
}

/* ============ KOR PILL ============ */
.kor {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 6px 10px; border-radius: var(--pill);
  background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 600;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.22,.68,0,1.05);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; will-change: auto; } }

/* ============ FOCUS ============ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============ CHIPS / FILTER ============ */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--border-strong); color: var(--fg); }
.chip.is-active {
  background: var(--dark); color: #FAFAF9; border-color: var(--dark);
  font-weight: 600;
}
.chip .count {
  font-size: 11px; opacity: .6; font-variant-numeric: tabular-nums;
}

.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.toolbar .meta { font-size: 13px; color: var(--soft); }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.is-featured {
  background: var(--dark); color: #FAFAF9;
  border: 1px solid var(--dark);
  box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px rgba(10,10,10,.5);
  transform: translateY(-8px);
}
.price-card.is-featured h3 { color: #FAFAF9; }
.price-card.is-featured .desc { color: #A8A29E; }
.price-card .pill {
  position: absolute; top: -12px; left: 32px;
  background: var(--accent); color: #052E16;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 12px; border-radius: var(--pill); text-transform: uppercase;
}
.price-card .name { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); }
.price-card.is-featured .name { color: var(--accent); }
.price-card h3 { font-size: 22px; margin: 8px 0 6px; }
.price-card .desc { font-size: 14px; color: var(--muted); }
.price-card .price-large {
  display: flex; align-items: baseline; gap: 8px;
  margin: 24px 0 4px;
}
.price-card .price-large .num {
  font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.price-card .price-large .unit { font-size: 14px; color: var(--muted); }
.price-card.is-featured .price-large .unit { color: #A8A29E; }
.price-card .price-meta { font-size: 12.5px; color: var(--soft); margin-bottom: 24px; }
.price-card.is-featured .price-meta { color: #A8A29E; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.price-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted);
}
.price-card.is-featured ul li { color: #D6D3D1; }
.price-card ul li svg { flex-shrink: 0; color: var(--accent-dark); margin-top: 4px; }
.price-card.is-featured ul li svg { color: var(--accent); }
.price-card .btn { margin-top: auto; }

/* ============ FAQ ============ */
.faq-list {
  display: grid; gap: 8px;
  max-width: 760px;
}
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .2s ease;
}
.faq[open] summary .plus { transform: rotate(45deg); background: var(--dark); color: var(--accent); }
.faq .faq-body {
  padding: 0 26px 24px;
  color: var(--muted); font-size: 14.5px;
}
.faq .faq-body p + p { margin-top: 12px; }

/* ============ PRODUCT DETAIL ============ */
.pdp-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.pdp-gallery {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 12px;
}
@media (max-width: 880px) {
  .pdp-grid { grid-template-columns: 1fr; }
  /* Gallery niet sticky op mobiel — anders scrollt de pagina niet */
  .pdp-gallery { position: static; }
}
.pdp-gallery .main {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(135deg, #F5F5F4 0 18px, #EEECEA 18px 36px);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px; color: var(--soft);
}
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pdp-thumbs button {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(135deg, #F5F5F4 0 14px, #EEECEA 14px 28px);
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease;
}
.pdp-thumbs button.is-active { border-color: var(--dark); }

.pdp-info .brand {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soft);
}
.pdp-info h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 8px 0 14px;
  letter-spacing: -.025em;
}
.pdp-price-row {
  display: flex; align-items: baseline; gap: 14px;
  margin: 18px 0 8px;
}
.pdp-price-row .now { font-size: 36px; font-weight: 800; letter-spacing: -.025em; }
.pdp-price-row .was { font-size: 18px; color: var(--soft); text-decoration: line-through; }
.pdp-price-row .save {
  font-size: 12px; font-weight: 700;
  background: var(--accent); color: #052E16;
  padding: 4px 8px; border-radius: var(--pill);
}
.variant-group { margin: 24px 0; }
.variant-group .label {
  font-size: 13px; font-weight: 600;
  margin-bottom: 10px; color: var(--fg);
  display: flex; gap: 8px;
}
.variant-group .label span { color: var(--muted); font-weight: 400; }
.variant-chip {
  padding: 10px 16px; border-radius: var(--pill);
  background: #fff; border: 1.5px solid var(--border);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all .15s ease;
}
.variant-chip:hover { border-color: var(--border-strong); }
.variant-chip.is-active { border-color: var(--dark); background: var(--dark); color: #FAFAF9; }

.qty-row { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--pill);
  background: #fff; padding: 4px;
}
.qty button {
  width: 36px; height: 36px; border: 0; background: transparent;
  border-radius: 50%; color: var(--fg); font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.qty button:hover { background: var(--bg-alt); }
.qty .val { width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.pdp-features {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 12px;
}
.pdp-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted);
}
.pdp-features svg { flex-shrink: 0; color: var(--accent-dark); margin-top: 3px; }

/* spec table */
.spec-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th { color: var(--muted); font-weight: 500; width: 35%; }
.spec-table td { font-weight: 600; }

/* ============ PDP BODY / FAQ ============ */
.pdp-body {
  margin-top: 56px;
  max-width: 720px;
}
.pdp-body h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--fg);
}
.pdp-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
.pdp-faq {
  margin-top: 48px;
  max-width: 720px;
}
.pdp-faq-title {
  font-size: 20px;
  margin-bottom: 20px;
}

/* ============ CONTACT FORM ============ */
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .form-2col { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--fg);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit; color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,222,128,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12px; color: var(--soft); margin-top: 4px; }

.contact-grid {
  display: grid; grid-template-columns: 1.3fr .9fr;
  gap: 32px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.direct-contact {
  display: grid; gap: 14px;
}
.direct-contact .card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
}
.direct-contact .card .ic-badge {
  flex-shrink: 0;
  margin-bottom: 0;
}
.direct-contact h3 { font-size: 16px; margin-bottom: 4px; }
.direct-contact .card p { font-size: 14px; color: var(--muted); }
.direct-contact .card .strong-link { font-weight: 600; color: var(--fg); margin-top: 4px; display: block; }

/* ============ CALENDAR ============ */
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
@media (max-width: 540px) { .cal-grid { grid-template-columns: repeat(4, 1fr); } }
.cal-day {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px; text-align: center;
  cursor: pointer; transition: all .15s ease;
}
.cal-day:hover { border-color: var(--border-strong); }
.cal-day.is-active { border-color: var(--dark); background: var(--dark); color: #FAFAF9; }
.cal-day.is-disabled { opacity: .35; cursor: not-allowed; }
.cal-day .dow { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.cal-day.is-active .dow { color: #A8A29E; }
.cal-day .num { font-size: 22px; font-weight: 800; margin: 4px 0 2px; }
.cal-day .month { font-size: 11px; color: var(--soft); }
.cal-day.is-active .month { color: #A8A29E; }

.slots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
@media (max-width: 540px) { .slots { grid-template-columns: repeat(2, 1fr); } }
.slot {
  padding: 12px 8px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 600;
  text-align: center; cursor: pointer;
  transition: all .15s ease;
}
.slot:hover { border-color: var(--border-strong); }
.slot.is-active { border-color: var(--accent); background: var(--accent); color: #052E16; }
.slot.is-disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* ============ ARTICLE / PROSE ============ */
.article-hero {
  background: linear-gradient(180deg, var(--bg-hero), var(--bg));
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-bottom: 1px solid var(--border);
}
.article-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 800px;
  margin: 18px 0 22px;
  letter-spacing: -.025em;
}
.article-meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 13px; color: var(--soft);
  flex-wrap: wrap;
}
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--soft); }

.article-body {
  max-width: 760px; margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 24px);
  font-size: clamp(16px, 1.1vw, 17.5px);
  line-height: 1.72; color: var(--fg);
}
.article-body > * + * { margin-top: 1.2em; }
.article-body h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  margin-top: 2em; letter-spacing: -.02em; line-height: 1.2;
  font-weight: 800;
}
.article-body h3 {
  font-size: clamp(18px, 1.7vw, 21px);
  margin-top: 1.8em; line-height: 1.3;
  font-weight: 700;
}
.article-body p { color: var(--muted); }
.article-body p + h2,
.article-body p + h3 { margin-top: 1.6em; }
.article-body strong { color: var(--fg); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol {
  padding-left: 22px; color: var(--muted);
}
.article-body ul li, .article-body ol li {
  padding-left: 4px;
}
.article-body ul li::marker { color: var(--accent-dark); }
.article-body li + li { margin-top: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 1.8em 0;
  color: var(--fg);
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  font-weight: 500;
  font-style: italic;
  background: linear-gradient(90deg, rgba(120,188,112,0.06), transparent 50%);
  border-radius: 0 8px 8px 0;
}
.article-body .callout {
  background: var(--accent-soft);
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.8em 0;
  font-size: 15.5px;
}
.article-body .callout strong { color: var(--accent-dark); }
.article-body img,
.article-body figure img {
  width: 100%; height: auto;
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.6em 0;
  display: block;
  background: var(--bg-alt);
}
.article-body figure {
  margin: 1.8em 0;
  display: block;
}
.article-body figure img { margin: 0; }
.article-body figure figcaption {
  font-size: 13px;
  color: var(--soft);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}
.article-body a:not(.btn) {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color .15s ease;
}
.article-body a:not(.btn):hover { color: var(--fg); }
.article-body hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2em 0;
}
.article-body code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.92em;
}

/* mobile-only article tweaks */
@media (max-width: 640px) {
  .article-body { padding: 28px 18px; }
  .article-body img { margin: 1.2em 0; border-radius: 10px; }
  .article-body blockquote { padding-left: 16px; margin: 1.4em 0; }
  .article-body .callout { padding: 16px 18px; margin: 1.4em 0; }
  .article-body ul, .article-body ol { padding-left: 18px; }
}

/* nettere container voor article — geen wide white bg meer */
.article-body-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 32px auto;
  max-width: 860px;
  box-shadow: var(--shadow);
}
.article-body-wrap .article-body { padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px); }
@media (max-width: 640px) {
  .article-body-wrap { margin: 20px 16px; border-radius: var(--radius); }
  .article-body-wrap .article-body { padding: 28px 20px; }
}

/* ============ ABOUT / TEAM ============ */
.split-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .split-feature { grid-template-columns: 1fr; } }
.split-feature.reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split-feature.reverse > :first-child { order: 0; } }
.feature-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* numbered stat blocks */
.numstats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) { .numstats { grid-template-columns: 1fr; } }
.numstats > div { padding: 32px 0; border-right: 1px solid var(--border); }
.numstats > div:last-child { border-right: none; }
@media (max-width: 700px) {
  .numstats > div { border-right: none; border-bottom: 1px solid var(--border); }
  .numstats > div:last-child { border-bottom: none; }
}
.numstats .num {
  font-size: clamp(36px, 4vw, 56px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
}
.numstats .label { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* alert / banner */
.banner {
  background: var(--accent-soft);
  border: 1px solid #BBF7D0;
  color: #14532D;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.banner svg { flex-shrink: 0; color: var(--accent-dark); margin-top: 2px; }
.banner strong { color: var(--accent-dark); }

/* ============ COOKIE BAR ============ */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 10000;
  background: var(--dark);
  color: #FAFAF9;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 20px 50px -10px rgba(10,10,10,.35);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease-out, transform .22s ease-out;
}
.cookie-bar.in { opacity: 1; transform: translateY(0); }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
@media (max-width: 640px) {
  .cookie-inner { grid-template-columns: 1fr; }
}
.cookie-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #FAFAF9; }
.cookie-text p { font-size: 13px; color: #A8A29E; line-height: 1.5; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bar .btn-outline { color: #FAFAF9; border-color: rgba(255,255,255,.18); background: transparent; }
.cookie-bar .btn-outline:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }
.cookie-bar .btn-primary { background: var(--accent); color: #052E16; }
.cookie-bar .btn-primary:hover { background: var(--accent-hover); }

/* nav mobile open state */
@media (max-width: 880px) {
  .nav-links.is-open {
    display: flex !important;
    position: absolute;
    left: 0; right: 0; top: 72px;
    flex-direction: column;
    background: var(--bg);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
}

/* ============ WHATSAPP FLOAT + WIDGET WRAPPERS ============ */

/* Wrapper — fixed rechtsonder */
.wa-wrap {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 150;
}

/* WhatsApp pill */
.wa-float {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.40);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.50); color: #fff; }
.wa-float svg { flex-shrink: 0; }

/* Notificatiebadge */
.wa-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #E53E3E;
  border: 2.5px solid #fff;
  color: #fff;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(229,62,62,0.4);
}

/* Battery-advisor wrapper */
.widget-wrap {
  position: relative;
}
/* × close op widget — zichtbaar bij hover */
.widget-close {
  position: absolute; top: -7px; right: -7px; z-index: 2;
  background: rgba(0,0,0,0.45); border: none; border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; padding: 0;
  opacity: 0; transition: opacity .15s;
}
.widget-wrap:hover .widget-close { opacity: 1; }

/* Mini-icoon als widget ingeklapt is */
.widget-mini-btn {
  display: none;
  position: fixed; bottom: 24px; left: 24px; z-index: 9998;
  width: 48px; height: 48px;
  background: #78BC70; color: #fff;
  border: none; border-radius: 50%;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: transform .15s;
}
.widget-mini-btn:hover { transform: scale(1.1); }

/* Ingeklapt: mini-knop tonen, widget verbergen */
.widget-wrap.is-mini .widget-mini-btn { display: flex; }
.widget-wrap.is-mini #tombat-widget { display: none; }
.widget-wrap.is-mini .widget-close { display: none; }

@media (max-width: 540px) {
  .wa-wrap { bottom: 16px; right: 16px; }
  .wa-float { padding: 12px; border-radius: 50%; }
  .wa-float .wa-label { display: none; }
  .widget-mini-btn { bottom: 16px; left: 16px; }
  /* On mobile the close button must stay inside the widget bounds —
     right: -7px overflows the viewport when widget-wrap is full-width.
     Also always visible since touch devices have no hover state. */
  .widget-close { right: 4px; top: 4px; opacity: 1; }
}

/* ============================================================
   MOBILE OVERRIDES — alles kleiner dan 640px
   ============================================================ */
@media (max-width: 640px) {

  /* ── Sections ── */
  section { padding: 40px 0; }
  .section-tight { padding: 24px 0; }
  .section-head { margin-bottom: 24px; }
  .page-hero { padding: 32px 0 24px; }

  /* ── Hero (homepage) ── */
  .hero { padding-top: 28px; padding-bottom: 36px; }
  .hero-stats { margin-top: 24px; padding-top: 18px; gap: 12px; }
  .stat .num { font-size: 26px; }
  .stat .label { font-size: 11px; line-height: 1.3; margin-top: 4px; }
  .hero-ctas { margin-top: 20px; gap: 8px; }

  /* Hero card (stacks below hero-left op mobile) */
  .hero-card { padding: 22px 18px; }
  .hero-card h3 { font-size: 20px; margin: 10px 0 6px; }
  .hero-card .sub { font-size: 13.5px; }
  .hero-card-list { margin: 12px 0 0; gap: 8px; }
  .hero-card-list li { font-size: 13.5px; }
  .hero-card-price {
    margin-top: 16px; padding-top: 14px;
    flex-direction: column; align-items: flex-start; gap: 12px;
  }
  .price-block .price { font-size: 32px; }

  /* ── Generic cards ── */
  .card { padding: 20px; }
  .svc-card p { min-height: 0; }
  .ic-badge { margin-bottom: 14px; width: 38px; height: 38px; border-radius: 10px; }

  /* ── Product cards ── */
  .product-img { aspect-ratio: 16/10; }
  .product-info { padding: 12px 12px 14px; }
  .product-info h3 { font-size: 13.5px; margin: 4px 0 6px; line-height: 1.25; }
  .product-info .price-row { gap: 6px; }
  .product-info .price-row .now { font-size: 15px; }
  .product-info .stock { font-size: 11px; margin-top: 6px; }

  /* ── Pricing cards ── */
  .pricing-grid { gap: 12px; }
  .price-card { padding: 22px 18px; }
  .price-card.is-featured { transform: translateY(0); }
  .price-card .price-large { margin: 14px 0 4px; }
  .price-card .price-large .num { font-size: 30px; line-height: 1.15; }
  .price-card ul { margin: 0 0 18px; gap: 8px; }
  .price-card ul li { font-size: 13px; }

  /* ── Steps ── */
  .step { padding: 22px 18px; }
  .step h3 { font-size: 17px; }

  /* ── Trust bar ── */
  .trust-grid { gap: 12px; }
  .trust-item { font-size: 13px; }
  .trust-item .ic { width: 30px; height: 30px; border-radius: 8px; }

  /* ── CTA banner ── */
  .cta-banner { padding: 28px 20px; gap: 20px; }
  .cta-banner p { font-size: 15px; }
  .cta-banner h2 { font-size: 24px; }

  /* ── Feature image (about / werkwijze split) ── */
  .feature-img { aspect-ratio: 16/9; max-height: 210px; }

  /* ── Numstats ── */
  .numstats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* ── FAQ ── */
  .faq summary { font-size: 14.5px; padding: 16px 16px; }
  .faq .faq-body { padding: 0 16px 20px; }

  /* ── Blog grid: 2 kolommen op mobile ── */
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .blog-thumb { aspect-ratio: 4/3; }
  .blog-info { padding: 12px; }
  .blog-info .meta { font-size: 10.5px; }
  .blog-info h3 { font-size: 13.5px; line-height: 1.25; margin: 4px 0 0; }
  .blog-info p { display: none; }
  .blog-info .read { display: none; }

  /* ── PDP (product detail page) ── */
  .pdp-price-row .now { font-size: 28px; }
  .qty-row { flex-wrap: wrap; gap: 10px; }
  .qty-row .btn-primary { flex: 0 0 100% !important; width: 100% !important; justify-content: center; }
}

/* ============ ADMIN ============ */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--bg-alt);
}
@media (max-width: 880px) { .admin-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; } }

.admin-sidebar {
  background: var(--dark);
  color: #FAFAF9;
  padding: 24px 16px;
  display: flex; flex-direction: column;
  gap: 6px;
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.admin-sidebar .nav-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 6px;
}
@media (max-width: 880px) {
  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    overflow: visible;
    overflow-x: auto;
    padding: 8px 12px;
    gap: 4px;
    align-items: center;
  }
  .admin-sidebar .nav-scroll {
    flex-direction: row;
    overflow-y: visible;
    overflow-x: auto;
    min-height: auto;
    flex: 1;
    align-items: center;
    gap: 2px;
  }
  .admin-sidebar .brand {
    padding: 0 12px 0 0;
    border-bottom: none;
    margin-bottom: 0;
    flex-shrink: 0;
    border-right: 1px solid #2A2A28;
  }
  .admin-sidebar .brand-word,
  .admin-sidebar .brand-tag { display: none; }
  .admin-sidebar .section-label { display: none; }
  .admin-sidebar .integrations { display: none; }
  .admin-nav-item {
    padding: 7px 10px;
    font-size: 12.5px;
    gap: 6px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .admin-nav-item svg { width: 14px; height: 14px; }
}

.admin-sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 18px;
  border-bottom: 1px solid #1F1F1F;
  margin-bottom: 14px;
}
.admin-sidebar .brand .logo-mark { width: 28px; height: 28px; }
.admin-sidebar .brand-word { font-size: 16px; font-weight: 900; letter-spacing: -.04em; }
.admin-sidebar .brand-tag { font-size: 10px; color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-left: auto; padding: 3px 8px; border-radius: 999px; background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.22); }

.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: #A8A29E;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.admin-nav-item:hover { color: #FAFAF9; background: rgba(255,255,255,0.04); }
.admin-nav-item.is-active { color: #FAFAF9; background: rgba(74,222,128,0.12); }
.admin-nav-item.is-active svg { color: var(--accent); }
.admin-nav-item svg { color: #78716C; flex-shrink: 0; }
.admin-nav-item .nav-badge {
  margin-left: auto;
  font-size: 10.5px; font-weight: 700;
  background: rgba(74,222,128,.2); color: #86EFAC;
  padding: 2px 7px; border-radius: 99px;
}
.admin-nav-item .nav-badge.warn {
  background: rgba(245,158,11,.2); color: #FCD34D;
}

.admin-sidebar .section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #57534E; padding: 16px 12px 6px;
}

.admin-sidebar .integrations {
  padding-top: 16px;
  border-top: 1px solid #1F1F1F;
  display: grid; gap: 6px;
  flex-shrink: 0;
}
.integration-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #A8A29E;
  border-radius: 8px;
}
.integration-pill .status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #16A34A;
  box-shadow: 0 0 0 3px rgba(74,222,128,.18);
  flex-shrink: 0;
}
.integration-pill .status-dot.warn { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.integration-pill .status-dot.off { background: #57534E; box-shadow: none; }

.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  position: sticky; top: 0; z-index: 10;
}
.admin-topbar h1 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.admin-topbar .crumb-mini { font-size: 12px; color: var(--soft); display: flex; gap: 6px; align-items: center; }
.admin-user {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.admin-user .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

.admin-content {
  padding: 28px;
  max-width: 1280px;
  width: 100%;
}
@media (max-width: 540px) { .admin-content { padding: 18px; } }

.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.admin-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.admin-stat .lab { font-size: 12px; color: var(--soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.admin-stat .val { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.admin-stat .delta { font-size: 12px; color: var(--accent-dark); font-weight: 600; }
.admin-stat .delta.down { color: #B45309; }

.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-card-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.admin-card-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.admin-card-body { padding: 4px 0; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left;
  padding: 14px 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soft);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--bg-alt); }
.admin-table .order-id { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--soft); }
.admin-table .customer strong { display: block; font-weight: 600; }
.admin-table .customer span { color: var(--soft); font-size: 12.5px; }

/* Admin inline badge (status tag inside tables and cards) */
.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  background: var(--bg-alt); color: var(--muted);
  border: 1px solid var(--border);
}
.admin-badge.green { background: var(--accent-soft); color: var(--accent-dark); border-color: transparent; }
.admin-badge.warn  { background: #FEF3C7; color: #92400E; border-color: transparent; }
.admin-badge.red   { background: #FEE2E2; color: #991B1B; border-color: transparent; }

/* Admin search + select inputs */
.admin-search, .admin-select {
  height: 36px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit; font-size: 13.5px;
  background: #fff; color: var(--fg);
  min-width: 0;
}
.admin-search:focus, .admin-select:focus { outline: none; border-color: var(--accent-dark); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-pill.new { background: var(--accent-soft); color: var(--accent-dark); }
.status-pill.new::before { background: var(--accent-dark); }
.status-pill.processing { background: #FEF3C7; color: #92400E; }
.status-pill.processing::before { background: #92400E; }
.status-pill.shipped { background: #DBEAFE; color: #1E40AF; }
.status-pill.shipped::before { background: #1E40AF; }
.status-pill.done { background: #F4F4F5; color: var(--muted); }
.status-pill.done::before { background: var(--muted); }
.status-pill.failed { background: #FEE2E2; color: #991B1B; }
.status-pill.failed::before { background: #991B1B; }

.admin-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px; font-weight: 600;
  background: var(--bg-alt); color: var(--fg);
  border: 1px solid var(--border);
  cursor: pointer; transition: all .15s ease;
}
.admin-action-btn:hover { background: var(--card); border-color: var(--border-strong); }
.admin-action-btn.primary { background: var(--dark); color: #FAFAF9; border-color: var(--dark); }
.admin-action-btn.primary:hover { background: #1F1F1F; }
.admin-action-btn.accent { background: var(--accent); color: #052E16; border-color: var(--accent); }
.admin-action-btn.accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.admin-grid-products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1100px) { .admin-grid-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) { .admin-grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .admin-grid-products { grid-template-columns: 1fr; } }

/* ── Admin dashboard mobile fixes ── */
@media (max-width: 640px) {
  /* Orders/integraties naast elkaar → stapelen */
  .dash-bottom-grid { grid-template-columns: 1fr !important; }

  /* Chip-rijen: horizontaal scrollen ipv doorbreken naar nieuwe regels */
  .chip-row {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
}

/* ── Admin mobile (≤640px): compact sticky tab-bar sidebar ── */
@media (max-width: 640px) {
  .admin-sidebar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 8px !important;
    gap: 2px !important;
    align-items: center;
    height: 56px !important;
    min-height: 56px;
    position: sticky !important;
    top: 0;
    z-index: 100;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-sidebar::-webkit-scrollbar { display: none; }

  /* Brand: just the lightning bolt icon, no text */
  .admin-sidebar .brand {
    padding: 0 10px 0 4px !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-right: 1px solid #2A2A28;
    margin-right: 4px;
    flex-shrink: 0;
    min-width: auto;
    gap: 0 !important;
  }
  .admin-sidebar .brand > div { display: none; }

  /* Hide section labels and integrations */
  .admin-sidebar .section-label { display: none !important; }
  .admin-sidebar .integrations  { display: none !important; }

  /* Nav items: stacked icon + tiny label */
  .admin-nav-item {
    flex-direction: column !important;
    gap: 2px !important;
    padding: 6px 8px !important;
    font-size: 9.5px !important;
    min-width: 48px;
    text-align: center;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    white-space: nowrap;
  }
  .admin-nav-item svg { width: 18px; height: 18px; }
  .admin-nav-item .nav-badge {
    margin-left: 0 !important;
    position: absolute;
    top: 3px; right: 3px;
    font-size: 8px !important;
    padding: 1px 4px !important;
    line-height: 1.4;
  }
  #admin-logout span { font-size: 9.5px; }

  /* Topbar: compact, hide user info on very small screens */
  .admin-topbar {
    padding: 10px 16px !important;
    position: sticky !important;
    top: 56px;
  }
  .admin-topbar h1 { font-size: 15px !important; }
  .admin-topbar .crumb-mini { display: none; }
  .admin-user { display: none !important; }

  /* Content: tighter */
  .admin-content { padding: 14px !important; }

  /* Stats: tighter */
  .admin-stats { gap: 10px; margin-bottom: 14px; }
  .admin-stat { padding: 14px; }
  .admin-stat .val { font-size: 22px; }
  .admin-stat .lab { font-size: 10.5px; }

  /* Cards: make body horizontally scrollable for tables */
  .admin-card { overflow-x: auto; overflow-y: visible; }
  .admin-card-body { overflow-x: auto; }
  .admin-card-head { padding: 14px 16px; }
  .admin-table { min-width: 560px; font-size: 12px; }
  .admin-table th, .admin-table td { padding: 10px 12px; }

  /* Toolbar: stack on mobile */
  .toolbar { flex-direction: column; align-items: stretch !important; }
  .toolbar > * { width: 100%; }
  .admin-search { max-width: 100% !important; }

  /* Zoekbalk: geen flex-basis in kolom-richting (anders wordt het de hoogte) */
  .toolbar > div { flex-wrap: wrap; }
  .toolbar input[type="search"] { min-width: 0 !important; flex: 0 0 auto; width: 100%; height: auto; }
  .toolbar .btn { flex-shrink: 0; }
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(74,222,128,.10), transparent 65%),
    linear-gradient(180deg, var(--bg-hero), var(--bg));
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.login-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.login-brand .brand-tag { font-size: 10px; color: var(--accent-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); margin-left: auto; }

.editor-shell {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
}
@media (max-width: 1024px) { .editor-shell { grid-template-columns: 1fr; } }
.editor-doc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.editor-doc input.title-field {
  width: 100%;
  border: 0; padding: 8px 0;
  font-size: 32px; font-weight: 800; letter-spacing: -.02em;
  color: var(--fg);
  background: transparent;
  outline: none;
}
.editor-doc input.title-field:focus { border-bottom: 2px solid var(--accent); }
.editor-toolbar {
  display: flex; gap: 4px; margin: 16px 0;
  padding: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex-wrap: wrap;
}
.editor-toolbar button {
  padding: 6px 10px;
  border: 0; background: transparent;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer;
}
.editor-toolbar button:hover { background: var(--card); color: var(--fg); }
.editor-toolbar button.active { background: var(--card); color: var(--fg); box-shadow: var(--shadow-sm); }
.editor-toolbar .sep { width: 1px; height: 20px; background: var(--border); margin: auto 4px; }
.editor-body {
  min-height: 400px;
  padding: 20px 0;
  font-size: 16px; line-height: 1.7;
  color: var(--fg);
  outline: none;
}
.editor-body[contenteditable]:empty::before { content: attr(data-placeholder); color: var(--soft); }

.editor-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  height: fit-content;
  position: sticky; top: 80px;
}
.editor-side h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }

.calendly-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  min-height: 720px;
  display: flex; align-items: stretch;
}
.calendly-inline-widget { width: 100%; min-height: 700px; }
.calendly-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 700px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
  padding: 48px;
  gap: 18px;
}
.calendly-placeholder .ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.calendly-placeholder code {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 6px;
  font-size: 13px; font-family: ui-monospace, Menlo, monospace;
}

/* ============ MOBILE NAV (open state, properly styled) ============ */
@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column !important;
    background: var(--card);
    padding: 18px 24px 28px;
    gap: 4px !important;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 49;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; list-style: none; }
  .nav-links li a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 600;
    color: var(--fg);
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { position: relative; z-index: 50; }
}
/* Mobile-only nav items: verborgen op desktop, zichtbaar in open hamburger-menu */
.nav-mobile-only { display: none; }
@media (max-width: 880px) {
  .nav-mobile-only { display: list-item; }
}

/* ============ WIDGET RESTYLE — TomBat huisstijl ============ */
/* De widget is React-rendered met inline styles, dus we forceren via specifieke selectors */
#tombat-widget * {
  font-family: 'Inter', system-ui, sans-serif !important;
  letter-spacing: -0.005em;
}
/* Floating button: ronde knop linksonder */
#tombat-widget [style*="position:fixed"][style*="bottom"] [role="button"],
#tombat-widget [style*="position: fixed"][style*="bottom"] [role="button"] {
  border-radius: 999px !important;
  font-weight: 700 !important;
}
/* Widget panel: zachtere radius en TomBat-shadow */
#tombat-widget [style*="border-radius:24px"],
#tombat-widget [style*="border-radius: 24px"] {
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(10,10,10,.18), 0 4px 12px rgba(10,10,10,.06) !important;
}
/* Knoppen binnen widget */
#tombat-widget button {
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
}
/* Mobiel: FAB icoon-only — tekst + pijl verbergen, compact formaat */
@media (max-width: 640px) {
  #tombat-widget button[style*="position: fixed"] > div:nth-child(2),
  #tombat-widget button[style*="position:fixed"] > div:nth-child(2),
  #tombat-widget button[style*="position: fixed"] > div:nth-child(3),
  #tombat-widget button[style*="position:fixed"] > div:nth-child(3) {
    display: none !important;
  }
  #tombat-widget button[style*="position: fixed"],
  #tombat-widget button[style*="position:fixed"] {
    padding: 13px !important;
    gap: 0 !important;
    box-shadow: 0 4px 16px rgba(10,22,40,.16) !important;
  }
}
