/* De Juridische Talisman — stylesheet
   Kleuren en maten staan bovenaan als variabelen; pas ze hier aan. */
:root {
  --night: #0e1a2b;
  --night-2: #15253a;
  --antraciet: #2b3038;
  --paper: #f3f2ee;
  --white: #fbfaf8;
  --ink: #1c222a;
  --muted: #4b535d;
  --line: #d9d6cd;
  --gold: #c9a24c;
  --gold-soft: #e4cf98;
  --gold-ink: #7a5f17;
  --on-dark: #eeece6;
  --on-dark-muted: #b9bec7;
  --danger: #9b2c2c;
  --ok: #24613a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Charter, "Bitstream Charter", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --text: 40rem;
  --radius: 6px;
  --space: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--night); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-soft); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.22; margin: 0 0 .6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--night); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.prose { max-width: var(--text); }
.section { padding-block: var(--space); }
.section--white { background: var(--white); }
.dark { background: var(--night); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--gold-soft); }
.dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.section-intro { max-width: var(--text); margin-bottom: 2.5rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-dark); border-bottom: 1px solid rgba(201,162,76,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: .65rem; color: var(--on-dark); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; letter-spacing: .01em; }
.wordmark:hover { color: #fff; }
.wordmark svg, .wordmark .logo { flex: none; }
.wordmark .logo { width: 40px; height: 40px; border-radius: 50%; }
.menu-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid rgba(238,236,230,.35); color: var(--on-dark); border-radius: var(--radius); padding: .55rem .8rem; font: inherit; font-size: .95rem; cursor: pointer; }
.menu-toggle .bars { width: 18px; height: 12px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars span { top: 5px; } .menu-toggle .bars::after { bottom: 0; }

.main-nav { display: none; }
.main-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-bottom: 1px solid rgba(201,162,76,.3); max-height: calc(100vh - 4.25rem); overflow-y: auto; padding: .5rem 1.25rem 1.5rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a { display: block; color: var(--on-dark); text-decoration: none; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-soft); }
.has-sub { position: relative; }
.has-sub > .sub-row { display: flex; align-items: center; justify-content: space-between; }
.has-sub > .sub-row > a { flex: 1; }
.sub-toggle { background: none; border: 0; color: var(--on-dark); padding: .7rem .6rem; cursor: pointer; font: inherit; }
.sub-toggle svg { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { display: none; padding-left: 1rem !important; }
.submenu.is-open { display: block; }
.submenu a { font-size: .97rem; color: var(--on-dark-muted); }
.nav-cta { margin-top: 1rem; }
.nav-cta .btn { width: 100%; justify-content: center; }

@media (min-width: 88rem) {
  .menu-toggle { display: none; }
  .main-nav, .main-nav.is-open { display: block; position: static; padding: 0; border: 0; max-height: none; overflow: visible; background: none; }
  .main-nav > ul { display: flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
  .main-nav a { border: 0; padding: .4rem 0; font-size: .93rem; }
  .submenu { white-space: normal; }
  .has-sub > .sub-row > a { flex: none; }
  .sub-toggle { padding: .4rem .2rem; }
  .submenu { position: absolute; top: 100%; left: -1rem; min-width: 17rem; background: var(--night-2); border: 1px solid rgba(201,162,76,.3); border-radius: var(--radius); padding: .5rem 1rem !important; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .submenu.is-open { display: block; }
  .submenu a { padding: .5rem 0; }
  .nav-cta { margin: 0 0 0 .5rem; }
  .nav-home { display: none; }
  .site-header .wrap { width: min(100% - 2.5rem, 84rem); }
  .nav-cta .btn { width: auto; padding: .55rem 1rem; font-size: .92rem; }
}

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .9rem 1.4rem; border-radius: var(--radius); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--gold); color: var(--night); }
.btn-primary:hover { background: var(--gold-soft); color: var(--night); }
.btn-secondary { border-color: currentColor; color: var(--night); background: transparent; }
.btn-secondary:hover { background: var(--night); color: var(--white); border-color: var(--night); }
.dark .btn-secondary { color: var(--on-dark); }
.dark .btn-secondary:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
@media (max-width: 30rem) { .btn-row .btn { width: 100%; justify-content: center; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 22ch; }
.hero .lead { max-width: 36rem; color: var(--on-dark); opacity: .92; }
.trust-line { margin-top: 1.5rem; font-size: .95rem; color: var(--on-dark-muted); }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.6fr 1fr; gap: 4rem; } }
.hero-seal { display: none; }
@media (min-width: 56rem) { .hero-seal { display: block; width: min(100%, 300px); justify-self: center; } .hero-seal img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold); } }
.js .hero-seal { animation: seal-in 1.2s ease .3s both; }
@keyframes seal-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.page-head { padding-block: clamp(2.25rem, 6vw, 4rem); }
.page-head h1 { max-width: 26ch; }
.page-head .lead { max-width: 38rem; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--on-dark-muted); }
.breadcrumbs a { color: var(--on-dark-muted) !important; }

