/* ============================================================
   HSL Woning & Projectstoffering — Design System
   Shared stylesheet voor alle pagina-mockups
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Kleuren */
  --yellow: #F9DC00;
  --yellow-deep: #E8CC00;
  --graphite: #3E3D3D;
  --graphite-medium: #575656;
  --offwhite: #F7F5F2;
  --white: #FFFFFF;
  --text-light: #6B6B6B;
  --border: #E8E5E0;
  --border-strong: #D9D5CE;
  --success: #1E8449;
  --warn: #B7791F;

  /* Type */
  --font-heading: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s0: 8px;
  --s1: 12px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(62, 61, 61, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(62, 61, 61, 0.08);
  --shadow-pop: 0 12px 36px rgba(62, 61, 61, 0.14);

  /* Layout */
  --max: 1280px;
  --max-narrow: 880px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--graphite);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 32px; letter-spacing: -0.015em; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p  { margin: 0; }
.small { font-size: 14px; color: var(--text-light); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--max-narrow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn .icon { width: 18px; height: 18px; flex: 0 0 18px; }

.btn-primary { background: var(--yellow); color: var(--graphite); }
.btn-primary:hover { background: var(--graphite); color: var(--white); }

.btn-secondary { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn-secondary:hover { background: var(--graphite); color: var(--white); }

.btn-ghost { padding: 8px 0; color: var(--graphite); font-weight: 600; }
.btn-ghost:hover { color: var(--graphite-medium); }
.btn-ghost .icon { transition: transform .2s ease; }
.btn-ghost:hover .icon { transform: translateX(4px); }

.btn-dark { background: var(--graphite); color: var(--white); }
.btn-dark:hover { background: #2a2929; }

.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); }
.card-padded { padding: 24px; }
.card-pop { box-shadow: var(--shadow-card); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow);
  color: var(--graphite);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-outline { background: transparent; border: 1px solid var(--border-strong); color: var(--graphite-medium); }
.badge-success { background: rgba(30, 132, 73, 0.1); color: var(--success); }
.badge-dark { background: var(--graphite); color: var(--white); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--graphite); }
.chip.is-active { background: var(--graphite); color: var(--white); border-color: var(--graphite); }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--graphite);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.utility-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
  gap: 24px;
}
.utility-bar .usps { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.utility-bar .usps span { display: inline-flex; align-items: center; gap: 8px; }
.utility-bar .usps .dot { width: 4px; height: 4px; background: var(--yellow); border-radius: 50%; flex-shrink: 0; }
.utility-bar .right { display: flex; align-items: center; gap: 20px; }
.utility-bar .review-snippet {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
}
.utility-bar .review-snippet .stars { color: var(--yellow); display: inline-flex; gap: 1px; }
.utility-bar .review-snippet .stars svg { width: 13px; height: 13px; }
.utility-bar .review-snippet strong { color: var(--white); font-weight: 700; }
.utility-bar .divider { width: 1px; height: 14px; background: rgba(255,255,255,0.15); }
.utility-bar .tel {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: 0.01em;
}
.utility-bar .tel:hover { color: var(--yellow); }
.utility-bar .tel svg { width: 13px; height: 13px; opacity: 0.7; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(62,61,61,0.02), 0 8px 24px -16px rgba(62,61,61,0.08);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 44px; height: 44px;
  background: var(--graphite);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.brand .logo-mark::after {
  content: ""; position: absolute; width: 8px; height: 2px; background: var(--yellow); border-radius: 1px;
  margin-top: 14px;
  display: none;
}
.brand .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--graphite);
  line-height: 1.1;
}
.brand .logo-text small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav { display: flex; gap: 4px; }
.nav .nav-trigger {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--graphite);
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background .15s ease, color .15s ease;
}
.nav .nav-trigger:hover { background: var(--offwhite); color: var(--graphite); }
.nav .nav-trigger svg { opacity: 0.55; transition: transform .2s ease; }
.nav .nav-trigger.is-current { color: var(--graphite); }
.nav .nav-trigger.is-current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--yellow); border-radius: 2px;
}
.nav-item { position: relative; }
.nav-item.has-menu:hover .nav-panel,
.nav-item.is-open .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-menu:hover .nav-trigger svg,
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); opacity: 1; }

.nav-panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 60;
}
.nav-panel::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
  /* hover bridge */
}
.nav-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none;
  color: var(--graphite);
  transition: background .15s ease;
}
.nav-panel a:hover { background: var(--offwhite); }
.nav-panel a.is-current { background: var(--offwhite); }
.nav-panel a.is-current::before {
  content: ""; display: inline-block; width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%; position: absolute; margin-top: 9px; margin-left: -10px;
}
.nav-panel .lbl {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--graphite);
}
.nav-panel .sub {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1.5px solid var(--graphite);
  display: inline-grid; place-items: center;
  color: var(--graphite);
}
.icon-btn:hover { background: var(--graphite); color: var(--white); }

/* ---------- Hero patterns ---------- */
.hero {
  background: var(--offwhite);
  padding: 64px 0 80px;
}
.hero h1 { margin-bottom: 16px; }
.hero p.lede { font-size: 19px; color: var(--graphite-medium); max-width: 56ch; }
.hero .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.dark { background: var(--graphite); color: var(--white); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--white); }
.section.offwhite { background: var(--offwhite); }
.section.yellow { background: var(--yellow); }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-medium);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--yellow);
}
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head p { color: var(--graphite-medium); font-size: 17px; margin-top: 12px; }

