/* Ragini PaardenPsycholoog — site styles
   Palette "avondrood", type: Raleway (self-hosted, see fonts.css). */

:root {
  --bordeaux: #5B1A2B;
  --bordeaux-diep: #47121F;
  --oudroze: #C9837F;
  --perzik: #F6D9C6;
  --roomroze: #FCF1EB;
  --papier: #FFF9F5;
  --oranje: #C4531F;
  --oranje-donker: #A94416;
  --tekst: #2B1A1E;
  --tekst-zacht: #5A4347;
  --op-donker: #FCF1EB;
  --op-donker-zacht: #EBC4BD;
  --lijn: #E8CFC4;
  --lijn-perzik: #DDB7A3;
  --lijn-donker: #7A3344;
  --cijfer: #B86B66;
  --jaar: #A85550;
  --fout: #A01E1E;
  --rand-veld: #9A7F78;
  --zijmarge: 32px;
}

/* ---------- Basis ---------- */

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

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

body {
  margin: 0;
  background: var(--roomroze);
  color: var(--tekst);
  font-family: Raleway, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

h1 {
  font-size: clamp(34px, 3.9vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bordeaux);
  text-wrap: balance;
}

h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }

a { color: var(--bordeaux); text-underline-offset: 0.25em; }
a:hover { color: var(--oranje); }

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

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 10;
  padding: 10px 16px; border-radius: 6px;
  background: #FFFFFF; color: var(--bordeaux); font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin-inline: auto; }

.lead { font-size: 19px; line-height: 1.6; }
.zacht { color: var(--tekst-zacht); }
.klein { font-size: 15px; }
.h2-klein { font-size: clamp(26px, 2.6vw, 36px); }

/* Vertical rhythm inside a text column */
.flow > * + * { margin-top: 22px; }

/* ---------- Donkere vlakken (kop, hero, afsluiting, voet) ---------- */

.donker { background: var(--bordeaux); color: var(--op-donker); }
.donker h2 { color: inherit; }
.donker a { color: var(--op-donker); }
.donker a:hover { color: var(--perzik); }
.donker :focus-visible { outline-color: var(--perzik); }
.donker .zacht { color: var(--op-donker-zacht); }

/* ---------- Knoppen en links ---------- */

.btn {
  display: inline-flex; align-items: center;
  min-height: 56px; padding: 0 32px;
  border: 0; border-radius: 999px;
  background: var(--oranje); color: #FFFFFF;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover, .donker .btn:hover { background: var(--oranje-donker); color: #FFFFFF; }
.donker .btn { color: #FFFFFF; }

.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

.acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Sitekop ---------- */

.topbar {
  background: var(--bordeaux-diep); color: var(--op-donker-zacht);
  font-size: 14px; line-height: 1.5; text-align: center;
  padding: 9px var(--zijmarge);
}

.site-header { padding: 0 var(--zijmarge); }
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 6px 32px; padding: 18px 0;
}

.brand {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  font-size: clamp(17px, 4.6vw, 20px); font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none;
}
.brand img { width: 46px; height: 42px; object-fit: contain; flex: none; }

.nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px;
  margin-left: -2px; font-size: 15px; font-weight: 500;
}
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .nav__knop { padding: 0 15px; border: 1.5px solid currentColor; border-radius: 999px; }
.nav .nav__knop[aria-current="page"] { text-decoration: none; background: var(--op-donker); color: var(--bordeaux); border-color: var(--op-donker); }

/* ---------- Hero (home) ---------- */

.hero { padding: 48px var(--zijmarge) 40px; }
.hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.hero__tekst { flex: 1.4 1 480px; min-width: 0; }
.hero__tekst > * + * { margin-top: 28px; }
.hero__tekst .lead { max-width: 540px; }
.hero__foto {
  flex: 1 1 340px; min-width: 0; width: 100%; height: 500px;
  object-fit: cover; border-radius: 6px;
}

