/* ============================================
   Welzijnsvoorziening Echo — gedeelde stijl
   Kleuren en lettertypes pas je hier centraal aan.
   ============================================ */

:root {
  --blauw: #1f5fa8;       /* hoofdkleur, zoals het logo */
  --blauw-diep: #133e70;  /* donkerder blauw, voor footer */
  --inkt: #182433;        /* tekstkleur */
  --room: #fdfaf1;        /* warme lichte achtergrond */
  --zand: #faf0d2;        /* zachtgele vlakken, zoals de folder */
  --zon: #f2b832;         /* geel accent, spaarzaam gebruikt */
  --wit: #ffffff;
  --lijn: rgba(31, 95, 168, 0.18);

  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--inkt);
  background: var(--room);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

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

.wrap {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ---------- Navigatie ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--room) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

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

.merk-bol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blauw);
  color: var(--wit);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.merk-naam {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.merk-naam small {
  display: block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blauw);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--inkt);
  font-weight: 500;
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--zon);
}

/* ---------- Knoppen ---------- */
.knop {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--blauw);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

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

.knop-vol:hover { background: var(--blauw-diep); }

.knop-licht {
  background: transparent;
  color: var(--blauw);
}

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

/* ---------- Hero met echo-ringen ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
}

.hero-ringen {
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner { position: relative; max-width: 640px; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blauw);
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.3rem;
}

h1 em {
  font-style: normal;
  color: var(--blauw);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-knoppen { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Secties ---------- */
section { padding: 4.5rem 0; }

.sectie-kop {
  max-width: 40rem;
  margin-bottom: 2.8rem;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

/* ---------- Werking: drie pijlers ---------- */
.pijlers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.pijler {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pijler:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(31, 95, 168, 0.10);
}

.pijler h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.9rem 0 0.5rem;
}

.ring-icoon { width: 44px; height: 44px; }

/* ---------- Waarden: het woord ECHO ---------- */
.waarden-sectie { background: var(--zand); }

.waarden {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.waarde {
  background: var(--wit);
  border-radius: 18px;
  padding: 1.7rem 1.5rem 1.5rem;
}

.waarde-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--blauw);
  color: var(--wit);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}

.waarde h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.waarde p { font-size: 0.98rem; }

/* ---------- Aanmelding: stappen ---------- */
.stappen {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  counter-reset: stap;
}

.stappen li {
  counter-increment: stap;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
  position: relative;
}

.stappen li::before {
  content: counter(stap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blauw);
  color: var(--wit);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.stappen strong { display: block; margin-bottom: 0.3rem; }

/* ---------- Missieband ---------- */
.missie {
  background: var(--blauw);
  color: var(--wit);
  text-align: center;
}

.missie blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 46rem;
  margin-inline: auto;
}

.missie .accent { color: var(--zon); }

/* ---------- CTA ---------- */
.cta-blok {
  text-align: center;
  padding-bottom: 5.5rem;
}

.cta-blok p { max-width: 34rem; margin: 0 auto 1.6rem; }

/* ---------- Contactpagina ---------- */
.pagina-kop {
  padding: 4rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  padding-bottom: 1rem;
}

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

.contact-kaart h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0.9rem 0 0.6rem;
}

.contact-kaart a { font-weight: 600; }

.kaart-blok {
  background: var(--zand);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  margin: 2.5rem 0 4rem;
}

.kaart-blok h3 {
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.kaart-blok ul {
  margin: 0.6rem 0 0 1.2rem;
}

/* ---------- Footer ---------- */
footer {
  background: var(--blauw-diep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

footer a { color: var(--wit); }

.footer-merk {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--wit);
}

.footer-klein {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.2rem;
}

/* ---------- Animatie van de echo-ringen ---------- */
@keyframes echo-puls {
  0%   { transform: scale(0.96); opacity: 0.9; }
  50%  { transform: scale(1.03); opacity: 0.5; }
  100% { transform: scale(0.96); opacity: 0.9; }
}

.hero-ringen svg { animation: echo-puls 7s ease-in-out infinite; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  .hero-ringen svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Toegankelijkheid ---------- */
a:focus-visible, .knop:focus-visible {
  outline: 3px solid var(--zon);
  outline-offset: 3px;
}

/* ---------- Mobiel ---------- */
@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3.5rem; }
  .hero-ringen { display: none; }
  section { padding: 3.2rem 0; }
  .nav-links { gap: 1rem; font-size: 0.95rem; }
  .merk-naam small { display: none; }
}

/* ============================================
   FOTO-UITBREIDING — hero-foto, fotostrook,
   gebouwfiguur en kaart-embed
   ============================================ */

/* Hero met foto rechts (boogvorm, zoals de folder) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero-foto {
  position: relative;
  justify-self: end;
}

.hero-foto img {
  width: min(420px, 100%);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 18px 44px rgba(31, 95, 168, 0.22);
}

/* Gebouwfiguur */
.figuur { margin: 2.6rem 0 0; }

.figuur img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(31, 95, 168, 0.14);
}

.figuur figcaption {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--blauw);
  font-weight: 500;
}

/* Fotostrook vrije tijd */
.galerij {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.galerij figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(31, 95, 168, 0.12);
}

.galerij img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.galerij figure:hover img { transform: scale(1.04); }

.galerij figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wit);
  background: linear-gradient(transparent, rgba(16, 42, 74, 0.75));
}

/* Google Maps-kader */
.map-embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--lijn);
  box-shadow: 0 10px 26px rgba(31, 95, 168, 0.10);
  margin-top: 1.6rem;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Gebouwbanner op contactpagina */
.gebouw-banner img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(31, 95, 168, 0.14);
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-foto { justify-self: center; }
  .hero-foto img { width: min(340px, 88vw); aspect-ratio: 4 / 4.2; }
  .galerij img { height: 200px; }
  .map-embed iframe { height: 300px; }
}

/* ============================================
   FOOTER-LOGO, COOKIEBANNER & PRIVACYPAGINA
   ============================================ */

.footer-logo {
  background: var(--wit);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  align-self: center;
}

.footer-logo img {
  width: 170px;
  height: auto;
  display: block;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  width: min(680px, 94%);
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 42, 74, 0.25);
  padding: 1.1rem 1.3rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  z-index: 100;
}

.cookie-banner p { font-size: 0.95rem; margin: 0; }

.cookie-knop { white-space: nowrap; padding: 0.6rem 1.2rem; }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Kaart-placeholder vóór toestemming */
.map-placeholder {
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--zand);
  text-align: center;
  padding: 1.5rem;
}

.map-placeholder p { max-width: 28rem; font-size: 0.95rem; }

@media (max-width: 800px) {
  .map-placeholder { height: 300px; }
}

/* Privacypagina */
.privacy-inhoud h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
}

.privacy-inhoud p { margin-bottom: 0.9rem; }

.privacy-datum {
  margin-top: 2.4rem;
  font-size: 0.9rem;
  color: var(--blauw);
}
