/* DRKSN Dev — gedeelde stijl. Kleuren en letters uit Family Planner (dagkleuren, Bricolage Grotesque + Figtree). */
:root {
  --ink: #17181D;
  --paper: #FAF8F3;
  --card: #FFFFFF;
  --soft: #5D606B;
  --line: #E7E3D9;
  --brand: #C94A2B;
  --brand-deep: #A93A26;
  --purple: #8574B8;
  --sun: #FFC21A; --coral: #F07A5A;
  --ma: #3FA535; --di: #FFD200; --wo: #E3342F; --do: #1E8FD8; --vr: #F07C1E; --za: #17181D; --zo: #FFFFFF;
  --p1: #4A86E8; --p2: #E8558F; --p3: #2EB8A6; --p4: #9B7BEA; --p5: #F29B38; --p6: #F07A5A;
  --radius: 28px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F4F2EC; --paper: #111216; --card: #1C1D23; --soft: #A4A7B2; --line: #2C2E36; --za: #F4F2EC; --zo: #2C2E36;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #F4F2EC; --paper: #111216; --card: #1C1D23; --soft: #A4A7B2; --line: #2C2E36; --za: #F4F2EC; --zo: #2C2E36;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 "Figtree", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 9vw, 112px); font-weight: 800; }
h2 { font-size: clamp(32px, 5.5vw, 64px); font-weight: 800; }
h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* Elke taal heeft een eigen pagina (zie build.py) */

/* Kop */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { white-space: nowrap; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 10px; }
.logo .bar { display: inline-flex; gap: 2px; }
.logo .bar i { width: 5px; height: 18px; border-radius: 2px; display: block; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.lang { -webkit-appearance: none; appearance: none; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235D606B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 11px center; color: var(--ink); font: 700 14px "Figtree", sans-serif; border-radius: 999px; padding: 7px 28px 7px 12px; cursor: pointer; }
@media (max-width: 640px) { .top nav a.hide-sm { display: none; } }
@media (max-width: 440px) {
  .top .wrap { gap: 8px; }
  .top nav { gap: 2px; }
  .top nav a { padding: 8px 8px; font-size: 15px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo .bar i { width: 4px; height: 16px; }
  .lang { padding: 6px 24px 6px 10px; background-position: right 9px center; }
}

.days i:nth-child(1) { background: var(--ma); }
.days i:nth-child(2) { background: var(--di); }
.days i:nth-child(3) { background: var(--wo); }
.days i:nth-child(4) { background: var(--do); }
.days i:nth-child(5) { background: var(--vr); }
.days i:nth-child(6) { background: var(--za); }
.days i:nth-child(7) { background: var(--zo); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 17px "Figtree", sans-serif; text-decoration: none; padding: 16px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.brand { background: var(--brand); color: #fff; }
.badge { display: inline-block; font: 800 13px "Figtree", sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }

/* Secties */
section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }
.lead { font-size: clamp(19px, 2vw, 23px); color: var(--soft); max-width: 40ch; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--soft); margin: 0; }
.chip { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }

/* Scroll-animaties: alleen met JS en zonder "minder beweging" */
.js .reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .spin, .float { animation: none !important; }
}

/* Voet */
footer { padding: 48px 0 64px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }
footer .grow { flex: 1 1 auto; }

/* Lange tekst (privacy, support) */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 16px; }
.doc h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 48px 0 14px; }
.doc p, .doc li { color: var(--ink); }
.doc .muted { color: var(--soft); }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin: .35em 0; }
.doc .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 28px 0; }
.doc .summary li { margin: .5em 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; margin: 12px 0; }
details summary { cursor: pointer; font-weight: 800; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--soft); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding-top: 10px; color: var(--soft); }
details > div p:last-child { margin-bottom: 0; }
.path { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

/* Lange Duitse/Franse woorden mogen afbreken */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.doc p, .doc li, details summary { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 370px) {
  .logo { font-size: 17px; gap: 6px; }
  .logo .bar { display: none; }
  .top nav a { padding: 8px 6px; font-size: 14px; }
  .lang { font-size: 13px; padding: 5px 20px 5px 8px; background-position: right 7px center; }
}

/* Logo: drksn met twee stipjes waar de e's zaten */
.logo { text-transform: none; letter-spacing: -0.01em; font-size: 25px; gap: 0; }
.logo .e { display: inline-block; width: .15em; height: .15em; border-radius: 50%; margin: 0 .05em; vertical-align: .2em; }
.logo .e1 { background: var(--sun); }
.logo .e2 { background: var(--coral); }
.logo .dev { font-weight: 500; color: var(--soft); margin-left: .28em; }
@media (max-width: 440px) { .logo { font-size: 22px; } }
@media (max-width: 370px) { .logo { font-size: 20px; } }

/* Voet: logo, korte zin en twee kolommen links */
footer.foot { padding: 56px 0 40px; }
footer.foot .fgrid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { footer.foot .fgrid { grid-template-columns: 1.4fr 1fr 1fr; } }
.fbrand .logo { color: var(--ink); font-size: 26px; }
.fbrand p { margin: 12px 0 0; max-width: 34ch; }
.fcol { display: grid; gap: 8px; justify-items: start; }
.fcol b { color: var(--ink); font-weight: 800; margin-bottom: 4px; }
.fcol a { font-weight: 600; }
.fcol .muted { font-size: 14px; }
footer.foot .fbottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.fdots { display: inline-flex; gap: 6px; }
.fdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.fdots i + i { background: var(--coral); }

/* Logo als vector (zelfde vorm als in de mailhandtekening) */
.logo .logomark { height: 25px; width: auto; display: block; }
.fbrand .logo .logomark { height: 30px; }
@media (max-width: 440px) { .logo .logomark { height: 22px; } }
@media (max-width: 370px) { .logo .logomark { height: 19px; } }

/* Knoppen in de kleuren van de stippen */
.btn.warm { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #17181D; box-shadow: 0 10px 30px color-mix(in srgb, var(--coral) 30%, transparent); }
.hero .btn.ghost { box-shadow: inset 0 0 0 2px var(--coral); }

/* Alleen Duits mag koppen afbreken (lange woorden); Nederlands niet */
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; }
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3 { hyphens: auto; -webkit-hyphens: auto; }

/* Gedeeld: stappen, browsermockup, websites-blok, contactkaart */
.flow { position: relative; display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 46px; } .flow.four { grid-template-columns: repeat(4, 1fr); } }
.flow .track { position: absolute; background: var(--line); border-radius: 2px; }
.flow .track i { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); translate: -50% -50%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--sun) 25%, transparent); }
@media (min-width: 860px) { .flow .track { left: 12%; right: 12%; top: 10px; height: 2px; } .flow .track i { top: 50%; left: calc(var(--p, .5) * 100%); } }
@media (max-width: 859px) { .flow { padding-left: 38px; } .flow .track { left: 10px; top: 20px; bottom: 20px; width: 2px; } .flow .track i { left: 50%; top: calc(var(--p, .5) * 100%); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .big { font-size: 34px; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--ink) 6%, var(--card)); margin-bottom: 16px; }
.step .num { font: 800 13px "Figtree", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--soft); margin: 0; }
.step .mini { margin-top: 16px; background: color-mix(in srgb, var(--ink) 4%, var(--card)); border-radius: 14px; padding: 10px 12px; font-size: 15px; color: var(--ink); }
.step .mini s { text-decoration: line-through; opacity: .5; }
.contact { text-align: center; }
.contact h2 { margin-bottom: 18px; }
.contact .mail { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(24px, 4.4vw, 48px); text-decoration: none; border-bottom: 4px solid var(--coral); }
.step:nth-of-type(2) .big { background: color-mix(in srgb, var(--sun) 32%, var(--card)); }
.step:nth-of-type(3) .big { background: color-mix(in srgb, var(--coral) 30%, var(--card)); }
.step:nth-of-type(4) .big { background: linear-gradient(135deg, color-mix(in srgb, var(--sun) 32%, var(--card)), color-mix(in srgb, var(--coral) 30%, var(--card))); }
.contact .card-warm { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #17181D; border-radius: 40px; padding: clamp(40px, 7vw, 90px) 24px; }
.contact .card-warm .lead { color: rgba(23,24,29,.75); }
.contact .card-warm .mail { color: #17181D; border-bottom-color: #17181D; }
.trio .step .big { background: color-mix(in srgb, var(--sun) 32%, var(--card)); }
.trio .step:nth-child(2) .big { background: color-mix(in srgb, var(--coral) 30%, var(--card)); }
.trio .step:nth-child(3) .big { background: linear-gradient(135deg, color-mix(in srgb, var(--sun) 32%, var(--card)), color-mix(in srgb, var(--coral) 30%, var(--card))); }
.web { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .web { grid-template-columns: 1.05fr .95fr; } }
.web .lead { max-width: 46ch; }
.web .ticks { list-style: none; padding: 0; margin: 4px 0 30px; display: grid; gap: 12px; }
.web .ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.web .ticks li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); flex: none; translate: 0 -1px; }
.web .ticks li:nth-child(even)::before { background: var(--coral); }
.web .note { color: var(--soft); font-size: 15px; margin-top: 16px; }
.browser { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.18); overflow: visible; margin-right: 24px;
  transform: translateY(calc((.5 - var(--p, .5)) * 40px)); margin-bottom: 40px; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser .bar span { flex: 1; height: 18px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 6%, transparent); margin-left: 10px; }
