/* ============================================================
   ITCompleet — design system
   Warm papier, inkt-donkerblauw, kobalt accent, mono details.
   ============================================================ */

:root {
  /* kleur */
  --paper: #f6f3ec;
  --paper-deep: #efeadf;
  --ink: #0e1b2a;
  --ink-soft: #3c4a5c;
  --cobalt: #1f4bff;
  --cobalt-deep: #1638c2;
  --signal: #19c37d;
  --amber: #ffb224;
  --line: rgba(14, 27, 42, 0.16);
  --line-strong: rgba(14, 27, 42, 0.85);

  /* typografie */
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Schibsted Grotesk", sans-serif;
  --font-mono: "Fragment Mono", monospace;

  /* maat */
  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
  --shadow-offset: 6px 6px 0 rgba(14, 27, 42, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cobalt); color: var(--paper); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 22ch;
}

h2 em, h1 em {
  font-style: normal;
  color: var(--cobalt);
  position: relative;
}

h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--ink-soft); }

a { color: inherit; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cobalt);
  text-transform: lowercase;
  margin-bottom: 1.25rem;
}

/* ============ knoppen ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
  box-shadow: var(--shadow-offset);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(14, 27, 42, 1);
  background: var(--cobalt-deep);
}

.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(14, 27, 42, 1);
}

.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn--full { width: 100%; text-align: center; }

/* ============ nav ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--line-strong);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav__logo-mark {
  background: var(--cobalt);
  color: #fff;
  padding: 0.05em 0.22em;
  margin-right: 0.08em;
  border-radius: var(--radius);
}

.nav__logo-dot { color: var(--cobalt); }

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav__links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav__links a:hover { color: var(--cobalt); }

.nav__right { display: flex; align-items: center; gap: 1.25rem; }

.status-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(25, 195, 125, 0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(25, 195, 125, 0); }
}

/* ============ hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--line-strong);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, black 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad) clamp(4rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* terminal */

.hero__terminal { position: relative; }

.terminal {
  position: relative;
  z-index: 2;
  background: var(--ink);
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  transform: rotate(1.2deg);
}

.hero__terminal-shadow {
  position: absolute;
  inset: 0;
  transform: rotate(1.2deg) translate(10px, 10px);
  background: var(--cobalt);
  border-radius: 6px;
  z-index: 1;
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(246, 243, 236, 0.14);
}

.terminal__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.25);
}

.terminal__dot:first-child { background: var(--amber); }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(246, 243, 236, 0.55);
  margin-left: 0.5rem;
}

.terminal__body {
  padding: 1rem 1.1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 2;
  color: rgba(246, 243, 236, 0.85);
  min-height: 13.5em;
}

.terminal__body .t-ok    { color: var(--signal); }
.terminal__body .t-run   { color: var(--amber); }
.terminal__body .t-dim   { color: rgba(246, 243, 236, 0.45); }

.terminal__line {
  opacity: 0;
  animation: term-in 0.3s ease forwards;
}

@keyframes term-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

.terminal__cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  vertical-align: text-bottom;
  background: rgba(246, 243, 236, 0.7);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ============ ticker ============ */

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1.5px solid var(--line-strong);
  padding: 0.7rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}

.ticker__track i {
  font-style: normal;
  color: var(--cobalt);
  font-size: 0.5rem;
  align-self: center;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============ kerncijfers ============ */

.proof { border-bottom: 1.5px solid var(--line-strong); background: var(--paper-deep); }

.proof__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof__item {
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.proof__item + .proof__item { border-left: 1.5px solid var(--line); }

.proof__big {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cobalt);
}

.proof__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ============ secties ============ */

.section { border-bottom: 1.5px solid var(--line-strong); }

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--pad);
}

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section__lead {
  margin-top: 1.25rem;
  max-width: 52ch;
}

.section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* diensten */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset);
}

.card:nth-child(even):hover { box-shadow: 6px 6px 0 var(--cobalt); }

.card p { font-size: 0.95rem; }

/* aanpak (donker) */

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--dark h2 { color: var(--paper); }
.section--dark p { color: rgba(246, 243, 236, 0.68); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  padding: 1.75rem 1.5rem 2rem;
  border-left: 1px solid rgba(246, 243, 236, 0.18);
  position: relative;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  display: block;
  margin-bottom: 1.25rem;
}

.step__num::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--amber);
  margin-top: 0.5rem;
}

.step h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.step p { font-size: 0.92rem; }

/* waarom */

.why__lead { font-size: 1.1rem; margin: 1.25rem 0 2rem; }

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.why__list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.why__list li:first-child { padding-top: 0.25rem; }

.why__check {
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--cobalt);
  background: var(--paper-deep);
}

.why__list h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.why__list p { font-size: 0.95rem; }

/* ============ contact ============ */

.section--contact { background: var(--paper-deep); }

.contact__copy p { max-width: 42ch; }

.contact__regio {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.contact__direct {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact__direct li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact__direct .mono {
  color: var(--cobalt);
  width: 3rem;
}

.contact__direct a { text-decoration-color: var(--cobalt); text-underline-offset: 3px; }
.contact__direct a:hover { color: var(--cobalt); }

.contact__form {
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-offset);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__form label { display: flex; flex-direction: column; gap: 0.4rem; }

.contact__form label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.contact__form input,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
}

/* inline veldvalidatie */
.field-msg {
  display: none;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  color: #d24a2e;
}

.contact__form label.is-invalid .field-msg { display: block; }
.contact__form label.is-invalid input { border-color: #d24a2e; }
.contact__form label.is-invalid input:focus { border-color: #d24a2e; }
.contact__form label.is-valid input { border-color: var(--signal); }

.contact__note {
  text-align: center;
  color: var(--ink-soft);
  margin-top: -0.25rem;
}

.contact__note.is-success { color: var(--signal); }
.contact__note.is-error { color: #d24a2e; }

.contact__optional {
  font-style: normal;
  opacity: 0.6;
}

/* honeypot: onzichtbaar voor mensen, wel in de DOM voor bots */
.contact__hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============ footer ============ */

.footer { background: var(--ink); color: var(--paper); }

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer .mono { color: rgba(246, 243, 236, 0.55); margin-right: auto; }

.nav__logo--footer { color: var(--paper); font-size: 1.1rem; }

.footer__top {
  color: rgba(246, 243, 236, 0.7);
  text-decoration: none;
}

.footer__top:hover { color: var(--paper); }

/* ============ zwevende WhatsApp-knop ============ */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 40;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  background: #25d366;   /* WhatsApp-groen: herkenning boven huisstijl */
  color: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 4px 4px 0 rgba(14, 27, 42, 1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float svg { width: 1.7rem; height: 1.7rem; }

.wa-float:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(14, 27, 42, 1);
}

.wa-float:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(14, 27, 42, 1);
}

/* ============ scroll reveal ============
   Alleen actief als JS de body een .js-klasse geeft;
   zonder JS is alle content gewoon zichtbaar. */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .terminal__line { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ============ responsive ============ */

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__terminal { max-width: 480px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .section__inner--split { grid-template-columns: 1fr; }
  .proof__inner { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: none; }
  .proof__item:nth-child(n+3) { border-top: 1.5px solid var(--line); }
  .nav__links { display: none; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid rgba(246, 243, 236, 0.18); padding-left: 0; }
  .proof__inner { grid-template-columns: 1fr; }
  .proof__item + .proof__item { border-left: none; border-top: 1.5px solid var(--line); }
  .status-chip { display: none; }
  .contact__form { padding: 1.5rem; }
}