/* The line from tension to calm, with a pulse that keeps travelling along it */
.hartslag { position: relative; height: 90px; margin-top: 44px; }
.hartslag svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hartslag__basis { opacity: 0.5; }
.hartslag__puls {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 78%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 78%, #000 92%, transparent 100%);
  -webkit-mask-size: 26% 100%; mask-size: 26% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: puls 5.5s linear infinite;
}
@keyframes puls {
  from { -webkit-mask-position: -36% 0; mask-position: -36% 0; }
  to { -webkit-mask-position: 136% 0; mask-position: 136% 0; }
}

/* ---------- Paginakop (subpagina's) ---------- */

.paginakop { padding: 40px var(--zijmarge) 72px; }
.paginakop .wrap > * + * { margin-top: 22px; }
.paginakop h1 { max-width: 820px; }
.paginakop .lead { max-width: 640px; }
.paginakop--foto .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.paginakop--foto .wrap > * + * { margin-top: 0; }
.paginakop--foto .paginakop__tekst { flex: 1.4 1 480px; min-width: 0; }
.paginakop--foto .paginakop__tekst > * + * { margin-top: 24px; }
.paginakop--foto .paginakop__tekst p { max-width: 600px; }
.paginakop--foto .foto { flex: 1 1 340px; min-width: 0; }

.ankers { display: flex; flex-wrap: wrap; gap: 0 28px; }
.ankers a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Secties en indeling ---------- */

.section { padding: 104px var(--zijmarge); }
.section--papier { background: var(--papier); }
.section--perzik { background: var(--perzik); }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 48px 96px; align-items: start;
}
.split--midden { align-items: center; }

.foto { width: 100%; height: var(--h, auto); object-fit: cover; border-radius: 6px; }

.citaat { font-size: 23px; font-weight: 500; line-height: 1.35; color: var(--bordeaux); text-wrap: balance; }

/* ---------- Lijsten ---------- */

.regels > li { padding: 20px 0; border-top: 1px solid var(--lijn); }
.regels > li:last-child { border-bottom: 1px solid var(--lijn); }
.regels strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; }
.regels span { color: var(--tekst-zacht); }

.index > li { padding: 26px 0; border-top: 1px solid var(--lijn); }
.index > li:last-of-type { border-bottom: 1px solid var(--lijn); }
.index__kop {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 2px 24px; margin-bottom: 6px;
}
.index h3 { font-size: 23px; line-height: 1.25; }
.index h3 a { text-decoration: none; }
.index h3 a:hover { text-decoration: underline; }
.index p { font-size: 16px; }

.vinkjes > li { position: relative; padding-left: 36px; }
.vinkjes > li + li { margin-top: 10px; }
.vinkjes > li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4531F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.vinkjes--groot { font-size: 18px; }
.vinkjes--groot > li + li { margin-top: 14px; }

.stappen {
  counter-reset: stap;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 36px 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--lijn);
}
.stappen > li { counter-increment: stap; }
.stappen > li::before {
  content: counter(stap); display: block; margin-bottom: 10px;
  font-size: 52px; font-weight: 300; line-height: 1; color: var(--cijfer);
}
.stappen h3 { margin-bottom: 10px; }
.stappen p { font-size: 16px; color: var(--tekst-zacht); }

.verhalen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 56px; margin: 48px 0;
}
.verhalen article { padding-top: 24px; border-top: 1px solid var(--lijn-perzik); }
.verhalen h3 { margin-bottom: 12px; font-size: 22px; color: var(--bordeaux); }
.verhalen p { font-size: 16px; }
.verhalen p + p { margin-top: 12px; }

.tijdlijn {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 0 96px; margin-top: 40px;
}
.tijdlijn > li {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: baseline;
  padding: 20px 0; border-top: 1px solid var(--lijn-perzik);
}
.tijdlijn time { font-size: 21px; font-weight: 600; color: var(--jaar); }

/* ---------- Prijzen ---------- */

.prijzen { width: 100%; border-collapse: collapse; }
.prijzen caption {
  caption-side: top; padding-bottom: 12px; text-align: left;
  font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--bordeaux);
}
.prijzen tr { border-top: 1px solid var(--lijn); }
.prijzen tr:last-child { border-bottom: 1px solid var(--lijn); }
.prijzen th { padding: 14px 16px 14px 0; text-align: left; font-weight: 400; }
.prijzen td { padding: 14px 0; text-align: right; font-weight: 600; white-space: nowrap; }
.prijzen-groep > * + * { margin-top: 52px; }

