/* ===================================================================
   Het Nazoekteam — stylesheet
   Kleuren afgeleid van het logo: donkergroen, goudgeel, zwart.
   =================================================================== */

:root {
  --groen: #3a5a2e;
  --groen-donker: #273f1f;
  --groen-licht: #4c7440;
  --goud: #cdb84a;
  --goud-donker: #b5a232;
  --inkt: #22271f;
  --grijs: #5f6459;
  --lijn: #e3e1d6;
  --bg: #f7f6f1;
  --wit: #ffffff;
  --schaduw: 0 2px 6px rgba(34, 39, 31, 0.08), 0 12px 32px rgba(34, 39, 31, 0.10);
  --radius: 14px;
  --font-kop: "Rokkitt", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-tekst: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-tekst);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-kop); line-height: 1.15; font-weight: 700; }

a { color: var(--groen); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--inkt);
}

.brand img { height: 52px; width: auto; }

.brand-naam {
  font-family: var(--font-kop);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav { margin-left: auto; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--inkt);
  transition: background-color 0.15s, color 0.15s;
}

.site-nav a:hover { background: #eef0e6; }

.site-nav a.actief {
  background: var(--groen);
  color: var(--wit);
}

/* Hamburger (mobiel) */
.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--inkt);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 760px) {
  .brand-naam { font-size: 1.2rem; }
  .nav-toggle-label { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
    display: none;
    box-shadow: var(--schaduw);
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    gap: 0.35rem;
  }

  .nav-toggle:checked ~ .site-nav { display: block; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 520px;
  padding: 4.5rem 1.25rem;
  background:
    linear-gradient(rgba(24, 34, 18, 0.55), rgba(24, 34, 18, 0.72)),
    url("../img/hero.jpg") center 35% / cover no-repeat;
  color: var(--wit);
}

.hero-logo {
  width: 148px;
  height: 148px;
  padding: 10px;
  background: var(--wit);
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  margin-top: 1.4rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero p.tagline {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  max-width: 34ch;
  margin: 0.6rem auto 0;
  color: #f0eeda;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero > div { width: 100%; max-width: 760px; }

.hero-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 520px) {
  .knop { padding: 0.75rem 1.2rem; font-size: 0.95rem; }

  .hero-acties .knop {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Kleinere hero voor subpagina's */
.hero.hero-klein { min-height: 300px; padding: 3rem 1.25rem; }
.hero.hero-klein h1 { margin-top: 0; }

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

.knop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background-color 0.15s;
}

.knop:hover { transform: translateY(-1px); }

.knop-goud {
  background: var(--goud);
  color: var(--groen-donker);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.knop-goud:hover { background: #d8c65e; }

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

.knop-groen:hover { background: var(--groen-licht); }

.knop-omlijnd {
  background: transparent;
  color: var(--wit);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.knop-omlijnd:hover { background: rgba(255, 255, 255, 0.12); }

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

.sectie { padding: 4.5rem 0; }

.sectie-kop {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 2.75rem;
}

.sectie-kop h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--groen-donker);
}

.sectie-kop h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--goud);
  margin: 0.8rem auto 0;
}

.sectie-kop p { margin-top: 1rem; color: var(--grijs); }

.intro-tekst {
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
  font-size: 1.15rem;
}

/* Kernwaarden-kaarten */
.kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--goud);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 1px 3px rgba(34, 39, 31, 0.06);
}

.kaart h3 {
  font-size: 1.35rem;
  color: var(--groen-donker);
  margin-bottom: 0.5rem;
}

.kaart p { color: var(--grijs); font-size: 1rem; }

/* Fotostrook */
.fotostrook { padding: 0; }

.fotostrook img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}

.fotostrook figcaption {
  text-align: center;
  color: var(--grijs);
  font-size: 0.95rem;
  margin-top: 0.7rem;
}

/* CTA-strook */
.cta-strook {
  background:
    linear-gradient(rgba(31, 46, 22, 0.88), rgba(31, 46, 22, 0.88)),
    url("../img/nazoek-winter.png") center / cover no-repeat;
  color: var(--wit);
  text-align: center;
  padding: 4rem 1.25rem;
}

.cta-strook h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.cta-strook p {
  color: #e8e5cf;
  max-width: 55ch;
  margin: 0.8rem auto 0;
}

.cta-strook .hero-acties { margin-top: 1.8rem; }

/* ------------------------------------------------------------------ */
/* Teampagina                                                          */
/* ------------------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}

.teamlid {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(34, 39, 31, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.teamlid:hover {
  transform: translateY(-3px);
  box-shadow: var(--schaduw);
}

.teamlid-foto {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: #eceadf;
}

.teamlid-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.teamlid-foto.logo-placeholder {
  display: grid;
  place-items: center;
}

.teamlid-foto.logo-placeholder img {
  width: 62%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.teamlid-info {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.teamlid-info h3 {
  font-size: 1.3rem;
  color: var(--groen-donker);
}

.hond {
  display: inline-block;
  align-self: flex-start;
  background: #f2eecf;
  color: #6f6117;
  border: 1px solid #e2d98f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.teamlid-info .plaats { color: var(--grijs); font-size: 0.95rem; }

.teamlid-info a {
  color: var(--groen);
  text-decoration: none;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.teamlid-info a:hover { text-decoration: underline; }

.niet-beschikbaar {
  color: var(--grijs);
  font-style: italic;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Contactpagina                                                       */
