/* ==========================================================================
   edwinbaints.nl — stylesheet
   Licht, klinisch, ruimtelijk. Witruimte scheidt, geen kleurblokken.
   DM Sans, lichte gewichten. Teal spaarzaam als accent.
   ========================================================================== */

:root {
  --teal:        #006064;
  --teal-hover:  #004f53;
  --dark-teal:   #002F31;   /* alleen hero + footer */
  --tint:        #F5FAFA;   /* subtiele licht-tint, max. één sectie per pagina */
  --sig:         #E0F2F2;   /* signature-cijfers */
  --near-white:  #FEFEFE;
  --tekst:       #1A1A1A;
  --tekst-sub:   #555555;
  --lijn:        #ECEFEF;

  --max: 1080px;
  --tekst-max: 720px;
  --radius: 8px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tekst);
  background: var(--near-white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typografie ---------- */
h1 {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark-teal);
  margin: 0 0 0.5em;
}
h2 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark-teal);
  margin: 0 0 0.5em;
}
h3, h4 {
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark-teal);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.3em; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); text-decoration: underline; }

strong { font-weight: 600; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.narrow { max-width: var(--tekst-max); }

/* Secties gescheiden door witruimte, niet door achtergrondkleur. */
.sectie { padding: 6rem 0; }

/* De enige toegestane achtergrond-uitzondering: subtiele licht-tint. */
.sectie--tint { background: var(--tint); }

/* Accentsectie (bv. NTIS): geen aparte achtergrond, subtiele teal linkerborder. */
.sectie--accent .container {
  border-left: 4px solid #006064;
  padding-left: 2rem;
}
@media (max-width: 560px) {
  .sectie--accent .container { padding-left: 1.5rem; }
}

/* Donkere sectie (#002F31) — alleen hero en afsluitende CTA. */
.sectie--dark {
  background: var(--dark-teal);
  color: var(--near-white);
}
.sectie--dark h1,
.sectie--dark h2,
.sectie--dark h3 { color: var(--near-white); }
.sectie--dark a { color: var(--sig); }

/* ---------- Hero (dark teal — enige donkere blok naast footer) ---------- */
.hero {
  background: var(--dark-teal);
  color: var(--near-white);
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  color: var(--near-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0.35em;
}
.hero .lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  max-width: 30ch;
  color: rgba(254, 254, 254, 0.85);
}
.hero .eyebrow { color: var(--sig); }
.hero .knop { margin-top: 1rem; }

.hero__media { justify-self: end; width: 100%; }
.hero__foto {
  width: 100%;
  max-width: 360px;
  max-height: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  margin-left: auto;
  border-radius: var(--radius);
  background: rgba(224, 242, 242, 0.06);
}
/* Ronde/ovale hero-foto met teal rand */
.hero__foto--rond {
  aspect-ratio: 1 / 1;
  max-width: 340px;
  border-radius: 50%;
  border: 3px solid #006064;
  background: transparent;
}

/* Hero met foto links, tekst rechts */
.hero--media-left .hero__inner { grid-template-columns: 1fr 1.4fr; }
.hero--media-left .hero__media { order: -1; justify-self: start; }
.hero--media-left .hero__foto { margin-left: 0; margin-right: auto; }
@media (max-width: 820px) {
  .hero--media-left .hero__inner { grid-template-columns: 1fr; }
  .hero--media-left .hero__media {
    display: block;
    justify-self: center;
    margin-bottom: 1.75rem;
  }
  .hero--media-left .hero__foto { margin: 0 auto; }
}

/* Placeholder voor een nog te leveren hero-visual */
.hero__placeholder {
  max-width: 480px;
  margin-left: auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(224, 242, 242, 0.35);
  border-radius: var(--radius);
  color: rgba(254, 254, 254, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Transparante hero-visual (loopt naadloos over in de dark-teal achtergrond) */
.hero__visual {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-left: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { display: none; }
  .hero__visual { margin: 2rem auto 0; }
}

/* ---------- Kleine tekstelementen ---------- */
.lead { font-size: 1.2rem; font-weight: 400; color: var(--tekst-sub); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1rem;
}

/* Grote cursieve kernzin — het teal accent van de sectie. */
.groot-cursief {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  line-height: 1.3;
  color: var(--teal);
  margin: 0.4em 0 0.8em;
}
.hero .groot-cursief { color: var(--sig); }

/* ---------- Buttons ---------- */
.knop {
  display: inline-block;
  background: var(--teal);
  color: var(--near-white);
  font-weight: 500;
  font-size: 1.02rem;
  padding: 0.85rem 1.9rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.knop:hover { background: var(--teal-hover); color: var(--near-white); text-decoration: none; }
.knop--licht {
  color: #FEFEFE !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}
.knop--licht:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FEFEFE !important;
}

.knop-sub {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--tekst-sub);
}
.hero .knop-sub { color: rgba(254, 254, 254, 0.7); }

/* ---------- Navigatie (wit, subtiele border, geen schaduw) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--near-white);
  border-bottom: 1px solid var(--lijn);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.nav__brand {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.nav__brand:hover { color: var(--teal); text-decoration: none; }

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

.nav__links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--tekst-sub);
  font-weight: 400;
  font-size: 0.98rem;
}
.nav__links a:hover { color: var(--teal); text-decoration: none; }
.nav__links a.actief { color: var(--teal); }

.nav__cta {
  background: var(--teal);
  color: var(--near-white) !important;
  font-weight: 500;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--teal-hover); text-decoration: none; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav__toggle { display: block; order: 3; }
  .nav__right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--near-white);
    border-bottom: 1px solid var(--lijn);
    padding: 0.5rem 1.5rem 1.25rem;
    display: none;
  }
  .nav__right.open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { padding: 0.75rem 0; border-bottom: 1px solid var(--lijn); }
  .nav__cta { text-align: center; margin-top: 0.85rem; }
}

/* ---------- Herken-lijst (teal streepjes = sectie-accent) ---------- */
.check-lijst { list-style: none; margin: 0; padding: 0; }
.check-lijst li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  font-size: 1.2rem;
  font-weight: 400;
}
.check-lijst li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 20px;
  height: 2px;
  background: var(--teal);
}

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--sig);
  padding: 0.1rem 0 0.1rem 1.5rem;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--dark-teal);
  margin: 2.5rem 0 0;
}
.quote cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tekst-sub);
  margin-top: 0.7rem;
}

