/* Claro Verde, one-pager. Handgeschreven, geen bouwstap. */

@font-face {
  font-family: "Manrope";
  src: url("Manrope-wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --soft: #f2f7f4;
  --line: #dde4e0;
  --text: #2a3237;
  --head: #232a2f;
  --accent: #0f7a42;        /* links, knoppen, kleine groene tekst */
  --accent-ink: #ffffff;    /* tekst op accent */
  --bright: #1ca858;        /* grote cijfers, decoratie */
  --header-bg: rgba(255, 255, 255, 0.85);

  /* raster in de opening */
  --sq: #232a2f;
  --g-deep: #0f7a42;
  --g-bright: #1ca858;

  /* donkere band */
  --band-bg: #232a2f;
  --band-text: #e6ece8;
  --band-head: #ffffff;
  --band-accent: #35c97a;
  --band-soft: #8fddb2;
  --band-line: rgba(255, 255, 255, 0.16);

  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: max(20px, 4vw);
  --section: clamp(4rem, 9vw, 7.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14191c;
    --soft: #1c2327;
    --line: #2c363b;
    --text: #e6ece8;
    --head: #ffffff;
    --accent: #35c97a;
    --accent-ink: #0d1411;
    --bright: #35c97a;
    --header-bg: rgba(20, 25, 28, 0.85);

    --sq: #ffffff;
    --g-deep: #8fddb2;
    --g-bright: #35c97a;

    --band-bg: #1c2327;
    --band-text: #e6ece8;
    --band-head: #ffffff;
    --band-accent: #35c97a;
    --band-soft: #8fddb2;
    --band-line: #2c363b;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--head);
  margin: 0;
}

p { margin: 0 0 1.1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Kop ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.brand { display: block; line-height: 0; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 1rem; }
.lang { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.lang strong { font-weight: 700; color: var(--head); }
.lang a { text-decoration: none; }
.lang a:hover { text-decoration: underline; }
.lang span[aria-hidden] { color: var(--line); margin-inline: 0.25em; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-xl {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 4.6vw, 1.75rem);
  letter-spacing: -0.01em;
  padding: 1.1rem 2.2rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ---------- Secties ---------- */
main > section { padding-block: var(--section); }
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- Opening ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero p { font-size: 1.1875rem; margin-bottom: 2rem; }

.mark {
  --s: clamp(200px, 28vw, 360px);
  width: var(--s);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: calc(var(--s) * 0.1111);
}
.mark i {
  display: block;
  animation: cell 0.7s ease both;
  animation-delay: calc(0.3s + var(--i) * 0.12s);
}
.mark .sq { background: var(--sq); border-radius: 0; animation: none; }
.mark .deep { background: var(--g-deep); border-radius: 28.57%; }
.mark .br { background: var(--g-bright); border-radius: 50%; }

@keyframes cell {
  from { background-color: var(--sq); border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark i { animation: none; }
  .btn { transition: none; }
}

/* ---------- Wat ik doe ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.card h3::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: var(--bright);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.card:nth-child(2) h3::before { border-radius: 4px; background: var(--accent); }
.card p { max-width: none; }

/* ---------- Voor wie ---------- */
.situations {
  list-style: none;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.situations li {
  background: var(--soft);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.75rem;
}
.quote {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  color: var(--head);
  margin: 0;
  padding-left: clamp(1rem, 2vw, 1.75rem);
  border-left: 4px solid var(--bright);
  max-width: 22em;
}
.quote p { max-width: none; margin: 0; }

/* ---------- AI-band ---------- */
.band {
  background: var(--band-bg);
  color: var(--band-text);
}
@media (prefers-color-scheme: dark) {
  .band { border-block: 1px solid var(--band-line); }
}
.band h2 { color: var(--band-head); }
.band .intro { font-size: 1.1875rem; }
.layers {
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: layer;
}
.layers li {
  counter-increment: layer;
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid var(--band-line);
}
.layers li::before {
  content: counter(layer);
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
  color: var(--band-accent);
  margin-bottom: 0.75rem;
}
.layers strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--band-head);
  margin-bottom: 0.35rem;
}
.layers p { margin: 0; max-width: 40ch; }

/* ---------- Uit de praktijk ---------- */
.practice p { font-size: 1.1875rem; }
.practice p strong { color: var(--head); font-weight: 700; }
.stats {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}
.stats li { border-top: 1px solid var(--line); padding-top: 1rem; }
.stats b {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bright);
  white-space: nowrap;
}
.stats span { display: block; margin-top: 0.4rem; font-size: 0.95rem; max-width: 24ch; }

/* ---------- Hoe ik werk ---------- */
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}
.principles li { position: relative; padding-left: 2rem; }
.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bright);
}

/* ---------- Exploring (EN) ---------- */
.explore { background: var(--soft); }

/* ---------- Over mij ---------- */
.about p { font-size: 1.1875rem; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact h2 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.05;
}
.contact p.lead { font-size: 1.1875rem; margin-bottom: 1.5rem; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.contact-row .t { font-size: 1.1875rem; }
.contact-row .ln { font-weight: 600; }

/* ---------- Voettekst ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 3rem;
  font-size: 0.875rem;
}
.site-footer p { max-width: none; margin: 0 0 0.35rem; }
.site-footer .small { opacity: 0.85; }

/* ---------- Anker-offset ---------- */
[id] { scroll-margin-top: 80px; }

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .mark { --s: 200px; justify-self: start; }
  .situations { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cards, .layers { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand img { height: 28px; }
  .nav { gap: 0.7rem; }
  .btn-sm { padding: 0.45rem 0.9rem; }
  .stats b { font-size: 2.4rem; }
}
