/* ==========================================================================
   page.css — gedeelde stijl voor de documentpagina's van zorgoefit.com
   Gebruikt door: about, privacy, terms, support, handleiding, 404
   Zelfde ontwerptaal en tokens als style.css (homepage), maar zonder de
   homepage-specifieke onderdelen (hero-product, case study, reviews).
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy:        #0f172a;
    --navy-mid:    #1e293b;
    --blue:        #1e3a8a;
    --green:       #16a34a;
    --green-light: #22c55e;
    --lime:        #84cc16;
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --text:        #0f172a;
    --text-muted:  #475569;
    --text-soft:   #64748b;
    --border:      #e2e8f0;
    --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
    --shadow-md:   0 8px 24px rgba(0,0,0,.12);
    --shadow-green:0 20px 48px rgba(22,163,74,.28);
    --r-sm: 8px; --r-md: 16px; --r-lg: 24px;
}

/* ===== BASE ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
    color: var(--text); background: var(--off-white);
    line-height: 1.7; font-weight: 500;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 0; left: 0; width: auto; height: auto; padding: 12px 20px; background: var(--green); color: #fff; font-weight: 900; z-index: 9999; border-radius: 0 0 var(--r-sm) 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
header { position: sticky; top: 0; background: var(--white); border-bottom: 2px solid var(--green); z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; gap: 20px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 56px; width: auto; }

nav.site-nav { display: flex; gap: 26px; align-items: center; }
nav.site-nav a { color: var(--text); font-size: .94rem; font-weight: 700; position: relative; padding-bottom: 2px; transition: color .2s; }
nav.site-nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .3s; }
nav.site-nav a:hover { color: var(--green); }
nav.site-nav a:hover::after, nav.site-nav a[aria-current="page"]::after { width: 100%; }
nav.site-nav a[aria-current="page"] { color: var(--green); }

.menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); padding: 6px; line-height: 1; }
#menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; opacity: 0; transition: opacity .3s; }
#menu-overlay.visible { display: block; opacity: 1; }

/* ===== KNOPPEN ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: var(--r-sm); cursor: pointer; font-weight: 900; font-family: inherit; letter-spacing: .02em; transition: all .3s cubic-bezier(.2,.8,.2,1); }
.btn-primary { padding: 14px 32px; background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; font-size: 1rem; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-green); }
.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-outline { padding: 13px 30px; background: transparent; color: var(--green); border: 2px solid var(--green); font-size: .96rem; }
.btn-outline:hover { background: rgba(22,163,74,.06); }

/* ===== PAGINAKOP ===== */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, rgba(22,163,74,.10) 100%); padding: 64px 0 56px; border-bottom: 2px solid rgba(22,163,74,.2); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -90px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(22,163,74,.12), transparent 68%); border-radius: 50%; pointer-events: none; }
.page-eyebrow { display: inline-block; padding: 7px 18px; background: linear-gradient(135deg, var(--green), var(--lime)); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; border-radius: 999px; margin-bottom: 18px; font-size: .74rem; }
.page-hero h1 { color: var(--white); font-size: 2.8rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; position: relative; }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.85); font-size: 1.08rem; line-height: 1.8; position: relative; }
.page-meta { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.6); font-weight: 600; position: relative; }

/* ===== INHOUD ===== */
main { display: block; }
.page-body { padding: 44px 0 72px; display: grid; gap: 26px; }

.card { background: var(--white); border: 2px solid rgba(22,163,74,.15); border-radius: var(--r-lg); padding: 30px; transition: border-color .3s, box-shadow .3s; }
.card:hover { border-color: var(--green); box-shadow: 0 20px 40px rgba(22,163,74,.10); }
.card > h2 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 16px; letter-spacing: -.01em; }
.card > h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy); margin: 22px 0 10px; }
.card p, .card li { color: var(--text-muted); font-size: 1.02rem; line-height: 1.8; }
.card p + p { margin-top: 12px; }
.card ul, .card ol { margin: 12px 0 0 20px; }
.card li { margin-bottom: 9px; }
.card li::marker { color: var(--green); }
.card a:not(.btn) { color: var(--green); font-weight: 700; border-bottom: 1px solid rgba(22,163,74,.35); }
.card a:not(.btn):hover { border-bottom-color: var(--green); }
.card strong { color: var(--navy); font-weight: 800; }
.card-footnote { margin-top: 14px; font-size: .92rem; color: var(--text-soft); }

/* Inhoudsopgave */
.toc { background: var(--white); border: 2px solid var(--border); border-radius: var(--r-md); padding: 22px 26px; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-soft); margin-bottom: 12px; font-weight: 900; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px; }
.toc li { margin-bottom: 7px; color: var(--text-muted); }
.toc a { font-weight: 700; color: var(--navy); }
.toc a:hover { color: var(--green); }