/* ---------- Grid & kaarten ---------- */
.grid { display: grid; gap: 1.75rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.kaart {
  background: var(--near-white);
  border: 0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.kaart h3 { margin-top: 0; }
.kaart p:last-child { margin-bottom: 0; }

/* Signature: grote lichte cijfers achter de koptekst */
.stap { position: relative; overflow: hidden; padding-top: 3rem; }
.stap__num {
  position: absolute;
  top: 0.6rem;
  left: 1.4rem;
  font-size: 6rem;
  font-weight: 200;
  line-height: 1;
  color: var(--sig);
  letter-spacing: -0.03em;
  z-index: 0;
  pointer-events: none;
}
.stap h3, .stap p { position: relative; z-index: 1; }

/* Testimonials — groot teal aanhalingsteken als accent */
.testimonial { position: relative; padding-top: 3rem; }
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 1.4rem;
  left: 1.6rem;
  font-size: 5rem;
  line-height: 0;
  color: var(--sig);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.testimonial p {
  position: relative;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}
.testimonial .naam { font-weight: 600; color: var(--teal); }
.testimonial .aandoening {
  color: var(--tekst-sub);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trajectkaart met prijs (teal = accent) */
.traject { display: flex; flex-direction: column; }
.traject__prijs {
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0.1rem 0 1rem;
}
.traject ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.traject ul li { margin-bottom: 0.4rem; }
.traject .merk {
  font-style: italic;
  color: var(--tekst-sub);
  margin-top: auto;
  padding-top: 1rem;
}

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }

/* Foto naast tekst (zweeft rechts, tekst loopt eromheen) */
.prose-foto {
  float: right;
  width: 300px;
  max-width: 40%;
  height: auto;
  margin: 0.3rem 0 1.5rem 2rem;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Tekst + foto naast elkaar (twee kolommen desktop, gestapeld mobiel) */
.tekst-foto {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tekst-foto__tekst > :first-child { margin-top: 0; }
.tekst-foto__media img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 820px) {
  .tekst-foto { grid-template-columns: 1fr; }
}

/* Gecentreerde, schone inline-afbeelding (geen border, geen schaduw) */
.beeld-midden {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem auto;
  border: 0;
  box-shadow: none;
}

/* Volledige figuur met bijschrift */
.figuur { margin: 2.5rem 0; }
.figuur img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}
.figuur figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--tekst-sub);
  font-style: italic;
}

