/* Wervingspagina "Wie draagt het nieuws" — mobile first, DoDiversity huisstijl. */

:root {
  --dd-blue:     #2563D4;
  --dd-darkblue: #0E2A5E;
  --dd-sage:     #55734A;
  --dd-bg:       #FAFAF8;
  --dd-white:    #FFFFFF;
  --dd-text:     #1A1A1A;
  --dd-muted:    #666666;
  --dd-border:   #E0E0DC;

  --font-heading: 'DM Sans', Calibri, sans-serif;
  --font-body:    'DM Sans', Calibri, sans-serif;

  --radius:   14px;
  --shadow:   0 2px 16px rgba(14, 42, 94, 0.07);
  --maxwidth: 680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  background: var(--dd-bg);
  color: var(--dd-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: var(--font-heading);
  color: var(--dd-darkblue);
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }

p { font-size: 1rem; }
a { color: var(--dd-blue); }

/* ── Header ── */
.site-header {
  background: var(--dd-white);
  border-bottom: 1px solid var(--dd-border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-header img { height: 36px; width: auto; }
.brand { font-weight: 600; font-size: 1rem; }
.brand-dark { color: var(--dd-darkblue); }
.brand-blue { color: var(--dd-blue); }
.site-header .divider { width: 1px; height: 20px; margin: 0 0.5rem; background: var(--dd-border); }
.client-label { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.15; }
.survey-title { color: var(--dd-darkblue); font-size: 0.9rem; font-weight: 600; }
.survey-kind { color: var(--dd-muted); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Layout ── */
main { max-width: var(--maxwidth); margin: 0 auto; padding: 3rem 1.5rem; }
.section { padding-top: 2.5rem; }

.card {
  background: var(--dd-white);
  border: 1px solid var(--dd-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
}

/* ── Hero ── */
.hero { padding: 2.5rem; }
.hero-sub {
  font-weight: 600;
  color: var(--dd-darkblue);
  margin-top: 0.4rem;
  font-size: 1.05rem;
}
.hero-lead { margin-top: 0.9rem; color: var(--dd-text); }

.counter-line { margin-top: 1.4rem; min-height: 1.6rem; }
.counter-text { font-weight: 600; color: var(--dd-darkblue); font-size: 1.05rem; }
.counter-text .counter-number { color: var(--dd-blue); font-size: 1.35rem; }

/* ── Betekenis van meer deelnemers ── */
.impact-intro { color: var(--dd-muted); }
.participant-progress { margin-top: 1.25rem; }
.participant-progress-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.45rem; color: var(--dd-muted); font-size: 0.82rem; }
.participant-progress-label strong { color: var(--dd-darkblue); font-weight: 600; }
.participant-blocks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.participant-blocks span { height: 12px; border-radius: 2px; background: var(--dd-border); }
.participant-blocks .filled { background: var(--dd-blue); }
.participant-blocks .partial { background: linear-gradient(90deg, var(--dd-blue) 92%, var(--dd-border) 92%); }
.impact-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.impact-item { padding: 1rem; border: 1px solid var(--dd-border); border-radius: 10px; background: var(--dd-bg); }
.impact-item.is-reached { background: rgba(85, 115, 74, 0.08); border-color: rgba(85, 115, 74, 0.45); }
.impact-item.is-next { background: rgba(37, 99, 212, 0.05); border-color: rgba(37, 99, 212, 0.45); }
.impact-item strong { color: var(--dd-darkblue); font-weight: 600; }
.impact-item p { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.55; }
.milestone-status { display: inline-block; margin-left: 0.5rem; color: var(--dd-sage); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.is-next .milestone-status { color: var(--dd-blue); }

/* ── Knoppen ── */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.btn + .btn { margin-top: 0.7rem; }
.btn-primary { background: var(--dd-blue); color: var(--dd-white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--dd-darkblue); }
.btn-secondary {
  background: var(--dd-white);
  color: var(--dd-darkblue);
  border-color: var(--dd-border);
  font-size: 0.95rem;
  font-weight: 600;
}
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--dd-blue); color: var(--dd-blue); }
.btn-compact { font-size: 0.95rem; margin-top: 1rem; }
.btn-option {
  background: var(--dd-white);
  border-color: var(--dd-border);
  color: var(--dd-darkblue);
  font-size: 1rem;
  font-weight: 600;
}
.btn-option:hover, .btn-option:focus-visible { border-color: var(--dd-blue); }
.btn-option[aria-pressed="true"] { border-color: var(--dd-blue); background: rgba(55, 122, 255, 0.08); }

:where(button, input, textarea, summary, a):focus-visible {
  outline: 3px solid var(--dd-darkblue);
  outline-offset: 3px;
}
.hero-actions { margin-top: 1.5rem; }

.link-button {
  background: none;
  border: none;
  min-height: 44px;
  padding: 0.5rem 0;
  font: inherit;
  color: var(--dd-blue);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.cta-aside { margin-top: 1.2rem; font-size: 0.88rem; color: var(--dd-muted); text-align: center; }

/* ── Citaat ── */
.quote-intro { font-size: 0.85rem; font-weight: 600; color: var(--dd-muted); }
.quote-card blockquote {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--dd-darkblue);
  border-left: 3px solid var(--dd-sage);
  padding-left: 1rem;
  margin: 0.8rem 0;
}
.quote-foot { font-size: 0.9rem; color: var(--dd-muted); }

/* ── Teaser ── */
.teaser-statement {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--dd-darkblue);
  border-left: 3px solid var(--dd-sage);
  padding-left: 1rem;
  margin: 0.9rem 0 1.1rem;
}
.teaser-options { display: grid; gap: 0.5rem; }
.teaser-options .btn + .btn { margin: 0; }
.teaser-options .btn { min-height: 54px; height: 54px; display: flex; align-items: center; justify-content: center; }
.teaser-result { margin-top: 1.1rem; }
.teaser-result p + p { margin-top: 0.6rem; }
.teaser-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--dd-muted); }