/* Foto-plekken: vervang door een echte foto (zie LEESMIJ) */
.photo-slot { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); background:
  radial-gradient(120% 90% at 85% 10%, rgba(201,162,76,.18), transparent 55%),
  linear-gradient(160deg, #22344d, #1a2433 60%, #262b33);
  display: flex; align-items: flex-end; padding: 1.1rem; color: var(--on-dark-muted); font-size: .85rem; border: 1px dashed rgba(201,162,76,.45); }
.photo-slot.portrait { aspect-ratio: 4 / 5; }
.photo-slot figcaption { max-width: 28rem; }
.photo-real { margin: 0; }
.photo-real img { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* ---------- Situaties ---------- */
.situations { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 40rem) { .situations { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .situations { grid-template-columns: repeat(3, 1fr); } }
.situations li { margin: 0; }
.situation { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; height: 100%; padding: 1.5rem 1.4rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 2px var(--radius) var(--radius) 2px; text-decoration: none; color: var(--ink); }
.situation q { font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; quotes: none; }
.situation span { font-size: .95rem; color: var(--gold-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.situation:hover { border-color: var(--gold); color: var(--ink); }
.situation:hover span { color: var(--night); }

/* ---------- Lijsten en kolommen ---------- */
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } .two-col.wide-left { grid-template-columns: 1.4fr 1fr; } }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: .7rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: .7rem; border: 2px solid var(--gold); transform: rotate(45deg); }
.topic-list { columns: 1; column-gap: 2.5rem; padding-left: 1.1em; }
@media (min-width: 40rem) { .topic-list { columns: 2; } }
.topic-list li { break-inside: avoid; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 52rem) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.1rem; margin: 0; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; border: 1.5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-ink); }
.dark .steps li::before { color: var(--gold-soft); }
.steps h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.steps p { margin: 0; }

