/* Dinoplan website. Merkkleuren en letters: zie Merk/Merkgids Dinoplan.md */
/* letters worden door de site zelf uitgeleverd (map /fonts, gekopieerd door build.mjs), niet door Google */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/plus-jakarta-sans.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('/fonts/figtree.woff2') format('woff2'); }
:root {
  --brand: #2453e0;
  --brand-dark: #1a3fb3;
  --brand-soft: #e7edff;
  --ink: #101a33;
  --muted: #56607a;
  --line: #dde3ee;
  --paper: #f5f7fb;
  --white: #ffffff;
  --tape: #f5b301;
  --tape-ink: #3a2a00;
  --night: #0f1c3f;
  --display: 'Plus Jakarta Sans', 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3, .h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3, .h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 6px; }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px var(--body); text-decoration: none; padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: var(--white); color: var(--brand); }
.btn-small { padding: 9px 16px; font-size: 15px; border-radius: 10px; }

/* kop */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.045em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 64px 0 72px; background: linear-gradient(var(--white), var(--paper)); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#e9eef8 1px, transparent 1px), linear-gradient(90deg, #e9eef8 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); margin: 20px 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232453e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-visual { margin: 0; }
.frame { background: var(--white); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(16, 26, 51, .14), 0 4px 14px rgba(16, 26, 51, .06); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; font-size: 12.5px; color: var(--muted); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ef; }
.frame-bar span { margin-left: 8px; }
.frame img { padding: 8px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; justify-content: center; }
.tags span { font-size: 13px; font-weight: 700; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink); }
.tags span:last-child { background: var(--tape); border-color: var(--tape); color: var(--tape-ink); }

/* secties */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); }
.section h2 { max-width: 22em; }
.sub { color: var(--muted); margin-top: 14px; max-width: 46em; }
.cards { display: grid; gap: 18px; margin-top: 40px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card p { color: var(--muted); font-size: 16px; }
.small-cards { margin-top: 56px; }
.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.styles-block { margin-top: 72px; display: grid; gap: 24px; }
.styles-block .feature-copy { max-width: 44em; }
.styles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.styles-grid figure { margin: 0; display: grid; gap: 10px; }
.styles-grid img { border-radius: 14px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 26px rgba(16, 26, 51, .07); }
.styles-grid figcaption { font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; }

.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; margin-top: 56px; }
.feature-flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 14px; }
.feature-copy p { color: var(--muted); }
.feature-img { border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 40px rgba(16, 26, 51, .08); }
.bullets { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 22px; color: var(--ink); font-size: 16px; }
.bullets li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 4px; background: var(--tape); border-radius: 2px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: stap; }
.steps li { counter-increment: stap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(stap); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: var(--white); font-family: var(--display); font-weight: 800; }
.steps p { color: var(--muted); font-size: 16px; }