@media (max-width: 640px) {
  .prose-foto {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
  }
}

/* ---------- MijnDiad widget ---------- */
.md-wrap {
  background: var(--near-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.25rem;
  min-height: 200px;
}

/* ---------- Footer (dark teal) ---------- */
.site-footer {
  background: var(--dark-teal);
  color: rgba(254, 254, 254, 0.82);
  border-top: 3px solid var(--teal);
  padding: 5rem 0 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.site-footer h4 { color: var(--near-white); font-weight: 500; font-size: 1rem; margin: 0 0 0.7rem; }
.site-footer a { color: var(--near-white); }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(254, 254, 254, 0.55);
}
.site-footer address { font-style: normal; line-height: 1.9; }

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Specifieke foto's ---------- */
/* Loopfoto (Dam tot Damloop) — bovenkant uitlijnen zodat het hoofd niet wegvalt */
img[src="foto-edwin-loopt.jpg"] {
  object-fit: cover;
  object-position: top center;
}

/* ---------- Modal / pop-up ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 31, 33, 0.6);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--near-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal__box h2 { margin-top: 0; }
.modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.85rem;
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--tekst-sub);
  cursor: pointer;
}
.modal__close:hover { color: var(--teal); }

/* Tijdelijke plek voor de Mailblue embed-code */
.mailblue-embed {
  margin-top: 1rem;
}
.mailblue-embed .placeholder {
  border: 1px dashed var(--lijn);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--tekst-sub);
  font-size: 0.9rem;
}

/* ---------- Mini ronde foto (bv. bij 'Wie is Edwin') ---------- */
.mini-foto {
  float: right;
  width: 120px;
  margin: 0.2rem 0 1rem 1.5rem;
  text-align: center;
}
.mini-foto img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #E0F2F2;
  object-fit: cover;
  object-position: top center;
}
.mini-foto figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--tekst-sub);
  line-height: 1.3;
}
.mini-foto--links {
  float: left;
  margin: 0.2rem 1.5rem 1rem 0;
}
@media (max-width: 520px) {
  .mini-foto,
  .mini-foto--links { float: none; margin: 0 auto 1.25rem; }
}

/* ---------- Casus-kaarten (sterker accent) ---------- */
.casus {
  border-left: 3px solid #006064;
  padding: 1.9rem 2.2rem;
}

/* ---------- Footer-logo's ---------- */
.footer__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.25rem;
}
.footer__logos img {
  height: 44px;          /* ~32px logo + witruimte binnen de chip */
  width: auto;
  box-sizing: border-box;
  background: #FEFEFE;
  padding: 6px 10px;
  border-radius: 4px;
}

/* ---------- Mailblue / ActiveCampaign formulier (huisstijl-knop) ---------- */
#_form_3_ ._submit {
  background: #006064 !important;
  border-radius: 4px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1rem !important;
  padding: 12px 24px !important;
}

#_form_3_ ._submit:hover {
  background: #004f53 !important;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2.5rem; }
.max-btn { text-align: center; margin-top: 3rem; }
