/* Patiëntenstem - een rustige, warme leesomgeving */

:root {
  --bg: #faf8f3;
  --bg-soft: #f3efe5;
  --ink: #1c1c1f;
  --ink-soft: #3a3a3f;
  --muted: #6b6b70;
  --line: #e7e2d3;
  --line-soft: #f0ecdf;
  --accent: #3f5a3f;
  --accent-deep: #2c402c;
  --accent-soft: #eaeee5;
  --warn: #8a3a2a;
  --warn-soft: #f7e6e0;
  --shadow: 0 1px 2px rgba(28,28,31,.04), 0 8px 24px -12px rgba(28,28,31,.08);
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }

h1, h2, h3 {
  font-family: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  font-variation-settings: "opsz" 24, "SOFT" 50;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 .6em;
  color: var(--ink);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(10px);
  background:
    radial-gradient(1200px 220px at 8% -40%, rgba(63,90,63,.10), transparent 70%),
    radial-gradient(900px 200px at 92% -30%, rgba(186,159,107,.12), transparent 70%),
    rgba(250, 248, 243, .82);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo-mark { color: var(--accent); font-size: 28px; line-height: 0; transform: translateY(2px); }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.site-nav a:hover { color: var(--accent-deep); }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 360px at 18% 10%, rgba(63,90,63,.09), transparent 65%),
    radial-gradient(640px 320px at 86% 30%, rgba(186,159,107,.13), transparent 70%),
    radial-gradient(900px 500px at 50% 110%, rgba(63,90,63,.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #fbf6ec 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(28,28,31,.045) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 80%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin: 0 0 22px;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.005em;
  margin: 0 auto .6em;
  max-width: 24ch;
  color: var(--ink);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 1.6em;
}
.hero-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
  margin: 0;
}

/* ---------- Sections ---------- */

.section-title {
  font-size: 28px;
  margin-top: 56px;
}
.section-sub {
  color: var(--muted);
  margin: -.4em 0 28px;
}
.section-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- PVP spotlight ---------- */

.pvp-spotlight {
  padding: 48px 0 8px;
}
.pvp-card {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #eef2e7 100%);
  border: 1px solid rgba(63,90,63,.22);
  border-radius: 14px;
  padding: 30px 34px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pvp-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}
.pvp-icon {
  color: var(--accent);
  margin: 0 0 12px;
  display: inline-flex;
}
.pvp-titel {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 500;
  margin: 0 0 .45em;
  color: var(--accent-deep);
  letter-spacing: -.005em;
}
.pvp-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 60ch;
}
.pvp-cta { font-size: 15px; }
@media (max-width: 540px) {
  .pvp-spotlight { padding: 32px 0 0; }
  .pvp-card { padding: 24px 22px 26px; }
}

/* ---------- Instellingen kaarten ---------- */

.kaarten {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.kaart {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
}
.kaart:hover { border-color: var(--accent); }
.kaart-link {
  display: block;
  padding: 22px 22px 20px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
}
.kaart-naam {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: 0;
}
.kaart-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}
.kaart-stat {
  font-size: 14px;
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.kaart-stat-empty {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kaart-stat-empty::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.kaart .rating-stars { color: #d4a64b; }

.dot { color: var(--muted); padding: 0 2px; }
.muted { color: var(--muted); }

/* ---------- Aux link (IGJ etc.) ---------- */
.page-aux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}
.aux-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent-deep);
}
.aux-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.aux-icon { display: inline-flex; opacity: .8; }
.aux-hint { font-size: 13px; }

/* ---------- Page header ---------- */

.page-head {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.crumbs { margin: 0 0 14px; font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }

.page-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.25;
  margin: 0 0 .4em;
}
.page-meta {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
}
.page-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

.page-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

/* ---------- Rating ---------- */