/* ---------- USP strip ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.usp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.usp-card .icon-wrap {
  width: 44px; height: 44px;
  background: var(--yellow);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--graphite);
}
.usp-card h4 { font-size: 17px; }
.usp-card p { color: var(--text-light); font-size: 14px; }

/* ---------- Product / category cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.product-card .media {
  aspect-ratio: 4/3;
  background: var(--offwhite);
  position: relative;
  overflow: hidden;
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { font-size: 22px; }
.product-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; }
.product-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--graphite); }
.product-card .price small { font-weight: 500; color: var(--text-light); }

/* ---------- Step list ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
}
.step .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--graphite-medium);
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  margin-bottom: 16px;
}
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-light); font-size: 14px; }

/* ---------- Reviews ---------- */
.review-summary { display: flex; align-items: center; gap: 16px; }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 18px; height: 18px; }
.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.review-card .stars { margin-bottom: 12px; }
.review-card .quote { font-size: 17px; color: var(--graphite); margin-bottom: 16px; line-height: 1.55; }
.review-card .author { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--offwhite); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; color: var(--graphite-medium);
}
.review-card .name { font-family: var(--font-heading); font-weight: 600; font-size: 14px; }
.review-card .place { font-size: 13px; color: var(--text-light); }

/* ---------- Stefan block ---------- */
.stefan {
  display: grid; grid-template-columns: 360px 1fr; gap: 48px;
  align-items: center;
}
.stefan .portrait {
  aspect-ratio: 1;
  background: var(--offwhite);
  border-radius: 16px;
  overflow: hidden;
}
.stefan .portrait img { width: 100%; height: 100%; object-fit: cover; }
.stefan .quote { font-family: var(--font-heading); font-weight: 600; font-size: 24px; line-height: 1.35; color: var(--graphite); margin-bottom: 16px; }
.stefan .body { color: var(--graphite-medium); font-size: 16px; margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--graphite);
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--offwhite);
  display: grid; place-items: center;
  transition: transform .2s ease, background .15s ease;
  flex: 0 0 28px;
}
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--yellow); }
.faq-item .answer { color: var(--graphite-medium); padding-top: 12px; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--yellow);
  padding: 56px 0;
}
.cta-band .row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 36px; max-width: 28ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 24px;
  font-size: 14px;
}
.site-footer h5 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid .brand .logo-text { color: var(--white); }
.footer-grid .brand .logo-text small { color: rgba(255,255,255,0.5); }
.footer-mission { margin-top: 16px; color: rgba(255,255,255,0.6); max-width: 32ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
}
.socials a:hover { background: var(--yellow); color: var(--graphite); border-color: var(--yellow); }

/* ---------- Floating contact widget ---------- */
.contact-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.contact-fab .fab-options {
  display: flex; flex-direction: column; gap: 10px;
  transform-origin: bottom right;
}
.contact-fab .fab-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--graphite);
}
.contact-fab .fab-pill .icon-wrap {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
}
.contact-fab .fab-pill.wa .icon-wrap { background: #25D366; }
.contact-fab .fab-pill.tel .icon-wrap { background: var(--graphite); }
.contact-fab .fab-pill.mail .icon-wrap { background: var(--graphite-medium); }
.contact-fab .fab-main {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  color: var(--graphite);
  box-shadow: var(--shadow-pop);
  border: none;
  cursor: pointer;
}

/* ---------- Sticky bottom CTA (mobile) ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px 18px;
  gap: 10px;
}
.mobile-cta .btn { flex: 1; justify-content: center; }
@media (max-width: 768px) { .mobile-cta { display: flex; } }

/* ---------- Cookiebanner ---------- */
.cookiebanner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 70;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-pop);
}
.cookiebanner h4 { margin-bottom: 8px; }
.cookiebanner p { font-size: 14px; color: var(--graphite-medium); margin-bottom: 16px; }
.cookiebanner .opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cookiebanner .opts label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.cookiebanner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookiebanner .actions .btn { flex: 1; }

/* ---------- Map placeholder (Twente) ---------- */
.map-twente {
  aspect-ratio: 16/10;
  background: var(--offwhite);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.map-twente svg { width: 100%; height: 100%; display: block; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  color: var(--graphite);
  box-shadow: var(--shadow-card);
}
.map-pin::before {
  content: ""; width: 8px; height: 8px; background: var(--yellow);
  border: 2px solid var(--graphite); border-radius: 50%;
}

/* ---------- Brand strip ---------- */
.brand-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.brand-strip .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 600;
}
.brand-strip .logos { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.brand-strip .logos .vendor {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--graphite-medium);
  letter-spacing: 0.04em;
  opacity: .7;
}

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--graphite);
}
.field label .req { color: var(--warn); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"],
.field input[type="date"], .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--graphite);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--graphite);
  box-shadow: 0 0 0 3px var(--yellow);
}
.field .helper { font-size: 13px; color: var(--text-light); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(62,61,61,0.04) 0 14px, transparent 14px 28px),
    var(--offwhite);
  color: var(--graphite-medium);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 24px;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  border: 1px dashed rgba(62,61,61,0.18);
  pointer-events: none;
}
.ph span { background: rgba(255,255,255,0.85); padding: 4px 10px; border-radius: 4px; }

/* ---------- Tag/pill row ---------- */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Mobile preview frame ---------- */
.mobile-frame {
  width: 375px;
  border: 12px solid var(--graphite);
  border-radius: 36px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-pop);
}
.mobile-frame .inner {
  height: 740px;
  overflow: auto;
  background: var(--white);
}

