/* SiteNest – huisstijl volgens brandboek v1.0
   Navy #1E3A5F · Green #4CAF50 · Wit · Slate #A5B0BF
   Groen nooit voor lopende tekst (contrast 2,8:1); knoppen hebben grote, vette navy tekst. */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #1E3A5F;
  --green: #4CAF50;
  --green-dark: #3E9142;
  --slate: #A5B0BF;
  --text: #1E3A5F;
  --muted: #4A5D78;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --line: #DCE3EC;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 58, 95, .10);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--green); }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .9rem; padding-bottom: .35rem; border-bottom: 3px solid var(--green);
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1.25rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1.2rem/1.2 var(--font); /* ≥ 19px vet = grote tekst (WCAG) */
  padding: .95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #5DBB61; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-small { font-size: 1.05rem; padding: .6rem 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { font-weight: 500; text-decoration: none; padding: .4rem 0; border-bottom: 3px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 10px; padding: .5rem .7rem; cursor: pointer; color: var(--navy); font: 600 1rem var(--font); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
         flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 .accent { color: var(--green-dark); } /* grote kop: groen toegestaan */
.hero-checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .5rem; color: var(--muted); }
.hero-checks li::before { content: "✓"; color: var(--green-dark); font-weight: 700; margin-right: .6rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 420px; } }

/* browservenster, geïnspireerd op het logo */
.window { background: var(--navy); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); border: 7px solid #fff; outline: 1px solid var(--line); transform: rotate(-2deg); }
.window-bar { display: flex; gap: 7px; padding: 6px 8px 10px; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.window-body { background: #fff; border-radius: 10px; padding: 18px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; align-items: center; min-height: 210px; }
.window-body .block { background: var(--green); border-radius: 12px; height: 120px; }
.window-body .lines { display: grid; gap: 22px; }
.window-body .lines i { display: block; height: 14px; border-radius: 99px; background: var(--slate); }
.window-body .lines i:nth-child(2) { width: 75%; }
.window-body .lines i:nth-child(3) { width: 55%; }
.window-url { grid-column: 1 / -1; background: var(--bg-soft); color: var(--muted); font-size: .85rem; padding: .45rem .9rem; border-radius: 99px; }

/* ---------- Secties ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.green { background: var(--green); }
.icon.green svg { stroke: var(--navy); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .7rem; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); margin-bottom: .8rem; }
.price-note { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; margin-top: 1rem; }
.price-note::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.feature-list li { padding-left: 1.7rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; border-radius: 3px; background: var(--green); }

/* stappen */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; border-radius: 50%; }
.steps h3 { margin-bottom: .3em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* projecten */
.project { display: flex; flex-direction: column; }
.project .tag { align-self: flex-start; }
.project a.more { margin-top: auto; font-weight: 600; }

/* CTA-band */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #D6DEE9; max-width: 38rem; margin-inline: auto; }
.cta .btn-row { justify-content: center; }
.cta .btn-secondary { color: #fff; border-color: #fff; }
.cta .btn-secondary:hover { background: #fff; color: var(--navy); }
.cta a:not(.btn) { color: #fff; text-decoration-color: var(--green); }

/* ---------- Subpagina's ---------- */
.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.service { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service:last-of-type { border-bottom: 0; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* formulier */
form { display: grid; gap: 1.1rem; }
label { font-weight: 600; display: block; margin-bottom: .3rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 2px solid var(--slate); border-radius: 12px; padding: .75rem 1rem;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: .95rem; color: var(--muted); }
.contact-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D6DEE9; padding: 3.5rem 0 2rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration-color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h2 { font-size: 1rem; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-brand img { height: 60px; width: auto; margin-bottom: .5rem; margin-left: -10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