.weetjes > * + * { margin-top: 36px; }
.weetjes h2 { margin-bottom: 6px; font-size: 19px; line-height: 1.3; letter-spacing: 0; color: inherit; }

/* ---------- Contact ---------- */

.gegevens > div {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--lijn);
}
.gegevens > div:last-child { border-bottom: 1px solid var(--lijn); }
.gegevens dt { color: var(--tekst-zacht); }
.gegevens a { font-weight: 600; overflow-wrap: anywhere; }

.veld label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.veld label span { font-weight: 400; color: var(--tekst-zacht); }
.veld input, .veld textarea {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 1px solid var(--rand-veld); border-radius: 8px;
  background: #FFFFFF; color: inherit; font: inherit;
}
.veld textarea { padding: 14px 16px; resize: vertical; }
.veld [aria-invalid="true"] { border-color: var(--fout); border-width: 2px; }
.veld__fout { margin-top: 6px; font-size: 15px; color: var(--fout); }
.veld-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px 20px; }
.lokveld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.melding { padding: 18px 22px; border-radius: 8px; border: 1px solid; }
.melding--goed { background: var(--perzik); border-color: var(--lijn-perzik); color: var(--bordeaux); }
.melding--fout { background: #FBE4E0; border-color: #E2A9A2; color: var(--fout); }

/* ---------- Tekstpagina's (ervaringen, voorwaarden) ---------- */

.tekst { max-width: 760px; }
.tekst > * + * { margin-top: 20px; }
.tekst ul { list-style: disc; padding-left: 22px; }
.tekst ul > li + li { margin-top: 10px; }

.recensies { max-width: 800px; }
.recensies > article { padding: 40px 0; border-top: 1px solid var(--lijn); }
.recensies > article:first-child { padding-top: 0; border-top: 0; }
.recensies h2 { margin-bottom: 16px; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.recensies blockquote p + p { margin-top: 14px; }
.recensies footer { margin-top: 14px; font-size: 15px; color: var(--tekst-zacht); }

/* ---------- Afsluiting ---------- */

.afsluiting { padding: 72px var(--zijmarge) 88px; }
.golf { display: block; width: 100%; height: 30px; margin-bottom: 40px; }
.afsluiting__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.afsluiting__tekst { flex: 1 1 460px; min-width: 0; }
.afsluiting h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; }
.afsluiting p { max-width: 560px; margin-top: 16px; font-size: 18px; }

/* ---------- Sitevoet ---------- */

.site-footer { padding: 0 var(--zijmarge); font-size: 16px; line-height: 1.6; }
.site-footer__in { padding: 56px 0 28px; border-top: 1px solid var(--lijn-donker); }
.site-footer__kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 36px 48px; }
.site-footer__merk { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; line-height: 1.2; }
.site-footer__merk img { width: 46px; height: 42px; object-fit: contain; flex: none; }
.site-footer__motto { margin-top: 14px; font-style: italic; color: var(--op-donker-zacht); }
.site-footer h2 { margin-bottom: 4px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--op-donker-zacht); }
.site-footer li > * { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.site-footer li > a:hover { text-decoration: underline; }
.site-footer__onder {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  margin-top: 40px; font-size: 14px; color: var(--op-donker-zacht);
}
.site-footer__onder a { color: inherit; }

/* ---------- Kleine schermen ---------- */

@media (max-width: 700px) {
  :root { --zijmarge: 20px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 28px 28px; }
  .hero__foto { height: min(500px, 105vw); }
  .hartslag { height: 64px; margin-top: 32px; }
  .paginakop { padding-block: 24px 52px; }
  .afsluiting { padding-block: 56px 64px; }
  .split { gap: 40px; }
  .foto { height: min(var(--h, auto), 110vw); }
  .gegevens > div { grid-template-columns: 1fr; gap: 2px; }
  .tijdlijn > li { grid-template-columns: 64px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hartslag__puls { animation: none; -webkit-mask-image: none; mask-image: none; }
}

@media print {
  .topbar, .nav, .hartslag, .afsluiting, .skip { display: none; }
  .donker { background: none; color: inherit; }
}
