/* ==========================================================================
   Heleen Hollenberg Regressiepraktijk - stijlen
   Opbouw:
     1. Variabelen (kleuren en lettertypes)   5. Kaarten, tekst en iconen
     2. Basis                                 6. Pagina-specifieke onderdelen
     3. Kop / navigatie / hero                7. Voettekst
     4. Lay-out (containers, rasters)         8. Mobiel (responsive)
   ========================================================================== */


/* ---------- 1. VARIABELEN: pas hier kleuren en lettertypes centraal aan ---------- */
:root {
  /* Aardetinten voor kop en voet */
  --sand: #e7dccf;          /* achtergrond kop en voet */
  --sand-line: #cebeaa;     /* randen in kop en voet */
  --sand-tab: #dccebd;      /* niet-actief tabblad */
  --sand-tab-hover: #d2c0ad;
  --brown-dark: #241710;    /* donkere tekst in kop en voet */
  --brown: #443329;
  --brown-soft: #5e4738;

  /* Neutrale tinten (pagina-inhoud) */
  --page: #fafaf9;
  --white: #ffffff;
  --grey-100: #f5f5f4;
  --grey-200: #e7e5e4;
  --grey-500: #78716c;
  --grey-600: #57534e;
  --grey-700: #44403c;
  --grey-900: #1c1917;

  /* Accentkleuren */
  --blue: #1e3a8a;
  --blue-light: #dbeafe;
  --amber: #d97706;
  --amber-dark: #92400e;
  --amber-light: #fef3c7;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --green-dark: #064e3b;
  --green: #047857;
  --green-light: #d1fae5;
  --green-bg: #ecfdf5;
  --green-border: #a7f3d0;

  --font-serif: "Cormorant Garamond", Georgia, Cambria, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}


/* ---------- 2. BASIS ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;          /* voettekst blijft onderaan bij korte pagina's */
  background: var(--page);
  color: var(--grey-700);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main { flex-grow: 1; }

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 600; }

/* Knoppen die als tekst/tab worden gebruikt: browserstijl verwijderen */
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

::selection { background: #fde68a; color: var(--grey-900); }


/* ---------- 3. KOP, NAVIGATIE EN HERO ---------- */
.site-header {
  position: sticky;                /* blijft bovenaan staan bij scrollen */
  top: 0;
  z-index: 40;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-line);
}

/* Logo + naam */
.brand, .brand-static {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.brand-logo {
  flex-shrink: 0;
  background: rgba(255, 255, 255, .95);
  padding: 5px;
  border: 1px solid var(--sand-line);
  border-radius: 12px;
  transition: transform .2s;
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-logo img { height: 56px; width: auto; object-fit: contain; }
.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brown-dark);
}
.brand-sub { display: block; font-size: .875rem; color: var(--brown-soft); }

/* Tabbladen: horizontaal scrollbaar op smalle schermen, scrollbalk verborgen */
.tabs { border-top: 1px solid var(--sand-line); padding-top: 4px; }
.tablist {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.tablist::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--brown);
  background: rgba(220, 206, 189, .7);
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  transition: background .15s, color .15s;
}
.tab:hover { color: var(--blue); background: var(--sand-tab-hover); border-color: var(--sand-line); }

/* Actief tabblad: wit, blauwe streep bovenaan, onderkant sluit aan op de pagina */
.tab[aria-selected="true"] {
  z-index: 1;
  color: var(--blue);
  font-weight: 600;
  background: var(--white);
  border-color: var(--sand-line);
}
.tab[aria-selected="true"]::before {   /* blauwe streep */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--blue);
  border-radius: 8px 8px 0 0;
}
.tab[aria-selected="true"]::after {    /* witte overlap over de onderrand */
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 4px;
  background: var(--white);
}

/* Hero: wolvenfoto over de volle breedte */
.hero { background: var(--grey-900); }
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 35%;
}
.hero-image::after {                   /* donkere gloed voor een zachte overgang */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent, rgba(0,0,0,.1));
  pointer-events: none;
}
.hero-caption {
  padding: 16px;
  text-align: center;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-line);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: .025em;
  color: var(--brown-dark);
}


/* ---------- 4. LAY-OUT ---------- */
.container      { max-width: 896px;  margin: 0 auto; padding: 0 32px; }   /* inhoud */
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 32px; }   /* kop en voet */

/* Secties: alleen de actieve is zichtbaar (klasse "active" zet script.js) */
.view { display: none; padding: 64px 0; }
.view.active { display: block; }

