/* ==========================================================
   Kompas in Vertrouwen – stylesheet
   Kleuren afgeleid van de infographic: salie, mos, goud, warm wit.
   ========================================================== */

:root {
  --wit:        #f8f6f0;   /* warm wit – achtergrond */
  --zand:       #ece6d6;   /* licht zand – getinte secties */
  --salie:      #8da08a;   /* salie-groen – iconen, accenten */
  --mos:        #4f6650;   /* mosgroen – koppen, knoppen */
  --mos-donker: #34473a;   /* donkergroen – donkere sectie */
  --goud:       #b5955a;   /* zacht goud – naald, highlights */
  --inkt:       #2f3a31;   /* tekstkleur */
  --inkt-zacht: #5c685d;   /* secundaire tekst */
  --lijn:       #d9d2c0;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --maat: 1120px;
  --radius: 6px;
  --overgang: 220ms ease;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--mos);
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 500; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--mos); text-decoration-color: var(--goud); text-underline-offset: 3px; }
a:hover { color: var(--mos-donker); }

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

.wrap { width: min(var(--maat), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--mos); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--overgang), color var(--overgang), border-color var(--overgang);
}
.btn-primary { background: var(--mos); color: #fff; border-color: var(--mos); }
.btn-primary:hover { background: var(--mos-donker); border-color: var(--mos-donker); color: #fff; }
.btn-ghost { background: transparent; color: var(--mos); border-color: var(--mos); }
.btn-ghost:hover { background: rgba(79,102,80,.08); }
.btn-light { background: var(--wit); color: var(--mos-donker); border-color: var(--wit); }
.btn-light:hover { background: #fff; }

.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,246,240,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600;
  color: var(--mos); text-decoration: none; white-space: nowrap;
}
.brand-mark { width: 30px; height: 30px; color: var(--mos); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--inkt);
  padding: .3rem 0; border-bottom: 2px solid transparent;
  transition: border-color var(--overgang), color var(--overgang);
}
.site-nav a:hover { color: var(--mos); border-bottom-color: var(--goud); }
.site-nav .nav-cta {
  background: var(--mos); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; border: 0;
}
.site-nav .nav-cta:hover { background: var(--mos-donker); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--mos); transition: transform var(--overgang), opacity var(--overgang); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse at 85% 30%, rgba(141,160,138,.22), transparent 55%),
    linear-gradient(180deg, var(--wit) 0%, #f3efe4 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-intro {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--goud);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 15ch; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.15rem; max-width: 56ch; color: var(--inkt-zacht); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--inkt-zacht); font-style: italic; }

.hero-visual { display: flex; justify-content: center; }
.compass { width: min(100%, 420px); height: auto; overflow: visible; }
.compass .needle { transform-origin: 200px 200px; animation: zoekRichting 2.8s cubic-bezier(.3,.7,.2,1) both; }
.compass .rose { transform-origin: 200px 200px; animation: roseIn 1.6s ease both; }
.compass .cardinals, .compass .ticks { animation: fadeIn 1.4s ease .4s both; }

@keyframes zoekRichting {
  0%   { transform: rotate(-140deg); }
  55%  { transform: rotate(18deg); }
  78%  { transform: rotate(-7deg); }
  100% { transform: rotate(0deg); }
}
@keyframes roseIn { from { opacity: 0; transform: scale(.85); } to { opacity: .9; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Quote band ---------- */
.band { background: var(--mos); color: var(--wit); padding: 2.2rem 0; text-align: center; }
.band-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; margin: 0;
}
.band-quote em { color: #e9d8b1; font-style: italic; }

/* ---------- Secties ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--zand); }
.section-dark { background: var(--mos-donker); color: var(--wit); }
.section-dark h2, .section-dark h3 { color: var(--wit); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { font-size: 1.12rem; color: var(--inkt-zacht); }
.section-tint .section-head p { color: var(--inkt); }

/* ---------- Voor wie ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.who svg { width: 44px; height: 44px; color: var(--salie); margin-bottom: 1rem; }
.who h3 { font-size: 1.45rem; }
.who p { color: var(--inkt-zacht); margin: 0; }

/* ---------- Aanbod ---------- */
.offer-list { display: grid; gap: 1.5rem; }
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.offer-text p:first-of-type { color: var(--inkt-zacht); }
.offer-aside { border-left: 2px solid var(--goud); padding-left: 1.4rem; align-self: start; }
.offer-aside h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--goud); margin-bottom: .6rem; }
.offer-aside p { margin: 0; color: var(--inkt-zacht); }
.offer-aside--soft { border-left-color: var(--salie); }

.checklist, .themes { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li, .themes li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--salie);
}
.themes li { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--mos); }
.themes li::before { content: "—"; position: absolute; left: 0; color: var(--goud); font-style: normal; }

