/* ========== FlexPro Automotive — Gedeelde stijl ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #050b14;
  color: #e8edf5;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  --bg-deep: #050b14;
  --bg-card: linear-gradient(180deg, #0e1a2e 0%, #0a1422 100%);
  --bg-button: linear-gradient(180deg, #142340 0%, #101c33 100%);
  --primary: #2f6cff;
  --primary-grad: linear-gradient(135deg, #3b7dff 0%, #2052e0 100%);
  --text: #e8edf5;
  --text-dim: #8a96ad;
  --text-muted: #6a7689;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --accent-amber: #c89348;
  --accent-amber-bg: rgba(200, 147, 72, 0.15);
  --accent-green: #1ea672;
  --accent-green-bg: rgba(30, 166, 114, 0.15);
  --accent-blue: #4a8aff;
  --accent-blue-bg: rgba(74, 138, 255, 0.15);
  --accent-purple: #6c7cf0;
  --accent-purple-bg: rgba(108, 124, 240, 0.15);
  --accent-red: #e50017;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

/* ========== Header / Navigatie ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { width: 110px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--text); background: rgba(47,108,255,0.12); }

.nav-cta {
  padding: 9px 16px;
  background: var(--primary-grad);
  color: white !important;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(47,108,255,0.3);
  transition: all 0.2s ease;
}
.nav-links a.nav-cta:hover {
  transform: translateY(-1px) scale(1.05);
  background: linear-gradient(135deg, #4a82ff 0%, #2f6cff 100%) !important;
  box-shadow: 0 6px 18px rgba(47,108,255,0.55);
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 101;
}
.nav-toggle svg { width: 24px; height: 24px; pointer-events: none; }

@media (max-width: 768px) {
  /* Voorkom horizontale scroll/swipe op mobiel */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
  }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #050b14;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 20px;
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid var(--border);
    display: none;
    box-sizing: border-box;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links a.active { background: transparent; border-left: 3px solid var(--primary); padding-left: 13px; }
  .nav-links a.nav-cta {
    margin-top: 20px;
    text-align: center;
    border-radius: 12px;
    padding: 14px;
    border-bottom: none;
    background: var(--primary-grad);
  }
  .nav-links a.nav-cta:hover { transform: none; }

  /* Header z-index zodat de hamburger button bovenop het uitgeklapte menu zit */
  .site-header { z-index: 100; }
}

/* ========== Layout ========== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-narrow { padding: 40px 0; }

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

/* ========== Typography ========== */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 700; }
p { color: var(--text-dim); }
.lead { font-size: 17px; color: #b8c2d4; line-height: 1.6; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary-grad);
  color: white;
  box-shadow: 0 4px 16px rgba(47, 108, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(47, 108, 255, 0.45); }
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn svg { width: 18px; height: 18px; }

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 20px 28px;
  text-align: center;
  margin-top: 60px;
}
.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-content svg { width: 100px; margin: 0 auto 16px; }
.footer-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-info a { color: var(--text-dim); }
.footer-info a:hover { color: var(--text); }
.footer-info .sep { margin: 0 8px; opacity: 0.4; }
.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}
