/* ============================================================
   Minder Big Tech — landingspagina
   Design tokens + component styles (desktop-first)
   ============================================================ */

:root {
  /* Kleuren */
  --bg: #f6f1e8;              /* pagina / kaarten "wit" */
  --bg-alt: #efe6d6;          /* secundaire secties */
  --ink: #2b2a26;             /* tekst primair */
  --text: #565147;            /* body */
  --muted: #6f6a60;           /* caption / muted */
  --muted-light: #9a9284;     /* muted lichter */
  --green: #3f6b52;           /* accent / CTA */
  --green-sub: #bcd0bf;       /* sub-accent op groen */
  --terracotta: #c98a5e;      /* cijfers, ruiten, foto-kader */
  --line: #ece3d3;            /* lijnen op licht */
  --line-card: #e6dccb;       /* kaartrand */
  --line-offset: #cbbfa6;     /* foto-offset / dashed veld */
  --mono-placeholder: #a89d88;

  /* Op groene sectie */
  --on-green-title: #f4f6f0;
  --on-green-text: #e4e9df;
  --on-green-label: #bcd0bf;

  /* Typografie */
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;

  /* Layout */
  --container: 1160px;
  --pad-x: 40px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---- Shared type ---- */
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.12;
  color: var(--ink);
  margin: 18px 0 20px;
}
.section-title--mb { margin-bottom: 40px; }

.section-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.accent-green { color: var(--green); }

/* ---- Buttons & links ---- */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}
.btn--pill { border-radius: 999px; }
.btn--dark { background: var(--ink); color: var(--bg); height: 40px; padding: 0 20px; font-size: 14px; }
.btn--dark:hover { background: #201f1c; }
.btn--green { background: var(--green); color: var(--bg); font-size: 16px; }
.btn--green:hover { background: #35593f; }
.btn--lg { height: 52px; padding: 0 28px; }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--line-offset); height: 40px; padding: 0 20px; font-size: 14px; }
.btn--outline:hover { background: rgba(43, 42, 38, 0.05); border-color: var(--ink); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1.5px solid #d8ceba;
  padding-bottom: 2px;
}
.link-underline:hover { border-bottom-color: var(--terracotta); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201, 138, 94, 0.18);
}
.logo__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding-top: 84px;
  padding-bottom: 76px;
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 22px 0 24px;
}
.hero__title em { font-style: italic; }
.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero__media { position: relative; }
.hero__offset {
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 24px;
  background: var(--terracotta);
  opacity: 0.5;
}
.hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 24px;
  display: block;
}

/* ============================================================
   Over mij
   ============================================================ */
.section-over { padding-top: 8px; padding-bottom: 80px; }
.over__grid {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.over__intro {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.42;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 18px;
}
.over__body {
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  max-width: 62ch;
  margin: 0;
}
.over__cta { margin-top: 28px; }

/* ============================================================
   Secties met achtergrond
   ============================================================ */
.section-alt { background: var(--bg-alt); }
.section-alt .container { padding-top: 80px; padding-bottom: 80px; }

.section-green { background: var(--green); color: var(--on-green-text); }

.kicker--on-green { color: var(--on-green-label); }
.section-title--on-green { color: var(--on-green-title); font-size: 40px; line-height: 1.14; }

/* ---- Waarom ---- */
.waarom__head { max-width: 60ch; }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line-card);
  border-radius: 16px;
  padding: 26px 24px;
}
.card__num { font-family: var(--serif); font-size: 26px; color: var(--terracotta); }
.card__title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 14px 0 8px; }
.card__body { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ============================================================
   Methodologie
   ============================================================ */
.section-methode { padding-top: 84px; padding-bottom: 84px; }
.methode__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.methode__head-left { max-width: 44ch; }
.methode__head-left .section-title { margin-bottom: 0; }
.methode__head-note {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 30ch;
  margin: 0;
}
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 120px 260px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.step--last { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 34px; color: var(--terracotta); }
.step__title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.step__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  max-width: 58ch;
}

/* ============================================================
   Voor wie
   ============================================================ */
.voorwie__grid {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.voorwie__list {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.voorwie__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.5;
  color: var(--on-green-text);
}
.diamond { color: var(--terracotta); font-size: 18px; }

/* ============================================================
   Referenties
   ============================================================ */
.section-referenties { padding-top: 84px; padding-bottom: 84px; }
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.quote {
  background: var(--bg-alt);
  border: 1px solid var(--line-card);
  border-radius: 18px;
  padding: 34px 32px;
  margin: 0;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 22px;
}
.quote figcaption { font-size: 14px; color: var(--muted); }
.placeholder-note {
  font-size: 12.5px;
  color: var(--mono-placeholder);
  margin: 18px 0 0;
  font-family: ui-monospace, monospace;
}

/* ============================================================
   Contact
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.contact__grid .section-title { font-size: 46px; line-height: 1.08; margin: 0 0 18px; }
.contact__intro { color: var(--text); max-width: 46ch; }
.contact__actions { display: flex; flex-direction: column; gap: 14px; }
.contact__placeholder {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px dashed var(--line-offset);
  color: #8a8070;
  font-size: 15px;
}
.contact__placeholder-note { font-size: 13px; font-family: ui-monospace, monospace; }

/* ---- Contactformulier ---- */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.field__optional { font-weight: 400; color: var(--muted-light); }
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-offset);
  border-radius: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 107, 82, 0.15);
}
/* Honeypot volledig verbergen (ook voor screenreaders via aria-hidden in markup) */
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 60px;
  padding: 0 26px;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}
.btn-submit:hover { background: #201f1c; }
.btn-submit:disabled { opacity: 0.6; cursor: default; }

.form-status {
  font-size: 14px;
  line-height: 1.5;
  margin: 2px 0 0;
}
.form-status--success { color: var(--green); }
.form-status--error { color: #a6482f; }

/* ALTCHA-widget afstemmen op het ontwerp */
altcha-widget {
  --altcha-border-width: 1px;
  --altcha-border-radius: 14px;
  --altcha-color-border: var(--line-offset);
  --altcha-color-base: var(--bg);
  --altcha-color-text: var(--text);
  --altcha-color-border-focus: var(--green);
  --altcha-max-width: 100%;
  display: block;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer__name { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.footer__links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.footer__links a { color: var(--muted); transition: color 0.15s ease; }
.footer__links a:hover { color: var(--ink); }
.footer__meta { font-size: 13px; color: var(--muted-light); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  /* 2-koloms grids → 1 kolom, foto onder de tekst */
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .over__grid { grid-template-columns: 1fr; gap: 16px; padding-top: 48px; }

  .waarom__head { max-width: none; }
  .cards { grid-template-columns: 1fr 1fr; }

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

  .contact__grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .contact__grid .section-title { font-size: 36px; }

  .section-alt .container,
  .voorwie__grid { padding-top: 60px; padding-bottom: 60px; }
  .section-methode,
  .section-referenties { padding-top: 60px; padding-bottom: 60px; }

  .section-title { font-size: 34px; }
  .section-title--on-green { font-size: 32px; }

  /* Methode: cijfer + titel boven, tekst eronder */
  .step {
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    align-items: baseline;
  }
  .step__body { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .voorwie__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
