/* MoniSoft – licht, zakelijk, vriendelijk */
:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-soft: #eff4ff;
  --amber: #f59e0b;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f7f9fc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 20px 48px rgba(29, 78, 216, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 650;
  padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--blue);
  font: inherit; font-weight: 650; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue); box-shadow: none; }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 42, .05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-weight: 800; color: var(--blue); }
#menu { display: flex; align-items: center; gap: 1.6rem; }
#menu a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 550; position: relative; }
#menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
#menu a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: .4rem; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(29, 78, 216, .09), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(245, 158, 11, .08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .8rem; }
.hl { color: var(--blue); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .28em; background: rgba(245, 158, 11, .35); z-index: -1; border-radius: 4px; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero-visual { position: relative; }
.card-mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 1.2rem 1.3rem 1.3rem; transform: rotate(-1.2deg); }
.mock-head { display: flex; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-title { margin-left: .6rem; font-size: .85rem; font-weight: 650; color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1rem; }
.mock-kpis div { background: var(--tint); border-radius: 12px; padding: .6rem .75rem; }
.mock-kpis small { display: block; font-size: .72rem; color: var(--muted); }
.mock-kpis strong { font-size: 1.1rem; color: var(--ink); }
.mock-kpis .ok { color: var(--blue); }
.mock-chart { width: 100%; height: 150px; }
.mock-chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.badge-float {
  position: absolute; left: -1.2rem; bottom: -1.2rem;
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1rem; box-shadow: var(--shadow); font-weight: 650; color: var(--ink); font-size: .92rem;
  animation: float 5s ease-in-out infinite;
}
.badge-float svg { width: 20px; height: 20px; color: var(--blue); }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Secties */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }

/* Dienst-kaarten */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c7d6fb; }
.card p { margin: 0; font-size: .98rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Werkwijze */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: none; position: relative; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps p { margin: 0; font-size: .98rem; }
.step-nr { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--blue-soft); }

/* Projecten */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project p { font-size: .98rem; }
.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--blue-dark); background: var(--blue-soft); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tag-lock { color: #92400e; background: #fef3c7; }
.checks { list-style: none; padding: 0; margin: 0 0 1.3rem; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .35rem; font-size: .95rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }
.link { margin-top: auto; font-weight: 700; text-decoration: none; }
.link span { display: inline-block; transition: transform .2s ease; }
.link:hover span { transform: translateX(4px); }
.project-confidential { background: linear-gradient(180deg, #fffdf7, #fff); border-style: dashed; border-color: #f3d48a; }

/* Over */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; display: flex; align-items: baseline; gap: .9rem; box-shadow: var(--shadow); }
.facts strong { font-size: 1.5rem; color: var(--blue); min-width: 4.2em; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.contact-form label { display: block; font-weight: 650; color: var(--ink); margin: 0 0 .35rem; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; margin-bottom: 1.1rem;
  background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .15); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: .3rem; }
.contact-form .small { margin: .9rem 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.2rem; font-weight: 600; display: flex; gap: .6rem; align-items: flex-start; }
.form-status.ok { background: #eff4ff; color: var(--blue-dark); border: 1px solid #c7d6fb; }
.form-status.err { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 0; font-size: .9rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* Rustig in beeld schuiven */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsief */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr; }
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 1rem auto 0; width: 100%; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  #menu {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    padding: .5rem 1.25rem 1.2rem; display: none;
  }
  #menu.open { display: flex; }
  #menu a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  #menu a:not(.btn)::after { display: none; }
  #menu .btn { margin-top: 1rem; justify-content: center; }
}
@media (max-width: 560px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .badge-float { left: .5rem; }
  .mock-kpis strong { font-size: .95rem; }
}

/* Respecteer "minder beweging" in het besturingssysteem */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mock-chart .line { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
