/* ===========================
   Basis & variabelen
   =========================== */

:root {
  --primary: #1f4f7b;
  --primary-dark: #143656;
  --accent: #6bbf92;
  --bg-soft: #f5f7fb;
  --bg-section: #ffffff;
  --text: #1f2933;
  --muted: #5a6a7c;
  --border: #dde5f0;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1120px;
}

/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 0 1.5rem 3.5rem;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===========================
   Header / Navigatie
   =========================== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 210px;
}

.logo-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-note {
  font-size: 0.75em;
  opacity: 0.6;
  white-space: nowrap;
}

.nav-cta {
  display: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 54, 86, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
}

/* ===========================
   Hero
   =========================== */

.hero {
  background: radial-gradient(circle at top left, #e7f0fb, #f5f7fb 70%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 1rem;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* ===========================
   Pagina intro
   =========================== */

.page-hero {
  padding: 3rem 0 0.6rem;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero .intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 40rem;
}

/* ===========================
   Secties & kaarten
   =========================== */

.section {
  padding-top: 2.4rem;
}

.section-header {
  margin-bottom: 1.6rem;
}

.section-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid var(--border);
}

/* ===========================
   Contactformulier
   =========================== */

.contact-cta {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  max-width: 520px;
  margin-top: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===========================
   Footer
   =========================== */

footer {
  margin-top: 2.8rem;
  padding: 1.4rem;
  background: #fff;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ===========================
   Desktop
   =========================== */

@media (min-width: 720px) {
  .nav-cta {
    display: block;
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================
   Mobiel – telefoonstijl
   =========================== */

@media (max-width: 640px) {

  main {
    padding: 0 1rem 2.5rem;
  }


  /* Extra ruimte boven CTA-knop op mobiel */
  .contact-cta .hero-actions {
    margin-top: 1.4rem;
  }


  /* Logo groter en centraal */
  .logo-mark {
    width: min(260px, 85vw);
    height: auto;
  }

  /* Header stapelt: logo boven, menu eronder */
  .nav {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
  }

  .nav-left {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 1.4rem;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-form button {
    width: 100%;
  }
}

/* ===========================
   Hover-effect op logo (desktop)
   =========================== */

.logo-mark {
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-left a:hover .logo-mark {
  transform: scale(1.02);
  opacity: 0.85;
}

@media (max-width: 640px) {

  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-left {
    justify-content: center;
    width: 100%;
  }

  .nav-links {
    justify-content: center;
    margin-top: 0.6rem;
  }

  .nav-cta {
    display: none;
  }
}
