/* Wijzer psychotherapie & opleiding — stylesheet
   Ontwerptokens uit design-handoff/design_handoff_wijzer_website (README.md + Wijzer.dc.html),
   hier vertaald naar de eigen structuur van deze codebase (geen inline styles). */


:root {
    --ground: #f4f3f1;
    --surface: #ffffff;
    --footer-ground: #efeeec;

    --text: #201f1d;
    --text-body: #333130;
    --text-muted: #5c5955;
    --text-faint: #7d7a76;
    --text-faint-2: #8a8681;

    --divider: #e2dfda;
    --divider-card: #eeebe6;
    --placeholder-border: #cfcbc5;

    --brand-teal: #5a8583;
    --brand-teal-deep: #3f6a5d;
    --link-hover: #2c4f44;
    --brand-sage: #c8d8a8;

    --accent-tint: rgba(111, 156, 154, 0.12);
    --accent-tint-strong: rgba(111, 156, 154, 0.14);
    --selection: rgba(111, 156, 154, 0.28);

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-title: 'Hanken Grotesk', var(--font-heading);

    --max-width: 1120px;
    --gutter: 32px;
    --measure: 740px;
    --radius: 4px;
}

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

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

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

body {
    margin: 0;
    background: var(--ground);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
}

::selection { background: var(--selection); }

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

a {
    color: var(--brand-teal-deep);
    text-decoration: none;
}
a:hover { color: var(--link-hover); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 0.5em;
}
h1 { font-family: var(--font-title); font-size: clamp(38px, 5vw, 56px); font-weight: 600; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }

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

ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }

blockquote {
    margin: 1.5em 0;
    padding-left: 1.2em;
    border-left: 2px solid var(--brand-teal);
    font-style: italic;
    color: var(--text-muted);
}

address { font-style: normal; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.hairline {
    border: 0;
    border-top: 1px solid var(--divider);
    margin: 56px 0;
}

.measure { max-width: var(--measure); }

/* ---------------------------------------------------------------------
   Skip link (toegankelijkheid)
--------------------------------------------------------------------- */

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--text);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------
   Adminbalk (alleen zichtbaar op de front-end voor ingelogde beheerders)
--------------------------------------------------------------------- */

.admin-bar {
    position: sticky;
    top: 0;
    z-index: 300;
    background: #201f1d;
    color: #e9e7e3;
    font-size: 13.5px;
}
.admin-bar__row {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 9px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.admin-bar a { color: #b9e0da; text-decoration: none; }
.admin-bar a:hover { color: #fff; text-decoration: underline; }
.admin-bar__brand { font-weight: 600; }
.admin-bar__stat { color: #a09c96; }
.admin-bar__spacer { flex: 1; }

@media (max-width: 720px) {
    .admin-bar__row { padding: 9px 16px; flex-wrap: wrap; gap: 10px; }
}

/* ---------------------------------------------------------------------
   Header & navigatie
--------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 243, 241, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--divider);
}
body.has-admin-bar .site-header {
    top: 40px;
}

.site-header__row {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img { height: 72px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.site-nav > li { position: relative; }

.site-nav a,
.site-nav button.nav-toggle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text);
    text-decoration: none;
    padding: 9px 9px;
    border-radius: var(--radius);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--font-heading);
}

.site-nav a:hover,
.site-nav button.nav-toggle:hover,
.site-nav button.nav-toggle[aria-expanded="true"] {
    background: var(--accent-tint);
    text-decoration: none;
}

.site-nav a.is-active,
.site-nav button.nav-toggle.is-active { color: var(--brand-teal-deep); }

/* Aanbod: het label is een eigen link naar /aanbod/, met een los chevrontje
   ernaast dat alleen de dropdown opent — samen ogen ze als één pil. */
.nav-item-group {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
}
.nav-item-group:hover,
.nav-item-group:focus-within {
    background: var(--accent-tint);
}
.nav-item-group .nav-link {
    padding: 9px 2px 9px 9px;
}
.nav-item-group button.nav-toggle {
    padding: 9px 9px 9px 1px;
}
.nav-item-group .nav-link:hover,
.nav-item-group .nav-toggle:hover {
    background: transparent;
}
.nav-item-group.is-active .nav-link { color: var(--brand-teal-deep); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(45, 43, 43, 0.10);
    padding: 6px;
    list-style: none;
    margin: 0;
    z-index: 110;
}
.nav-dropdown[hidden] { display: none; }

.nav-dropdown a {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--text-body);
}
.nav-dropdown a:hover {
    background: var(--accent-tint-strong);
    text-decoration: none;
}

.nav-toggle .chevron { display: inline-block; margin-left: 2px; font-size: 11px; }

/* mobiel: eenvoudige inklapbare lijst i.p.v. dropdown-gedrag */
.nav-menu-toggle { display: none; }

@media (max-width: 1060px) {
    .nav-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--divider);
        border-radius: var(--radius);
        background: var(--surface);
        cursor: pointer;
    }
    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--divider);
        margin-top: 12px;
        padding-top: 8px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a, .site-nav button.nav-toggle { text-align: left; width: 100%; }
    .nav-item-group { width: 100%; justify-content: space-between; }
    .nav-item-group .nav-link { flex: 1; }
    .nav-dropdown { position: static; box-shadow: none; border: 0; padding-left: 12px; margin-bottom: 4px; }
    .site-header__row { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------
   Hero (homepage)
--------------------------------------------------------------------- */

.hero {
    padding: 64px 0 0;
}

.hero__kicker {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-teal-deep);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 78px);
    max-width: 16ch;
}