.path { list-style: none; padding: 0; margin: 0; counter-reset: pad; }
.path li { display: grid; gap: .1rem; margin-bottom: 1rem; padding-left: 2rem; position: relative; }
.path li::before {
  counter-increment: pad; content: counter(pad);
  position: absolute; left: 0; top: .15rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--goud); color: #fff; font-size: .8rem; font-weight: 700;
  display: grid; place-items: center;
}
.path strong { font-weight: 700; }
.path span { color: var(--inkt-zacht); font-size: .95rem; }

/* ---------- Werkwijze ---------- */
.steps {
  list-style: none; padding: 0; margin: 0 0 3.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 1.6rem;
  border-top: 1.5px dashed var(--salie); opacity: .6;
}
.step { position: relative; }
.step-num {
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--wit); border: 2px solid var(--mos); color: var(--mos);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  margin-bottom: 1.1rem; position: relative; z-index: 1;
}
.step h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.step p { color: var(--inkt-zacht); margin: 0; }

.values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  border-top: 1px solid var(--lijn); padding-top: 2.5rem;
}
.value h4 { color: var(--goud); font-size: 1.3rem; margin-bottom: .2rem; }
.value p { margin: 0; color: var(--inkt-zacht); }

/* ---------- Werkboek ---------- */
.kompas-inner {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.kompas-figure { margin: 0; }
.kompas-figure img { border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.kompas-text p { color: #d7dccf; font-size: 1.1rem; }
.kompas-parts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; margin: 2rem 0;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.6rem;
}
.kompas-parts dt { font-family: var(--serif); font-size: 1.35rem; color: #e9d8b1; }
.kompas-parts dd { margin: 0; color: #d7dccf; font-size: .98rem; }

/* ---------- Over mij ---------- */
.over-inner {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.portrait-placeholder {
  aspect-ratio: 4 / 5; border-radius: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(181,149,90,.25), transparent 50%),
    linear-gradient(160deg, #dfe4d8, var(--salie));
  display: grid; place-items: center;
  color: var(--mos-donker); font-family: var(--serif); font-size: 1.4rem; font-style: italic;
}
.lede { font-family: var(--serif); font-size: 1.5rem; color: var(--mos); line-height: 1.4; }
.over-text p { color: var(--inkt-zacht); }
.over-text .lede { color: var(--mos); }
.over-quote {
  font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--mos) !important;
  border-left: 2px solid var(--goud); padding-left: 1.2rem; margin-top: 1.6rem;
}

/* ---------- Samenwerking ---------- */
.partners {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem 1.5rem;
}
.partners li {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: .8rem 1rem; font-weight: 600; color: var(--mos);
}
.partners-cta { max-width: 62ch; margin: 0; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.contact-text p { color: var(--inkt-zacht); max-width: 48ch; }
.contact-details { font-style: normal; margin-top: 2rem; }
.contact-details p { display: grid; grid-template-columns: 6rem 1fr; gap: .5rem; margin-bottom: .6rem; color: var(--inkt); }
.contact-details .label { font-weight: 700; color: var(--goud); }
.contact-details a { text-decoration: none; font-weight: 600; }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: var(--zand); border-radius: 12px; padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--inkt-zacht); }
.field input, .field textarea {
  font: inherit; color: var(--inkt);
  padding: .75rem .9rem; border: 1.5px solid var(--lijn); border-radius: var(--radius);
  background: var(--wit); width: 100%;
  transition: border-color var(--overgang);
}
.field input:focus, .field textarea:focus { border-color: var(--mos); outline: none; box-shadow: 0 0 0 3px rgba(79,102,80,.18); }
.field textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .92rem; color: var(--inkt-zacht); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mos-donker); color: #c9d0c3; padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1rem; }
.footer-brand { display: grid; gap: .1rem; }
.footer-brand strong { font-family: var(--serif); font-size: 1.5rem; color: var(--wit); font-weight: 600; }
.footer-brand span { font-size: .95rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #e9d8b1; margin: .5rem 0; }
.footer-meta { font-size: .9rem; margin: 0; }
.footer-meta a { color: #c9d0c3; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .cols-3, .steps, .values, .partners { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .hero-inner, .kompas-inner, .over-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .compass { width: min(70%, 320px); }
  .kompas-figure { max-width: 520px; }
  .over-portrait { max-width: 320px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wit); border-bottom: 1px solid var(--lijn);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--lijn); }
  .site-nav .nav-cta { margin-top: .8rem; text-align: center; }
  .offer { grid-template-columns: 1fr; }
  .offer-aside { border-left: 0; border-top: 2px solid var(--goud); padding-left: 0; padding-top: 1.2rem; }
  .offer-aside--soft { border-top-color: var(--salie); }
}

@media (max-width: 560px) {
  .cols-3, .steps, .values, .partners, .kompas-parts { grid-template-columns: 1fr; }
  .brand span { font-size: 1.2rem; }
  .contact-details p { grid-template-columns: 1fr; gap: 0; }
}
