/* nowTrinity – huisstijl volgens docs/overdracht.md */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #14213d;
  --koraal: #ef6a4c;
  --koraal-d: #f4846a;
  --blauw: #3a7ca5;
  --blauw-d: #5b9bc6;
  --mist: #f4f6fa;
  --wit: #ffffff;
  --tekst2: #4f596d;
  --tekst2-d: #c9d1e0;
  --lijn: #dce1ea;
  --lijn-d: #33415f;

  --breed: 72rem;
  --rand: clamp(1.25rem, 5vw, 3rem);
  --sectie: clamp(4rem, 10vw, 7.5rem);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--wit);
}

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

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

a {
  color: var(--blauw);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
}

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

.donker :focus-visible {
  outline-color: var(--blauw-d);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.overslaan {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--navy);
  color: var(--wit);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.overslaan:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--breed);
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* ---------- Logo (referentie-implementatie §4) ---------- */

.nt-logo {
  font-family: "Sora", system-ui, sans-serif;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--navy);
}

.nt-now {
  font-weight: 400;
  color: var(--koraal);
}

.nt-logo--klein .nt-now {
  font-weight: 500; /* onder ca. 32px */
}

.nt-trinity {
  font-weight: 700;
}

.nt-dot {
  display: inline-block;
  width: 0.21em;
  height: 0.21em;
  margin: 0 0.07em 0 0.06em;
  border-radius: 50%;
  background: var(--navy);
  vertical-align: baseline;
}

.nt-i {
  position: relative;
  display: inline-block;
}

.nt-i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.02em;
  width: 0.21em;
  height: 0.21em;
  margin-left: -0.105em;
  border-radius: 50%;
}

/* extra lucht tussen r en i, anders lijken ze één letter (besloten 6-10-2026) */
.nt-i--1 {
  margin-left: 0.05em;
}

.nt-i--1::after {
  background: var(--koraal);
}

.nt-i--2::after {
  background: var(--blauw);
}

.nt-logo--dark {
  color: var(--wit);
}

.nt-logo--dark .nt-now {
  color: var(--koraal-d);
}

.nt-logo--dark .nt-dot {
  background: var(--wit);
}

.nt-logo--dark .nt-i--1::after {
  background: var(--koraal-d);
}

.nt-logo--dark .nt-i--2::after {
  background: var(--blauw-d);
}

/* Logo met motto. Hoofdversie: motto naast het logo, blok even hoog als de
   hoofdletters (0.73em) en op de basislijn (0.16em boven de onderkant van de regel). */
.nt-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.155em;
}

.nt-motto {
  display: flex;
  align-items: stretch;
  gap: 0.155em;
  height: 0.73em;
  margin-bottom: 0.16em;
}

.nt-motto::before {
  content: "";
  width: max(2px, 0.024em);
  background: var(--lijn);
}

.nt-motto ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.165em;
  font-weight: 500;
  line-height: 0.73;
  letter-spacing: 0.035em;
  color: var(--tekst2);
  white-space: nowrap;
}

.nt-motto li::after {
  content: ".";
}

.nt-motto li:nth-child(1)::after {
  color: var(--koraal);
}

.nt-motto li:nth-child(2)::after {
  color: var(--navy);
}

.nt-motto li:nth-child(3)::after {
  color: var(--blauw);
}

.donker .nt-motto::before {
  background: var(--lijn-d);
}

.donker .nt-motto ul {
  color: var(--tekst2-d);
}

.donker .nt-motto li:nth-child(1)::after {
  color: var(--koraal-d);
}

.donker .nt-motto li:nth-child(2)::after {
  color: var(--wit);
}

.donker .nt-motto li:nth-child(3)::after {
  color: var(--blauw-d);
}

/* Gestapelde versie: motto op één regel onder het logo (smal scherm). */
@media (max-width: 40rem) {
  .nt-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12em;
  }

  .nt-motto {
    height: auto;
    margin: 0;
  }

  .nt-motto::before {
    display: none;
  }

  .nt-motto ul {
    flex-direction: row;
    gap: 0.6em;
    font-size: 0.23em;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }
}

/* ---------- Accent: drie afgeronde streepjes ---------- */

.accent {
  display: flex;
  gap: 8px;
}

.accent span {
  width: 32px;
  height: 5px;
  border-radius: 5px;
  background: var(--navy);
}

.accent span:nth-child(2) {
  background: var(--koraal);
}

.accent span:nth-child(3) {
  background: var(--blauw);
}

.donker .accent span:nth-child(1) {
  background: var(--wit);
}

.donker .accent span:nth-child(2) {
  background: var(--koraal-d);
}

.donker .accent span:nth-child(3) {
  background: var(--blauw-d);
}

/* ---------- Knoppen ---------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font: inherit;
  /* wit op koraal haalt 3:1: alleen als 'grote tekst' (≥ 18.66px bold) */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s;
}

.knop--koraal {
  background: var(--koraal);
  color: var(--wit);
}

.knop--koraal:hover {
  background: #d9573a;
  color: var(--wit);
}

.knop--rand {
  border-color: currentColor;
  color: var(--navy);
  background: transparent;
}

.knop--rand:hover {
  background: var(--mist);
  color: var(--navy);
}

.donker .knop--rand {
  color: var(--wit);
}

.donker .knop--rand:hover {
  background: var(--lijn-d);
}

/* ---------- Header ---------- */

.kop {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--lijn);
}

