/* Logopediepraktijk Mill — onepager
   Geen externe fonts of libraries: alles lokaal, geen tracking. */

:root {
  --petrol:      #0F5C63;
  --petrol-dark: #0A3E44;
  --ink:         #173F4F;
  --body:        #43606A;
  --teal:        #17999B;
  --mint:        #EAF6F4;
  --mint-deep:   #D3EBE7;
  --cream:       #FFF7EE;
  --coral:       #F2704F;
  --coral-soft:  #FFE3DA;
  --sun:         #F7C14B;
  --sun-soft:    #FFF0CC;
  --lilac:       #E5E2F7;
  --white:       #fff;

  --radius:      18px;
  --radius-lg:   30px;
  --shadow:      0 14px 40px -22px rgba(15, 62, 68, .45);
  --shadow-soft: 0 6px 22px -14px rgba(15, 62, 68, .5);

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; border-radius: 8px; }

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

/* ── Knoppen & kleine elementen ────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 22px -14px rgba(242, 112, 79, .95);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -14px rgba(242, 112, 79, .95); }
.btn--sm    { padding: .55rem 1.05rem; font-size: .93rem; }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn--sun   { background: var(--sun); color: var(--petrol-dark); box-shadow: 0 10px 22px -14px rgba(247, 193, 75, .95); }
.btn--outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, .45); box-shadow: none;
  overflow-wrap: anywhere;
}
.btn--outline:hover { background: rgba(255, 255, 255, .1); }

.eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .6rem;
}
.eyebrow--light { color: var(--sun); }

.txtlink {
  color: var(--petrol);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid var(--sun);
  padding-bottom: 1px;
}
.txtlink:hover { border-bottom-color: var(--coral); }
.txtlink--light { color: #fff; border-bottom-color: var(--sun); }

.mark {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(transparent 62%, var(--sun-soft) 62%, var(--sun-soft) 94%, transparent 94%);
}

.lead { font-size: 1.13rem; }

/* ── Topbalk ───────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.topbar.is-stuck { box-shadow: 0 6px 24px -20px rgba(15, 62, 68, .9); border-bottom-color: var(--mint-deep); }

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

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { color: var(--petrol); display: block; }
.brand__mark svg { display: block; }
.brand__txt strong { display: block; color: var(--ink); font-size: 1.04rem; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; }
.brand__txt small  { display: block; color: var(--teal); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; color: var(--body); font-size: .96rem; font-weight: 550;
  padding: .3rem 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a.is-active { color: var(--ink); border-bottom-color: var(--coral); }
/* wint van de generieke .nav a-regel hierboven */
.nav a.nav__cta { color: #fff; border-bottom: 0; padding: .58rem 1.3rem; margin-left: .35rem; }
.nav a.nav__cta:hover { color: #fff; }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: var(--mint); cursor: pointer;
  padding: 0;
  transition: background .2s ease;
}
.burger:hover { background: var(--mint-deep); }
.burger span {
  position: absolute;
  left: 50%; top: calc(50% - 1px);
  width: 20px; height: 2px; margin-left: -10px;
  background: var(--ink); border-radius: 2px;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .12s ease .06s;
}
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }

.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); transition-delay: 0s; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--mint) 0%, #F4FBF9 55%, var(--cream) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(5rem, 9vw, 7rem);
}

.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.blob--1 { width: 320px; height: 320px; background: var(--coral-soft); top: -90px; right: -70px; }
.blob--2 { width: 240px; height: 240px; background: var(--sun-soft); bottom: 40px; left: -110px; opacity: .8; }
.blob--3 { width: 190px; height: 190px; background: var(--lilac); bottom: -40px; left: 46%; opacity: .45; }

.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.hero__txt .lead { max-width: 48ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  list-style: none; margin: 2rem 0 0; padding: 0;
  font-size: .95rem; color: var(--petrol);
}
.hero__facts li { position: relative; padding-left: 1.5rem; }
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 1.9rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.card-photo {
  width: 148px; height: 148px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint);
  box-shadow: 0 0 0 6px var(--mint), 0 0 0 8px var(--mint-deep);
}
/* uitsnede op het gezicht; werkt voor elk formaat portretfoto */
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }

.card-photo__name  { font-weight: 700; color: var(--ink); font-size: 1.15rem; margin: 0; }
.card-photo__role  { color: var(--teal); font-size: .9rem; margin: .1rem 0 1rem; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; fill: var(--white); }