/* Aandachtsblok */
.callout { display: flex; gap: 14px; align-items: flex-start; background: rgba(22,163,74,.07); border: 1px solid rgba(22,163,74,.28); border-left: 4px solid var(--green); border-radius: var(--r-sm); padding: 16px 18px; margin-top: 16px; }
.callout p { color: var(--text-muted); font-size: .98rem; margin: 0; }
.callout-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.callout--warn { background: rgba(234,179,8,.08); border-color: rgba(234,179,8,.35); border-left-color: #eab308; }
.callout--warn .callout-icon { color: #ca8a04; }

/* Stappen / doseringskaarten */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.step-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.step-card .step-label { font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--green); margin-bottom: 8px; }
.step-card .step-dose { font-size: 1.5rem; font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 6px; }
.step-card p { font-size: .95rem; margin: 0; }

/* Tabel */
.table-wrap { overflow-x: auto; margin-top: 16px; }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 420px; }
table.data th { text-align: left; background: var(--navy); color: #fff; font-weight: 800; padding: 12px 14px; font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; }
table.data th:first-child { border-radius: var(--r-sm) 0 0 0; }
table.data th:last-child { border-radius: 0 var(--r-sm) 0 0; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:nth-child(even) { background: var(--off-white); }

/* Contactkaarten */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.contact-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; }
.contact-card h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; color: var(--navy); }
.contact-card p { font-size: .95rem; margin: 0 0 4px; }

/* Uitklapbare vraag */
.qa { border-bottom: 1px solid var(--border); }
.qa:last-child { border-bottom: none; }
.qa > summary { cursor: pointer; padding: 16px 0; font-weight: 800; color: var(--navy); font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: '+'; color: var(--green); font-size: 1.5rem; font-weight: 900; line-height: 1; transition: transform .25s; }
.qa[open] > summary::after { transform: rotate(45deg); }
.qa > summary:hover { color: var(--green); }
.qa-body { padding: 0 0 18px; }
.qa-body p, .qa-body li { color: var(--text-muted); font-size: 1rem; }

/* Afsluitende CTA */
.page-cta { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); border-radius: var(--r-lg); padding: 40px 32px; text-align: center; }
.page-cta h2 { color: #fff; font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.page-cta p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 22px; }

/* ===== FOOTER ===== */
footer { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); color: #fff; padding: 52px 0 28px; border-top: 2px solid rgba(22,163,74,.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-grid h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green-light); margin-bottom: 14px; font-weight: 900; }
.footer-brand p { color: rgba(255,255,255,.75); max-width: 330px; font-size: .96rem; }
.footer-logo { font-weight: 900; font-size: 1.15rem; letter-spacing: .05em; margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.8); font-weight: 600; transition: color .2s; }
.footer-grid a:hover { color: var(--green-light); }
.footer-col a { display: block; margin-bottom: 9px; font-size: .96rem; }
.footer-col p { color: rgba(255,255,255,.75); font-size: .96rem; margin-bottom: 7px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { color: rgba(255,255,255,.62); font-size: .92rem; margin-bottom: 7px; }
.footer-bottom a { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-bottom a:hover { color: var(--green-light); }
.footer-disclaimer { font-size: .86rem !important; color: rgba(255,255,255,.5) !important; max-width: 760px; margin-bottom: 14px !important; }

/* ===== RESPONSIEF ===== */
@media (max-width: 900px) {
    nav.site-nav {
        display: none; position: fixed; top: 0; right: 0; width: min(78vw, 300px); height: 100vh;
        background: var(--white); flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 84px 26px 26px; box-shadow: -8px 0 32px rgba(0,0,0,.18); z-index: 100; overflow-y: auto;
    }
    nav.site-nav.open { display: flex; }
    nav.site-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1.02rem; }
    nav.site-nav a::after { display: none; }
    .menu-btn { display: block; z-index: 101; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
    .page-hero { padding: 48px 0 40px; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero .lead { font-size: 1rem; }
    .card { padding: 22px; border-radius: var(--r-md); }
    .card > h2 { font-size: 1.28rem; }
    .toc ol { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-logo { height: 46px; }
}

@media print {
    header, footer, .menu-btn, .page-cta, .skip-link { display: none !important; }
    body { background: #fff; }
    .card { border: 1px solid #ddd; box-shadow: none; page-break-inside: avoid; }
    .page-hero { background: none; border-bottom: 2px solid #16a34a; padding: 0 0 18px; }
    .page-hero h1, .page-hero .lead, .page-meta { color: #000; }
}

/* ===== NIEUWSBRIEF IN DE FOOTER ===== */
.visueel-verborgen { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-nl { display: grid; grid-template-columns: 1fr auto; gap: 18px 36px; align-items: center; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-nl h3 { color: var(--green-light); font-size: 1.05rem; font-weight: 900; margin-bottom: 6px; letter-spacing: .02em; }
.footer-nl p { color: rgba(255,255,255,.72); font-size: .95rem; max-width: 460px; margin: 0; }
.footer-nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-nl-form input { flex: 1 1 240px; min-width: 0; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-family: inherit; font-size: .95rem; }
.footer-nl-form input::placeholder { color: rgba(255,255,255,.45); }
.footer-nl-form input:focus { border-color: var(--green-light); background: rgba(255,255,255,.12); }
.footer-nl-form .btn { flex: 0 0 auto; }
.footer-nl-status { grid-column: 1 / -1; font-size: .92rem; margin: 0 !important; min-height: 1px; }
.footer-nl-status.is-ok { color: var(--green-light) !important; }
.footer-nl-status.is-fout { color: #fca5a5 !important; }
@media (max-width: 780px) {
    .footer-nl { grid-template-columns: 1fr; gap: 14px; }
    .footer-nl-form input { flex: 1 1 100%; }
    .footer-nl-form .btn { width: 100%; }
}