/* ---------- Mockup display chrome ---------- */
.mockup-wrap {
  background: linear-gradient(180deg, #ECE9E4 0%, #DDD8D1 100%);
  padding: 48px 24px;
  min-height: 100vh;
}
.mockup-label {
  max-width: 1440px;
  margin: 0 auto 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.mockup-label h1 {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
}
.mockup-label .meta {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--graphite-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mockup-frame {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(62, 61, 61, 0.12);
}
.mockup-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--graphite);
  color: rgba(255,255,255,0.7);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #555; }
.mockup-bar .dot.r { background: #FF5F57; }
.mockup-bar .dot.y { background: #FEBC2E; }
.mockup-bar .dot.g { background: #28C840; }
.mockup-bar .url { margin-left: 16px; }

.split-views {
  max-width: 1440px;
  margin: 48px auto 0;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
.split-views .mobile-block { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.split-views .mobile-block .label { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: var(--graphite-medium); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Mobile responsiveness for the actual page content ---------- */
@media (max-width: 960px) {
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .nav { display: none; }
  .header-cta .btn { padding: 12px 16px; font-size: 14px; }
  .usp-grid, .product-grid, .review-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stefan { grid-template-columns: 1fr; }
  .stefan .portrait { max-width: 280px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 56px 0; }
  .utility-bar .usps span:nth-child(n+2) { display: none; }
  .utility-bar .review-snippet span:last-child { display: none; }
}
@media (max-width: 640px) {
  .utility-bar .usps { display: none; }
  .utility-bar .container { justify-content: space-between; }
}
@media (max-width: 560px) {
  .usp-grid, .product-grid, .review-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Index/overview page styling ---------- */
.overview-page {
  background: var(--offwhite);
  min-height: 100vh;
}
.overview-page .hero-block {
  background: var(--graphite);
  color: var(--white);
  padding: 80px 0;
}
.overview-page .hero-block h1 { color: var(--white); max-width: 18ch; }
.overview-page .hero-block p { color: rgba(255,255,255,0.7); max-width: 60ch; margin-top: 16px; font-size: 18px; }
.overview-page .hero-block .pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(249,220,0,0.12);
  border: 1px solid rgba(249,220,0,0.3);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 64px 0 96px;
}
.page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.page-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.page-card .num {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--graphite-medium);
}
.page-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.page-card h3 { font-size: 18px; }
.page-card p { font-size: 14px; color: var(--text-light); }
.page-card .thumb {
  aspect-ratio: 16/9;
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* ---------- Print-friendly tweaks ---------- */
@media print {
  .contact-fab, .mobile-cta, .cookiebanner { display: none !important; }
  .site-header { position: static; }
}

/* ============================================================
   WordPress-specific additions (HSL theme)
   ============================================================ */

/* ---------- Article / page content typography ---------- */
.entry-content { max-width: 760px; }
.entry-content.full { max-width: 100%; }
.entry-content > h2 { font-size: 30px; margin: 48px 0 16px; }
.entry-content > h3 { font-size: 22px; margin: 36px 0 12px; }
.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 18px; font-size: 17px; color: var(--graphite); }
/* Tekstlinks in de content (knoppen uitgesloten, die houden hun eigen stijl). */
.entry-content a:not([class*="btn"]) { color: var(--graphite); text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.entry-content a:not([class*="btn"]):hover { color: var(--graphite-medium); }
/* Knoppen binnen de content nooit onderstrepen of de linkkleur geven. */
.entry-content a.btn, .entry-content a.btn-ghost { text-decoration: none; }
.entry-content a.btn-primary { color: var(--graphite); }
.entry-content a.btn-primary:hover { color: #fff; }
.entry-content a.btn-dark, .entry-content a.btn-dark:hover { color: #fff; }
.entry-content a.btn-secondary { color: var(--graphite); }
.entry-content a.btn-secondary:hover { color: #fff; }
.entry-content a.btn-ghost { color: var(--graphite); }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.entry-content li { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.entry-content ul li::marker { color: var(--yellow-deep); }
.entry-content strong { font-weight: 600; }
.entry-content img { border-radius: var(--r-lg); margin: 24px 0; }
.entry-content figure { margin: 24px 0; }
.entry-content figcaption { font-size: 13px; color: var(--text-light); margin-top: 8px; }
.content-figure { margin: 0 0 24px; }
.content-figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border); margin: 0; }

/* CTA block rendered from body type 'cta' */
.content-cta {
  background: var(--yellow);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin: 32px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.content-cta p { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--graphite); max-width: 40ch; }
.content-cta .btn { flex: 0 0 auto; }

/* Inline FAQ from body (faqq + p) */
.content-faq { margin: 24px 0; border-top: 1px solid var(--border); }

/* ---------- Page layout shells ---------- */
.page-hero { background: var(--offwhite); padding: 56px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { max-width: 22ch; }
.page-hero p.lede { font-size: 19px; color: var(--graphite-medium); max-width: 60ch; margin-top: 16px; }
.page-hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.page-hero-media { aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px){ .hero-split { grid-template-columns: 1fr; } }

.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.content-layout.no-aside { grid-template-columns: 1fr; }
@media (max-width: 960px){ .content-layout { grid-template-columns: 1fr; gap: 40px; } }
.content-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.aside-card.dark { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.aside-card.dark h4, .aside-card.dark h3 { color: #fff; }
.aside-card h4 { font-size: 17px; margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.aside-card.dark p { color: rgba(255,255,255,.7); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--text-light); padding: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--graphite-medium); }
.breadcrumbs a:hover { color: var(--graphite); }
.breadcrumbs [aria-current] { color: var(--graphite); font-weight: 600; }

/* ---------- USP inline strip (productpagina/lokaal) ---------- */
.usp-bar { background: var(--graphite); color: #fff; }
.usp-bar .container { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; padding: 14px 24px; }
.usp-bar span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-family: var(--font-heading); font-weight: 500; }
.usp-bar svg { width: 16px; height: 16px; color: var(--yellow); }
@media (max-width: 700px){ .usp-bar span:nth-child(n+3){ display:none; } }

/* ---------- Sub-categorie grid ---------- */
.subcat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .subcat-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .subcat-grid { grid-template-columns: 1fr;} }

/* ---------- Inhoudsopgave (TOC) ---------- */
.toc { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 24px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite-medium); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 8px; }
.toc a { font-size: 14px; color: var(--graphite-medium); }
.toc a:hover { color: var(--graphite); }

/* ---------- Mobile nav (hamburger) ---------- */
.nav-toggle { display: none; }
.mobile-nav { display: none; }
@media (max-width: 960px){
  .nav-toggle { display: inline-grid; }
  .mobile-nav.is-open { display: block; position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff; z-index: 80; box-shadow: var(--shadow-pop); padding: 24px; overflow-y: auto; }
  .mobile-nav .m-group { border-bottom: 1px solid var(--border); padding: 14px 0; }
  .mobile-nav .m-group > a, .mobile-nav .m-group > span { font-family: var(--font-heading); font-weight: 700; font-size: 17px; display: block; margin-bottom: 8px; }
  .mobile-nav .m-sub a { display: block; padding: 8px 0 8px 12px; color: var(--graphite-medium); font-size: 15px; }
  .mobile-nav-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(62,61,61,.5); z-index: 79; }
}

/* ---------- Price calculator (WP port of prototype) ---------- */
.hsl-calc { max-width: 880px; margin: 32px auto; }
.hsl-calc .card { overflow: hidden; }
.hsl-calc .head { background: var(--graphite); color: #fff; padding: 20px 24px; }
.hsl-calc .head h3 { color: #fff; margin: 0; font-size: 22px; }
.hsl-calc .head p { margin: 6px 0 0; color: #cfcdca; font-size: 14px; }
.hsl-calc .calc-body { padding: 22px 24px; }
.hsl-calc .steps-bar { display: flex; gap: 8px; margin-bottom: 22px; }
.hsl-calc .steps-bar .s { flex: 1; height: 6px; border-radius: 99px; background: var(--border); }
.hsl-calc .steps-bar .s.active { background: var(--yellow); }
.hsl-calc .q { font-size: 18px; font-weight: 700; font-family: var(--font-heading); margin: 0 0 14px; }
.hsl-calc .opt-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; }
.hsl-calc .opt { border: 2px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; text-align: left; background: #fff; font: inherit; color: inherit; transition: .15s; }
.hsl-calc .opt:hover { border-color: var(--graphite-medium); }
.hsl-calc .opt.sel { border-color: var(--graphite); background: #FFFDF0; box-shadow: inset 0 0 0 2px var(--yellow); }
.hsl-calc .opt b { display: block; font-size: 15px; font-family: var(--font-heading); }
.hsl-calc .opt span { display: block; font-size: 12.5px; color: var(--text-light); margin-top: 3px; }
.hsl-calc .calc-field { margin: 16px 0; }
.hsl-calc .calc-field > label { display: block; font-weight: 600; font-family: var(--font-heading); font-size: 14px; margin-bottom: 6px; }
.hsl-calc input[type=number] { width: 120px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.hsl-calc .help { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }
.hsl-calc .rooms { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hsl-calc .rooms input { width: 90px; }
.hsl-calc .toggle-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hsl-calc .toggle { border: 2px solid var(--border); border-radius: 10px; padding: 9px 14px; cursor: pointer; font: inherit; font-size: 14px; background:#fff; }
.hsl-calc .toggle.sel { border-color: var(--graphite); background: #FFFDF0; box-shadow: inset 0 0 0 2px var(--yellow); }
.hsl-calc .calc-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.hsl-calc .result { background: var(--offwhite); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.hsl-calc .price { font-size: 34px; font-weight: 800; font-family: var(--font-heading); letter-spacing: -1px; }
.hsl-calc .price small { font-size: 15px; font-weight: 600; color: var(--text-light); }
.hsl-calc .breakdown { margin: 14px 0 0; border-top: 1px dashed var(--border); padding-top: 12px; }
.hsl-calc .breakdown .line { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: var(--graphite-medium); }
.hsl-calc .disc { font-size: 12px; color: var(--text-light); margin-top: 12px; }
.hsl-calc .pill { display: inline-flex; align-items: center; gap: 6px; background: #EEF6F0; color: var(--success); border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.hsl-calc .calc-usps { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-light); margin-top: 14px; }
.hsl-calc .calc-usps span::before { content: "✓ "; color: var(--success); font-weight: 800; }
.hsl-calc .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hsl-calc .is-hidden { display: none; }
@media (max-width: 560px){ .hsl-calc .price { font-size: 28px; } .hsl-calc .calc-actions { flex-direction: column-reverse; } .hsl-calc .calc-actions .btn { width: 100%; } }

/* ---------- Small tools (werkgebied-check, stalen, planner) ---------- */
.hsl-tool { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; max-width: 560px; }
.hsl-tool.compact { padding: 18px; }
.hsl-tool h4 { font-size: 18px; margin-bottom: 6px; }
.hsl-tool p.sub { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.hsl-tool .inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.hsl-tool .inline-form input { flex: 1; min-width: 140px; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); font: inherit; }
.hsl-tool .tool-result { margin-top: 14px; font-size: 14px; padding: 12px 14px; border-radius: var(--r-md); display: none; }
.hsl-tool .tool-result.ok { display: block; background: #EEF6F0; color: var(--success); }
.hsl-tool .tool-result.no { display: block; background: #FBF1E9; color: var(--warn); }
.daypart-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.staal-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }

/* ---------- Reviews / scores extra ---------- */
.score-strip { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; padding: 20px 0; }
.score-item { display: flex; flex-direction: column; }
.score-item .v { font-family: var(--font-heading); font-weight: 800; font-size: 24px; }
.score-item .l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); font-weight: 600; }

/* ---------- WooCommerce alignment ---------- */
.woocommerce-page .product-grid, ul.products { display: grid !important; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
ul.products li.product { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; text-align: left; padding: 0 0 16px; margin: 0 !important; width: auto !important; float: none !important; }
ul.products li.product img { border-radius: 0; margin: 0 0 12px; }
ul.products li.product .woocommerce-loop-product__title { padding: 0 16px; font-family: var(--font-heading); font-size: 17px; }
ul.products li.product .price { padding: 0 16px; color: var(--graphite); font-family: var(--font-heading); }
ul.products li.product .button { margin: 12px 16px 0; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit { background: var(--yellow); color: var(--graphite); border-radius: var(--r-md); font-family: var(--font-heading); font-weight: 600; padding: 12px 20px; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--graphite); color: #fff; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px){ .shop-layout { grid-template-columns: 1fr; } .woocommerce-page .product-grid, ul.products { grid-template-columns: repeat(2,1fr); } }
.shop-filter { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.shop-filter h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 16px 0 8px; }
.m2-module { background: var(--offwhite); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; margin: 20px 0; }
.m2-module label { font-family: var(--font-heading); font-weight: 600; font-size: 14px; }
.m2-module input { width: 90px; padding: 10px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); }
.m2-module .m2-out { font-family: var(--font-heading); font-weight: 800; font-size: 22px; margin-top: 12px; }

/* ---------- 404 ---------- */
.error404-wrap { text-align: center; padding: 80px 0; }
.error404-wrap .big { font-family: var(--font-heading); font-weight: 800; font-size: 96px; color: var(--yellow); line-height: 1; }
.quicklinks { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

/* hide admin scaffolding on calculator settings note */
.hsl-price-note { background:#FFFDF0; border:1px solid var(--yellow); padding:12px 16px; border-radius:8px; margin-bottom:16px; }

/* ---------- Staging / testomgeving-label ---------- */
.hsl-staging-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 65;
  background: var(--graphite); color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-pop); letter-spacing: .02em; opacity: .92;
}
.hsl-staging-badge::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); margin-right: 8px; vertical-align: middle;
}
@media (max-width: 768px) { .hsl-staging-badge { bottom: 84px; } }

/* ---------- Review-USP's grid (7 redenen) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Custom logo (uploaded via importer) — netjes begrenzen ---------- */
.site-header .brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-header .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.site-header .custom-logo { height: 66px; width: auto; display: block; }      /* hoogte bepaalt, breedte volgt = geen vervorming */
@media (max-width: 600px) { .site-header .custom-logo { height: 48px; } }
.site-footer .custom-logo { height: 44px; width: auto; }

/* ---------- Twee header-knoppen (advies + offerte) ---------- */
.header-cta { gap: 10px; }
@media (max-width: 1180px) { .header-cta .hide-tablet { display: none; } } /* advies-knop in het menu op smal scherm */
/* FAB: offerte-pijl in geel accent */
.contact-fab .fab-pill.offerte .icon-wrap { background: var(--yellow); color: var(--graphite); }
.contact-fab .fab-pill.advies .icon-wrap { background: var(--graphite); color: #fff; }

/* ---------- Offerte-wizard (4 stappen) ---------- */
.hsl-offerte { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; }
.ostepper { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ostep-pill { flex: 1; min-width: 110px; display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--text-light); padding-bottom: 10px; border-bottom: 3px solid var(--border); }
.ostep-pill span { width: 24px; height: 24px; border-radius: 50%; background: var(--border); color: var(--graphite-medium); display: grid; place-items: center; font-size: 13px; }
.ostep-pill.is-active { color: var(--graphite); border-bottom-color: var(--yellow); }
.ostep-pill.is-active span { background: var(--yellow); color: var(--graphite); }
.ostep h3 { margin-bottom: 8px; }
.ostep.is-hidden { display: none; }
.ocards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .ocards { grid-template-columns: 1fr; } }
.ocard { border: 2px solid var(--border); border-radius: 12px; padding: 16px 16px 16px 44px; cursor: pointer; position: relative; transition: .15s; display: block; }
.ocard:hover { border-color: var(--graphite-medium); }
.ocard.sel { border-color: var(--graphite); background: #FFFDF0; box-shadow: inset 0 0 0 2px var(--yellow); }
.ocard input { position: absolute; left: 16px; top: 18px; }
.ocard b { display: block; font-family: var(--font-heading); font-size: 16px; }
.ocard span { display: block; font-size: 13px; color: var(--text-light); margin-top: 2px; }
.onav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }

/* ---------- Echte Twente-kaart (Leaflet) ---------- */
.hsl-twente-map { height: 440px; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; z-index: 1; }
.hsl-twente-map .leaflet-container { font-family: var(--font-body); background: var(--offwhite); }
.hsl-twente-map .leaflet-tooltip { font-family: var(--font-heading); font-weight: 600; font-size: 12px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--graphite); }
@media (max-width: 700px) { .hsl-twente-map { height: 340px; } }

/* ---------- Keuzehulp (adviestool per categorie) ---------- */
.hsl-keuzehulp { margin: 24px 0; }
.hsl-keuzehulp .kh-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.hsl-keuzehulp .kh-head { background: var(--graphite); color: #fff; padding: 22px 28px; }
.hsl-keuzehulp .kh-head h3 { color: #fff; margin: 0; font-size: 22px; }
.hsl-keuzehulp .kh-head p { margin: 6px 0 0; color: #cfcdca; font-size: 14px; }
.hsl-keuzehulp .kh-body { padding: 24px 28px 28px; }
.hsl-keuzehulp .kh-bar { height: 6px; border-radius: 99px; background: var(--border); margin-bottom: 22px; overflow: hidden; }
.hsl-keuzehulp .kh-bar span { display: block; height: 100%; background: var(--yellow); transition: width .3s ease; }
.hsl-keuzehulp .kh-num { font-family: var(--font-heading); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); }
.hsl-keuzehulp .kh-q h4 { font-size: 22px; margin: 6px 0 18px; }
.hsl-keuzehulp .kh-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .hsl-keuzehulp .kh-options { grid-template-columns: 1fr; } }
.hsl-keuzehulp .kh-opt { text-align: left; border: 2px solid var(--border); border-radius: 12px; padding: 16px 18px; font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: 15px; color: var(--graphite); background: #fff; cursor: pointer; transition: .15s; }
.hsl-keuzehulp .kh-opt:hover { border-color: var(--graphite); transform: translateY(-1px); }
.hsl-keuzehulp .kh-opt.is-active { border-color: var(--graphite); background: #FFFDF0; box-shadow: inset 0 0 0 2px var(--yellow); }
.hsl-keuzehulp .kh-nav { margin-top: 18px; }
.hsl-keuzehulp .kh-result { text-align: left; }
.hsl-keuzehulp .kh-pill { display: inline-flex; background: #EEF6F0; color: var(--success); border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; font-family: var(--font-heading); margin-bottom: 10px; }
.hsl-keuzehulp .kh-rec { font-size: 26px; margin: 4px 0 10px; }
.hsl-keuzehulp .kh-desc { color: var(--graphite-medium); margin-bottom: 16px; }
.hsl-keuzehulp .kh-why { background: var(--offwhite); border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 16px; font-size: 14px; }
.hsl-keuzehulp .kh-why ul { margin: 8px 0 0; padding-left: 18px; }
.hsl-keuzehulp .kh-why li { margin: 4px 0; }
.hsl-keuzehulp .kh-disc { font-size: 12.5px; color: var(--text-light); margin-bottom: 16px; }
.hsl-keuzehulp .kh-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hsl-keuzehulp .kh-restart { margin-top: 14px; font-size: 13px; color: var(--text-light); background: none; border: none; cursor: pointer; }
.hsl-keuzehulp .kh-restart:hover { color: var(--graphite); }

/* ---------- Merkvrije trustbalk ---------- */
.trust-bar { background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; padding: 16px 24px; }
.trust-bar .trust-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 13.5px; color: var(--graphite-medium); }
.trust-bar .trust-item strong { color: var(--graphite); }
.trust-bar .stars { transform: scale(.8); transform-origin: left center; }
@media (max-width: 700px){ .trust-bar .trust-item:nth-child(n+4){ display:none; } }

/* ---------- Product-topbalk (prijs + USP-chips) ---------- */
.product-topbar { background: var(--graphite); color: #fff; }
.product-topbar .container { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 14px 24px; }
.product-topbar .pt-price { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--yellow); }
.product-topbar .pt-price span { font-weight: 500; color: rgba(255,255,255,.75); }
.product-topbar .pt-chips { display: flex; gap: 8px 16px; flex-wrap: wrap; margin-left: auto; }
.product-topbar .pt-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-family: var(--font-heading); font-weight: 500; color: rgba(255,255,255,.9); }
.product-topbar .pt-chip svg { color: var(--yellow); }
.product-topbar .btn-primary { flex: 0 0 auto; }
@media (max-width: 860px){ .product-topbar .pt-chips { margin-left: 0; } .product-topbar .btn { width: 100%; justify-content: center; } }

/* ---------- Meescrollende sticky offerte-balk ---------- */
.hsl-sticky-offer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -16px rgba(62,61,61,.25);
  transform: translateY(110%); transition: transform .25s ease;
  backdrop-filter: saturate(140%) blur(8px);
}
.hsl-sticky-offer.is-visible { transform: translateY(0); }
.hsl-sticky-offer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 24px; }
.hsl-sticky-offer .so-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hsl-sticky-offer .so-info strong { font-family: var(--font-heading); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsl-sticky-offer .so-info span { font-size: 13px; color: var(--text-light); }
.hsl-sticky-offer .so-cta { display: flex; gap: 8px; flex: 0 0 auto; }
/* op pagina's met de sticky offerte-balk de generieke mobiele CTA verbergen */
body.has-sticky-offer .mobile-cta { display: none !important; }
@media (max-width: 600px){ .hsl-sticky-offer .so-hide-sm { display: none; } .hsl-sticky-offer .so-info span { display: none; } }

/* ---------- Formulier-uitlijning: velden nooit buiten hun kader ---------- */
.field input, .field select, .field textarea { width: 100%; box-sizing: border-box; min-width: 0; }
.field-row { gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Tools (stalen, planner) in smalle kolommen: velden netjes stapelen */
.hsl-tool { container-type: inline-size; }
@container (max-width: 480px) {
  .hsl-tool .field-row, .hsl-tool .staal-grid, .hsl-tool .daypart-grid { grid-template-columns: 1fr; }
}

/* Dagdeel-keuze duidelijk als knoppen */
.hsl-tool .daypart-grid { gap: 8px; }
.hsl-tool .daypart-grid .toggle {
  display: block; text-align: center; border: 2px solid var(--border-strong); border-radius: 10px;
  padding: 11px 8px; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 14px; transition: .15s; background: #fff;
}
.hsl-tool .daypart-grid .toggle:hover { border-color: var(--graphite); }
.hsl-tool .daypart-grid .toggle.sel { border-color: var(--graphite); background: #FFFDF0; box-shadow: inset 0 0 0 2px var(--yellow); }

/* Stalen-checkboxes wat luchtiger */
.hsl-tool .staal-grid label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }

/* ---------- Review-scorekaarten ---------- */
.score-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 28px; }
a.score-card { text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
a.score-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
@media (max-width: 760px) { .score-cards { grid-template-columns: 1fr 1fr; } }
.score-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.score-card.highlight { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.score-card .stars { margin-bottom: 4px; }
.score-card .v { font-family: var(--font-heading); font-weight: 800; font-size: 30px; line-height: 1; }
.score-card .l { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); font-weight: 600; }
.score-card.highlight .l { color: rgba(255,255,255,.7); }

/* ---------- WooCommerce productenraster — uitlijning herstellen ---------- */
/* WC voegt clearfix-pseudo's toe die als grid-cel meetellen; uitschakelen. */
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { content: none !important; display: none !important; }
ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 !important; padding: 0 !important; list-style: none; }
@media (max-width: 900px) { ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { ul.products { grid-template-columns: 1fr; } }
.woocommerce ul.products li.product, ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important; clear: none !important;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; padding: 0 0 18px; transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.woocommerce ul.products li.product a img, ul.products li.product img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0 0 14px; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-heading); font-weight: 600; font-size: 17px; padding: 0 18px; margin: 0 0 6px; color: var(--graphite); }
.woocommerce ul.products li.product .price { padding: 0 18px; color: var(--graphite); font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.woocommerce ul.products li.product .price del { color: var(--text-light); font-weight: 500; }
.woocommerce ul.products li.product .button { margin: auto 18px 0; text-align: center; }
.woocommerce ul.products li.product .star-rating { margin: 0 18px 8px; font-size: 13px; }


/* ---------- Hero-visual met speelse afwerking ---------- */
.hero-visual { position: relative; padding: 0 0 28px 28px; }
.hero-visual::before {
  content: ""; position: absolute; left: 0; bottom: 0; right: 56px; top: 56px;
  background: var(--yellow); border-radius: 20px; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  border: 4px solid #fff; box-shadow: var(--shadow-pop);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card {
  position: absolute; z-index: 2; left: -12px; bottom: 4px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow-pop); max-width: 340px;
}
.hero-card .hc-badge { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; color: var(--graphite); }
.hero-card strong { display: block; font-family: var(--font-heading); font-size: 14px; line-height: 1.3; }
.hero-card span { font-size: 12px; color: var(--text-light); }
@media (max-width: 900px) {
  .hero-visual { padding: 0 0 20px 20px; margin-top: 8px; }
  .hero-card { position: static; margin-top: 12px; max-width: none; }
  .hero-visual::before { right: 32px; top: 32px; }
}

/* USP-kaart als link */
a.usp-card { text-decoration: none; }
a.usp-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); transition: .2s; }

/* ---------- Media zoom: detail in beeld op productkaarten ---------- */
.product-card .media.zoom img { transform: scale(1.45); transform-origin: 55% 65%; transition: transform .5s ease; }
.product-card:hover .media.zoom img { transform: scale(1.55); }

/* ---------- Fotogalerij met nette afwerking ---------- */
.hsl-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 8px; }
.hsl-gallery .g-item { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--offwhite); }
.hsl-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .45s ease; margin: 0; border-radius: 0; }
.hsl-gallery .g-item:hover img { transform: scale(1.05); }
.hsl-gallery .g-lead { grid-column: span 2; grid-row: span 2; }
.hsl-gallery .g-lead img { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .hsl-gallery { grid-template-columns: 1fr 1fr; } .hsl-gallery .g-lead { grid-column: span 2; grid-row: auto; } }

/* ---------- Auteursregel (blogs) ---------- */
.author-line { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; }
.author-line .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--graphite); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 14px; }
.author-line .a-name { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 14.5px; }
.author-line .a-meta { display: block; font-size: 12.5px; color: var(--text-light); }

/* ---------- Facebook-blok ---------- */
.fb-block { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 20px 24px; margin-top: 32px; }
.fb-block .fb-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--graphite); color: #fff; display: grid; place-items: center; }
.fb-block .fb-text { flex: 1; min-width: 240px; }
.fb-block .fb-text strong { font-family: var(--font-heading); display: block; }
.fb-block .fb-text p { font-size: 14px; color: var(--text-light); margin: 2px 0 0; }

/* ---------- Trust-items klikbaar ---------- */
a.trust-item { text-decoration: none; }
a.trust-item:hover strong, a.trust-item:hover { color: var(--graphite); }
a.trust-item:hover { text-decoration: underline; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Projectdetail-galerij ---------- */
.project-hero-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); margin: 24px 0; }
.project-hero-img img { width: 100%; display: block; margin: 0; border-radius: 0; }
.project-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Toegankelijkheid: skip-link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--yellow); color: var(--graphite); font-family: var(--font-heading); font-weight: 700; padding: 12px 20px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Nav-ruimte op middelgrote schermen (6 items + 2 knoppen) ---------- */
@media (min-width: 961px) and (max-width: 1240px) {
  .nav .nav-trigger { padding: 10px 9px; font-size: 14px; }
  .header-cta .btn { padding: 12px 14px; font-size: 14px; }
}


/* ---------- Plaats-tegels werkgebied ---------- */
.plaats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .plaats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .plaats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .plaats-grid { grid-template-columns: 1fr; } }
.plaats-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px 20px 18px; text-decoration: none; color: var(--text); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.plaats-tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .25s ease; }
.plaats-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--graphite); }
.plaats-tile:hover::before { transform: scaleY(1); }
.plaats-tile .pt-pin { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--yellow-pale, #FEF9D9); color: var(--graphite); margin-bottom: 6px; }
.plaats-tile .pt-naam { font-family: var(--font-heading); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.plaats-tile .pt-sub { font-size: 12.5px; color: var(--text-light); }
.plaats-tile .pt-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-top: 10px; color: var(--graphite); }
.plaats-tile:hover .pt-go { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Lightbox ---------- */
.hsl-gallery .g-item a.lb, .project-hero-img a.lb { display: block; cursor: zoom-in; }
.hsl-lightbox[hidden] { display: none !important; }
.hsl-lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(30,30,30,.92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s ease; }
.hsl-lightbox.open { opacity: 1; }
.hsl-lightbox figure { margin: 0; max-width: min(1100px, 94vw); max-height: 90vh; display: flex; flex-direction: column; gap: 10px; }
.hsl-lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.hsl-lightbox figcaption { color: rgba(255,255,255,.85); font-size: 14px; text-align: center; }
.hsl-lightbox .lbx-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.hsl-lightbox .lbx-close:hover { background: var(--yellow); color: var(--graphite); }
.hsl-lightbox .lbx-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.hsl-lightbox .lbx-nav:hover { background: var(--yellow); color: var(--graphite); }
.hsl-lightbox .lbx-prev { left: 16px; } .hsl-lightbox .lbx-next { right: 16px; }
@media (max-width: 640px) { .hsl-lightbox .lbx-nav { width: 40px; height: 40px; } }
.leaflet-interactive { cursor: pointer; }

/* ==================== HSL CHAT ==================== */
.hsl-chat { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; align-items: flex-end; }

/* Grotere, speelse knop met aandacht-animatie */
.chat-fab { position: relative; width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--graphite); cursor: pointer; box-shadow: 0 10px 30px rgba(62,61,61,.3); display: flex; align-items: center; justify-content: center; transition: transform .2s ease, box-shadow .2s ease; }
.chat-fab:hover { transform: scale(1.07); box-shadow: 0 14px 36px rgba(62,61,61,.38); }
.chat-fab .ic-close { display: none; }
.chat-fab.open .ic-chat { display: none; }
.chat-fab.open .ic-close { display: block; }
.chat-fab:not(.open) .ic-chat { animation: hslWiggle 6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes hslWiggle {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-12deg) scale(1.06); }
  90% { transform: rotate(10deg) scale(1.06); }
  92% { transform: rotate(-8deg); }
  94% { transform: rotate(6deg); }
  96% { transform: rotate(0); }
}
.chat-fab .fab-puls { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--yellow); animation: hslPuls 3.2s ease-out infinite; pointer-events: none; }
@keyframes hslPuls { 0% { transform: scale(1); opacity: .8; } 70% { transform: scale(1.45); opacity: 0; } 100% { opacity: 0; } }
.chat-fab.open .fab-puls { display: none; }
@media (prefers-reduced-motion: reduce) { .chat-fab .ic-chat, .chat-fab .fab-puls { animation: none !important; } }

.chat-tease { position: absolute; right: 80px; bottom: 16px; background: var(--graphite); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-family: var(--font-heading); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-card); animation: hslTease .35s ease; }
@keyframes hslTease { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Paneel */
.chat-panel[hidden] { display: none !important; }
.chat-panel { width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(30,30,30,.28); display: flex; flex-direction: column; overflow: hidden; margin-bottom: 14px; animation: hslPanel .25s ease; }
@keyframes hslPanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--graphite); color: #fff; }
.chat-head .ch-title { display: flex; align-items: center; gap: 12px; }
.chat-head .ch-logo { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--yellow); color: var(--graphite); font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.chat-head strong { display: block; font-family: var(--font-heading); font-size: 16px; }
.chat-head .ch-sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); }
.chat-head .ch-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }
.chat-head .ch-close:hover { background: var(--yellow); color: var(--graphite); }

