/* OOR.care — gedeelde stylesheet (alle pagina's) */
:root {
  --night:    #0B1330;
  --night2:   #16215A;
  --amber:    #6B5CE0;
  --amber-dk: #5142B8;
  --coral:    #4A3FC4;
  --coral-dk: #362D96;
  --teal:     #12A79E;
  --teal-dk:  #0B7D77;
  --tint:     #EEEBFA;
  --tint-bd:  #D9D3F2;
  --bg:       #FFFFFF;
  --soft:     #F6F5FC;
  --text:     #10122E;
  --muted:    #5C5A78;
  --line:     #E2DFF2;
  --shadow:   0 6px 24px rgba(16,18,46,0.10);
  --radius:   16px;
  --max:      1040px;
  /* familie-gradient (RomRom/SLAAP.care), alleen voor het beeldmerk zelf —
     niet de siteaccent hierboven. Matcht het bronbestand in Tresorit. */
  --family-blue: #1B4FBF;
  --family-teal: #2E8C8C;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { opacity: .8; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand .mark { flex-shrink: 0; }
.brand .dot-care { color: var(--teal-dk); font-weight: 600; }
nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
nav a { text-decoration: none; font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
nav a:hover { color: var(--text); border-color: var(--line); background: var(--soft); opacity: 1; }
nav a[aria-current="page"] { color: var(--coral-dk); font-weight: 700; }
.nav-cta { background: linear-gradient(135deg, var(--coral), var(--amber)) !important; color: #fff !important; border-color: transparent !important; font-weight: 600; }
.nav-cta:hover { opacity: .86 !important; }
@media (max-width: 680px) { nav a:not(.nav-cta) { display: none; } }

/* Hero (hoofdpagina, groot) — wit, zoals onlinekno-arts.nl */
.hero { background: var(--bg); color: var(--text); padding: 68px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 65% at 88% -10%, rgba(74,63,196,.10), transparent 55%),
              radial-gradient(ellipse 55% 55% at 10% 100%, rgba(18,167,158,.08), transparent 55%);
  animation: wash 9s ease-in-out infinite;
}
@keyframes wash { 0%,100% { opacity:.6; transform:scale(1); } 50% { opacity:1; transform:scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation:none; opacity:.85; } }
.hero .wrap { position: relative; z-index: 1; }
.kicker { display: inline-block; margin-bottom: 18px; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; color: var(--coral-dk); background: var(--tint); border: 1px solid var(--tint-bd); border-radius: 999px; padding: 5px 13px; }
h1 { margin: 0 0 18px; font-size: clamp(30px, 4.5vw, 52px); line-height: 1.09; letter-spacing: -.028em; max-width: 20ch; color: var(--text); }
.hero-sub { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 56ch; margin: 0 0 36px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero klein (subpagina's) — zelfde lichte behandeling */
.hero-sm { background: var(--bg); color: var(--text); padding: 44px 0 40px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-sm .wrap { position: relative; z-index: 1; }
.hero-sm h1 { font-size: clamp(26px, 3.6vw, 38px); max-width: 24ch; }
.hero-sm .hero-sub { font-size: 16px; max-width: 62ch; margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 10px; transition: opacity .15s, transform .15s; white-space: nowrap; cursor: pointer; border: none; }
.btn:hover { opacity: .86; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--coral), var(--amber)); color: #fff; }
.btn-ghost { color: var(--text); font-weight: 400; border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { color: var(--coral-dk); border-color: var(--tint-bd); }

/* Doelgroep-tegels (hoofdpagina) */
.tegels { padding: 44px 0; }
.tegel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .tegel-grid { grid-template-columns: 1fr; } }
.tegel {
  display: block; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 22px; transition: transform .15s, border-color .15s;
}
.tegel:hover { opacity: 1; transform: translateY(-2px); border-color: var(--tint-bd); }
.tegel .eye { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dk); font-weight: 700; }
.tegel h2 { margin: 8px 0 8px; font-size: 20px; letter-spacing: -.01em; }
.tegel p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tegel .go { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--coral-dk); text-decoration: none; }

.achtergrond-link { text-align: center; padding: 0 0 44px; font-size: 14px; color: var(--muted); }
.achtergrond-link a { color: var(--teal-dk); font-weight: 600; }

/* Nu / straks — kernpatroon, terugkerend op elke pagina */
.duo-section { padding: 40px 0 8px; scroll-margin-top: 88px; }
.duo-title { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
.duo-lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 68ch; }
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }
.duo-card { border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 24px; }
.duo-now { background: var(--soft); border: 1px solid var(--line); }
.duo-next { background: var(--tint); border: 2px solid var(--amber); }
.duo-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.duo-now .duo-eyebrow { color: var(--muted); }
.duo-next .duo-eyebrow { color: var(--coral-dk); }
.duo-card h3 { margin: 8px 0 12px; font-size: 20px; }
.duo-card ul { margin: 0; padding-left: 18px; }
.duo-card li { margin: 9px 0; font-size: 15.5px; }
.duo-arrow { display: flex; align-items: center; justify-content: center; padding: 0 18px; }
.duo-arrow svg { width: 30px; height: 30px; }
@media (max-width: 780px) { .duo-arrow { padding: 10px 0; transform: rotate(90deg); } }

/* Sectiekoppen (herbruikt boven statistieken, roadmap, etc.) */
.model { padding: 44px 0 8px; scroll-margin-top: 88px; }
.model-title { margin: 0 0 4px; font-size: 24px; letter-spacing: -.02em; }
.model-lead { margin: 0 0 24px; color: var(--muted); font-size: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 4px; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.stat .n { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1; background: linear-gradient(135deg, var(--coral-dk), var(--amber)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.4; }

/* Route-flow: 3 stappen + dichotome uitkomst (grote letters, geen SVG) */
.flow-section { padding: 40px 0 8px; scroll-margin-top: 88px; }
.flow-wrap { max-width: 620px; margin: 0 auto; }
.flow-node { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.flow-node.flow-hub { background: var(--tint); border-color: var(--amber); }
.flow-node.flow-kno { border-color: var(--teal); border-width: 2px; }
.flow-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.flow-hub .flow-eyebrow { color: var(--coral-dk); }
.flow-kno .flow-eyebrow { color: var(--teal-dk); }
.flow-node strong { display: block; font-size: 22px; margin: 6px 0 4px; }
.flow-node span { display: block; font-size: 14.5px; color: var(--muted); }
.flow-arrow { width: 2px; height: 26px; margin: 8px auto; background: linear-gradient(var(--amber), var(--coral)); position: relative; }
.flow-arrow::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--coral); }
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 600px) { .fork-grid { grid-template-columns: 1fr; } }
.fork-card { border-radius: 14px; padding: 18px 18px; text-align: center; }
.fork-card.fork-ok { background: var(--tint); border: 2px solid var(--amber); }
.fork-card.fork-refer { background: #fff; border: 2px solid var(--teal); }
.fork-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.fork-ok .fork-eyebrow { color: var(--coral-dk); }
.fork-refer .fork-eyebrow { color: var(--teal-dk); }
.fork-card strong { display: block; font-size: 19px; margin: 6px 0 4px; }
.fork-card span { display: block; font-size: 13.5px; color: var(--muted); }
.flow-caption { text-align: center; color: var(--muted); font-size: 13.5px; margin: 16px 0 0; line-height: 1.5; }

/* Trio-blok (achtergrondpagina: beleid / verzekeraar / investeerder) */
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 4px; }
@media (max-width: 780px) { .trio-grid { grid-template-columns: 1fr; } }
.trio-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px; }
.trio-card .eye { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dk); font-weight: 700; }
.trio-card h3 { margin: 8px 0 8px; font-size: 16.5px; }
.trio-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Sectie / kaarten */
.sec { scroll-margin-top: 88px; padding: 8px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin: 18px 0; }
.card h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card li { margin: 7px 0; }
.muted { color: var(--muted); }

/* CTA-band onderaan elke subpagina */
.cta-band { background: var(--tint); border-top: 1px solid var(--tint-bd); border-bottom: 1px solid var(--tint-bd); padding: 32px 0; text-align: center; margin: 8px 0; }
.cta-band h2 { margin: 0 0 8px; font-size: 21px; }
.cta-band p { margin: 0 0 18px; color: var(--muted); }

.sep-banner { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 18px 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.sep-banner strong { color: var(--text); }

/* Footer */
.footer { padding: 28px 0 40px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer a { color: var(--muted); }
.footer-links { margin-bottom: 6px; }
.footer-tiny { font-size: 12px; margin-top: 5px; }