.page-header { text-align: center; margin-bottom: 48px; }
.divider { width: 64px; height: 4px; margin: 0 auto 24px; background: var(--amber); border-radius: 99px; }
.page-header .divider:last-child { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spaced-bottom { margin-bottom: 48px; }
.stack > * + * { margin-top: 16px; }


/* ---------- 5. KAARTEN, TEKST EN ICONEN ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  margin-bottom: 40px;
}
.card-lg { padding: 40px; }
.card-md { padding: 28px; border-radius: 12px; margin-bottom: 24px; }
.card-sm { padding: 24px; border-radius: 12px; margin-bottom: 0; }
.card-grey { background: var(--grey-100); }

/* Titels (serif) */
.title-xl { font-family: var(--font-serif); font-weight: 400; font-size: 3rem; letter-spacing: -.01em;
            color: var(--grey-900); text-transform: capitalize; margin-bottom: 16px; }
.title    { font-family: var(--font-serif); font-weight: 400; font-size: 2.25rem; color: var(--grey-900); margin-bottom: 16px; }
.section-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; color: var(--grey-900);
                 text-align: center; margin-bottom: 24px; }
.card-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; color: var(--grey-900); margin-bottom: 16px; }
.card-title.small { font-size: 1.25rem; }
.card-subtitle { font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem; color: var(--grey-900); margin-bottom: 8px; }
.ruled { border-bottom: 1px solid #f5f5f4; padding-bottom: 16px; margin-bottom: 24px; }

.intro { max-width: 672px; margin: 24px auto 0; font-size: 1.125rem; line-height: 1.65; color: var(--grey-600); }
.text-body  { line-height: 1.65; }
.text-small { font-size: .9375rem; line-height: 1.65; }
.text-xs    { font-size: .75rem; line-height: 1.65; color: var(--grey-600); }
.text-muted { font-size: .875rem; line-height: 1.65; color: var(--grey-600); }
.text-small + .text-small { margin-top: 12px; }

/* Links in de lopende tekst */
.text-small a, .text-body a { color: #92400e; font-weight: 500; text-decoration: underline; }
.text-small a:hover, .text-body a:hover { color: #78350f; }

/* Iconen uit de SVG-sprite bovenaan index.html */
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor;
        stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue  { color: #1d4ed8; }
.icon-amber { color: #b45309; }
.icon-green { color: var(--green); }
.icon-top   { margin-top: 4px; width: 24px; height: 24px; color: var(--amber-dark); }
.with-icon  { display: flex; align-items: center; gap: 12px; }
.with-icon.small { gap: 8px; }

.note { display: flex; gap: 16px; padding: 24px 32px; border-radius: 12px; border: 1px solid; }
.note-amber { background: var(--amber-bg); border-color: var(--amber-border); }
.note-green { background: var(--green-bg); border-color: var(--green-border); }
.note-grey  { background: var(--page); border-color: var(--grey-200); padding: 16px; margin-top: 24px; }


/* ---------- 6. PAGINA-SPECIFIEKE ONDERDELEN ---------- */

/* Welkom: link in lopende tekst */
.welcome-text { font-size: 1.25rem; line-height: 1.65; color: var(--grey-700); }
.inline-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; color: #1e40af;
  text-decoration: underline; text-decoration-color: #f59e0b; text-underline-offset: 4px;
}
.inline-link:hover { color: #1e3a8a; text-decoration-color: #b45309; }
.inline-link .icon { width: 16px; height: 16px; }

/* Regressietherapie: genummerde stappen en klachtenlijst */
.step-number { width: 32px; height: 32px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center;
               border-radius: 50%; font-family: var(--font-serif); font-weight: 700; }
.step-blue  { background: var(--blue-light);  color: #1e3a8a; }
.step-amber { background: var(--amber-light); color: var(--amber-dark); }
.step-green { background: var(--green-light); color: var(--green-dark); }
.card-sm .card-subtitle { font-size: 1.125rem; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; line-height: 1.65; }
.check-list .icon { margin-top: 2px; }

/* Over mijzelf */
.profile { display: flex; gap: 32px; align-items: flex-start; }
.profile-photo { flex: 0 0 320px; margin: 0; }
.profile-photo img { width: 100%; height: auto; border: 1px solid var(--grey-200); border-radius: 16px; }
.profile-photo figcaption { margin-top: 10px; text-align: center; font-size: .75rem; font-weight: 500; color: var(--grey-500); }
.profile-text { flex: 1; }

.bullet-list li { position: relative; padding-left: 20px; margin-top: 12px; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px;
                          border-radius: 50%; background: var(--amber); }
.card-title.small + .bullet-list { margin-top: 0; }

.logos { padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; margin-top: 40px; }
.logos a { padding: 12px; border-radius: 12px; transition: background .2s; }
.logos a:hover { background: var(--page); }
.logos img { width: auto; max-width: 170px; object-fit: contain; transition: transform .2s; }
.logos a:hover img { transform: scale(1.05); }

/* Casussen */
.case-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.case-btn { padding: 10px 16px; font-size: .875rem; font-weight: 500; border-radius: 8px;
            background: var(--white); color: var(--grey-700); border: 1px solid var(--grey-200); transition: background .15s; }
.case-btn:hover { background: var(--grey-100); }
.case-btn.active { background: #1e3a8a; color: var(--white); border-color: #1e3a8a; }

.case { display: none; }              /* alleen de gekozen casus is zichtbaar */
.case.active { display: block; }
.case-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; color: var(--grey-900);
              border-bottom: 1px solid #f5f5f4; padding-bottom: 16px; margin-bottom: 24px; }
.case-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
                font-family: var(--font-serif); font-weight: 500; font-size: 1rem; color: var(--grey-900); }
.case-heading.green { color: #022c22; }
.case-heading .icon { width: 16px; height: 16px; }
.case-text { padding-left: 16px; border-left: 2px solid var(--grey-200); color: var(--grey-600); line-height: 1.65; }
.case-text-amber { border-left-color: #fde68a; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-blue { background: #1d4ed8; }
.dot-amber { background: var(--amber); }
.note-green .text-small { color: #064e3b; font-size: .875rem; }
.note-green .text-small + .text-small { margin-top: 12px; }   /* alinea-afstand zoals de originele witregel */

/* Tarieven */
.price-block { border-top: 1px solid #f5f5f4; margin-top: 12px; padding-top: 1px; }
.price { font-family: var(--font-serif); font-weight: 600; font-size: 2.25rem; color: var(--grey-900); margin-bottom: 12px; }
.price-unit { font-family: var(--font-sans); font-weight: 400; font-size: .875rem; color: var(--grey-500); }
.grid-2 .card { margin-bottom: 0; }

/* Contact */
.contact-card { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 0; padding: 32px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; }
.info-row .icon { margin-top: 2px; }
.info-row strong { display: block; color: var(--grey-900); margin-bottom: 2px; }
.info-row a { text-decoration: none; font-weight: 500; }
.info-row a:hover { color: var(--blue); }
.hours { margin-top: 6px; }
.hours b { font-weight: 500; color: var(--grey-900); }
.hours span { display: block; color: var(--grey-600); }
.note-grey strong { display: block; color: var(--grey-700); margin-bottom: 4px; }

.button-row { display: flex; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #f5f5f4; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px;
       font-size: .875rem; font-weight: 500; text-decoration: none; border-radius: 8px; transition: background .15s; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { flex: 1; background: #1e3a8a; color: var(--white); }
.btn-primary:hover { background: #1e40af; }
.btn-outline { border: 1px solid #d6d3d1; color: var(--grey-900); }
.btn-outline:hover { background: var(--page); }

/* Klachten en privacy */
.disc-list { list-style: disc; padding-left: 20px; }
.disc-list li + li { margin-top: 8px; }


/* ---------- 7. VOETTEKST ---------- */
.site-footer { background: var(--sand); color: var(--brown); border-top: 1px solid var(--sand-line); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-static { padding: 0 0 16px; }
.footer-brand .brand-name { font-size: 1.125rem; }
.footer-brand .brand-sub { font-size: .75rem; font-weight: 500; }
.footer-brand p { max-width: 448px; font-size: .875rem; line-height: 1.65; }
.site-footer h4 { margin-bottom: 16px; font-size: .75rem; font-weight: 700; text-transform: uppercase;
                  letter-spacing: .05em; color: var(--brown-dark); }
.footer-links li + li { margin-top: 8px; }
.footer-links button, .footer-contact a { font-size: .875rem; font-weight: 500; color: var(--brown); text-decoration: none; }
.footer-links button:hover, .footer-contact a:hover { color: var(--blue); }
.footer-contact { font-size: .875rem; }
.footer-contact p + p { margin-top: 8px; }
.footer-contact a { font-weight: 400; word-break: break-all; }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--sand-line);
             font-size: .75rem; color: var(--brown-soft); text-align: center; }


/* ---------- 8. MOBIEL (RESPONSIVE) ---------- */
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 16px; }
  .view { padding: 40px 0; }

  .brand-logo img { height: 48px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .75rem; }
  .tab { padding: 10px 16px; font-size: .75rem; }

  .hero-image img { height: 256px; }
  .hero-caption { font-size: 1rem; }

  .title-xl { font-size: 2.25rem; }
  .title { font-size: 1.875rem; }
  .card-lg { padding: 24px; }
  .welcome-text { font-size: 1.125rem; }

  /* Rasters worden één kolom */
  .grid-2, .grid-3, .check-list, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 .card-sm + .card-sm { margin-top: 0; }
  .grid-3 { gap: 16px; }

  .profile { flex-direction: column; align-items: center; }
  .profile-photo { flex-basis: auto; width: 100%; max-width: 320px; }
  .logos { gap: 24px; padding: 20px; }
  .button-row { flex-direction: column; }
}

/* Respecteer de instelling "minder beweging" van het besturingssysteem */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