.rating {
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rating-stars { color: #d4a64b; font-size: 16px; line-height: 1; }
.rating-large {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.rating-large::first-letter { color: #d4a64b; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background .12s, border-color .12s;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-link { background: transparent; color: var(--ink-soft); }
.btn-link:hover { color: var(--accent-deep); }

/* ---------- Banners ---------- */

.banner {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
}
.banner-success { background: var(--accent-soft); color: var(--accent-deep); border: 1px solid var(--accent); border-color: rgba(63,90,63,.25); }
.banner-error { background: var(--warn-soft); color: var(--warn); border: 1px solid rgba(138,58,42,.2); }
.banner ul { margin: 0; padding-left: 18px; }

/* ---------- Reviews ---------- */

.reviews { padding: 32px 0 56px; }
.review-lijst { list-style: none; padding: 0; margin: 0; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 18px;
  margin: 16px 0;
}
.review-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.review-titel {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.review-meta { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.review-body p {
  margin: 0 0 12px;
  white-space: pre-wrap;
}
.review-body p:last-child { margin-bottom: 0; }
.review-foot {
  font-size: 13px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.review-foot a { color: var(--muted); text-decoration: underline; }
.review-foot a:hover { color: var(--accent-deep); }

.leeg {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.leeg p { margin: 0 0 16px; }
.leeg p:last-child { margin: 0; }

/* ---------- Form ---------- */

.form-sectie { padding: 32px 0 64px; }
.form { margin: 0; }
.veld { margin: 0 0 22px; }
.veld-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 15px;
}
.vereist { color: var(--warn); }
.veld input[type="text"],
.veld input[type="email"],
.veld textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .12s;
}
.veld input:focus,
.veld textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.veld textarea { resize: vertical; min-height: 200px; line-height: 1.6; }
.veld-hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.veld-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.rij { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .rij { grid-template-columns: 1fr; } }

.rating-block { margin: 0; }
.rating-block-label {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.4;
}
.rating-block-hint {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  margin-left: 8px;
}

.rating-input {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 540px) { .rating-input { grid-template-columns: 1fr; gap: 6px; } }

.ster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .12s, background .12s;
}
.ster span:first-of-type { font-size: 18px; color: var(--muted); letter-spacing: 1px; }
.ster-label { font-size: 12px; color: var(--muted); }
.ster input { position: absolute; opacity: 0; pointer-events: none; }
.ster:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.ster:has(input:checked) span:first-of-type { color: var(--accent-deep); }
.ster:has(input:checked) .ster-label { color: var(--accent-deep); }

.huisregels {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.acties {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

/* ---------- Prose (over) ---------- */

.prose-sectie { padding: 32px 0 64px; }
.prose h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: .4em;
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0 48px;
  margin-top: 80px;
}
.site-footer p { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); }
.site-footer .muted { font-size: 13px; }

/* ---------- Language dropdown ---------- */

.lang-dropdown {
  position: relative;
  margin-left: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.lang-btn:hover { background: var(--bg-soft); border-color: var(--line); }
.lang-globe { display: inline-flex; color: var(--muted); }
.lang-caret { font-size: 10px; color: var(--muted); }
.lang-current { font-weight: 500; letter-spacing: .03em; }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(28,28,31,.16);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 180px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 20;
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
.lang-option:hover { background: var(--bg-soft); color: var(--ink); }
.lang-option.is-active { background: var(--accent-soft); color: var(--accent-deep); }
.lang-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--muted);
  min-width: 28px;
  text-align: center;
}
.lang-option.is-active .lang-code { background: rgba(63,90,63,.18); color: var(--accent-deep); }
.lang-name { font-weight: 400; }

@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .lang-dropdown { padding-left: 12px; margin-left: 0; }
  .lang-menu { right: -8px; }
}

/* ---------- Microphone button ---------- */

.input-with-mic, .textarea-with-mic { position: relative; }
.input-with-mic input { padding-right: 44px; }

.textarea-tools {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mic-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .12s, background .12s, color .12s;
}
.mic-btn:hover { border-color: var(--accent); color: var(--accent-deep); }
.mic-btn-inline {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  border-radius: 50%;
}
.mic-btn-inline:hover { background: var(--accent-soft); }

.mic-btn-active {
  background: var(--warn-soft);
  border-color: var(--warn);
  color: var(--warn);
  animation: micPulse 1.4s ease-in-out infinite;
}
.mic-btn-active:hover { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }

@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,58,42,.25); }
  50% { box-shadow: 0 0 0 8px rgba(138,58,42,0); }
}

.mic-btn-disabled { opacity: .55; cursor: not-allowed; }
.mic-status { font-size: 13px; margin: 6px 0 0; min-height: 1em; }

/* ---------- AI suggestion ---------- */

.ai-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .12s, background .12s, color .12s;
}
.ai-help-btn:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.ai-help-btn:disabled { opacity: .6; cursor: progress; }