.note { border-left: 3px solid var(--antraciet); background: rgba(43,48,56,.05); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0; }
.note h3, .note h2 { font-size: 1.08rem; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note--gold { border-left-color: var(--gold); background: rgba(201,162,76,.09); }
.note--alert { border-left-color: var(--danger); background: rgba(155,44,44,.06); }

.option-grid { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .option-grid { grid-template-columns: repeat(3, 1fr); } .option-grid.two { grid-template-columns: 1fr 1fr; } .option-grid.four { grid-template-columns: 1fr 1fr; } }
.option { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.option h3 { margin-bottom: .5rem; }
.option p:last-child { margin-bottom: 0; }
.price { font-family: var(--serif); font-size: 1.15rem; color: var(--night); margin: 1rem 0 .25rem; }
.price-note { font-size: .88rem; color: var(--muted); }

.service-links { display: grid; gap: .9rem; list-style: none; padding: 0; }
@media (min-width: 44rem) { .service-links { grid-template-columns: 1fr 1fr; } }
.service-links li { margin: 0; }
.service-links a { display: block; height: 100%; padding: 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.service-links a:hover { border-color: var(--gold); }
.service-links strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: .2rem; color: var(--night); }
.service-links span { font-size: .96rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 1.45rem; width: .55rem; height: .55rem; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq .answer { padding: 0 0 1.2rem; max-width: var(--text); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 3rem; }

/* ---------- Intro / persoon ---------- */
.person { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 52rem) { .person { grid-template-columns: 20rem 1fr; gap: 4rem; } }
.signature { font-family: var(--serif); font-size: 1.3rem; color: var(--night); margin-top: 1.5rem; }

/* ---------- Social ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: .8rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.social-links li { margin: 0; }
.social-links a { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.1rem; border: 1px solid rgba(238,236,230,.3); border-radius: var(--radius); text-decoration: none; color: var(--on-dark) !important; }
.social-links a:hover { border-color: var(--gold); }
.section--white .social-links a, .section .social-links.light a { color: var(--night) !important; border-color: var(--line); }

/* ---------- CTA-band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 24ch; }
.cta-band p { max-width: 34rem; }

/* ---------- Formulier ---------- */
.form-wrap { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .form-wrap { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); }
.field { margin-bottom: 1.3rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #a9a59b; border-radius: var(--radius); padding: .75rem .85rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--night); outline: 3px solid var(--gold); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; gap: 1.5rem; }
.radio-row label { font-weight: 400; display: inline-flex; align-items: center; gap: .45rem; }
.radio-row input { width: 1.15rem; height: 1.15rem; accent-color: var(--night); }
.error-msg { display: block; color: var(--danger); font-size: .92rem; margin-top: .35rem; }
.error-msg:empty { display: none; }
.optional { font-weight: 400; color: var(--muted); }
.counter { font-size: .85rem; color: var(--muted); text-align: right; margin-top: .25rem; }
.form-warning { font-size: .95rem; background: rgba(201,162,76,.1); border-left: 3px solid var(--gold); padding: .8rem 1rem; margin-bottom: 1.5rem; }
.form-small { font-size: .9rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.is-error { background: rgba(155,44,44,.07); border-left: 3px solid var(--danger); }
.form-status.is-success { background: rgba(36,97,58,.08); border-left: 3px solid var(--ok); }
.contact-aside h2 { font-size: 1.3rem; }
.contact-aside dl { margin: 0; }
.contact-aside dt { font-weight: 600; margin-top: 1rem; }
.contact-aside dd { margin: 0; }
.wa-btn { margin-top: 1.5rem; }

/* ---------- Concept-documenten ---------- */
.draft-banner { background: #fff4d6; border: 1px solid var(--gold); color: #4d3c0c; padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 2rem; }
.legal-text h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal-text h3 { font-size: 1.08rem; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--antraciet); color: var(--on-dark); padding-block: 3.5rem 6rem; font-size: .96rem; }
@media (min-width: 88rem) { .site-footer { padding-bottom: 2.5rem; } }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; font-family: var(--sans); font-weight: 600; color: var(--gold-soft); margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Mobiele contactbalk ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--night); border-top: 1px solid rgba(201,162,76,.35); padding: .7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 88rem) { .mobile-cta { display: none; } }

/* ---------- Beweging ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .rise { opacity: 0; transform: translateY(10px); animation: rise .7s ease forwards; }
.js .hero .rise:nth-child(2) { animation-delay: .08s; }
.js .hero .rise:nth-child(3) { animation-delay: .16s; }
.js .hero .rise:nth-child(4) { animation-delay: .24s; }
.js .hero .rise:nth-child(5) { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero .rise { opacity: 1; transform: none; }
}
@media print { .site-header, .mobile-cta, .site-footer { display: none; } }
