/* FIBYA — huisstijl
   Kleuren, typografie en componenten voor de hele website.
   Pas hier kleuren of lettertypes aan; alle pagina's gebruiken dit bestand. */

:root {
  --navy: #0e2740;
  --navy-800: #14395c;
  --navy-600: #1d4f7c;
  --accent: #2a8fa8;
  --accent-dark: #217386;
  --ink: #16232e;
  --muted: #5d6f7d;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(14, 39, 64, .06);
  --shadow-lg: 0 12px 32px rgba(14, 39, 64, .10);
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 780px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .08em;
  color: var(--navy);
}

.logo img {
  height: 38px;
  width: auto;
}

/* Tekstvariant van het logo (fallback, niet meer gebruikt) */
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-600), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  letter-spacing: 0;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .97rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a.active { color: var(--accent-dark); font-weight: 650; }

.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  border: 1px solid var(--accent-dark);
  transition: background .15s ease, transform .15s ease;
}

.btn:hover { background: var(--navy-800); border-color: var(--navy-800); }

.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: var(--bg-soft); border-color: var(--navy-600); }

.btn-light {
  background: #fff;
  color: var(--navy) !important;
  border-color: #fff;
}

.btn-light:hover { background: #eaf1f5; border-color: #eaf1f5; }

/* ---------- Sections ---------- */

section { padding: 76px 0; }

.section-soft { background: var(--bg-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 12px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 55%, #1b5a7d 100%);
  color: #fff;
  padding: 96px 0 88px;
}

.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #cfe0ea; max-width: 56ch; font-size: 1.13rem; }
.hero .eyebrow { color: #7fd0e0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}

.page-head p { color: var(--muted); max-width: 62ch; margin-bottom: 0; }

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #e7f1f5;
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 22px; height: 22px; }

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  color: var(--navy);
  line-height: 1.1;
}

.stat span { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: step; }

.step { position: relative; padding-left: 62px; margin-bottom: 30px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.step h3 { margin-bottom: .3em; }
.step p { margin-bottom: 0; color: var(--muted); }

/* ---------- CTA ---------- */

.cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.cta h2 { color: #fff; }
.cta p { color: #cfe0ea; max-width: 54ch; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child { border-bottom: 0; }

.contact-list svg { width: 20px; height: 20px; color: var(--accent-dark); flex: none; margin-top: 4px; }

.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }

.contact-list a { color: var(--navy); text-decoration: none; font-weight: 550; }
.contact-list a:hover { color: var(--accent-dark); text-decoration: underline; }

form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

form .field { margin-bottom: 18px; }

form input,
form textarea,
form select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: 2px solid rgba(42, 143, 168, .35);
  border-color: var(--accent);
}

form textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #b9cbd8;
  padding: 56px 0 28px;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.site-footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.site-footer a { color: #b9cbd8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo img { height: 36px; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .88rem;
  color: #92a8b8;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 68px 0 60px; }

  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .logo img { height: 32px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .btn { text-align: center; margin-top: 8px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