.ai-suggestion {
  margin-top: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(63,90,63,.2);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.ai-hint { font-size: 13px; margin: 0 0 10px; }
.ai-suggestion-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0 0 12px;
  max-height: 300px;
  overflow-y: auto;
}
.ai-suggestion-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Feedback bubble ---------- */

.feedback-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
}
.bubble-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(28,28,31,.18), 0 1px 3px rgba(28,28,31,.1);
  transition: transform .12s, background .12s;
}
.bubble-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.bubble-icon { display: inline-flex; }
@media (max-width: 540px) {
  .bubble-text { display: none; }
  .bubble-btn { padding: 14px; }
}

.bubble-modal {
  position: fixed;
  inset: 0;
  background: rgba(28,28,31,.36);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  backdrop-filter: blur(4px);
}
@media (min-width: 640px) {
  .bubble-modal { align-items: center; }
}
.bubble-modal[hidden] { display: none; }
.bubble-modal-inner {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px -20px rgba(28,28,31,.4);
}
.bubble-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.bubble-modal-head h3 {
  font-size: 22px;
  margin: 0;
}
.bubble-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 4px;
}
.bubble-close:hover { color: var(--ink); }
.bubble-lead {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
}
.bubble-input-wrap { position: relative; }
.bubble-input-wrap textarea {
  width: 100%;
  padding: 12px 50px 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.bubble-input-wrap textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bubble-input-wrap .mic-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 8px;
  border-radius: 50%;
  background: transparent;
  border-color: transparent;
}
.bubble-input-wrap .mic-btn:hover { background: var(--accent-soft); }

.bubble-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.bubble-status { font-size: 13px; color: var(--accent-deep); }

/* ---------- Simple form (patient-first) ---------- */

.page-head.soft { border-bottom: none; padding: 64px 0 24px; }

.simple-form { display: flex; flex-direction: column; gap: 28px; }

.big-veld { margin: 0; }
.big-label {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.3;
}

.big-textarea-wrap {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  transition: border-color .12s, box-shadow .12s;
}
.big-textarea-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.big-textarea-wrap textarea {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  padding: 16px 18px 60px;
  resize: vertical;
  min-height: 200px;
  line-height: 1.65;
  outline: none;
}
.mic-btn-large {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.mic-btn-large:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.mic-btn-large.mic-btn-active {
  background: var(--warn);
  border-color: var(--warn);
  color: #fff;
}
.mic-btn-large.mic-btn-active:hover { background: var(--warn); border-color: var(--warn); color: #fff; }

.voorbeelden { margin-top: 18px; }
.voorbeelden-titel { font-size: 13px; margin: 0 0 8px; }
.pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.pil {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .12s, color .12s, background .12s;
}
.pil:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }

.ai-help-row { margin-top: 18px; }

.details-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
}
.details-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  list-style: none;
  user-select: none;
}
.details-summary::-webkit-details-marker { display: none; }
.details-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
  transition: transform .15s;
}
.details-block[open] .details-icon { transform: rotate(45deg); border-color: var(--accent); color: var(--accent-deep); }
.details-hint { margin-left: auto; font-size: 13px; }
.details-body { padding: 6px 0 16px; }
.details-body .veld { margin-bottom: 16px; }
.details-body .veld:last-child { margin-bottom: 0; }

.huisregels-zacht {
  font-size: 13px;
  margin: 4px 0 0;
  line-height: 1.5;
}

.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- Instelling hero (warmer, twee-koloms) ---------- */