.browser .page { padding: 18px; display: grid; gap: 14px; }
.b-hero { border-radius: 16px; padding: 22px 18px; background: linear-gradient(135deg, var(--sun), var(--coral)); display: grid; gap: 8px; }
.b-hero b { display: block; height: 14px; border-radius: 7px; background: rgba(23,24,29,.85); width: 70%; }
.b-hero b + b { width: 45%; background: rgba(23,24,29,.55); }
.b-hero s { display: block; height: 26px; width: 110px; border-radius: 13px; background: #fff; margin-top: 6px; }
.b-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-row span { height: 64px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.b-lines { display: grid; gap: 8px; }
.b-lines i { display: block; height: 9px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.b-lines i:nth-child(2) { width: 85%; } .b-lines i:nth-child(3) { width: 60%; }
.phone-mini { position: absolute; right: -24px; bottom: -28px; width: 118px; padding: 10px 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.22); display: grid; gap: 8px;
  transform: translateY(calc((var(--p, .5) - .5) * 50px)); }
.phone-mini .b-hero { padding: 12px 10px; border-radius: 12px; gap: 5px; }
.phone-mini .b-hero b { height: 8px; } .phone-mini .b-hero s { height: 14px; width: 54px; }
.phone-mini .b-lines i { height: 6px; }

/* Navigatie: links, contactknop, taal en een menu op de telefoon */
.top nav .navlinks { display: flex; gap: 2px; }
.top nav a[aria-current="page"] { color: var(--coral); }
.top nav a.navcta { background: var(--ink); color: var(--paper); padding: 8px 16px; margin-left: 4px; }
.top nav a.navcta:hover { background: var(--ink); opacity: .9; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 999px; display: grid; place-content: center; gap: 5px; border: 1.5px solid var(--line); background: var(--card); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 16px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .2s ease; }
.menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menupanel { position: absolute; right: 0; top: 50px; min-width: 210px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.18); display: grid; }
.menupanel a { padding: 12px 14px !important; border-radius: 14px !important; font-size: 17px !important; }
.menu summary::after { content: none !important; }
details.menu { background: none; border: 0; padding: 0; margin: 0; }
@media (max-width: 760px) {
  .top nav .navlinks, .top nav a.navcta { display: none; }
  .menu { display: block; }
}

/* Formulieren */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form select, .form textarea { font: 400 17px "Figtree", sans-serif; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 20%, transparent); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .count { font-weight: 400; color: var(--soft); font-size: 13px; text-align: right; }
.form .fine { color: var(--soft); font-size: 14px; margin: 0; }
.form .status { margin: 0; font-weight: 700; }
.form .status.ok { color: #2E9E5B; }
.form .status.err { color: var(--danger, #C2453F); }
.form button { border: 0; cursor: pointer; justify-self: start; }
.form button[disabled] { opacity: .6; cursor: default; }
.btn.warm { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #17181D; }

/* Taalsuggestie */
.langhint { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 50; display: flex; gap: 12px; align-items: center; background: #17181D; color: #F4F2EC; border: 1px solid #2C2E36; border-radius: 999px; padding: 10px 10px 10px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-weight: 600; font-size: 15px; max-width: calc(100% - 32px); }
.langhint a { color: #FFC21A; font-weight: 800; text-decoration: none; white-space: nowrap; }
.langhint button { border: 0; background: rgba(255,255,255,.14); color: #F4F2EC; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 16px; flex: none; }

/* Alle knoppen even hoog, tekst netjes in het midden */
.btn { min-height: 52px; line-height: 1.2; justify-content: center; box-sizing: border-box; }
.form button.btn { min-height: 52px; padding-inline: 26px; }