/* ── Secties ───────────────────────────────────────── */
.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec--mint  { background: var(--mint); }
.sec--cream { background: var(--cream); }
.sec--dark  { background: var(--petrol); color: rgba(255, 255, 255, .86); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark a { color: #fff; }

.sec__head { max-width: 46rem; margin-bottom: 2.6rem; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__intro { font-size: 1.06rem; margin-top: .8rem; }

.prose2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.2rem;
  max-width: 62rem;
}

/* ── Grids & tegels ────────────────────────────────── */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tile__ico {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  margin-bottom: 1rem;
}
.tile__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile__ico--a { background: var(--coral-soft); color: #C9502F; }
.tile__ico--b { background: var(--mint-deep); color: var(--petrol); }
.tile__ico--c { background: var(--sun-soft); color: #B0801A; }
.tile__ico--d { background: var(--lilac);    color: #57519A; }
.tile__ico--e { background: #DCEEF9;         color: #2A6F9B; }
.tile__ico--f { background: #E4F2DA;         color: #4C7A38; }

.tile ul { list-style: none; margin: 0; padding: 0; font-size: .96rem; }
.tile li { position: relative; padding-left: 1.15rem; margin-bottom: .42rem; }
.tile li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sun);
}

.panel {
  background: var(--white);
  border: 1px solid var(--mint-deep);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
}
.panel--plain { border-color: rgba(15, 92, 99, .12); }

/* ── Wanda ─────────────────────────────────────────── */
.wanda {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.wanda__media { position: relative; padding: 1.2rem 0 0 1.2rem; }
.portrait {
  position: relative; z-index: 1;
  width: min(100%, 280px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 46% 54% 50% 50% / 40% 40% 60% 60%;
  background: var(--mint-deep);
  box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__ring {
  position: absolute; top: 0; left: 0;
  width: min(100%, 280px); aspect-ratio: 4 / 5;
  border: 2px dashed var(--sun);
  border-radius: 46% 54% 50% 50% / 40% 40% 60% 60%;
}
.wanda__mail { margin-top: 1.4rem; }

/* ── Contact ───────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.contact__txt .lead { max-width: 44ch; }

.contact__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
}
.contact__card address { font-style: normal; margin-bottom: 1.3rem; }
.contact__card h3 { margin-top: 1.6rem; }

.deflist { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1.2rem; margin: 0 0 1.4rem; font-size: .97rem; }
.deflist dt { color: var(--sun); font-weight: 650; }
.deflist dd { margin: 0; overflow-wrap: anywhere; }
.deflist a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.deflist a:hover { border-bottom-color: var(--sun); }

/* ── Footer ────────────────────────────────────────── */
.footer { background: var(--white); padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.2rem; }
.footer__in { text-align: center; }

.keur__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.2rem 2.4rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--mint-deep);
}
.keur__logos img {
  height: 58px; width: auto;
  padding: .9rem 1.4rem;
  background: var(--mint);
  border-radius: 14px;
  box-sizing: content-box;
}
.keur__logos .keur__nvlf { height: 46px; }

.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1.8rem 0 1.2rem; }
.footer__nav a { color: var(--body); text-decoration: none; font-size: .94rem; }
.footer__nav a:hover { color: var(--petrol); text-decoration: underline; }

.footer__copy { font-size: .87rem; color: #8299A1; margin: 0; }

/* ── Scroll-reveal ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__in,
  .wanda,
  .contact { grid-template-columns: minmax(0, 1fr); }

  .hero__card { max-width: 340px; margin-inline: auto; }
  .hero__txt .lead { max-width: 54ch; }
  .wanda__media { display: grid; place-items: center; padding: 0; }
  .portrait__ring { display: none; }
  .prose2 { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .burger { display: block; }

  .nav {
    position: fixed; inset: 74px 0 auto;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mint-deep);
    box-shadow: var(--shadow);
    padding: .5rem 1.25rem 1.5rem;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--mint); }
  .nav ul a { display: block; padding: .95rem 0; border-bottom: 0; font-size: 1.05rem; }
  .nav a.nav__cta { display: block; text-align: center; margin: 1rem 0 0; padding: .9rem 1.2rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__facts { flex-direction: column; gap: .35rem; }
  .keur__logos img { height: 42px; padding: .7rem 1rem; }
  .keur__logos .keur__nvlf { height: 34px; }
  .deflist { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .deflist dd { margin-bottom: .7rem; }
}

@media (max-width: 360px) {
  .brand__txt strong { font-size: .95rem; }
  .brand__mark svg { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
