/* Outfit, zelf gehost (geen Google Fonts meer: sneller en er gaat geen IP-adres naar Google). Licentie: assets/fonts/OFL-LICENSE.txt */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/outfit-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/outfit-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* uStudio — gedeelde laag: header, mobiel menu, sticky CTA, footer, mobiele basisregels.
   Kleuren, fonts en uitstraling blijven exact die van de bestaande site. */
:root {
  --header-h: 93px;
  --cta-h: 0px;
  --c-forest: #15211a;
  --c-green: #1d3a26;
  --c-gold: #d8b26e;
  --c-gold-d: #a97e3f;
  --c-paper: #f3efe6;
}
@media (max-width: 900px) {
  :root { --header-h: 62px; --cta-h: 72px; }
}

html { scroll-padding-top: calc(var(--header-h) + 12px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #a97e3f; outline-offset: 2px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.site-logo { display: block; height: 42px; width: auto; }
.desktop-nav a.nav-link { font-size: 15px; font-weight: 500; color: #3d4a3f; padding: 10px 2px; }
.desktop-nav a.nav-link:hover { color: #a97e3f; }
.desktop-nav a.nav-cta,
.mobile-quote-btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  background: var(--c-green); color: var(--c-paper); font-weight: 700; border-radius: 999px;
  transition: background .25s;
}
.desktop-nav a.nav-cta { padding: 12px 24px; font-size: 15px; }
.desktop-nav a.nav-cta:hover, .mobile-quote-btn:hover { background: #a97e3f; color: var(--c-paper); }
.mobile-quote-btn { min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: 0 2px 8px rgba(29,58,38,.25); }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: #1a231c;
}
.hamburger .bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .2s; }
.hamburger .bar::before, .hamburger .bar::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .25s ease;
}
.hamburger .bar::before { transform: translateY(-7px); }
.hamburger .bar::after { transform: translateY(7px); }
.hamburger[aria-expanded="true"] .bar { background: transparent; }
.hamburger[aria-expanded="true"] .bar::before { transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .bar::after { transform: rotate(-45deg); }

/* Mobiel menu: altijd in de DOM zodat het soepel open/dicht kan, verborgen voor toetsenbord + screenreader als het dicht is */
.mobile-drawer {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 999;
  background: var(--c-forest); color: var(--c-paper);
  padding: 8px 24px 20px; border-bottom: 2px solid var(--c-gold);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}
.mobile-drawer.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-drawer a {
  display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 600; color: var(--c-paper);
  border-bottom: 1px solid rgba(243,239,230,.1);
}
.mobile-drawer a:last-child { border-bottom: 0; }
.mobile-drawer a.drawer-cta { color: var(--c-gold); font-weight: 700; }
.mobile-drawer a.drawer-wa { color: #25D366; }
@media (min-width: 901px) { .mobile-drawer, .hamburger, .mobile-quote-btn, .sticky-cta { display: none !important; } }
@media (max-width: 900px) { .desktop-nav { display: none !important; } }

/* ---------- Sticky CTA (mobiel) ---------- */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(243,239,230,.97); border-top: 1px solid rgba(26,35,28,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform .2s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .sticky-main {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px;
    background: var(--c-green); color: var(--c-paper); font-weight: 700; font-size: 16px; border-radius: 999px;
  }
  .sticky-cta .sticky-alt {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px;
    background: transparent; color: var(--c-green); font-weight: 700; font-size: 16px; border-radius: 999px;
    border: 1.5px solid var(--c-green);
  }
  body { padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom)); }
  /* De sticky balk bevat al WhatsApp + de taalknop staat in het menu */
  .floating-buttons-container { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-forest); color: #b9c4ae; padding: 56px 48px 40px; }
.site-footer .footer-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer img { height: 56px; width: auto; }
.site-footer address { font-style: normal; line-height: 1.7; font-size: 15px; margin-top: 16px; }
.site-footer address a { color: #d0dbc7; }
.site-footer h2 { font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 12px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #b9c4ae; }
.site-footer li a:hover, .site-footer address a:hover { color: var(--c-gold); }
.site-footer .footer-copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(243,239,230,.1); font-size: 13px; color: #8d9a86; }
@media (max-width: 900px) {
  .site-footer { padding: 40px 20px 32px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Mobiele basisregels (alle pagina's) ---------- */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  img, video, iframe, svg { max-width: 100%; }
  html body p, html body li, html body summary, html body label, html body dd { font-size: 16px !important; line-height: 1.6 !important; }
  html body input, html body select, html body textarea { font-size: 16px !important; min-height: 48px; }
  html body button { min-height: 44px; }
  html body a[href^="tel:"], html body a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
  html body .hero-sub-link-mobile { display: flex !important; align-items: center; justify-content: center; min-height: 44px; }
  html body h1 { overflow-wrap: anywhere; hyphens: auto; }
  html body details > summary { min-height: 48px; }
}

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

/* ---------- Extra: terug-link, footer-links, tablet-nav ---------- */
.back-link { min-height: 44px; padding-right: 12px; }
.site-footer li a { min-width: 44px; }
@media (min-width: 901px) and (max-width: 1180px) {
  header nav { padding: 14px 24px !important; }
  .desktop-nav { gap: 18px !important; }
  .desktop-nav a.nav-link { font-size: 15px !important; }
  .desktop-nav a.nav-cta { padding: 10px 16px !important; font-size: 14px !important; }
}
.desktop-nav a.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.desktop-nav a.nav-cta { min-height: 44px; }
.header-lang-btn { position: relative; }
.header-lang-btn::after { content: ""; position: absolute; inset: -9px -4px; }
.site-footer address a { display: inline-flex; align-items: center; min-height: 44px; }
details > summary { min-height: 44px; }
form button[type="submit"] { min-height: 48px; }

/* ---------- Logo-intro (homepage, eenmaal per sessie) ---------- */
#intro-veil { display: none; }
html.intro-pending #intro-veil { display: block; position: fixed; inset: 0; background: #f3efe6; z-index: 900; }
html.intro-pending #site-logo { opacity: 0; }
html.intro-pending header { box-shadow: none; }
html.intro-pending header nav > :not(:first-child),
html.intro-pending .header-lang-btn,
html.intro-pending .sticky-cta,
html.intro-pending .floating-buttons-container { opacity: 0; pointer-events: none; }

/* ---------- Kaart: pas laden na een klik (sneller + geen gegevens naar Google zonder toestemming) ---------- */
.map-embed { position: relative; min-height: 460px; background: linear-gradient(135deg, #e8e3d4, #d9d3c1); }
.map-embed-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: #1a231c; }
.map-embed-addr { margin: 0; font-size: 17px !important; line-height: 1.5 !important; }
.map-embed-btn { min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #1d3a26; color: #f3efe6; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.map-embed-btn:hover { background: #a97e3f; }
.map-embed-note { margin: 0; max-width: 320px; font-size: 13.5px !important; color: #55604f; }
@media (max-width: 900px) { .map-embed { min-height: 260px; } }
