/* ===== EIKBERG — SHARED BASE STYLES =====
   Design tokens, reset, nav/wordmark, and the handful of components
   (buttons, section labels, trust bar, rich footer) that render byte-identical
   across pages. Page-specific layout (heroes, forms, content sections) stays
   in each page's own <style> block or dedicated stylesheet.

   Import this first, then override with a local <style>/<link> — later rules
   win the cascade at equal specificity, which is how pages like
   algemene-voorwaarden.html swap in the simple footer or a narrower
   --container. */

@font-face { font-family:'Playfair Display'; font-style:normal; font-weight:400 700; font-display:swap; src: local('Playfair Display'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:300 500; font-display:swap; src: local('Inter'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0D1B2E;
  --gold:      #C9A84C;
  --gold-lt:   #E8D08A;
  --gold-deep: #9C7F2E;
  --off:       #F5F3EF;
  --white:     #FFFFFF;
  --text:      #1A1A1A;
  --muted:     #6B6B6B;
  --border:    #E2DDD5;
  --error:     #C0533B;
  --success:   #2F7A52;
  --on-navy:        rgba(255,255,255,.85);
  --on-navy-soft:   rgba(255,255,255,.55);
  --on-navy-mute:   rgba(255,255,255,.30);
  --on-navy-field:  rgba(255,255,255,.05);
  --hairline-gold:  rgba(201,168,76,.22);
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --s-3: 16px; --s-4: 24px; --s-5: 36px; --s-6: 64px; --s-7: 96px;
  --container: 1080px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.6; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--hairline-gold);
  height: 72px; padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark-h { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark-h .wm-name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 2.5px; line-height: 1; }
.wordmark-divider { width: 1px; height: 16px; background: var(--hairline-gold); flex-shrink: 0; }
.wordmark-h .wm-sub { font-family: var(--sans); font-size: 9px; font-weight: 300; color: var(--gold); letter-spacing: 6px; line-height: 1; text-transform: uppercase; }
.wordmark-v { display: flex; flex-direction: column; line-height: 1; gap: 5px; text-decoration: none; }
.wordmark-v .wm-name { font-family: var(--serif); font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 2.5px; }
.wordmark-v .wm-sub { font-family: var(--sans); font-size: 8.5px; font-weight: 300; color: var(--gold); letter-spacing: 6px; text-transform: uppercase; }
.nav-cta {
  background: var(--gold); color: var(--navy);
  font-size: 13px; font-weight: 500; padding: 12px 26px;
  text-decoration: none; letter-spacing: 0.3px; transition: background .2s;
  border-radius: 0; min-height: 44px; display: inline-flex; align-items: center;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-lt); }

/* ===== SHARED ===== */
section { padding: var(--s-7) 6%; }
.s-inner { max-width: var(--container); margin: 0 auto; }
.s-label {
  font-size: 10px; font-weight: 500; color: var(--gold);
  letter-spacing: 4px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.s-label::before { content:''; width: 24px; height: 1px; background: var(--gold); }
.s-label.on-navy { color: var(--gold); }
.s-title {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 20px;
}
.s-title-w { color: #fff; }
.s-intro { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 680px; margin-bottom: 48px; }
.s-intro.on-navy { color: var(--on-navy-soft); }
.eyebrow {
  font-size: 10px; font-weight: 500; color: var(--gold);
  letter-spacing: 4px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.eyebrow::before { content:''; width: 28px; height: 1px; background: var(--gold); }
.btn-gold {
  background: var(--gold); color: var(--navy);
  font-size: 14px; font-weight: 500; padding: 16px 38px;
  text-decoration: none; transition: background .2s; display: inline-flex;
  align-items: center; justify-content: center; border: none; cursor: pointer;
  letter-spacing: 0.3px; min-height: 44px;
}
.btn-gold:hover { background: var(--gold-lt); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--off); padding: 28px 6%; border-bottom: 1px solid var(--border); }
.trust-row { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--navy); padding: 6px 28px; }
.trust-item .tick { color: var(--gold); font-weight: 700; font-size: 13px; }
.trust-sep { width: 1px; height: 16px; background: var(--border); }

/* ===== FOOTER — the one footer, every page =====
   Fixed 1080px max-width (not var(--container)) so it renders identically
   even on pages whose content column uses the narrower 860px container. */
footer { background: var(--navy); padding: var(--s-6) 6%; border-top: 1px solid rgba(201,168,76,0.12); }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.footer-left p { font-size: 13px; color: var(--on-navy-mute); max-width: 320px; line-height: 1.7; }
.footer-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.footer-right a { font-size: 12.5px; color: var(--on-navy-soft); text-decoration: none; }
.footer-right a:hover { color: var(--gold); }
.footer-sep { width: 1px; height: 14px; background: var(--hairline-gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { justify-content: flex-start; }
  footer { text-align: left; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .trust-sep { display: none; }
  .trust-item { padding: 8px 0; }
}

@media (max-width: 480px) {
  nav { padding: 0 5%; }
  .wordmark-h { gap: 10px; }
  .wordmark-h .wm-sub, .wordmark-divider { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 12.5px; }
}
