/* ------------------------------------------------------------------
   Haak mediation & coaching — opmaak voor de hele site.
   Kleuren, letters en maten staan hieronder onder :root.
   ------------------------------------------------------------------ */

:root {
  --marine:  #003676;   /* blauw uit het logo */
  --diep:    #0b1e3d;   /* diepblauw voor titelbalk en voet */
  --nacht:   #131136;   /* donkerblauw uit de oude kopbalk */
  --rood:    #c10736;   /* rood uit het logo */
  --inkt:    #22262e;   /* lopende tekst */
  --grijs:   #5d6672;   /* bijschrift, voettekst */
  --lijn:    #d8dde4;   /* haarlijnen */
  --vlak:    #f4f6f9;   /* lichte vlakken */
  --papier:  #ffffff;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans:  "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Geen vaste maximumbreedte: de regels lopen door tot de rand van het
     scherm. Wil je toch een bovengrens, zet hier bijvoorbeeld 74rem. */
  --breedte: none;
  --marge: clamp(1.25rem, 5vw, 5rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  line-height: 1.65;
}

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

a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rood); }

:focus-visible { outline: 2px solid var(--rood); outline-offset: 3px; }

.overslaan { position: absolute; left: -9999px; }
.overslaan:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--diep); color: #fff; padding: 0.6rem 1rem;
}

/* ------------------------------------------------------------- kop */

.kop { border-bottom: 1px solid var(--lijn); }

.kop-binnen {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 1.6rem var(--marge) 1.3rem;
}

/* Het rode accent uit het oude ontwerp, nu als streep onder de kop,
   uitgelijnd met het logo. */
.kop-binnen::after {
  content: "";
  position: absolute;
  left: var(--marge);
  bottom: -1px;
  width: 6.5rem;
  height: 3px;
  background: var(--rood);
}

.merk img { width: 15rem; height: auto; }

.menuknop {
  display: none;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--lijn);
  background: none;
  color: var(--marine);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}
.menuknop:hover { border-color: var(--rood); color: var(--rood); }

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(0.9rem, 2vw, 1.7rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  color: var(--marine);
  font-size: 0.97rem;
  text-decoration: none;
}
.menu a:hover { border-bottom-color: var(--rood); color: var(--rood); }
.menu a[aria-current="page"] { color: var(--rood); border-bottom-color: var(--rood); }

/* ------------------------------------------------------------ romp */

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--breedte);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.4rem) var(--marge) clamp(3rem, 6vw, 4.5rem);
}

h1, h2 { font-family: var(--serif); font-weight: normal; color: var(--marine); }

/* ------------------------------------------------------- titelbalk */

.titelbalk {
  position: relative;
  overflow: hidden;
  background: var(--diep);
  border-bottom: 3px solid var(--rood);
}

.titelbalk-binnen {
  position: relative;
  max-width: var(--breedte);
  margin: 0 auto;
  padding: clamp(1.7rem, 4vw, 2.6rem) var(--marge);
}

.titelbalk h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.4rem);
  line-height: 1.15;
}

/* De boog uit het logo: rood dat opkomt en overgaat in blauw. */
.boog {
  position: absolute;
  top: 0;
  right: 0;
  width: min(28rem, 55%);
  height: 100%;
  fill: none;
  stroke-linecap: round;
}
.boog-rood  { stroke: var(--rood); stroke-width: 7; opacity: 0.55; }
.boog-blauw { stroke: #2f5da0; stroke-width: 7; opacity: 0.7; }

h2 {
  margin: 2.6rem 0 0.8rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--rood);
  font-size: 1.35rem;
}
article > *:first-child { margin-top: 0; }

p { margin: 0 0 1.15rem; }

.lead { font-size: 1.15em; }

.verder { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.verder a {
  display: inline-block;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--rood);
  color: var(--rood);
  text-decoration: none;
}
.verder a:hover { background: var(--rood); color: #fff; }

/* --------------------------------------------------------- contact */

.adres {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.4rem;
  border-left: 3px solid var(--rood);
  background: var(--vlak);
  font-style: normal;
  line-height: 1.8;
}
.adres .naam { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--marine); }

/* ----------------------------------------------------- achtergrond */

.met-portret {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 2.6rem);
}
.met-portret .portret { flex: 0 0 14.5rem; }
.met-portret .portret img { width: 100%; border: 1px solid var(--lijn); }
.met-portret .portret-tekst { flex: 1 1 24rem; min-width: 0; }
.met-portret .portret-tekst p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ voet */

.voet {
  border-top: 3px solid var(--rood);
  background: var(--diep);
  color: #b8c4d6;
  font-size: 0.9rem;
}
.voet a { color: #fff; }
.voet a:hover { color: var(--rood); }

.voet-binnen {
  max-width: var(--breedte);
  margin: 0 auto;
  padding: 2rem var(--marge) 2.4rem;
}

.voet p { margin: 0 0 0.9rem; }
.voet-contact { color: #fff; }
.voet-rechten { font-size: 0.82rem; line-height: 1.6; margin-bottom: 0; opacity: 0.75; }

/* ------------------------------------------------------ smal scherm */

@media (max-width: 48rem) {
  .menuknop { display: block; }
  .menu { display: none; flex-basis: 100%; }
  .menu.open { display: block; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { padding: 0.55rem 0; border-bottom: 1px solid var(--lijn); }
  .menu a[aria-current="page"] { border-bottom-color: var(--rood); }
  .merk img { width: 12rem; }
}

@media (max-width: 34rem) {
  .boog { width: 45%; opacity: 0.75; }
}

@media (prefers-reduced-motion: no-preference) {
  .menu a, .verder a, .menuknop { transition: color .2s, border-color .2s, background-color .2s; }
}