/* ── Overig ── */
.topic-list { margin: 0.9rem 0 0.9rem 1.1rem; }
.topic-list li { margin-bottom: 0.3rem; }
.research-section p + p, .about-section p + p { margin-top: 0.8rem; }
.share-buttons { margin-top: 1rem; }
.share-feedback { margin-top: 0.7rem; font-size: 0.88rem; color: var(--dd-sage); font-weight: 600; min-height: 1.2rem; }
.distribution-help { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--dd-border); font-size: 0.92rem; color: var(--dd-muted); }
.bottom-cta { text-align: center; }

.site-footer {
  background: transparent;
  color: var(--dd-muted);
  text-align: center;
  padding: 1.5rem 1.25rem;
  font-size: 0.78rem;
  border-top: 1px solid var(--dd-border);
}
.site-footer a { color: var(--dd-blue); text-decoration: none; }

/* ── Herinneringsdialoog ── */
.sheet {
  width: min(100%, 480px);
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.25rem 1.25rem 1.75rem;
  background: var(--dd-white);
  color: var(--dd-text);
  margin: auto auto 0;
}
.sheet::backdrop { background: rgba(14, 42, 94, 0.45); }
.sheet-close-row { display: flex; justify-content: flex-end; }
.sheet-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--dd-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
}
.sheet h2 { font-size: 1.5rem; }
.sheet p { margin-top: 0.5rem; font-size: 0.95rem; }

.field-label { display: block; margin-top: 1.1rem; font-size: 0.85rem; font-weight: 600; color: var(--dd-darkblue); }
.field {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--dd-border);
  border-radius: 8px;
  background: var(--dd-bg);
}
.field:focus-visible { border-color: var(--dd-blue); }
.privacy-note { font-size: 0.78rem; line-height: 1.55; color: var(--dd-muted); margin-top: 0.85rem; }
.form-error { margin-top: 0.8rem; font-size: 0.88rem; color: #B42318; font-weight: 600; }
.sheet [data-reminder-submit] { display: block; width: 100%; margin-top: 1.25rem; }
.reminder-done { padding: 0.25rem 0 0.5rem; text-align: center; }
.reminder-done h2 { margin: 0; }
.reminder-done .done-counter {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(37, 99, 212, 0.06);
  color: var(--dd-darkblue);
  font-weight: 600;
}
.reminder-done .reminder-share-prompt { margin-top: 1.4rem; }
.reminder-done [data-action="share-from-dialog"] { display: block; margin: 0.85rem auto 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Groter scherm ── */
@media (min-width: 700px) {
  h1 { font-size: 2rem; }
  main { padding-bottom: 4rem; }
  .card { padding: 2rem; }
  .hero { padding: 2.5rem; }
  .btn { display: inline-block; width: auto; min-width: 260px; }
  .btn + .btn { margin-top: 0; margin-left: 0.7rem; }
  .teaser-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
  .teaser-options .btn { min-width: 0; margin: 0; }
  .share-buttons { display: flex; gap: 0.7rem; flex-wrap: wrap; }
  .share-buttons .btn { min-width: 0; flex: 1 1 180px; margin: 0; }
  .sheet { border-radius: var(--radius); margin: auto; }
}

@media (max-width: 520px) {
  .site-header { padding: 0.85rem 1rem; gap: 0.5rem; }
  .site-header .divider { margin: 0 0.2rem; }
  .brand { font-size: 0.9rem; }
  .client-label { min-width: 0; }
  main { padding: 2rem 1.25rem 3rem; }
  .card { padding: 1.75rem 1.25rem; }
  .survey-title { font-size: 0.8rem; }
  .impact-list { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  main { padding-inline: 1rem; }
  .survey-title { font-size: 0.76rem; }
  .participant-blocks { gap: 3px; }
}

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