/* =========================================================
   Praktijk Marjo Vellekoop — huisstijl
   ========================================================= */

:root {
  --bg:        #f7f5f0;
  --surface:   #ffffff;
  --tint:      #eef2e8;
  --ink:       #2e332c;
  --muted:     #6b7268;
  --line:      #e5e1d7;
  --green:     #5c7c4f;
  --green-dark:#435c38;
  --green-tint:#7fa06f;
  --shadow:    0 1px 2px rgba(46,51,44,.04), 0 8px 24px rgba(46,51,44,.06);
  --radius:    14px;
  --wrap:      1120px;
  --ease:      cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 {
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--tint); color: var(--green-dark); }
.nav a[aria-current="page"] { color: var(--green-dark); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px;
  background: var(--green); border-radius: 2px;
}

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: " ›"; opacity: .5; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
  min-width: 240px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s var(--ease);
}
.has-sub:hover .sub, .has-sub:focus-within .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub a { font-size: 14.5px; padding: 9px 12px; }

/* mobile toggle */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; margin: -8px; color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 360px; display: flex; align-items: center;
  color: #fff; text-align: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,38,25,.35) 0%, rgba(29,38,25,.55) 100%);
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero .wrap { position: relative; z-index: 1; padding-block: 72px; }
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .3em;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero p {
  max-width: 620px; margin-inline: auto; margin-bottom: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
}
.hero--tall { min-height: 460px; }

/* page header photo (no text) */
.pagehead { position: relative; overflow: hidden; height: clamp(220px, 34vw, 340px); }
.pagehead > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* page title above the content */
.page-title {
  text-align: center; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0;
}
.page-title + .divider { margin-top: 16px; margin-bottom: 4px; }
.title-block { margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- Sections ---------- */
section { padding-block: clamp(48px, 7vw, 88px); }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); text-transform: uppercase; letter-spacing: .04em; }
.split h2 { text-transform: uppercase; letter-spacing: .04em; }
.card h3 { text-transform: uppercase; letter-spacing: .03em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.section-head .divider + p { margin-top: 26px; }
.divider { width: 56px; height: 3px; background: var(--green); border: 0; border-radius: 2px; margin: 18px auto 0; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(46,51,44,.05), 0 18px 40px rgba(46,51,44,.10);
  border-color: #d7d2c4;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--tint); color: var(--green-dark);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .98rem; flex-grow: 1; }
.card .more {
  margin-top: 8px; font-weight: 600; font-size: .95rem; color: var(--green-dark);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more::after { content: "→"; transition: transform .2s var(--ease); }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .media { order: 2; }
.split .media img { box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.split .kicker {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.split p:last-of-type { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 0; border: 0; cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--green-dark);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Article (long content pages) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem,3vw,2rem); margin-top: 1.8em; scroll-margin-top: 96px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.2rem; margin-top: 1.6em; color: var(--green-dark); }
.article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article .lead { font-size: 1.2rem; color: var(--muted); }
.service-block { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 48px; }
.service-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }

/* ---------- Info / anchor list on service page ---------- */
.jump {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 760px; margin: 0 auto;
}
.jump a {
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}
.jump a:hover { border-color: var(--green); color: var(--green-dark); background: var(--tint); }

/* ---------- Contact / tarieven ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,56px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px;
  background: var(--tint); color: var(--green-dark); display: grid; place-items: center;
}
.info-list .ico svg { width: 20px; height: 20px; }
.info-list .label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.info-list .val { display: block; }
.info-list .val { font-size: 1.05rem; }
.info-list .val a { color: var(--ink); }
.info-list .val a:hover { color: var(--green-dark); }
.info-note { font-size: .9rem; color: var(--muted); }

.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.price-card .price-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.price-card .price-row:last-child { border-bottom: 0; }
.price-row .name { font-weight: 600; }
.price-row .amount { color: var(--green-dark); font-weight: 600; white-space: nowrap; text-align: right; }
.price-row .unit { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); white-space: normal; margin-top: 2px; }

/* ---------- Notice ---------- */
.notice {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--green); border-radius: 12px;
  padding: 18px 22px; box-shadow: var(--shadow);
}
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; font-weight: 600; color: var(--green-dark); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--green); color: #fff; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 560px; margin-inline: auto; }
.cta .btn { background: #fff; color: var(--green-dark); }
.cta .btn:hover { background: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.footer-simple {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-simple .flogo { height: 54px; margin: 0; }
.footer-simple a { font-size: .95rem; }
@media (max-width: 600px) { .footer-simple { flex-direction: column; text-align: center; } }

.site-footer { background: #2c332a; color: #cdd3c6; padding-block: 40px; }
.site-footer a { color: #dfe4d7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { height: 54px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer .muted { color: #96a08c; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .85rem; color: #96a08c;
}
.footer-bottom .lvsc { height: 40px; opacity: .9; }
.footer-brand .flogo { margin-bottom: 14px; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--tint); color: var(--green-dark);
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.socials--on-dark a { background: rgba(255,255,255,.1); color: #dfe4d7; }
.socials--on-dark a:hover { background: var(--green); color: #fff; }
.socials--center { justify-content: center; margin-top: 26px; }

/* ---------- Portrait (Marjo) ---------- */
.portrait { max-width: 420px; margin: 0 auto clamp(28px, 4vw, 40px); }
.portrait img { width: 100%; box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .22s var(--ease); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav a[aria-current="page"]::after { display: none; }
  .has-sub > a::after { display: none; }
  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 0 0 0 6px; min-width: 0;
  }
  .sub a { padding: 8px 10px; color: var(--muted); }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