/* ------------------------------------------------------------------ */

.contact-indeling {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-indeling { grid-template-columns: 1fr; }
}

.contact-info-kaart {
  background: var(--groen-donker);
  color: var(--wit);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--schaduw);
}

.contact-info-kaart h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.contact-info-kaart p { color: #d9d6c0; }

.centraal-nummer {
  display: block;
  font-family: var(--font-kop);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--goud);
  text-decoration: none;
  margin: 0.9rem 0 1.4rem;
}

.centraal-nummer:hover { color: #ddca62; }

.contact-info-kaart ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.3rem;
}

.contact-info-kaart ul a { color: var(--wit); }

/* Formulier */
.formulier {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 1px 3px rgba(34, 39, 31, 0.06);
}

.veld { margin-bottom: 1.2rem; }

.veld label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.veld label span.verplicht { color: #a33; }

.veld input,
.veld textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--inkt);
  background: var(--bg);
  border: 1px solid #d5d3c6;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.veld input:focus,
.veld textarea:focus {
  outline: none;
  border-color: var(--groen);
  box-shadow: 0 0 0 3px rgba(58, 90, 46, 0.15);
}

.veld textarea { min-height: 150px; resize: vertical; }

/* Honeypot: onzichtbaar voor mensen */
.veld-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
}

.form-status.ok {
  display: block;
  background: #e7f0e2;
  color: #2c521f;
  border: 1px solid #bcd4ae;
}

.form-status.fout {
  display: block;
  background: #f7e7e5;
  color: #7c2d24;
  border: 1px solid #e3b8b1;
}

/* ------------------------------------------------------------------ */
/* Cookiebanner en -voorkeuren                                         */
/* ------------------------------------------------------------------ */

.knop-wit {
  background: var(--wit);
  color: var(--inkt);
  border: 1px solid #cfcdc0;
}

.knop-wit:hover { background: #f1efe6; }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 200;
  max-width: 460px;
  margin-left: auto;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--goud);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  box-shadow: 0 10px 40px rgba(34, 39, 31, 0.30);
}

.cookie-banner h2 {
  font-size: 1.4rem;
  color: var(--groen-donker);
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: 0.95rem;
  color: var(--grijs);
}

.cookie-keuzes {
  display: grid;
  gap: 0.6rem;
  margin: 1.1rem 0 1.3rem;
}

.schakelaar-rij {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}

.schakelaar-tekst { line-height: 1.35; }
.schakelaar-tekst small { display: block; color: var(--grijs); font-size: 0.8rem; }

/* Schuifknop (toggle) */
.schakelaar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 27px;
}

.schakelaar input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.schuifje {
  position: absolute;
  inset: 0;
  background: #cfcdc0;
  border-radius: 999px;
  transition: background-color 0.2s;
  pointer-events: none;
}

.schuifje::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  background: var(--wit);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.schakelaar input:checked + .schuifje { background: var(--groen); }
.schakelaar input:checked + .schuifje::before { transform: translateX(21px); }
.schakelaar input:disabled + .schuifje { background: var(--groen-licht); opacity: 0.7; }
.schakelaar input:focus-visible + .schuifje { box-shadow: 0 0 0 3px rgba(58, 90, 46, 0.35); }

.cookie-knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-knoppen .knop {
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .cookie-banner { right: 0.6rem; bottom: 0.6rem; left: 0.6rem; padding: 1.2rem 1.1rem; }
  .cookie-knoppen .knop { flex-basis: 100%; }
}

/* Voorkeurenpaneel op de cookiepagina */
.cookie-paneel {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-top: 4px solid var(--goud);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 1px 3px rgba(34, 39, 31, 0.06);
}

.voorkeur-status {
  margin-top: 0.9rem;
  font-weight: 600;
  color: var(--groen-donker);
  min-height: 1.5em;
}

.cookie-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-tabel th,
.cookie-tabel td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--lijn);
  vertical-align: top;
}

.cookie-tabel th {
  background: var(--groen-donker);
  color: var(--wit);
  font-weight: 700;
}

.cookie-tabel tr:last-child td { border-bottom: 0; }

.tabel-scroll { overflow-x: auto; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  background: var(--groen-donker);
  color: #cfccb6;
  margin-top: 4.5rem;
  padding: 3rem 0 2rem;
}

.site-footer .footer-inhoud {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  height: 64px;
  background: var(--wit);
  border-radius: 50%;
  padding: 4px;
}

.footer-brand strong {
  font-family: var(--font-kop);
  font-size: 1.3rem;
  color: var(--wit);
  display: block;
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

.site-footer a { color: #e8e5cf; text-decoration: none; }
.site-footer a:hover { color: var(--goud); }

.footer-onder {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.3rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
