/* ================================================================= */
/* B&R VITAAL - CENTRALE BASIS STYLING                                */
/* Reset, palet, layout, typografie, header, footer, formulieren      */
/* Sitebreed palet: #F4EFE7 #F3E98C #C8D8C0 #8A94B7 #4A2B21           */
/* (De Latin Living Room-pagina gebruikt css/latin.css met eigen palet)*/
/* ================================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0; width: 100%; overflow-x: hidden;
  background-color: var(--br-cream);
  color: var(--br-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--br-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 16px 0; }
p { margin: 0 0 16px 0; }
ul { line-height: 1.8; }

/* ---------- PALET ---------- */
:root {
  --br-cream: #F4EFE7;
  --br-yellow: #F3E98C;
  --br-sage: #C8D8C0;
  --br-blue: #8A94B7;
  --br-blue-tekst: #5A658F;   /* donkerder, alleen voor tekst (contrast 4,97:1) */
  --br-ink: #4A2B21;
  --br-sand: #ECE3D5;
  --br-white: #ffffff;
  --br-line: rgba(74, 43, 33, 0.12);
  --br-maxw: 1200px;
  --font-head: "Sansita", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- LAYOUT ---------- */
.br-container { max-width: var(--br-maxw); margin: 0 auto; padding: 0 20px; width: 100%; }
.br-section { padding: 64px 0; }
.br-section--sand { background-color: var(--br-sand); }
.br-section--ink { background-color: var(--br-ink); color: #efe6dc; }
.br-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.br-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.br-center { text-align: center; }

.br-section-title { font-size: clamp(26px, 3vw, 38px); font-weight: 900; color: var(--br-ink); letter-spacing: -0.5px; }
.br-section--ink .br-section-title { color: #fff; }
.br-section-lead { font-size: 17px; opacity: 0.92; }
.br-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--br-blue-tekst); margin-bottom: 12px; }

/* ---------- CARDS ---------- */
.br-card {
  background-color: #fff; border: 1.5px solid var(--br-line); border-radius: 18px;
  padding: 32px; box-shadow: 0 10px 30px rgba(74, 43, 33, 0.05);
}
.br-card h3 { color: var(--br-ink); margin-top: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 800; text-decoration: none; border: 0;
  cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background-color: var(--br-ink); color: var(--br-cream); box-shadow: 0 8px 24px rgba(74, 43, 33, 0.22); }
.btn-primary:hover { background-color: #301b15; transform: translateY(-2px); }
.btn-secondary { background-color: var(--br-blue); color: #fff; box-shadow: 0 8px 24px rgba(138, 148, 183, 0.3); }
.btn-secondary:hover { background-color: #737ea6; transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 2px solid var(--br-ink); color: var(--br-ink); }
.btn-ghost:hover { background: var(--br-sage); transform: translateY(-2px); }

/* ================================================================= */
/* HEADER (sitebreed, fixed)                                         */
/* ================================================================= */
.br-header, .br-header * { box-sizing: border-box; }
.br-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999998; width: 100%;
  background: rgba(244, 239, 231, 0.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(74, 43, 33, 0.1);
  transition: box-shadow 0.25s ease;
}
.br-header.is-scrolled { box-shadow: 0 6px 20px rgba(74, 43, 33, 0.08); }
.br-header-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 4%; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; transition: height 0.25s ease;
}
.br-header.is-scrolled .br-header-inner { height: 64px; }
.br-header.is-scrolled .br-logo-mark { transform: scale(0.86); }
.br-header-spacer { height: 76px; width: 100%; }

.br-header-right { display: flex; align-items: center; gap: 14px; }

/* LOGO */
.br-logo {
  display: inline-flex; align-items: center; gap: 10px; font-size: 21px;
  font-weight: 900; letter-spacing: -0.4px; color: #4A2B21 !important;
  text-decoration: none !important; flex-shrink: 0; transition: color 0.2s ease;
}
.br-logo:hover { color: var(--br-blue-tekst) !important; }
.br-logo-mark {
  position: relative; width: 32px; height: 32px; flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.br-logo:hover .br-logo-mark { transform: rotate(90deg); }
.lm-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: 50%; left: 50%; margin: -4px 0 0 -4px; }
.lm-dot-1 { background: #C8D8C0; transform: translate(0, -13px); }
.lm-dot-2 { background: #F3E98C; transform: translate(12px, -4px); }
.lm-dot-3 { background: #8A94B7; transform: translate(7px, 11px); }
.lm-dot-4 { background: #4A2B21; opacity: 0.7; transform: translate(-7px, 11px); }
.lm-dot-5 { background: #E8C4A0; transform: translate(-12px, -4px); }
.br-logo-text { line-height: 1; }

/* DESKTOP NAV + DROPDOWNS */
.br-nav-desktop { display: flex; align-items: center; gap: 4px; }
.br-nav-item { position: relative; }
.br-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: none; padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #4A2B21; text-decoration: none;
  cursor: pointer; font-family: inherit;
  transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap;
}
.br-nav-link:hover { background: rgba(74, 43, 33, 0.06); }
.br-nav-link.actief { color: #4A2B21; background: var(--br-sage); }
.br-nav-item.has-drop > .br-nav-link::after {
  content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: 0.6; margin-left: 2px;
}
.br-drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--br-line); border-radius: 14px;
  box-shadow: 0 18px 44px rgba(74, 43, 33, 0.14); padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s ease;
}
.br-nav-item.has-drop:hover .br-drop,
.br-nav-item.has-drop:focus-within .br-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.br-drop a {
  padding: 10px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 700;
  color: #4A2B21; text-decoration: none; white-space: nowrap;
}
.br-drop a:hover, .br-drop a.actief { background: var(--br-sage); }

/* MOBIELE MENUKNOP */
.br-menu-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 1px solid rgba(74, 43, 33, 0.15);
  border-radius: 10px; cursor: pointer; flex-shrink: 0;
}
.hb-line { width: 20px; height: 2px; background: #4A2B21; border-radius: 2px; transition: transform 0.28s ease, opacity 0.2s ease; }
.br-menu-toggle[aria-expanded="true"] .hb-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.br-menu-toggle[aria-expanded="true"] .hb-line:nth-child(2) { opacity: 0; }
.br-menu-toggle[aria-expanded="true"] .hb-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBIEL PANEEL */
.br-mobile-panel {
  display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  background: #F4EFE7; z-index: 999997; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.br-mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.br-mobile-inner { max-width: 560px; margin: 0 auto; padding: 24px 20px 60px; display: flex; flex-direction: column; gap: 4px; }
.mp-heading { font-size: 10.5px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--br-blue-tekst); margin: 18px 0 4px; }
.mp-link { display: block; padding: 13px 12px; border-bottom: 1px solid rgba(74, 43, 33, 0.1); font-size: 16px; font-weight: 800; color: #4A2B21; text-decoration: none; }
.mp-link.actief { color: var(--br-blue-tekst); }

/* ---------- HERO ---------- */
.br-hero { padding: 72px 0 56px; text-align: center; }
.br-hero__inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.br-badge-hero {
  display: inline-flex; align-items: center; gap: 8px; background-color: var(--br-ink); color: #fff;
  padding: 6px 14px; border-radius: 30px; font-size: 10.5px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 24px;
}
.badge-dot-white { width: 6px; height: 6px; border-radius: 50%; background-color: #fff; }
.br-hero__title { font-size: clamp(32px, 4.5vw, 54px); font-weight: 900; color: var(--br-ink); letter-spacing: -1px; margin-bottom: 20px; }
.br-hero__subtitle { font-size: clamp(15px, 1.8vw, 18.5px); opacity: 0.9; max-width: 720px; margin: 0 auto 32px; }
.br-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.page-hero { padding: 48px 0 28px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; color: var(--br-ink); letter-spacing: -0.5px; }
.page-hero p { font-size: 17px; opacity: 0.9; max-width: 720px; }

/* ---------- FORMULIEREN ---------- */
.br-form { max-width: 620px; }
.br-form .field { margin-bottom: 18px; }
.br-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.br-form input, .br-form textarea, .br-form select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--br-line); border-radius: 10px;
  font: inherit; background: #fff; color: var(--br-ink);
}
.br-form input:focus, .br-form textarea:focus, .br-form select:focus {
  outline: none; border-color: var(--br-blue); box-shadow: 0 0 0 3px rgba(138, 148, 183, 0.18);
}
.br-form textarea { min-height: 130px; resize: vertical; }
.field-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; flex-wrap: wrap; }
.field-consent input { width: auto; margin-top: 3px; flex-shrink: 0; accent-color: var(--br-ink); }
.field-error { color: #a3142d; font-size: 12.5px; font-weight: 700; margin-top: 4px; }

.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e8f2ea; color: #1c6b3c; border: 1px solid #b7dfc5; }
.form-status.is-error { background: #fdf2f2; color: #991b1b; border: 1px solid #f3c2c9; }

/* Sitebrede foutbox (ingevoegd door js/main.js) */
.br-error-box {
  background: #FDF2F2; color: #991B1B; border: 2px solid #F87171; padding: 12px 16px;
  border-radius: 8px; margin: 12px 0; font-size: 14px; font-weight: 700; text-align: center; width: 100%;
}

/* ---------- LEGAL PAGES ---------- */
.legal-body { max-width: 780px; }
.legal-body h2 { color: var(--br-ink); font-size: 22px; margin-top: 32px; }
.legal-body h3 { font-size: 17px; margin-top: 20px; }

/* ---------- GALLERY ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--br-line); }
.gallery-grid figcaption { padding: 10px 14px; font-size: 13px; font-weight: 700; }
.gallery-ph { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--br-sage), var(--br-blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }

/* ================================================================= */
/* FOOTER (sitebreed)                                               */
/* ================================================================= */
.br-footer, .br-footer * { box-sizing: border-box; }
.br-footer {
  background-color: #4A2B21; color: #C8D8C0;
  padding: 80px 4% 0; margin-top: 72px;
  font-size: 14px; line-height: 1.6; overflow: hidden;
}
.br-footer a { color: #C8D8C0; text-decoration: none; }
.br-footer-inner { max-width: 1360px; margin: 0 auto; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr; gap: 56px; padding-bottom: 48px; }
.footer-col { min-width: 0; display: flex; flex-direction: column; }
.br-footer .brand-name { display: inline-block; align-self: flex-start; font-size: 26px; font-weight: 900; letter-spacing: -0.5px; color: #F4EFE7; margin-bottom: 12px; transition: color 0.22s ease; }
.br-footer .brand-name:hover { color: #F3E98C; }
.br-footer .brand-tagline { font-size: 14.5px; line-height: 1.65; color: #C8D8C0; opacity: 0.9; margin: 0 0 28px; max-width: 320px; }
.tagline-accent { color: #F3E98C; font-weight: 700; }
.br-footer .social-label { display: block; font-size: 9.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: #F3E98C; margin-bottom: 14px; }
.social-row { display: flex; flex-direction: column; gap: 10px; }
.br-footer .social-link {
  display: flex; align-items: center; gap: 12px; color: #C8D8C0; padding: 7px 10px 7px 8px; border-radius: 10px;
  border: 1px solid rgba(200, 216, 192, 0.14); background: rgba(244, 239, 231, 0.03);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease; max-width: 280px;
}
.br-footer .social-link:hover { border-color: rgba(243, 233, 140, 0.6); background: rgba(244, 239, 231, 0.07); transform: translateX(4px); }
.social-icon {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px;
  background: rgba(200, 216, 192, 0.12); color: #C8D8C0; flex-shrink: 0; transition: background-color 0.25s ease, color 0.25s ease;
}
.br-footer .social-link:hover .social-icon { background: #F3E98C; color: #4A2B21; }
.social-icon svg { width: 17px; height: 17px; }
.social-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.br-footer .social-platform { font-size: 13px; font-weight: 800; color: #F4EFE7; line-height: 1.3; }
.br-footer .social-handle { font-size: 11.5px; color: #C8D8C0; opacity: 0.68; line-height: 1.3; word-break: break-word; }
.br-footer .col-title {
  font-size: 11px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: #F3E98C;
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(200, 216, 192, 0.18); line-height: 1.4;
}
.footer-col-nav { gap: 0; }
.nav-groep { border-bottom: none; }
.br-footer .groep-knop {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: transparent; border: none; padding: 13px 2px; cursor: pointer; font-family: inherit;
  text-align: left; -webkit-tap-highlight-color: transparent;
}
.groep-titel { font-size: 15px; font-weight: 900; letter-spacing: 0.2px; color: #F3E98C; }
.groep-icoon {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  background: #F3E98C; color: #4A2B21; flex-shrink: 0; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.groep-icoon svg { width: 14px; height: 14px; }
.nav-groep.open .groep-icoon { transform: rotate(180deg); }
.groep-paneel { max-height: 320px; overflow: hidden; opacity: 1; padding-bottom: 14px; transition: max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease; }
.nav-groep:not(.open) .groep-paneel { max-height: 0; opacity: 0; padding-bottom: 0; }
/* Desktop: alle footergroepen staan open in twee kolommen; de knoppen zijn
   daar kopjes (main.js zet aria-expanded en tabindex). Daaronder blijft het
   een accordeon. */
@media (min-width: 1081px) {
  .footer-col-nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 6px; align-content: start; }
  .footer-col-nav .col-title { grid-column: 1 / -1; }
  .br-footer .groep-knop { cursor: default; padding: 4px 2px 8px; }
  .br-footer .groep-icoon { display: none; }
  .br-footer .groep-paneel,
  .br-footer .nav-groep:not(.open) .groep-paneel { max-height: none; opacity: 1; padding-bottom: 10px; transition: none; }
}
.br-footer .link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.br-footer .link-list li { margin: 0; padding: 0; list-style: none; }
.br-footer .link-list a {
  display: flex; align-items: center; gap: 11px; color: #C8D8C0; font-size: 14px; font-weight: 600; opacity: 0.85;
  padding: 9px 12px; border-radius: 9px; background: rgba(244, 239, 231, 0.03); border: 1px solid rgba(200, 216, 192, 0.1);
  transition: color 0.22s ease, opacity 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}
.link-streep { width: 4px; height: 16px; border-radius: 3px; flex-shrink: 0; transition: height 0.22s ease; }
.br-footer .link-list a:hover, .br-footer .link-list a.actief { color: #F4EFE7; opacity: 1; background: rgba(244, 239, 231, 0.08); border-color: rgba(243, 233, 140, 0.45); }
.br-footer .link-list a:hover .link-streep, .br-footer .link-list a.actief .link-streep { height: 22px; }
.br-footer .contact-mail {
  display: inline-block; align-self: flex-start; font-size: 16.5px; font-weight: 900; color: #F4EFE7;
  border-bottom: 2px solid #F3E98C; padding-bottom: 2px; margin-bottom: 22px;
  transition: color 0.22s ease, border-color 0.22s ease; word-break: break-word;
}
.br-footer .contact-mail:hover { color: #F3E98C; border-color: #C8D8C0; }
.contact-block { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.contact-row { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 3px solid rgba(200, 216, 192, 0.25); }
.br-footer .contact-label { font-size: 9.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: #C8D8C0; opacity: 0.6; }
.br-footer .contact-value { font-size: 14px; font-weight: 700; color: #F4EFE7; display: flex; align-items: center; gap: 8px; line-height: 1.45; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #C8D8C0; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(200, 216, 192, 0.18); }
.br-footer .contact-cta {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; align-self: flex-start;
  background: #F3E98C; color: #4A2B21; font-size: 13px; font-weight: 900; padding: 12px 18px; border-radius: 10px;
  margin-top: auto; transition: background-color 0.22s ease, transform 0.22s ease;
}
.br-footer .contact-cta:hover { background: #F4EFE7; transform: translateY(-2px); }
.cta-pijl { font-weight: 900; transition: transform 0.22s ease; }
.br-footer .contact-cta:hover .cta-pijl { transform: translateX(4px); }
.footer-divider { height: 1px; width: 100%; background: linear-gradient(to right, rgba(200,216,192,0.05) 0%, rgba(200,216,192,0.28) 20%, rgba(200,216,192,0.28) 80%, rgba(200,216,192,0.05) 100%); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 26px 0 28px; }
.bottom-left { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.br-footer .copyright { font-size: 13px; font-weight: 700; color: #C8D8C0; opacity: 0.9; }
.br-footer .company-data { font-size: 12px; color: #C8D8C0; opacity: 0.6; letter-spacing: 0.2px; }
.bottom-legal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.br-footer .bottom-legal a { font-size: 12.5px; color: #C8D8C0; opacity: 0.75; white-space: nowrap; transition: color 0.2s ease, opacity 0.2s ease; }
.br-footer .bottom-legal a:hover { color: #F3E98C; opacity: 1; }
.br-footer .legal-sep { font-size: 10px; color: #C8D8C0; opacity: 0.35; user-select: none; }

/* ---------- SCROLL TO TOP ---------- */
#brScrollTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 9990; width: 46px; height: 46px; border-radius: 50%;
  background: #4A2B21; color: #F4EFE7; border: 2px solid #F3E98C; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(74, 43, 33, 0.28);
  opacity: 0; transform: translateY(12px) scale(0.88); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}
#brScrollTop.zichtbaar { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#brScrollTop:hover { background: #301b15; transform: translateY(-3px) scale(1.06); }
#brScrollTop svg { width: 20px; height: 20px; pointer-events: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .br-nav-desktop { display: none; }
  .br-menu-toggle { display: flex; }
  .br-mobile-panel { display: block; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col-brand { grid-column: 1 / -1; }
  .social-row { flex-direction: row; flex-wrap: wrap; }
  .br-footer .social-link { flex: 0 1 auto; min-width: 220px; }
}
@media (max-width: 768px) {
  .br-grid-2, .br-grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .br-section { padding: 44px 0; }
  .br-card { padding: 22px; }
}
@media (max-width: 760px) {
  .br-footer { padding: 60px 20px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .social-row { flex-direction: column; }
  .br-footer .social-link { max-width: 100%; min-width: 0; }
  .br-footer .contact-cta { width: 100%; justify-content: center; margin-top: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 0 24px; }
  .bottom-legal { justify-content: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .br-header-inner { height: 66px; padding: 0 16px; }
  .br-header-spacer { height: 66px; }
  .br-mobile-panel { top: 66px; }
  .br-logo { font-size: 18px; }
}
@media (max-width: 420px) {
  .legal-sep { display: none; }
  .bottom-legal { flex-direction: column; align-items: flex-start; gap: 9px; }
}

/* ================================================================= */
/* COOKIEBANNER                                                       */
/* ================================================================= */
#brCookieBanner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999999;
  background: #FFFDF9; border-top: 1px solid rgba(74, 43, 33, 0.18);
  box-shadow: 0 -8px 30px rgba(74, 43, 33, 0.12);
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  animation: brcUp 0.35s ease;
}
@keyframes brcUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
#brCookieBanner .brc-inner {
  max-width: 1140px; margin: 0 auto; display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap;
}
#brCookieBanner .brc-tekst { flex: 1 1 420px; min-width: 260px; }
#brCookieBanner .brc-tekst strong {
  display: block; color: #4A2B21; font-size: 14.5px; margin-bottom: 4px;
}
#brCookieBanner .brc-tekst p {
  margin: 0; color: #4A2B21; font-size: 13px; line-height: 1.55; opacity: 0.85;
}
#brCookieBanner .brc-tekst a { color: #4A2B21; text-decoration: underline; }
#brCookieBanner .brc-acties {
  display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap;
}
#brCookieBanner .brc-btn {
  border: 1px solid rgba(74, 43, 33, 0.28); background: transparent; color: #4A2B21;
  padding: 11px 22px; border-radius: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background 0.18s ease, transform 0.18s ease;
}
#brCookieBanner .brc-btn:hover { transform: translateY(-1px); }
#brCookieBanner .brc-accept {
  background: var(--br-brown, #4A2B21); color: #FFFDF9; border-color: var(--br-brown, #4A2B21);
}
#brCookieBanner .brc-weiger:hover { background: rgba(74, 43, 33, 0.06); }
@media (max-width: 560px) {
  #brCookieBanner .brc-acties { width: 100%; }
  #brCookieBanner .brc-btn { flex: 1 1 auto; text-align: center; }
}

/* EXTERNE EMBED-PLACEHOLDER (YouTube e.d. voor cookie-consent) */
.br-embed { position: relative; }
.br-embed-hold {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 24px;
  background: var(--br-sage, #C8D8C0); color: #4A2B21;
  border: none; cursor: pointer; font: inherit;
}
.br-embed-hold span { font-size: 13.5px; max-width: 340px; line-height: 1.5; }
.br-embed-hold strong {
  font-size: 14px; padding: 10px 20px; border-radius: 10px;
  background: #4A2B21; color: #FFFDF9;
}
.footer-cookie-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: inherit; font: inherit; text-decoration: underline;
}

/* ================================================================= */
/* TOEGANKELIJKHEID                                                   */
/* ================================================================= */
.br-skip {
  position: absolute; left: 8px; top: -60px; z-index: 1000000;
  background: #4A2B21; color: #F4EFE7; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: 13px;
  text-decoration: none; transition: top 0.18s ease;
}
.br-skip:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- ZICHTBARE FOCUS (toetsenbord) ---------- */
:focus-visible {
  outline: 2px solid var(--br-blue);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }
/* velden: focus-ring ook als de eigen CSS 'outline:none' zet */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--br-blue);
  outline-offset: 1px;
  border-color: var(--br-blue);
}

/* ---------- HONEYPOT (spamval, onzichtbaar) ---------- */
.br-hp {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}

/* ================================================================= */
/* PRINT                                                              */
/* ================================================================= */
@media print {
  .br-header, .br-header-spacer, .br-mobile-panel, .br-skip,
  .br-footer, #brScrollTop, #brCookieBanner, .br-side-nav,
  .br-progress-bar, .br-embed-hold, form .btn, form .btn-submit {
    display: none !important;
  }
  html, body { background: #fff !important; color: #000 !important; }
  main { padding: 0 !important; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; word-break: break-all; }
  h1, h2, h3 { page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  section, article, .br-card { page-break-inside: avoid; }
}

/* privacy-geruststelling onder formulieren (sitebreed) */
.form-privacy { font-size: 11px; opacity: 0.8; line-height: 1.5; margin: 10px 0 0; }

/* ================================================================= */
/* BEDANKPAGINA                                                       */
/* ================================================================= */
.bedankt-mark {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--br-sage); color: var(--br-ink);
  font-size: 30px; line-height: 1;
}
.bedankt-stappen {
  list-style: none; counter-reset: stap; padding: 0; margin: 28px 0 24px;
  display: grid; gap: 14px;
}
.bedankt-stappen li {
  counter-increment: stap; position: relative;
  background: var(--br-white); border: 1.5px solid var(--br-line); border-radius: 16px;
  padding: 20px 24px 20px 68px;
}
.bedankt-stappen li::before {
  content: counter(stap); position: absolute; left: 22px; top: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--br-ink); color: var(--br-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; font-family: var(--font-head);
}
.bedankt-stappen strong { display: block; color: var(--br-ink); margin-bottom: 4px; font-size: 15.5px; }
.bedankt-stappen span { font-size: 14px; opacity: 0.82; line-height: 1.6; }
.bedankt-links { margin-top: 24px; }
.bedankt-links .br-card { text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.bedankt-links .br-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(74, 43, 33, 0.1); }
.bedankt-links .br-card p { font-size: 14px; opacity: 0.82; margin: 0; }
@media (max-width: 860px) {
  .bedankt-links.br-grid-3 { grid-template-columns: 1fr; }
}

/* ================================================================= */
/* ZIJNAVIGATIE (sitebreed)                                           */
/* Stond eerst in elk pagina-stylesheet apart. Een pagina past nu     */
/* alleen nog kleuren aan via de --zn-variabelen (zie latin.css,      */
/* fotogalerij.css en financiering.css). Het in- en uitklappen doet   */
/* de pagina-JS met de klasse .collapsed.                             */
/* ================================================================= */
.br-side-nav, .br-side-nav * { box-sizing: border-box; }
.br-side-nav {
  --zn-bg: rgba(244,239,231,0.7);
  --zn-bg-hover: rgba(244,239,231,0.7);
  --zn-rand: 1px solid rgba(74,43,33,0.14);
  --zn-schaduw: 0 4px 16px rgba(74,43,33,0.06);
  --zn-kleur: #4A2B21;
  --zn-accent: #4A2B21;
  --zn-label-max: 110px;
  --zn-label-dekking: 0.4;
  --zn-label-gewicht: 700;
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; padding: 8px 7px; border-radius: 22px;
  background: var(--zn-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: var(--zn-rand); box-shadow: var(--zn-schaduw);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.br-side-nav.collapsed { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 6px 9px; }
.br-side-nav .br-nav-item { display: flex; align-items: center; justify-content: flex-end; gap: 8px; text-decoration: none; padding: 3px; border-radius: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.br-side-nav .nav-label { font-size: 9.5px; font-weight: var(--zn-label-gewicht); letter-spacing: 0.5px; text-transform: uppercase; color: var(--zn-kleur); opacity: var(--zn-label-dekking); white-space: nowrap; max-width: var(--zn-label-max); overflow: hidden; user-select: none; pointer-events: none; transition: max-width 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.28s ease, margin-right 0.4s ease; }
.br-side-nav.collapsed .nav-label { max-width: 0; opacity: 0; margin-right: -8px; }
.br-side-nav .nav-dot { width: 7px; height: 7px; border-radius: 50%; background-color: var(--zn-kleur); opacity: 0.3; border: 1px solid rgba(255,255,255,0.85); transition: all 0.25s ease; flex-shrink: 0; pointer-events: none; }
.br-side-nav .br-nav-item.active .nav-label { opacity: 1; font-weight: 900; color: var(--zn-accent); }
.br-side-nav .br-nav-item.active .nav-dot { opacity: 1; background-color: var(--zn-accent); transform: scale(1.35); box-shadow: 0 0 0 2px rgba(74,43,33,0.22); }
.br-side-nav .br-nav-item:hover .nav-label, .br-side-nav .br-nav-item:hover .nav-dot { opacity: 0.9; }
.br-side-nav.collapsed .nav-dot { opacity: 0.28; }
.br-side-nav.collapsed .br-nav-item.active .nav-dot { opacity: 1; box-shadow: 0 0 0 3px rgba(244,239,231,0.9), 0 2px 6px rgba(74,43,33,0.2); }
.br-side-nav.collapsed:hover { background: var(--zn-bg-hover); border: var(--zn-rand); box-shadow: var(--zn-schaduw); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 7px; }
.br-side-nav.collapsed:hover .nav-label { max-width: var(--zn-label-max); opacity: var(--zn-label-dekking); margin-right: 0; }
.br-side-nav.collapsed:hover .br-nav-item.active .nav-label { opacity: 1; }

/* Laptops (769-1599 px): naast de inhoud is te weinig ruimte voor de
   labels; uitgeklapt viel de zijnav over tekst en kaarten. Hier dus
   alleen de stippen, de labels verschijnen bij aanwijzen. */
@media (min-width: 769px) and (max-width: 1599px) {
  .br-side-nav:not(:hover) { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 6px 9px; }
  .br-side-nav:not(:hover) .nav-label { max-width: 0; opacity: 0; margin-right: -8px; }
  .br-side-nav:not(:hover) .nav-dot { opacity: 0.28; }
  .br-side-nav:not(:hover) .br-nav-item.active .nav-dot { opacity: 1; box-shadow: 0 0 0 3px rgba(244,239,231,0.9), 0 2px 6px rgba(74,43,33,0.2); }
  .br-side-nav:hover { background: var(--zn-bg-hover); border: var(--zn-rand); box-shadow: var(--zn-schaduw); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 7px; }
  .br-side-nav:hover .nav-label { max-width: var(--zn-label-max); opacity: var(--zn-label-dekking); margin-right: 0; }
}

/* ================================================================= */
/* ZIJ-NAVIGATIE OP MOBIEL                                            */
/* Op kleine schermen wordt de zijnav een simpele, goed aanraakbare   */
/* stippenrij zonder labels, zodat je wel ziet waar je bent.          */
/* (De !important stamt uit de tijd dat elke pagina eigen zijnav-CSS  */
/* had; onschuldig, dus laten staan.)                                 */
/* ================================================================= */
@media (max-width: 768px) {
  .br-side-nav {
    right: 6px !important;
    gap: 0 !important;
    padding: 6px 3px !important;
    border-radius: 16px !important;
    background: rgba(244, 239, 231, 0.82) !important;
    border: 1px solid rgba(74, 43, 33, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 14px rgba(74, 43, 33, 0.08) !important;
  }
  .br-side-nav .nav-label {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important;
  }
  .br-side-nav .br-nav-item {
    width: 26px !important; height: 26px !important;
    padding: 0 !important; justify-content: center !important;
  }
  .br-side-nav .nav-dot {
    width: 8px !important; height: 8px !important;
    opacity: 0.32 !important; border: 0 !important;
    background-color: #4A2B21 !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
  }
  .br-side-nav .br-nav-item.active .nav-dot {
    opacity: 1 !important;
    transform: scale(1.4) !important;
    box-shadow: 0 0 0 3px rgba(244, 239, 231, 0.95) !important;
  }
}


/* ================================================================= */
/* SCROLL-ONTHULLING (sitebreed; pagina's met eigen .reveal-regel      */
/* overschrijven dit met een identieke definitie)                     */
/* ================================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================================================================= */
/* NIEUWSBRIEF IN DE FOOTER                                           */
/* Volgt de opmaak van de andere footerkolommen: klein geel kapitaal  */
/* labeltje, groene accentrand, crème invoervelden.                   */
/* ================================================================= */
.br-footer .footer-nieuwsbrief {
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 231, 0.14);
}
.br-footer .nb-titel {
  display: block; font-size: 9.5px; font-weight: 900; letter-spacing: 1.6px;
  text-transform: uppercase; color: #F3E98C; margin-bottom: 10px;
}
.br-footer .nb-sub {
  font-size: 12.5px; line-height: 1.55; opacity: 0.62; margin: 0 0 14px;
  padding-left: 14px; border-left: 3px solid rgba(200, 216, 192, 0.25);
}
.br-footer .nb-rij { display: flex; gap: 8px; align-items: stretch; }
.br-footer .nb-rij input {
  flex: 1 1 auto; min-width: 0; padding: 11px 14px;
  border-radius: 10px; border: 1px solid rgba(244, 239, 231, 0.2);
  background: rgba(244, 239, 231, 0.07); color: #F4EFE7;
  font-family: inherit; font-size: 13px; outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.br-footer .nb-rij input::placeholder { color: #F4EFE7; opacity: 0.38; }
.br-footer .nb-rij input:focus {
  border-color: rgba(243, 233, 140, 0.75); background: rgba(244, 239, 231, 0.11);
}
.br-footer .nb-rij button {
  flex: 0 0 auto; width: 46px; border: 0; border-radius: 10px; cursor: pointer;
  background: #F3E98C; color: #4A2B21; font-size: 16px; font-weight: 900;
  line-height: 1; transition: background-color 0.2s ease, transform 0.2s ease;
}
.br-footer .nb-rij button:hover { background: #f8f2ad; transform: translateX(2px); }
.br-footer .nb-consent {
  display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0;
  font-size: 11.5px; line-height: 1.5; opacity: 0.6; cursor: pointer;
}
.br-footer .nb-consent input {
  margin: 1px 0 0; flex-shrink: 0; width: 14px; height: 14px;
  accent-color: #F3E98C; cursor: pointer;
}
.br-footer .nb-consent a { color: #F3E98C; text-decoration: underline; }
/* bevestiging: rij en vinkje verdwijnen, duidelijke melding in de plaats */
.br-footer .footer-nieuwsbrief.is-verzonden .nb-rij,
.br-footer .footer-nieuwsbrief.is-verzonden .nb-consent,
.br-footer .footer-nieuwsbrief.is-verzonden .nb-sub { display: none; }
.br-footer .footer-nieuwsbrief .form-status {
  margin-top: 12px; padding: 14px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 700; line-height: 1.5;
}
.br-footer .footer-nieuwsbrief .form-status.is-success {
  background: rgba(200, 216, 192, 0.16); border: 1px solid rgba(200, 216, 192, 0.45);
  color: #DCE8D6; display: flex; align-items: center; gap: 10px;
}
.br-footer .footer-nieuwsbrief .form-status.is-success::before {
  content: "\2713"; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%;
  background: #C8D8C0; color: #2c3b26;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
}
.br-footer .footer-nieuwsbrief .form-status.is-error {
  background: rgba(232, 160, 160, 0.14); border: 1px solid rgba(232, 160, 160, 0.4);
  color: #F0C4C4;
}

/* ================================================================= */
/* VASTE CONTACTKNOP OP MOBIEL (compact)                              */
/* ================================================================= */
.br-mobile-cta { display: none; }
@media (max-width: 768px) {
  .br-mobile-cta {
    display: inline-flex; align-items: center; gap: 7px;
    position: fixed; left: 50%; transform: translateX(-50%);
    bottom: calc(12px + env(safe-area-inset-bottom));
    right: auto; width: auto; max-width: calc(100vw - 32px);
    z-index: 9995; padding: 10px 18px; border-radius: 999px;
    background: #4A2B21; color: #F4EFE7; text-decoration: none;
    font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(74, 43, 33, 0.3);
  }
  .br-mobile-cta .mc-pijl { font-size: 14px; }
  body[data-page="contact"] .br-mobile-cta,
  body[data-page="bedankt"] .br-mobile-cta { display: none; }
  #brScrollTop { display: none; }
  body { padding-bottom: 62px; }
  body[data-page="contact"], body[data-page="bedankt"] { padding-bottom: 0; }
}

/* ================================================================= */
/* KRUIMELPAD                                                         */
/* ================================================================= */
.br-kruimels { padding: 14px 0 0; font-size: 12px; }
.br-kruimels ol {
  list-style: none; margin: 0; padding: 0; line-height: 1.4;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.br-kruimels li { display: flex; align-items: center; gap: 6px; color: var(--br-ink); opacity: 0.6; }
.br-kruimels li + li::before {
  content: "\203A"; opacity: 0.45; font-size: 13px; line-height: 1;
}
.br-kruimels a { color: inherit; text-decoration: none; }
.br-kruimels a:hover { text-decoration: underline; }
.br-kruimels li[aria-current="page"] { opacity: 0.95; font-weight: 700; }
@media (max-width: 560px) {
  .br-kruimels { font-size: 11.5px; padding-top: 10px; }
}

/* Turnstile-spamcontrole (Cloudflare): onzichtbaar tenzij er een check nodig is */
.br-turnstile { margin: 10px 0 0; }
.br-turnstile:empty { display: none; }
