/* ===================================================================
   Logic Level — logiclevel.nl
   Brand colors from logo:
   Navy      #14355F  (primary)
   Navy dark #0E2747  (footer, stat bar)
   Yellow    #FFC20E  (accent / CTA only)
   Light     #F4F6FA  (section background)
   =================================================================== */

:root {
  --navy: #14355F;
  --navy-dark: #0E2747;
  --navy-soft: #3E5A78;
  --yellow: #FFC20E;
  --yellow-hover: #E5AE00;
  --light: #F4F6FA;
  --white: #FFFFFF;
  --text: #2B3440;
  --text-muted: #5B6B7E;
  --border: #E3E8EF;
  --hero-muted: #B8C6D9;
  --radius: 8px;
  --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img, svg { display: block; }

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

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-hover);
  margin-bottom: 12px;
}

.section { padding: 88px 0; }
.section--light { background: var(--light); }

.section-intro { max-width: 560px; margin-bottom: 48px; }
.section-intro p { color: var(--text-muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }

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

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: #4A6686;
}
.btn--outline-light:hover { border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-muted);
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--navy-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--navy); }
.main-nav .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); padding: 104px 0 96px; }
.hero .kicker { color: var(--yellow); }
.hero h1 { color: var(--white); max-width: 620px; }
.hero p.lead {
  color: var(--hero-muted);
  max-width: 520px;
  margin: 20px 0 36px;
  font-size: 1.1rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy-dark); padding: 28px 0; }
.stats .container {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat strong { font-size: 1.6rem; font-weight: 700; color: var(--yellow); }
.stat span { font-size: 0.9rem; color: var(--hero-muted); }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 53, 95, 0.10);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card .card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}

/* ---------- Steps (werkwijze) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  padding: 8px 0;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow-hover);
  margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Over ons ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid p { color: var(--text-muted); margin-bottom: 16px; }

.about-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
}
.about-visual .bar {
  width: 36px;
  border-radius: 4px 4px 0 0;
  background: var(--white);
}
.about-visual .bar:nth-child(1) { height: 60px; }
.about-visual .bar:nth-child(2) { height: 100px; }
.about-visual .bar:nth-child(3) { height: 140px; }
.about-visual .bar:nth-child(4) { height: 185px; background: var(--yellow); }

.checklist { list-style: none; margin-top: 8px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); padding: 72px 0; }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--hero-muted); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}
.contact-line svg { width: 20px; height: 20px; color: var(--yellow-hover); flex-shrink: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}
.contact-form .field { margin-bottom: 18px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 53, 95, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: var(--hero-muted); }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-main .brand-name { color: var(--white); }
.footer-main .brand-tagline { color: var(--hero-muted); }
.footer-main p { font-size: 0.9rem; margin-top: 16px; max-width: 320px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--hero-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(184, 198, 217, 0.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav .btn { text-align: center; }

  .hero { padding: 72px 0 64px; }
  .stats .container { gap: 24px; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { min-height: 220px; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .form-row { grid-template-columns: 1fr; }
}