.hero__lead {
    font-size: 19px;
    color: var(--text-muted);
    max-width: var(--measure);
    margin-top: 18px;
}

.plate {
    filter: sepia(0.22) saturate(0.82) contrast(1.05);
    border: 6px solid #eae9e9;
    outline: 1px solid rgba(32, 31, 29, 0.16);
    outline-offset: -1px;
    border-radius: 2px;
}

.hero__image {
    margin-top: 40px;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    width: 100%;
}

.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

/* ---------------------------------------------------------------------
   Over-mij teaser (homepage)
--------------------------------------------------------------------- */

.teaser {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: 56px;
    align-items: start;
}

.teaser__aside h2 { margin-bottom: 20px; }

.btn-outline {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-teal-deep);
    border: 1px solid var(--brand-teal);
    border-radius: var(--radius);
    padding: 10px 20px;
    background: transparent;
}
.btn-outline:hover {
    background: var(--accent-tint);
    text-decoration: none;
}

@media (max-width: 680px) {
    .teaser { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Aanbod-kaarten
--------------------------------------------------------------------- */

.section-kicker {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-faint);
    margin-bottom: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 26px 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--brand-teal); text-decoration: none; }

.card__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 10px;
}

.card__description {
    font-size: 15px;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 16px;
}

.card__cta {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-teal-deep);
}

/* ---------------------------------------------------------------------
   Wachttijd-kaart
--------------------------------------------------------------------- */

.wachttijd-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border: 1px solid var(--brand-teal);
    border-radius: var(--radius);
    background: transparent;
    padding: 26px 28px;
}

.wachttijd-card__kicker {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-teal-deep);
    margin-bottom: 8px;
}

.wachttijd-card__text {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.4;
    color: var(--text);
    margin: 0;
}

.wachttijd-card--standalone {
    max-width: 900px;
}
.wachttijd-card--standalone .wachttijd-card__text {
    font-size: 25px;
    line-height: 1.32;
}

/* ---------------------------------------------------------------------
   Pagina-kop (binnenpagina's)
--------------------------------------------------------------------- */

.page-header {
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--divider);
    margin-bottom: 48px;
}

.page-header__kicker {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-teal-deep);
    margin-bottom: 10px;
}

.page-header h1 { font-size: clamp(34px, 4.5vw, 48px); }

.page-header__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: var(--measure);
    margin-top: 12px;
}

main { padding-bottom: 80px; }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--divider-card);
}
.link-list li { border-bottom: 1px solid var(--divider-card); }
.link-list a {
    display: block;
    padding: 12px 2px;
    font-size: 17px;
}