.instelling-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 360px at 12% 0%, rgba(63,90,63,.10), transparent 65%),
    radial-gradient(640px 320px at 92% 18%, rgba(186,159,107,.13), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #fbf6ec 100%);
}
.instelling-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(28,28,31,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 40%, transparent 80%);
}
.instelling-hero .container { position: relative; z-index: 1; }
.instelling-hero.soft { background: linear-gradient(180deg, var(--bg) 0%, #fbf6ec 100%); padding: 48px 0 32px; }
.instelling-hero.soft::before { display: none; }

.instelling-hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.instelling-hero-main .page-title { margin-bottom: .25em; }
.instelling-onderdeel { font-size: 15px; margin: 0 0 18px; letter-spacing: .01em; }
.instelling-lead { margin-top: 14px; max-width: 56ch; }
.instelling-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.instelling-feiten {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}
.feiten-titel {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin: 0 0 14px;
}
.feiten-lijst { margin: 0; }
.feiten-rij {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.feiten-rij:last-child { border-bottom: none; padding-bottom: 0; }
.feiten-rij:first-child { padding-top: 0; }
.feiten-rij dt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .03em;
}
.feiten-rij dd {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.feiten-aux {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
  text-decoration: none;
}
.feiten-aux:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.feiten-aux .aux-icon { opacity: .7; }

@media (max-width: 820px) {
  .instelling-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .instelling-feiten { order: 2; }
}

/* ---------- Locatie / map ---------- */

.locatie-sectie { padding: 36px 0 8px; }
.locatie-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.locatie-head .sectie-titel { margin-bottom: 0; }
.locatie-sv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color .12s, background .12s, color .12s;
}
.locatie-sv-link:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }

.map-embed {
  margin-top: 16px;
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-attrib {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 11px;
  background: rgba(255,255,255,.85);
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .01em;
}
.map-attrib:hover { color: var(--accent-deep); background: #fff; }
@media (max-width: 540px) {
  .map-embed { height: 280px; }
}

/* ---------- Personen chips ---------- */

.personen-sectie { padding: 36px 0 4px; }
.sectie-titel {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 .3em;
  color: var(--ink);
}
.sectie-sub { margin: 0 0 18px; max-width: 60ch; font-size: 14px; }

.persoon-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.persoon-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  transition: border-color .12s, background .12s;
}
.persoon-chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.persoon-chip-naam { font-weight: 500; }
.persoon-chip-rol { color: var(--muted); font-size: 13px; }
.persoon-chip-aantal {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.persoon-chip:hover .persoon-chip-aantal { background: rgba(63,90,63,.18); color: var(--accent-deep); }

.review-over { color: var(--ink-soft); }
.review-over a { color: var(--accent-deep); text-decoration-thickness: 1px; }

/* ---------- Persoon-disclaimer in formulier ---------- */

.persoon-disclaimer {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--accent-deep);
  font-size: 13px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.veld select {
  width: 100%;
  padding: 11px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .12s;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%236b6b70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.veld select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Takedown blok op persoon-pagina ---------- */

.takedown-sectie { padding: 24px 0 64px; }
.takedown-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
}
.takedown-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  list-style: none;
  user-select: none;
}
.takedown-summary::-webkit-details-marker { display: none; }
.takedown-block[open] .details-icon { transform: rotate(45deg); border-color: var(--accent); color: var(--accent-deep); }
.takedown-body { padding: 4px 0 18px; }
.takedown-lead { margin: 0 0 16px; font-size: 14px; line-height: 1.6; }

/* ---------- v1: Zorgverleners ---------- */

.zorgverleners-sectie { padding: 32px 0 8px; }
.zorgverlener-cards {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px;
}
.zorgverlener-card { background: #fff; border: 1px solid #e7e2d3; border-radius: 10px; }
.zorgverlener-card > a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; text-decoration: none; color: inherit;
  border-radius: 10px; transition: background .15s ease;
}
.zorgverlener-card > a:hover { background: #faf8f1; }
.zorgverlener-card-foto, .zorgverlener-card-foto-placeholder {
  width: 48px; height: 48px; border-radius: 50%;
  flex-shrink: 0; object-fit: cover;
  background: #ecede2; color: #3f5a3f;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: Fraunces, serif; font-size: 22px; font-weight: 400;
}
.zorgverlener-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zorgverlener-card-naam { font-weight: 500; font-size: 15px; }
.zorgverlener-card-rol { font-size: 13px; }
.zorgverlener-card-rating { font-size: 13px; color: #3f5a3f; margin-top: 2px; }

.zorgverlener-hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .zorgverlener-hero-grid { grid-template-columns: 2fr 1fr; gap: 32px; } }
.zorgverlener-hero-main { min-width: 0; }
.zorgverlener-foto-wrap { margin-bottom: 14px; }
.zorgverlener-foto { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; }
.zorgverlener-foto-bron { display: block; font-size: 11px; margin-top: 4px; }
.zorgverlener-werkplekken { margin: 8px 0 18px; font-size: 14px; }
.zorgverlener-disclaimer { font-size: 13px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e7e2d3; }
.zorgverlener-feiten dl.feiten-lijst dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #6b6b70; }
.zorgverlener-feiten dl.feiten-lijst dd { font-size: 14px; }
.badge-verified { background: #ecede2; color: #3f5a3f; padding: 3px 8px; border-radius: 12px; font-size: 12px; font-weight: 500; }

.rating-distributie-sectie { padding: 24px 0; }
.rating-distributie { list-style: none; padding: 0; margin: 16px 0 0; }
.distributie-rij { display: grid; grid-template-columns: 36px 1fr 36px; gap: 12px; align-items: center; padding: 6px 0; font-size: 13px; }
.distributie-label { font-weight: 500; }
.distributie-bar { height: 8px; background: #ecede2; border-radius: 4px; overflow: hidden; }
.distributie-bar-fill { display: block; height: 100%; background: #3f5a3f; transition: width .3s ease; }
.distributie-aantal { text-align: right; font-variant-numeric: tabular-nums; }

.review-response {
  margin-top: 14px; padding: 12px 16px;
  background: #f3efe5; border-left: 3px solid #3f5a3f;
  border-radius: 0 6px 6px 0; font-size: 14px;
}
.review-response-head { margin: 0 0 6px; font-size: 13px; }
.review-response p { margin: 0 0 8px; }
.review-response p:last-child { margin-bottom: 0; }

.gedragscode-strip {
  margin: 24px 0 20px; padding: 18px 20px;
  background: #fff7e6; border: 1px solid #e8d29a; border-radius: 10px;
}
.gedragscode-strip-titel { margin: 0 0 8px; font-weight: 600; font-size: 14px; }
.gedragscode-strip-bullets { margin: 0 0 12px; padding-left: 20px; font-size: 13px; line-height: 1.6; }
.gedragscode-strip-bullets li { margin-bottom: 4px; }
.gedragscode-strip-link { margin: 0 0 14px; font-size: 12px; }
.gedragscode-akkoord {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; background: #fff; border: 1px solid #e8d29a; border-radius: 6px;
  font-size: 13px; cursor: pointer;
}
.gedragscode-akkoord input[type="checkbox"] { margin-top: 2px; }

.legal-page { padding: 32px 0 64px; }
.legal-datum { margin: -8px 0 24px; font-size: 13px; font-style: italic; }
.legal-sectie { margin: 28px 0; }
.legal-h2 { font-family: Fraunces, serif; font-weight: 400; font-size: 24px; margin: 0 0 12px; color: #3f5a3f; }
.legal-sectie p { font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.legal-regels { padding-left: 22px; }
.legal-regels li { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.legal-foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid #e7e2d3; font-size: 13px; }

.footer-legal { margin-top: 10px; font-size: 13px; }
.footer-legal a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,0.2); }
.footer-legal a:hover { text-decoration-color: currentColor; }

/* ---------- Nieuws-sectie (artikelen per instelling) ---------- */

.nieuws-sectie { padding: 36px 0 8px; }
.nieuws-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nieuws-item {
  background: #fff;
  border: 1px solid #e7e2d3;
  border-left: 3px solid #b95c50;
  border-radius: 8px;
  padding: 16px 18px;
}
.nieuws-item-compact {
  border-left-color: #c8b878;
  padding: 12px 16px;
}
.nieuws-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: #f3efe5;
  color: #6b6b70;
}
.nieuws-cat-igj { background: #fde6df; color: #a14635; }
.nieuws-cat-zelfmoord { background: #f5dada; color: #8a2c2c; }
.nieuws-cat-dwang { background: #f0e0d0; color: #8a5a30; }
.nieuws-cat-wvggz { background: #e7e0f0; color: #5d4a8a; }
.nieuws-cat-personeelstekort { background: #fef0d8; color: #8a6a20; }
.nieuws-cat-onderzoek { background: #e0eef0; color: #2a5a64; }
.nieuws-cat-algemeen { background: #e7e2d3; color: #5a5a40; }

.nieuws-titel {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
  line-height: 1.35;
}
.nieuws-item-compact .nieuws-titel { font-size: 15px; }
.nieuws-titel a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .12s;
}
.nieuws-titel a:hover { border-bottom-color: var(--accent); }
.nieuws-titel a:visited { color: #5a5a5e; }
.nieuws-meta {
  font-size: 12px;
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.nieuws-meta .dot { opacity: .5; }
.nieuws-bron { font-weight: 500; }
.nieuws-samenvatting {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft, #3a3a3e);
}
.nieuws-item-compact .nieuws-samenvatting { font-size: 13px; line-height: 1.5; }

.nieuws-algemeen {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e7e2d3;
}
.sectie-subtitel {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 .3em;
  color: var(--ink);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
