/* =========================================================
   HB Bouw en Onderhoud — Designsysteem
   Eén centraal stijlbestand voor de hele website.
   Kleuren, typografie en componenten pas je hier aan.
   ========================================================= */

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

:root {
  /* Huisstijlkleuren */
  --hb-orange: #F26522;
  --hb-orange-dark: #d5551a;
  --hb-red: #D42B1E;
  --hb-ink: #17140F;          /* warm zwart */
  --hb-ink-2: #262019;
  --hb-white: #ffffff;
  --hb-sand: #f6f3ef;         /* lichte achtergrond */
  --hb-sand-2: #ece7e0;
  --hb-grey: #6c6459;
  --hb-line: rgba(23, 20, 15, 0.12);

  /* Typografie */
  --font-head: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Maatvoering */
  --container: 1200px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 10px rgba(23,20,15,.08);
  --shadow-md: 0 14px 40px rgba(23,20,15,.14);
  --header-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--hb-ink);
  background: var(--hb-white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { max-width: 68ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--hb-ink-2); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--hb-orange);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--hb-orange);
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--sand { background: var(--hb-sand); }
.section--ink { background: var(--hb-ink); color: var(--hb-white); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.78); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head p { margin-top: 16px; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--hb-orange); color: #fff; }
.btn--primary:hover { background: var(--hb-orange-dark); }
.btn--ghost { border-color: currentColor; color: var(--hb-ink); }
.section--ink .btn--ghost, .hero .btn--ghost { color: #fff; }
.btn--ghost:hover { background: var(--hb-orange); border-color: var(--hb-orange); color: #fff; }
.btn--red { background: var(--hb-red); color: #fff; }
.btn--red:hover { background: #b4241a; }

/* ---------- Header / Navigatie ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(23,20,15,.0);
  transition: background .3s var(--ease), height .3s var(--ease), box-shadow .3s;
}
.site-header.is-solid,
.site-header.is-open {
  background: var(--hb-ink);
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  max-width: 1440px;
}
.brand {
  display: inline-flex; align-items: center; flex-shrink: 0;
  background: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  transition: transform .25s var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand__img { height: 40px; width: auto; display: block; }
.site-header.is-solid .brand { box-shadow: 0 2px 10px rgba(0,0,0,.25); }
@media (max-width: 600px) { .brand { padding: 7px 12px; } .brand__img { height: 32px; } }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > li { position: relative; }
.primary-nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}
.primary-nav > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px;
  height: 2px; background: var(--hb-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav > li:hover > a::after,
.primary-nav > li.is-current > a::after { transform: scaleX(1); }
.primary-nav .caret { width: 10px; height: 10px; transition: transform .3s; }
.primary-nav > li:hover .caret { transform: rotate(180deg); }

/* Mega dropdown */
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translate(-50%, 12px);
  background: #fff; color: var(--hb-ink);
  min-width: 260px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 14px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  border-top: 4px solid var(--hb-orange);
}
.primary-nav > li:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega.mega--wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega a.mega__link {
  display: block; padding: 10px 12px; border-radius: var(--radius);
  font-weight: 500; font-size: .98rem;
  transition: background .2s, color .2s, padding .2s;
}
.mega a.mega__link:hover { background: var(--hb-sand); color: var(--hb-orange); padding-left: 18px; }
.mega .mega__group > span {
  display: block; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 1.5px; font-size: .82rem; color: var(--hb-grey);
  padding: 12px 12px 6px;
}
.mega .mega__sub { padding-left: 8px; border-left: 2px solid var(--hb-line); margin-left: 12px; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-quote { padding: 13px 18px; white-space: nowrap; font-size: .9rem; }
#contact-form { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (max-width: 600px) {
  .header-cta { gap: 8px; }
  .header-cta .header-phone { display: none; }
  .header-quote { padding: 12px 10px; font-size: .78rem; letter-spacing: .5px; }
  .site-header .container { gap: 8px; }
  .site-header > .container > nav { margin-left: auto; }
}
.header-phone {
  color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px; font-size: 1.05rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--hb-orange); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: var(--hb-orange);
  border-radius: var(--radius); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px;
  background: #fff; transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after { transform: translate(-50%, 6px); }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 1400px) {
  .header-phone span { display: none; }
}
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(420px, 100%);
    background: var(--hb-ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .is-open .primary-nav { transform: translateX(0); }
  .primary-nav > li > a { padding: 16px 8px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav > li > a::after { display: none; }
  .mega, .mega.mega--wide {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; background: transparent; color: #fff;
    display: none; padding: 4px 0 12px; min-width: 0; border-top: 0;
    grid-template-columns: 1fr;
  }
  .primary-nav > li.open .mega { display: block; }
  .mega a.mega__link { color: rgba(255,255,255,.8); }
  .mega a.mega__link:hover { background: rgba(255,255,255,.06); color: #fff; }
  .mega .mega__group > span { color: var(--hb-orange); }
  .mega .mega__sub { border-color: rgba(255,255,255,.15); }
  .primary-nav > li:hover .caret { transform: none; }
  .primary-nav > li.open .caret { transform: rotate(180deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: flex-end;
  color: #fff;
  padding: calc(var(--header-h) + 40px) 0 70px;
  overflow: hidden;
}
.hero--compact { min-height: 56vh; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) infinite alternate; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,20,15,.35) 0%, rgba(23,20,15,.55) 45%, rgba(23,20,15,.9) 100%);
}
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

.hero__inner { max-width: 820px; }
.hero h1 { margin: 18px 0 20px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero p { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--hb-orange); }
.crumbs span { opacity: .5; }

/* Alarm bar */
.alarmbar {
  background: var(--hb-red); color: #fff; text-align: center;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1.5px;
  font-size: .95rem; padding: 9px 16px;
}
.alarmbar a { text-decoration: underline; font-weight: 700; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--hb-line);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { color: var(--hb-ink); }
.card__link {
  margin-top: auto; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 600; font-size: .92rem; color: var(--hb-orange);
  display: inline-flex; align-items: center; gap: 8px;
}
.card__link svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .card__link svg { transform: translateX(5px); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--hb-orange); color: #fff;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 3px;
}

/* Icon feature */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon {
  width: 58px; height: 58px; border-radius: 12px;
  background: rgba(242,101,34,.12); color: var(--hb-orange);
  display: grid; place-items: center;
}
.feature__icon svg { width: 28px; height: 28px; }
.section--ink .feature__icon { background: rgba(255,255,255,.08); color: var(--hb-orange); }
.feature h3 { font-size: 1.25rem; }
.section--ink .feature h3 { color: #fff; }

/* ---------- Split (afwisselend beeld + tekst) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(50px, 8vw, 100px); }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split__media::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 6px; background: var(--hb-orange);
}
.split--reverse .split__media { order: 2; }
.split ul.ticks { display: grid; gap: 12px; margin-top: 22px; }
.split ul.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.split ul.ticks li::before {
  content: ""; flex-shrink: 0; margin-top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--hb-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--hb-orange); line-height: 1; }
.stat__label { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-family: var(--font-head); margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--hb-orange); color: #fff;
  padding: clamp(50px, 8vw, 84px) 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 22px, transparent 22px 44px);
}
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .btn--ghost { color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--hb-orange); }
.cta-band .btn--primary { background: var(--hb-ink); }
.cta-band .btn--primary:hover { background: #000; }

/* ---------- Logos / doelgroepen strip ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  border: 1px solid var(--hb-line); border-radius: 999px;
  padding: 10px 20px; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 1px; font-size: .9rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { background: var(--hb-orange); border-color: var(--hb-orange); color: #fff; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--hb-line); }
.accordion__item { border-bottom: 1px solid var(--hb-line); }
.accordion__btn {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px;
  font-size: 1.15rem; color: var(--hb-ink);
}
.accordion__btn::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--hb-orange); transition: transform .3s;
}
.accordion__item.open .accordion__btn::after { content: "–"; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion__panel p { padding: 0 0 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }
label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; display: block; margin-bottom: 7px; color: var(--hb-grey); }
input, textarea, select {
  width: 100%; padding: 14px 16px; font: inherit;
  border: 1px solid var(--hb-line); border-radius: var(--radius);
  background: #fff; color: var(--hb-ink); transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--hb-orange); box-shadow: 0 0 0 3px rgba(242,101,34,.15); }
textarea { min-height: 140px; resize: vertical; }
.contact-info { background: var(--hb-ink); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.contact-info h3 { color: #fff; }
.contact-info a:hover { color: var(--hb-orange); }
.contact-info ul { display: grid; gap: 20px; margin-top: 24px; }
.contact-info li { display: flex; gap: 14px; }
.contact-info svg { width: 20px; height: 20px; color: var(--hb-orange); flex-shrink: 0; margin-top: 3px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; aspect-ratio: 16/8; background: var(--hb-sand-2); display: grid; place-items: center; color: var(--hb-grey); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hb-ink); color: rgba(255,255,255,.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: 1.5px; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--hb-orange); }
.site-footer .brand { margin-bottom: 18px; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}
.site-footer li > svg { width: 20px; height: 20px; vertical-align: middle; margin-right: 6px; }
.site-footer li { overflow-wrap: anywhere; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--hb-orange); border-color: var(--hb-orange); }
.social svg { width: 18px; height: 18px; }

/* ---------- Placeholder-notitie ---------- */
.ph { background: rgba(212,43,30,.1); color: var(--hb-red); padding: 1px 6px; border-radius: 3px; font-weight: 600; font-size: .95em; }

/* ---------- Scroll-animaties ---------- */
/* Alleen verbergen als JavaScript actief is (html.js). Zonder JS blijft alles zichtbaar. */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Prose (tekstpagina's) ---------- */
.prose p { margin-bottom: 18px; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 12px; }
.prose ul.bullets { display: grid; gap: 10px; margin: 0 0 20px; }
.prose ul.bullets li { position: relative; padding-left: 26px; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--hb-orange); border-radius: 2px; transform: rotate(45deg); }

/* utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.center-narrow { max-width: 760px; margin-inline: auto; }

/* Virtuele HB-assistent */
.hb-assistant { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 120; font-family: var(--font-body); }
.hb-chat__launcher { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 14px 20px; border: 2px solid white; border-radius: 32px; background: var(--hb-orange); color: white; box-shadow: 0 5px 25px #17140f40; cursor: pointer; font: 700 16px var(--font-head); }
.hb-chat__launcher svg { width: 28px; height: 28px; }
.hb-assistant button:focus-visible, .hb-assistant a:focus-visible { outline: 3px solid #f26522; outline-offset: 3px; }
.hb-chat__launcher:focus-visible { outline-color: #17140f; }
.hb-chat { position: absolute; bottom: 74px; right: 0; width: 370px; max-width: calc(100vw - 32px); height: 510px; max-height: calc(100dvh - 120px); display: flex; flex-direction: column; background: white; border: 1px solid #ddd; border-radius: 18px; box-shadow: 0 12px 50px #17140f38; overflow: hidden; }
.hb-chat[hidden] { display: none; }
.hb-chat__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--hb-ink); color: white; }
.hb-chat__header strong { display: block; font: 700 24px var(--font-head); }
.hb-chat__header span { font-size: 12px; opacity: .8; }
.hb-chat__close { background: transparent; border: 0; color: white; font-size: 30px; width: 44px; height: 44px; cursor: pointer; }
.hb-chat__messages { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: #f7f5f2; }
.hb-chat__message { padding: 12px 14px; margin-bottom: 12px; border-radius: 12px 12px 12px 2px; background: white; color: #17140f; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.hb-chat__message p { margin: 0; }
.hb-chat__message--user { background: #fce4d7; margin-left: 26px; border-radius: 12px 12px 2px 12px; }
.hb-chat__message a { display: block; padding: 10px 0 2px; color: #a63b0b; font-weight: 600; text-decoration: underline; }
.hb-chat__quick { display: flex; gap: 7px; padding: 12px 14px 0; }
.hb-chat__quick button { border: 1px solid #d7d0c8; background: white; border-radius: 20px; padding: 8px 12px; font-size: 12px; cursor: pointer; color: #17140f; }
.hb-chat__quick button:hover { background: #fce4d7; }
.hb-chat__form { padding: 10px 14px 0; }
.hb-chat__label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.hb-chat__form > div { display: flex; gap: 8px; }
.hb-chat__form input { min-width: 0; flex: 1; padding: 12px; font-size: 16px; }
.hb-chat__form button { width: 44px; flex-shrink: 0; border: 0; border-radius: 8px; background: var(--hb-orange); color: white; font-size: 24px; cursor: pointer; }
.hb-chat__note { margin: 8px 12px 12px; font-size: 10px; text-align: center; color: #666; }
@media (max-width: 600px) {
  .hb-assistant { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .hb-chat__launcher { width: 58px; padding: 13px; }
  .hb-chat__launcher span { display: none; }
}

/* Algemene voorwaarden */
.terms-hero { background: var(--hb-ink); color: white; padding: calc(var(--header-h) + 60px) 0 60px; }
.terms-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.08; margin: 18px 0 22px; }
.terms-hero p { max-width: 650px; color: #e1dcd7; font-size: 1.1rem; }
.terms-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.terms-pills a { padding: 11px 17px; border: 1px solid #ffffff45; border-radius: 6px; font-size: .9rem; }
.terms-pills a:hover { background: var(--hb-orange); border-color: var(--hb-orange); }
.terms-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 42px; align-items: start; }
.terms-aside { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.terms-nav, .terms-help { padding: 24px; background: white; border: 1px solid var(--hb-line); border-radius: 10px; }
.terms-nav h2 { font-size: 1.6rem; margin: 10px 0 20px; }
.terms-nav details { border-top: 1px solid var(--hb-line); padding: 12px 0; }
.terms-nav summary { cursor: pointer; font-weight: 600; font-size: .95rem; }
.terms-nav details div { display: grid; gap: 10px; padding: 14px 0 0; }
.terms-nav a { font-size: .83rem; line-height: 1.4; }
.terms-nav a:hover { color: #b64210; }
.terms-help { margin-top: 18px; background: var(--hb-ink); color: white; }
.terms-help h3 { font-size: 1.3rem; }
.terms-help p { font-size: .9rem; margin: 10px 0; }
.terms-help a { display: block; margin-top: 8px; overflow-wrap: anywhere; font-size: .9rem; }
.terms-document { min-width: 0; background: white; border: 1px solid var(--hb-line); border-radius: 12px; overflow: hidden; }
.terms-document__intro { padding: 36px 42px; background: #fff8f3; border-bottom: 1px solid #f3d9c8; }
.terms-document__intro h2 { margin: 10px 0; }
.terms-document__intro > a { display: inline-block; margin-top: 18px; font-size: .85rem; text-decoration: underline; }
.terms-part { padding: 42px; border-bottom: 1px solid var(--hb-line); }
.terms-part__title { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.terms-part__title > span { font: 600 2.5rem var(--font-head); color: var(--hb-orange); }
.terms-part__title h2 { font-size: 2rem; }
.terms-copy { font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.terms-copy p { margin: 0 0 18px; }
.terms-copy h3 { margin: 34px 0 14px; font-family: var(--font-body); text-transform: none; font-size: 1.18rem; line-height: 1.5; }
.terms-copy ul, .terms-copy ol { padding-left: 24px; margin-bottom: 20px; }
.terms-copy a { text-decoration: underline; }
.terms-back { display: inline-block; margin-top: 20px; font-size: .85rem; color: #a33b0d; }
.terms-part, .terms-copy h3, #voorwaarden { scroll-margin-top: calc(var(--header-h) + 22px); }
@media (max-width: 850px) { .terms-layout { grid-template-columns: 1fr; gap: 24px; } .terms-aside { position: static; max-height: none; } .terms-help { display: none; } .terms-part, .terms-document__intro { padding: 26px; } }
@media print { .terms-hero { padding: 20px 0; background: white; color: black; } .terms-hero p { color: black; } .site-header, .site-footer, .hb-assistant, .terms-aside, .terms-pills, .terms-back { display: none !important; } .terms-layout { display: block; } .terms-document { border: 0; } .terms-part { padding: 18px 0; } .terms-copy h3 { break-after: avoid; } }
.policy-links { display: grid; gap: 13px; }
.cookie-box { position: fixed; z-index: 200; bottom: 22px; left: 22px; width: min(520px, calc(100vw - 44px)); max-height: calc(100dvh - 44px); overflow-y: auto; padding: 25px; border-radius: 14px; border: 1px solid #ddd; background: white; color: #17140f; box-shadow: 0 8px 45px #0003; }
.cookie-box[hidden], .map-consent[hidden], iframe[hidden] { display: none; }
.cookie-box h2 { font-size: 1.7rem; margin-bottom: 12px; }
.cookie-box p { font-size: .88rem; line-height: 1.65; margin-bottom: 10px; }
.cookie-box > a { font-size: .85rem; text-decoration: underline; }
.cookie-box details { margin-top: 16px; }
.cookie-box summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.cookie-box button, .map-consent button { border: 1px solid #17140f; background: white; color: #17140f; padding: 12px 16px; border-radius: 6px; cursor: pointer; font: 600 .85rem var(--font-body); }
.cookie-actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie-actions button { flex: 1; }
.cookie-box button:hover { background: #fce4d7; }
.cookie-option { display: flex; align-items: center; gap: 10px; text-transform: none; font-family: var(--font-body); letter-spacing: 0; color: #17140f; }
.cookie-option input { width: 20px; height: 20px; }
.cookie-footer { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
.map-consent { padding: 24px; text-align: center; text-transform: none; letter-spacing: 0; }
.map-consent p { margin: 10px 0; }
.cookie-toast { position: fixed; bottom: 20px; left: 20px; z-index: 210; max-width: 400px; padding: 20px; background: #17140f; color: white; border-radius: 10px; }
@media print { .cookie-box, .cookie-toast { display: none !important; } }

/* Mobiele navigatie en smalle schermen */
.submenu-toggle { display: none; }
.grid > *, .split > *, .contact-grid > *, .footer-grid > *, .form-row > * { min-width: 0; }
.contact-info a { overflow-wrap: anywhere; }
@media (max-width: 1280px) {
  .site-header { background: var(--hb-ink); }
  .site-header > .container > nav { flex: 0 0 0; margin-left: auto; }
  .primary-nav { height: calc(100dvh - var(--header-h)); visibility: hidden; pointer-events: none; padding-bottom: max(90px, env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .is-open .primary-nav { visibility: visible; pointer-events: auto; }
  .primary-nav > li > a { padding-right: 56px; min-height: 52px; }
  .primary-nav > li > a .caret { display: none; }
  .submenu-toggle { display: grid; place-items: center; position: absolute; top: 4px; right: 0; width: 44px; height: 44px; border: 1px solid #ffffff35; border-radius: 6px; background: transparent; color: white; }
  .submenu-toggle svg { width: 14px; height: 14px; }
  .submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .primary-nav .mega.mega--wide { display: none; }
  .primary-nav > li.open .mega.mega--wide { display: grid; }
  .primary-nav > li { flex: 0 0 auto; min-width: 0; width: 100%; }
  .primary-nav > li > .mega,
  .primary-nav > li:hover > .mega,
  .primary-nav > li.open > .mega {
    position: static;
    inset: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    transition: none;
    grid-template-columns: minmax(0, 1fr);
  }
  .primary-nav .mega__group { min-width: 0; }
  .primary-nav .mega__link { white-space: normal; overflow-wrap: anywhere; }
  body:has(.site-header.is-open) .hb-assistant { visibility: hidden; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 32px); }
  .site-header .container { gap: 6px; }
  .site-header .brand { padding: 7px 8px; }
  .site-header .brand__img { width: 70px; height: auto; }
  .header-cta { gap: 6px; }
  .header-quote { padding: 12px 9px; font-size: 12px; letter-spacing: 0; min-height: 44px; }
  .nav-toggle { width: 44px; height: 44px; flex-shrink: 0; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 40px) 0 42px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.12; overflow-wrap: anywhere; }
  .hero__actions { gap: 10px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .contact-info { padding: 22px; }
  .map-embed { aspect-ratio: auto; min-height: 240px; }
  .map-embed iframe { min-height: 240px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 80px; }
  .terms-part, .terms-document__intro { padding: 20px; }
  .terms-part__title { align-items: flex-start; }
  .terms-part__title h2 { font-size: 1.6rem; }
  .cookie-box { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 18px; max-height: calc(100dvh - 24px); }
  .cookie-actions { flex-direction: column; }
  .cookie-actions button { min-height: 44px; }
  body:has(.cookie-box:not([hidden])) .hb-assistant { visibility: hidden; }
  .hb-chat { position: fixed; top: 12px; bottom: 86px; left: 12px; right: 12px; width: auto; height: auto; max-width: none; max-height: none; }
  .hb-chat__quick button { min-height: 44px; }
  .hb-chat__header { padding: 12px 16px; }
}

/* Mobiele assistent: vast tikvlak en ruimte voor het schermtoetsenbord. */
.hb-chat__launcher { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hb-chat__launcher svg { flex: 0 0 28px; pointer-events: none; }
.hb-chat__header, .hb-chat__quick, .hb-chat__form, .hb-chat__note { flex-shrink: 0; }
@media (max-width: 600px) {
  .hb-chat__launcher { width: 58px; height: 58px; min-height: 58px; padding: 0; justify-content: center; gap: 0; }
  .hb-assistant { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .hb-assistant.is-chat-open .hb-chat__launcher { display: none; }
  .hb-chat { top: calc(var(--chat-top, 0px) + 8px); bottom: auto; left: 8px; right: 8px; height: calc(var(--chat-height, 100dvh) - 16px); max-height: none; border-radius: 14px; }
  .hb-chat__messages { -webkit-overflow-scrolling: touch; }
  .hb-chat__close { flex: 0 0 44px; touch-action: manipulation; }
  .hb-chat__quick { flex-wrap: wrap; }
}