.kop .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.kop .nt-logo {
  font-size: 28px;
  text-decoration: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.menu ul a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.menu ul a:hover {
  color: var(--blauw);
  text-decoration: underline;
}

.menu .knop {
  font-size: 1.1875rem;
  padding: 0.6rem 1.25rem;
}

.menu-knop {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -0.5rem;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  border-radius: 8px;
}

@media (max-width: 56rem) {
  .menu-knop {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--rand) 1.5rem;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
  }

  .menu.open {
    display: flex;
  }

  .menu ul {
    flex-direction: column;
    gap: 0;
  }

  .menu ul a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--lijn);
  }
}

/* ---------- Secties ---------- */

.sectie {
  padding: var(--sectie) 0;
}

.sectie--mist {
  background: var(--mist);
}

.donker {
  background: var(--navy);
  color: var(--wit);
}

.label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tekst2);
}

.donker .label {
  color: var(--tekst2-d);
}

.intro {
  max-width: 44rem;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--tekst2);
}

.donker .intro {
  color: var(--tekst2-d);
}

/* Hero */
.hero {
  padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
}

.hero .nt-lockup {
  font-size: clamp(3.25rem, 11vw, 7.5rem);
}

.hero h1 {
  max-width: 40rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
}

.hero h1 span {
  display: block;
  color: var(--tekst2-d);
  font-weight: 500;
}

.hero .acties {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero .accent {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

/* Kolommen */
.kolommen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}

@media (max-width: 52rem) {
  .kolommen {
    grid-template-columns: 1fr;
  }
}

.stap h3 {
  display: flex;
  align-items: baseline;
  font-size: 1.75rem;
}

.stap .punt {
  display: inline-block;
  width: 0.24em;
  height: 0.24em;
  margin-left: 0.06em;
  border-radius: 50%;
}

.stap p {
  margin-top: 0.75rem;
  color: var(--tekst2);
}

.stap {
  padding-top: 1.5rem;
  border-top: 2px solid var(--lijn);
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 2rem;
}

.kaart svg {
  width: 40px;
  height: 40px;
  color: var(--navy);
}

.kaart h3 {
  margin-top: 1.25rem;
}

.kaart p {
  margin-top: 0.75rem;
  color: var(--tekst2);
}

.kaart .kleurstreep {
  display: block;
  width: 32px;
  height: 5px;
  border-radius: 5px;
  margin-top: 1.5rem;
}

.samen {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--wit);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.samen p {
  color: var(--tekst2-d);
}

.samen strong {
  color: var(--wit);
}

@media (max-width: 40rem) {
  .samen {
    grid-template-columns: 1fr;
  }
}

/* Waarom */
.waarom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 52rem) {
  .waarom {
    grid-template-columns: 1fr;
  }
}

.waarom li {
  padding-left: 1.5rem;
  border-left: 2px solid var(--lijn-d);
}

.waarom h3 {
  color: var(--wit);
}

.waarom p {
  margin-top: 0.5rem;
  color: var(--tekst2-d);
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 3rem;
}

@media (max-width: 56rem) {
  .team {
    grid-template-columns: 1fr;
    max-width: 30rem;
  }
}

.persoon {
  display: flex;
  flex-direction: column;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
}

.foto {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  border-bottom: 1px solid var(--lijn);
  color: var(--tekst2);
  font-size: 0.875rem;
  font-weight: 500;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persoon .inhoud {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.persoon .rol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tekst2);
}

.persoon .rol::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kleur, var(--navy));
}

.persoon p {
  color: var(--tekst2);
}

.persoon .linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: auto;
  font-weight: 500;
}

.persoon svg {
  width: 20px;
  height: 20px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 52rem) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.gegevens {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.gegevens div {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
}

.gegevens dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tekst2);
}

.gegevens dd {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  word-break: break-word;
}

.gegevens a {
  color: var(--navy);
}

.gegevens a:hover {
  color: var(--blauw);
}

/* Footer */
.voet {
  padding: 3.5rem 0 2.5rem;
}

.voet .boven {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--lijn-d);
}

.voet .nt-lockup {
  font-size: 44px;
}

.voet nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.voet nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--wit);
  text-decoration: none;
}

.voet nav a:hover {
  text-decoration: underline;
}

.voet .onder {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--tekst2-d);
}

.voet .onder p + p {
  margin: 0;
}

/* Placeholder-markering: zichtbaar zodat niets ongemerkt live gaat */
.ph {
  background: #fff3cd;
  color: #5c4400;
  border-radius: 4px;
  padding: 0 0.25em;
}

.donker .ph {
  background: #5c4400;
  color: #fff3cd;
}

/* ---------- Contactformulier ---------- */

.formulier {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
}

.formulier h3 {
  font-size: 1.375rem;
}

.formulier .veld {
  display: grid;
  gap: 0.35rem;
}

.formulier label {
  font-weight: 500;
}

.formulier .optioneel {
  font-weight: 400;
  color: var(--tekst2);
}

.formulier input,
.formulier textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #b9c1cf;
  border-radius: 10px;
  background: var(--wit);
  font: inherit;
  color: var(--navy);
}

.formulier textarea {
  resize: vertical;
  min-height: 8rem;
}

.formulier input:focus,
.formulier textarea:focus {
  outline: none;
  border-color: var(--blauw);
  box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.25);
}

.formulier .knop {
  justify-self: start;
}

.formulier .knop:disabled {
  opacity: 0.7;
  cursor: default;
}

.formulier .privacy {
  font-size: 0.9375rem;
  color: var(--tekst2);
}

.formulier .melding {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #e6f0f6;
  color: var(--navy);
}

.formulier .melding.fout {
  background: #fdece8;
  color: #9e2f17;
}

/* honeypot: onzichtbaar voor mensen, wel ingevuld door spambots */
.honing {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact .gegevens {
  margin-top: 2rem;
}
