/* Huisstijl overgenomen van plastisch-chirurgen.be: DejaVu Serif Condensed, goud #c5a66c, zwart, wit. */
@font-face { font-family: "DejaVu Serif Condensed"; src: url("/fonts/dejavuserifcondensed-webfont.woff2") format("woff2"), url("/fonts/dejavuserifcondensed-webfont.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DejaVu Serif Condensed"; src: url("/fonts/dejavuserifcondensed-bold-webfont.woff2") format("woff2"), url("/fonts/dejavuserifcondensed-bold-webfont.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --gold: #c5a66c;
  --gold-dark: #9c7f48;
  --gold-light: #f4ede0;
  --black: #000;
  --ink: #1a1a1a;
  --muted: #5b5b5b;
  --line: #e6e0d6;
  --white: #fff;
  --serif: "DejaVu Serif Condensed", Georgia, serif;
  --wrap: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--black); }
h1, h2, h3 { font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--gold-dark); }
h2 { font-size: 1.45rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }


/* Header: witte balk, zwarte menu-items, gouden afspraakknop rechts (zoals de huidige site) */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; position: relative; }
.header-side { display: flex; align-items: center; }
.header-side.left { justify-content: flex-start; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .main-nav .dropdown > button, .main-nav .dropdown > a { font: 400 .95rem var(--serif); color: var(--ink); text-decoration: none; padding: 20px 14px; background: none; border: 0; cursor: pointer; }
.main-nav > a:hover, .main-nav > a[aria-current="page"], .dropdown > button:hover, .dropdown > a:hover, .dropdown > a[aria-current="page"] { color: var(--gold-dark); }
.main-nav .dropdown > a { display: inline-block; }
.dropdown-menu.dropdown-menu-narrow { min-width: 480px; grid-template-columns: repeat(2, 1fr); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: 100%; background: var(--black); min-width: 760px; padding: 24px; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: grid; }
.dropdown-menu strong { display: block; color: var(--gold); font-weight: 400; margin-bottom: 6px; }
.dropdown-menu strong a { color: var(--gold); text-decoration: none; }
.dropdown-menu a { display: block; color: #e8e8e8; text-decoration: none; font-size: .88rem; padding: 2px 0; }
.dropdown-menu a:hover { color: var(--gold); }
.header-cta { display: flex; justify-content: flex-end; align-self: stretch; }
.lang-switch { display: flex; gap: 6px; font-size: .8rem; }
.lang-switch a, .lang-switch span { color: var(--muted); text-decoration: none; text-transform: uppercase; }
.lang-switch [aria-current="true"] { color: var(--ink); font-weight: 700; }
.btn { display: inline-block; background: var(--gold); color: var(--white); text-decoration: none; font: 400 1rem var(--serif); padding: 14px 28px; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--gold-dark); border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.header-cta .btn { align-self: stretch; display: flex; align-items: center; white-space: nowrap; }
/* Langere labels (FR/EN) mogen de kopbalk niet uit balans brengen: nooit afbreken, wel iets compacter. */
.main-nav > a, .main-nav .dropdown > button, .main-nav .dropdown > a { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1320px) {
  .main-nav > a, .main-nav .dropdown > button, .main-nav .dropdown > a { padding: 20px 9px; font-size: .9rem; }
  .header-cta .btn { padding: 0 18px; font-size: .95rem; }
}
.nav-toggle { display: none; position: absolute; left: 0; background: none; border: 0; font-size: 1.6rem; cursor: pointer; padding: 10px; }

/* Masthead en hero: zwart met zwart-witfoto en logo */
.hero { background: #000 center center / cover no-repeat; padding: 64px 0 132px; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero img.logo { width: min(360px, 70vw); }
.hero p { color: #ddd; max-width: 36em; margin: 0; font-size: 1.05rem; }
.masthead { background: #000 center / cover no-repeat; height: 240px; }
.masthead .masthead-title { display: none; }
.masthead-title { background: var(--black); color: var(--gold); text-align: center; padding: 10px; font-size: 1.2rem; }

/* Breadcrumbs */
.crumbs { font-size: .82rem; color: var(--muted); margin: 18px 0 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }

/* Artsenkaarten: zwart-witfoto met gouden voet */
.doctors { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 32px; margin: -96px auto 0; position: relative; }
.doctor-card { background: var(--gold); text-align: center; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.doctor-card .body { flex: 1; display: flex; flex-direction: column; }
.doctor-card .body > :last-child { margin-top: auto; }
.doctor-card img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; filter: grayscale(1); }
/* Praktijkteam: staand zoals in de moderne layout, zodat ook een staande foto het hele gezicht toont; functie meteen onder de naam. */
.team-staff .doctor-card img { aspect-ratio: 4 / 5; object-position: center 20%; }
.team-staff .doctor-card .body > :last-child { margin-top: 0; }
.doctor-card .body { padding: 18px 16px 22px; }
.doctor-card h3 { font-weight: 700; margin: 0 0 6px; font-size: 1.2rem; }
.doctor-card ul { list-style: none; margin: 0 0 12px; padding: 0; font-size: .92rem; }
.doctor-card .more { font-size: .85rem; color: var(--white); }

/* Domeinen met gouden iconen */
.section { padding: 64px 0; }
.section-gold { background: var(--gold-light); }
.section-title { text-align: center; color: var(--gold-dark); margin-bottom: 40px; }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.categories > div, .news-item { display: flex; flex-direction: column; }
.categories > div > :last-child, .news-item > :last-child { margin-top: auto; }
.categories img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 12px; }
.categories img.round { border-radius: 50%; object-fit: cover; }
.categories.two { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.doctor-card .specialty { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin: -2px 0 8px; color: #fff; }
.info-box { border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 18px 22px; margin: 24px 0; }
.info-box > :first-child { margin-top: 0; }
.categories h2, .categories h3 { margin: 0 0 10px; font-size: 1.2rem; }
.categories h3 a { color: var(--ink); text-decoration: none; }
.categories ul { list-style: none; padding: 0; margin: 0 0 12px; font-size: .92rem; }
.categories li a { color: var(--ink); text-decoration: none; }
.categories li a:hover { color: var(--gold-dark); }
.agenda-band { background: var(--gold); text-align: center; padding: 22px 16px; }
.agenda-band a { color: var(--ink); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

/* Nieuws */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-item { border-top: 2px solid var(--gold); padding-top: 14px; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item time { font-size: .8rem; color: var(--muted); }

/* Behandelpagina: sidebar links, inhoud rechts */
.layout-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 8px 0 72px; }
.sidebar h2 { color: var(--gold-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 26px; }
.sidebar li a { display: block; color: var(--ink); text-decoration: none; padding: 5px 0 5px 14px; border-left: 2px solid transparent; font-size: .92rem; }
.sidebar li a:hover, .sidebar li a[aria-current="page"] { color: var(--gold-dark); border-left-color: var(--gold); }
.content > img.lead-image { width: 100%; max-height: 420px; object-fit: cover; margin: 6px 0 24px; }
.content .prose p { text-align: left; }
.answer-box { background: var(--gold-light); border-left: 3px solid var(--gold); padding: 18px 22px; margin: 0 0 28px; }
.answer-box h2 { margin: 0 0 6px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); }
.answer-box p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 28px; }
.facts div { border: 1px solid var(--line); padding: 14px 18px; }
.facts strong { display: block; color: var(--gold-dark); font-weight: 400; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.faq-block { margin: 36px 0; }
.faq-block h2 { margin-top: 0; }
.review-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 36px; }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--gold-dark); }
details.faq[open] summary::after { content: "–"; }

/* Locaties */
.location-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.location-group + .location-group { margin-top: 22px; }
/* Per groep (privé, ziekenhuizen) alle locaties op één rij vanaf tabletbreedte; op gsm onder elkaar. */
@media (min-width: 700px) { .location-group { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.location-card { border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 18px 20px; }
.location-card h3 { margin: 0 0 4px; }
.location-card h3 a { color: var(--ink); text-decoration: none; }
.location-card .type { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); }
.location-card p { margin: 6px 0; font-size: .92rem; }
.map-frame { width: 100%; height: 340px; border: 0; margin: 12px 0 24px; filter: grayscale(.6); }

/* Formulier */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .88rem; margin-bottom: 4px; }
label small { color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border: 1px solid #cfc6b6; background: var(--white); border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.check input { width: auto; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; margin-bottom: 20px; }
.alert-ok { background: var(--gold-light); border-left: 3px solid var(--gold); }
.alert-err { background: #fbecea; border-left: 3px solid #b5483a; }
.field-error { color: #b5483a; font-size: .82rem; }

/* Cookiebanner: onderaan, beide keuzes even zwaar */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--black); color: #eee; padding: 16px 0; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
.consent[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.consent p { margin: 0; font-size: .9rem; }
.consent a { color: var(--gold); }
.consent-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn-outline { color: #fff; border-color: var(--gold); padding: 10px 18px; }
.consent .btn-outline:hover { background: var(--gold); }
@media (max-width: 700px) { .consent-inner { flex-direction: column; align-items: stretch; } .consent-buttons > * { flex: 1; } }

/* Footer: zwart met foto, gouden accenten */
.site-footer { background: #000 url("/images/achtergrond-quotes.jpg") center / cover no-repeat; color: #cfcfcf; padding: 56px 0 24px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: var(--gold); font-size: 1rem; margin: 0 0 10px; }
.site-footer a { color: #e8e8e8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid #333; margin-top: 36px; padding-top: 16px; font-size: .78rem; color: #999; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* Mobiel */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; box-shadow: 0 8px 20px rgba(0,0,0,.1); padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav .dropdown > button { padding: 10px 0; text-align: left; width: 100%; border-bottom: 1px solid var(--line); }
  .dropdown-menu, .dropdown-menu.dropdown-menu-narrow { position: static; transform: none; min-width: 0; grid-template-columns: 1fr 1fr; padding: 16px; }
  .main-nav .dropdown > a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { position: static; }
  .categories, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .header-cta .btn { padding: 0 14px; font-size: .9rem; }
  .hero { min-height: 300px; background-position: 70% center; }
  .masthead { height: 150px; }
  .doctors { margin-top: -72px; }
  .hero { padding: 40px 0 100px; }
  .categories, .categories.two, .news-grid, .facts, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .dropdown-menu { grid-template-columns: 1fr; }
}

/* Wisselknop tussen de layouts (klassiek / modern), in beide layouts dezelfde */
.layout-switch { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 2px; background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; padding: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.12); font: 500 .8rem system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1; }
.layout-switch-label { color: #666; padding: 0 8px 0 10px; }
.layout-switch a, .layout-switch span[aria-current] { padding: 7px 12px; border-radius: 999px; text-decoration: none; color: #333; }
.layout-switch a:hover { background: #f0f0f0; color: #000; }
.layout-switch span[aria-current] { background: #1c2524; color: #fff; }

/* Uitgevulde tekst (disclaimer, privacy): woorden afbreken zodat er geen grote gaten tussen de woorden komen. */
.prose.prose-uitgevuld p, .prose.prose-uitgevuld li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* Homepage: praktijkteam onder de artsen. */
.home-team-staff { margin-top: 56px; }
.home-team-staff .team-staff { margin-bottom: 0 !important; }

/* Verdiepende pagina's onder een behandeling (bv. kapselcontractuur bij borstvergroting). */
.deeper-links { list-style: none; padding: 0; margin: 0 0 24px; }
.deeper-links li { padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.deeper-links a { font-weight: 600; }
.deeper-links span { display: block; font-size: .92em; color: #555; margin-top: 2px; }
.category-deeper { list-style: none; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid #e5e5e5; font-size: .92em; }
.category-deeper li { margin: 4px 0; }
.category-deeper a::before { content: "› "; }

/* Melding in een venster (Instellingen → Melding). */
.notice-popup { width: min(520px, calc(100% - 32px)); border: 0; padding: 32px 32px 28px; background: #fff; color: #222; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.notice-popup::backdrop { background: rgba(0,0,0,.55); }
.notice-popup h2 { margin: 0 0 14px; font-size: 1.35rem; }
.notice-popup-text p { margin: 0 0 12px; line-height: 1.55; }
.notice-popup-text a { color: inherit; font-weight: 600; white-space: nowrap; }
.notice-popup form { margin: 20px 0 0; text-align: right; }
@media (max-width: 480px) { .notice-popup { padding: 24px 20px 20px; } .notice-popup form .btn { width: 100%; } }