/* ---------------------------------------------------------------------
   Over mij
--------------------------------------------------------------------- */

.bio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
    gap: 52px;
    align-items: start;
}

.portrait { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: 100%; }

.qualifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.qualifications li {
    border-top: 1px solid var(--divider);
    padding-top: 14px;
    font-size: 15.5px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}
.badge-row img {
    width: 128px;
    height: 70px;
    object-fit: contain;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 8px;
}

@media (max-width: 680px) {
    .bio-grid { grid-template-columns: 1fr; }
    .bio-grid .portrait-col { max-width: 260px; }
}

/* ---------------------------------------------------------------------
   Tarieven (sticky TOC + kaarten + tabel)
--------------------------------------------------------------------- */

.tarieven-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
    gap: 56px;
    align-items: start;
}

.toc { position: sticky; top: 120px; }
.toc__title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-bottom: 10px;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a {
    display: block;
    padding: 6px 0;
    font-size: 14.5px;
    color: var(--text-muted);
}
.toc a:hover { color: var(--brand-teal-deep); text-decoration: none; }

.tarieven-grid h2 { scroll-margin-top: 120px; }

.insurer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}
.insurer-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.insurer-card h3 { font-size: 19px; margin-bottom: 12px; }
.insurer-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.insurer-card li {
    border-top: 1px solid var(--divider-card);
    padding: 10px 0;
    font-size: 15px;
}
.insurer-card li:first-child { border-top: 0; }

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.price-table td {
    padding: 12px 0;
    border-top: 1px solid var(--divider-card);
    font-size: 16px;
}
.price-table tr:first-child td { border-top: 0; }
.price-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 780px) {
    .tarieven-grid { grid-template-columns: 1fr; }
    .toc { position: static; }
}

/* ---------------------------------------------------------------------
   Aanmelden en wachttijd
--------------------------------------------------------------------- */

.band-2col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

@media (max-width: 680px) {
    .band-2col { grid-template-columns: 1fr; }
}

.form-frame {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    padding: 28px;
}
.form-frame__kicker {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-teal-deep);
    margin-bottom: 8px;
}
.form-frame__reassurance {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.form-frame__footer {
    font-size: 12.5px;
    color: var(--text-faint);
    text-align: center;
    margin-top: 14px;
}
.iframe-embed iframe { width: 100%; border: 0; }
.form-frame__iframe { width: 100%; height: 800px; border: 0; }
@media (max-width: 680px) {
    .form-frame__iframe { height: 600px; }
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.map-embed iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.map-embed { margin: 24px 0; }

/* ---------------------------------------------------------------------
   PDF-modal
--------------------------------------------------------------------- */

.pdf-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(32, 31, 29, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 300;
}
.pdf-modal-backdrop[hidden] { display: none; }

.pdf-modal {
    background: var(--surface);
    border-radius: var(--radius);
    width: min(900px, 100%);
    height: min(85vh, 1100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.pdf-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--divider);
}
.pdf-modal__title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
}
.pdf-modal__close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-faint);
    padding: 4px 8px;
}
.pdf-modal__close:hover { color: var(--text); }
.pdf-modal iframe { flex: 1; width: 100%; border: 0; }
.pdf-modal__fallback { padding: 24px; text-align: center; }

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--divider);
    background: var(--footer-ground);
}
.site-footer__row {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 44px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.site-footer__copy { font-size: 14px; color: var(--text-muted); }
.site-footer__links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer__links a { font-size: 14px; color: var(--text-muted); }
.site-footer__links a:hover { color: var(--brand-teal-deep); }

/* ---------------------------------------------------------------------
   Formulieren (admin hergebruikt dezelfde basis)
--------------------------------------------------------------------- */

label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
input[type="text"], input[type="password"], input[type="email"], textarea, select {
    font-family: var(--font-body);
    font-size: 16px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--placeholder-border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-body);
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--brand-teal);
    outline-offset: 1px;
    border-color: var(--brand-teal);
}
button, .btn {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
}