.chat-quick { display: flex; gap: 8px; padding: 10px 12px; background: var(--off-white, #F7F7F5); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 999px; border: 0; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: filter .15s ease, transform .15s ease; }
.chat-quick a:hover { filter: brightness(.94); transform: translateY(-1px); }
.chat-quick .qa-offerte { background: var(--yellow); color: var(--graphite); }
.chat-quick .qa-advies { background: var(--graphite); color: #fff; }
.chat-quick .qa-wa { background: #25D366; color: #fff; }
.chat-quick .qa-bel { background: #4A4948; color: #fff; }
.chat-quick .qa-mail { background: #7A7977; color: #fff; }

.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: #FCFCFB; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.msg.bot { background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--graphite); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--graphite); opacity: .3; animation: hslDot 1.1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .18s; }
.msg.typing span:nth-child(3) { animation-delay: .36s; }
@keyframes hslDot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 92%; }
.chip-btn { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--yellow); color: var(--graphite); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.chip-btn:hover { filter: brightness(.96); }

/* Vragenlijst boven de conversatie */
.chat-faq .faq-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin: 4px 0 8px; }
.faq-group { border: 1px solid var(--border); border-radius: 12px; background: #fff; margin-bottom: 8px; overflow: hidden; }
.faq-group summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; font-family: var(--font-heading); font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary .cnt { font-size: 12px; font-weight: 700; background: var(--off-white, #F2F2F0); border-radius: 999px; padding: 2px 8px; color: var(--text-light); }
.faq-group[open] summary { border-bottom: 1px solid var(--border); }
.faq-qs { display: flex; flex-direction: column; }
.faq-q { text-align: left; border: 0; background: none; padding: 9px 14px; font-size: 13.5px; color: var(--graphite); cursor: pointer; border-bottom: 1px solid var(--off-white, #F2F2F0); }
.faq-q:last-child { border-bottom: 0; }
.faq-q:hover { background: var(--yellow-pale, #FEF9D9); }

.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-input input[type="text"] { flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 11px 16px; font-size: 15px; font-family: inherit; }
.chat-input input[type="text"]:focus { outline: none; border-color: var(--graphite); }
.chat-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--graphite); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.chat-send:hover { filter: brightness(.96); }

/* Mobiel: volledig scherm, boven alles */
@media (max-width: 640px) {
  .hsl-chat { right: 16px; bottom: 16px; }
  .chat-fab { width: 62px; height: 62px; }
  .chat-panel:not([hidden]) { position: fixed; inset: 0; width: 100%; height: 100dvh; border-radius: 0; margin: 0; }
  body.chat-open .mobile-cta, body.chat-open .sticky-offer, body.chat-open .hsl-chat .chat-tease { display: none !important; }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 401; }
}

/* ---------- Facebook: footerlink, zijbalkkaart en speels polaroid-blok ---------- */
.fb-follow { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; text-decoration: none; }
.fb-follow:hover { color: #fff; }
.fb-follow .fb-ic, .fb-card .fb-ic, .fb-block .fb-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: #1877F2; color: #fff; flex: 0 0 auto; }
.fb-card .fb-card-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); margin-bottom: 8px; }
.fb-card p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }

.fb-block { display: flex; align-items: center; gap: 28px; background: linear-gradient(120deg, #FFFDF2, #FFF8D6); border: 2px dashed var(--yellow); border-radius: var(--radius-lg, 18px); padding: 26px 28px; margin: 32px 0; flex-wrap: wrap; }
.fb-block .fb-snaps { display: flex; flex: 0 0 auto; padding: 6px 10px 6px 0; }
.fb-block .snap { display: block; width: 96px; height: 96px; background: #fff; padding: 6px 6px 16px; box-shadow: 0 8px 22px rgba(30,30,30,.18); border-radius: 4px; transition: transform .25s ease; }
.fb-block .snap img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.fb-block .snap:nth-child(1) { transform: rotate(-7deg); z-index: 1; }
.fb-block .snap:nth-child(2) { transform: rotate(4deg) translateY(-8px); margin-left: -18px; z-index: 2; }
.fb-block .snap:nth-child(3) { transform: rotate(-3deg); margin-left: -18px; z-index: 3; }
.fb-block:hover .snap:nth-child(1) { transform: rotate(-9deg) translateY(-3px); }
.fb-block:hover .snap:nth-child(2) { transform: rotate(6deg) translateY(-12px); }
.fb-block:hover .snap:nth-child(3) { transform: rotate(-1deg) translateY(-4px); }
.fb-block .fb-body { flex: 1 1 260px; }
.fb-block .fb-kop { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 18px; margin-bottom: 6px; }
.fb-block .fb-body p { color: var(--text-light); font-size: 15px; margin-bottom: 14px; }
@media (max-width: 560px) { .fb-block { padding: 20px 18px; gap: 18px; } .fb-block .snap { width: 76px; height: 76px; } }

/* ---------- Menu: nooit afbreken over twee regels ---------- */
.nav a, .nav .nav-trigger, .header-cta .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1360px) { .nav { gap: 2px; } .nav .nav-trigger { padding: 10px 8px; } }