.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 17px; background: #fafbfd; }
.compare thead th:nth-child(2) { color: var(--brand); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare tbody td:nth-child(2) { font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
/* op een smal scherm schuift de tabel; de eerste kolom blijft staan zodat je weet waar de rij over gaat */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
.compare thead th:first-child { background: #fafbfd; }
.table-wrap { background: linear-gradient(90deg, var(--white) 92%, rgba(16, 26, 51, .07)); }
.table-wrap .compare { background: transparent; }
.footnote { color: var(--muted); font-size: 14px; margin-top: 14px; }

.pricing .price { position: relative; }
.price.featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(36, 83, 224, .14); }
.card .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.amount { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.amount b { font-family: var(--display); font-size: 32px; letter-spacing: -0.02em; }
.amount span, .small { color: var(--muted); font-size: 14px; }
.card .badge { color: var(--white); }
.price { display: flex; flex-direction: column; gap: 10px; }
.price .bullets { margin-bottom: 8px; }
.price .btn { margin-top: auto; width: 100%; }

.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--brand); font-weight: 600; }
.faq details[open] summary::after { content: '−'; }
.faq summary h3 { font-size: 18px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.faq p { color: var(--muted); padding-bottom: 16px; }

.cta-band { background: var(--brand); color: var(--white); padding: 72px 0; }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 22px; }
.cta-inner h2 { max-width: 18em; }

.site-footer { background: var(--night); color: #c6cee3; padding: 56px 0 28px; }
.site-footer .logo { color: var(--white); font-size: 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: grid; gap: 4px; align-content: start; }
.footer-grid a:not(.logo) { color: #c6cee3; text-decoration: none; padding: 5px 0; display: inline-block; }
.footer-grid a:not(.logo):hover { color: var(--white); }
.foot-title { color: var(--white); font-weight: 700; margin-bottom: 4px; }
.site-footer .small { color: #9aa6c4; margin-top: 12px; max-width: 30em; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; max-width: 1160px; }

@media (max-width: 960px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature-flip .feature-copy { order: 0; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .steps, .styles-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-row { gap: 14px; }
  .header-cta { margin-left: auto; }
  .mobile-nav { display: block; margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards-4 { grid-template-columns: 1fr; }
  .pricing .featured { order: -1; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 22px; }
}
@media (max-width: 380px) {
  h1 { font-size: 30px; }
  .page-head h1 { font-size: 28px; }
}
/* op een smal scherm wint de knop het van het woordmerk; het tegeltje blijft */
@media (max-width: 430px) {
  .header-row .logo span { display: none; }
  .header-cta { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* actief menu-item */
.nav a[aria-current="page"] { color: var(--brand); }
.header-cta { margin-left: 0; }

/* menu op de telefoon (zonder JavaScript) */
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-content: center; gap: 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav[open] summary { background: var(--brand-soft); border-color: var(--brand); }
.mobile-nav nav { position: absolute; right: 0; top: 56px; width: min(280px, 86vw); background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(16, 26, 51, .14); padding: 10px; display: grid; gap: 2px; }
.mobile-nav nav a:not(.btn) { padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mobile-nav nav a:not(.btn):hover, .mobile-nav nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.mobile-nav nav .btn { margin-top: 6px; }

/* kruimelpad */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: #a3abbe; }
.crumbs a { color: var(--muted); text-decoration: none; padding: 6px 0; display: inline-block; }
.crumbs li[aria-current] { padding: 6px 0; }
.crumbs a:hover { color: var(--brand); }

/* paginakop voor binnenpagina's */
.page-head { padding: 40px 0 56px; }
.page-head .lead { margin-bottom: 0; }
.page-head .cta-row { margin-top: 28px; }

/* kaarten in twee kolommen, artikeloverzicht */
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.articles .card h2 a { color: var(--ink); text-decoration: none; }
.articles .card h2 a:hover { color: var(--brand); }
.more { font-weight: 700; text-decoration: none; }
.more::after { content: ' →'; }

/* artikelen */
.article { padding-top: 24px; padding-bottom: 72px; }
.article-head { padding: 24px 0 8px; }
.meta-line { color: var(--muted); font-size: 14px; margin-top: 14px; }
.prose { margin-top: 24px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose .lead { margin: 0; color: var(--ink); font-size: 20px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose li::marker { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: #fafbfd; font-family: var(--display); }
.prose .table-wrap { margin-top: 18px; }
.prose .note { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 10px; }
.prose details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-top: 10px; }
.prose details summary { cursor: pointer; padding: 12px 0; list-style: none; }
.prose details summary::-webkit-details-marker { display: none; }
.prose details summary h3 { margin: 0; font-size: 17px; font-family: var(--body); letter-spacing: 0; }
.prose details p { padding-bottom: 14px; color: var(--muted); }
.sources { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sources h2 { font-size: 18px !important; margin-top: 0 !important; }
.sources ul { margin-top: 10px; }
.article-cta { margin-top: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.article-cta > div { flex: 1; min-width: 220px; }
.article-cta p:not(.h3) { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 960px) {
  .cards-2 { grid-template-columns: 1fr; }
}

/* klikbare kaarten en losse links */
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card-link:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 26, 51, .08); }
.card-link h3 { color: var(--ink); }
.center-link { text-align: center; margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature-grid .card ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16, 26, 51, .08); background: var(--white); }
.checks.dark li { color: var(--ink); }
.page-head .hero-grid { align-items: center; }
@media (max-width: 960px) { .feature-grid, .split { grid-template-columns: 1fr; } }
@media (min-width: 961px) and (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 48px); }
@media (max-width: 960px) { .mobile-nav { display: block; } }
/* lange Nederlandse woorden netjes afbreken op smalle schermen: wel in lopende tekst, niet in koppen en tabellen */
h1, h2, h3, .h3, .card, .prose { overflow-wrap: break-word; }
.card p, .prose p, .prose li, .sub { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 5 4; }
.lead { hyphens: manual; -webkit-hyphens: manual; }
h1, h2, h3, .h3, summary, table, .bullets, .checks { hyphens: manual; -webkit-hyphens: manual; }
.prose table th:first-child, .prose table td:first-child { min-width: 9em; }
/* kleine hulpklassen in plaats van losse style-attributen */
.mt-0 { margin-top: 0; }
.pt-0 { padding-top: 0; }
.steps-1 { grid-template-columns: 1fr; }
/* opmerking onder de hero-knop op een telefoon: de app werkt op een computer */
.phone-note { display: none; color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 760px) { .phone-note { display: block; } }
/* stappenplan als artikel */
.howto { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: stap; }
.howto li { counter-increment: stap; position: relative; padding: 18px 18px 18px 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.howto li::before { content: counter(stap); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand); color: var(--white); font-family: var(--display); font-weight: 800; }
.howto h3 { margin: 0 0 6px; font-size: 18px; }
.howto p { color: var(--muted); }
.mt-32 { margin-top: 32px; }
.pt-56 { padding-top: 56px; }
.footnote a { padding: 6px 2px; display: inline-block; }
