/* ===================================================
   Europa Finance — Gedeelde stijlen
   Lettertypes: Playfair Display (titels) + DM Sans (body)
   Kleurpalet: marineblauw + wit + subtiel goud
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── CSS Variables ──────────────────────────────── */
:root {
  /* Brand kleuren */
  --navy:       #0F2D5C;
  --navy-mid:   #1A3F7A;
  --navy-light: #2A5298;
  --gold:       #C4983A;
  --gold-light: #D4AA55;
  --gold-pale:  #F5EDD8;

  /* Neutrale kleuren */
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --gray-50:    #F0F2F5;
  --gray-100:   #E2E6EC;
  --gray-300:   #B0BAC8;
  --gray-500:   #6B7A94;
  --gray-700:   #3A4558;
  --gray-900:   #1A2233;

  /* Functioneel */
  --success:    #1A7A4A;
  --warning:    #8B5E0A;

  /* Typografie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(60px, 8vw, 100px);
  --container:  1140px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Schaduwen */
  --shadow-sm:  0 1px 4px rgba(15,45,92,.06);
  --shadow-md:  0 4px 24px rgba(15,45,92,.10);
  --shadow-lg:  0 12px 48px rgba(15,45,92,.14);

  /* Transities */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --duration:   0.28s;
}

/* ── Base ───────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Container ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ── Typografie helpers ─────────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Knoppen ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(196,152,58,.30);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,152,58,.38);
}
.btn-outline {
  border: 1.5px solid var(--navy-mid);
  color: var(--navy-mid);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-1px);
}
.btn svg { flex-shrink: 0; }

/* ── Navigatie ──────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              padding var(--duration) var(--ease);
  padding: 22px 0;
}
#site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--duration);
}
.nav-logo-tagline {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color var(--duration);
}
#site-header.scrolled .nav-logo-name { color: var(--navy); }
#site-header.scrolled .nav-logo-tagline { color: var(--gray-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
#site-header.scrolled .nav-link {
  color: var(--gray-700);
}
#site-header.scrolled .nav-link:hover {
  color: var(--navy);
  background: var(--gray-50);
}
.nav-cta {
  font-size: 14px;
  padding: 10px 20px;
}

/* Hamburger mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
#site-header.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  padding: 12px 32px;
  opacity: .7;
  transition: opacity var(--duration);
}
.nav-mobile a:hover { opacity: 1; }
.nav-mobile .btn-primary {
  margin-top: 16px;
  font-size: 16px;
}

/* ── WhatsApp & Sticky CTA float ────────────────── */
.float-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-whatsapp {
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}
.float-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}
.float-whatsapp svg { width: 26px; height: 26px; fill: #fff; }

/* Sticky advies knop — alleen zichtbaar op mobiel */
.float-cta-mobile {
  display: none;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: var(--section-py) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  transition: color var(--duration);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: .6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-warning {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  margin-bottom: 32px;
}

/* ── Animaties (intersection observer) ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-hamburger { display: flex; }
  .float-cta-mobile {
    display: flex;
    background: var(--gold);
    color: var(--white);
    border-radius: 24px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(196,152,58,.35);
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-bottom-text a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom-text a:hover {
  text-decoration: underline;
}