/* --- BASIS --- */
html, body {
  height: 100%;
  overflow-x: hidden;
  scrollbar-gutter: stable; /* Hét geheim: voorkomt dat de pagina verspringt door de scrollbalk! */
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #e9eef3;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

/* --- HEADER --- */
.header {
  position: relative;
  height: 120px;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  z-index: 5000;
  overflow: visible;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* --- LOGO (DESKTOP DEFAULT) --- */
.logo {
  display: block;
  height: 170px;
  width: auto;
  object-fit: contain;
  z-index: 3000;
  /* Animaties en transforms volledig verwijderd voor een strak en stilstaand logo */
}

/* --- NAVIGATIE (DESKTOP) --- */
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  margin: 0;
  padding-right: 8px;
}

.nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  padding-bottom: 4px;
  transition: color .3s, border-bottom .3s;
}
.nav-link:hover { color: #0f4bb8; }
.nav-link.active {
  color: #0f4bb8;
  font-weight: 700;
  border-bottom: 2px solid #0f4bb8;
}

/* --- HAMBURGER ICON --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #1a1a1a;
  font-size: 32px;
  cursor: pointer;
  z-index: 6000;
}

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 60px auto 40px auto;
  background: linear-gradient(135deg, #f0f4f8 0%, #e3e9ef 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.hero-text h1 { font-size: 48px; margin: 0 0 20px 0; color: #0f4bb8; }
.hero-text p { margin-bottom: 18px; line-height: 1.7; font-size: 18px; color: #2a2a2a; }

.fade-in { opacity: 0; animation: fadeIn 1.2s forwards; }
.fade-in-delay { opacity: 0; animation: fadeIn 1.2s forwards 0.4s; }
.fade-in-delay2 { opacity: 0; animation: fadeIn 1.2s forwards 0.8s; }
@keyframes fadeIn { to { opacity: 1; } }

.hero-img img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* --- BUTTON --- */
.btn {
  background: #0f4bb8;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(15,75,184,0.3);
  transition: background .3s, transform .3s;
}
.btn:hover { background: #0c3c92; transform: translateY(-3px); }

/* --- FOOTER --- */
.footer {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  text-align: center;
  padding: 20px;
  color: #1a1a1a;
  border-top: 1px solid #ddd;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  margin-top: auto;
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
}

/* --- MOBIEL MENU BASIS --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: rgba(240, 244, 248, 0.96);
  backdrop-filter: blur(10px);
  color: #1a1a1a;
  padding: 110px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 4000;
  visibility: visible;
  pointer-events: auto;
  box-shadow: -5px 0 25px rgba(0,0,0,0.08);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu a { 
  color: #1a1a1a; 
  text-decoration: none; 
  font-size: 20px; 
  font-weight: 600; 
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 12px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: #0f4bb8; }

/* --- MOBIEL SPECIFIEK --- */
@media (max-width: 700px) {
  .header {
    height: 75px;
    padding: 0 12px;
  }

  /* Mobiel logo staat nu stil en stabiel links bovenin */
  .logo {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 75px !important;
    max-height: 90px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 3000 !important;
    pointer-events: auto !important;
    animation: none !important; /* Mobiele float-animatie uitgezet */
  }

  .logo-area {
    position: relative !important;
    overflow: visible !important;
    z-index: 3000 !important;
    height: 75px !important;
  }

  .nav { display: none !important; }
  .nav-toggle { display: block !important; }
  .mobile-menu { z-index: 4000 !important; }
}

/* --- FORCE OVERRIDES --- */
@media (min-width: 701px) {
  .mobile-menu {
    display: none !important;
    transform: translateX(100%) !important;
    right: -9999px !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .nav-toggle { display: none !important; }
  .nav {
    display: flex !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    border: none !important;
  }
}

.logo-fallback {
  font-weight: 700;
  color: #0f4bb8;
  font-size: 18px;
  line-height: 1;
  padding-left: 6px;
  height: 56px;
  display: flex;
  align-items: center;
  z-index: 3000;
}












