/* site.css - erfenisfaq.com, theme v1 "Akte" (29-11-2026)
   A notarial deed: cream paper, a centered masthead between brass rules, Libre Caslon headings, roman numerals,
   dotted leaders in the table of contents, a framed "In het kort". Fonts: Libre Caslon Text and Wix Madefor Text, OFL. */
@font-face { font-family: "Libre Caslon Text"; src: url(/assets/fonts/libre-caslon-text-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(/assets/fonts/libre-caslon-text-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Wix Madefor Text"; src: url(/assets/fonts/wix-madefor-text-latin-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --green: #1f2a24; --green-2: #2e3d34; --brass: #a8863b; --brass-d: #85682a; --brass-l: #efe3c4;
  --paper: #f7f3ea; --sheet: #fffdf7; --ink: #26231e; --muted: #6b665b; --rule: #e2d9c4; --rule-2: #cfc2a3;
  --serif: "Libre Caslon Text", Georgia, serif; --sans: "Wix Madefor Text", system-ui, sans-serif;
  --w: 72rem; --narrow: 46rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.05rem/1.72 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration-color: var(--brass); text-underline-offset: .2em; }
a:hover { color: var(--brass-d); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--green); line-height: 1.22; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .4rem 0 .9rem; }
h2 { font-size: 1.4rem; margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.12rem; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 1.25rem; }
.wrap--narrow { max-width: var(--narrow); margin: 0 auto; }
.wrap.wrap--narrow { max-width: calc(var(--narrow) + 2.5rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--green); color: #fff; padding: .5rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); margin: 0; }
.eyebrow a { color: inherit; text-decoration: none; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.15em; fill: currentColor; }
.orn { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.6rem 0 0; }
.orn::before, .orn::after { content: ""; height: 1px; width: 5rem; background: var(--brass); }
.orn span { width: .55rem; height: .55rem; transform: rotate(45deg); border: 1px solid var(--brass); }

.btn { display: inline-block; font: 650 .98rem var(--sans); padding: .7rem 1.2rem; background: var(--green); color: #fff; text-decoration: none; border: 1px solid var(--green); border-radius: 2px; }
.btn:hover { background: var(--green-2); color: #fff; }
.btn--line { background: transparent; color: var(--green); border-color: var(--brass); }
.btn--line:hover { background: var(--brass-l); color: var(--green); }

/* masthead */
.mast { background: var(--sheet); border-bottom: 1px solid var(--rule); position: relative; z-index: 5; }
.mast::after { content: ""; display: block; height: 3px; border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); max-width: var(--w); margin: 0 auto; }
.mast__inner { max-width: var(--w); margin: 0 auto; padding: 1.1rem 1.25rem .6rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mast__brand img { display: block; height: 34px; width: auto; }
.mast__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem 1.6rem; flex-wrap: wrap; justify-content: center; }
.mast__nav a { font: 500 .82rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; }
.mast__nav a:hover, .mast__nav a[aria-current] { border-bottom-color: var(--brass); }
.mast__toggle { display: none; background: none; border: 1px solid var(--rule-2); font: 600 .85rem var(--sans); color: var(--green); padding: .35rem .9rem; border-radius: 2px; cursor: pointer; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 48rem) {
  .mast__inner { flex-direction: row; justify-content: space-between; padding-bottom: .9rem; }
  .mast__brand img { height: 28px; }
  .js .mast__toggle { display: inline-block; }
  .js .mast__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--sheet); border-bottom: 1px solid var(--rule); padding: .6rem 1.25rem 1rem; }
  .js .mast__nav.is-open { display: block; }
  .js .mast__nav ul { flex-direction: column; align-items: flex-start; gap: .3rem; }
  html:not(.js) .mast__inner { flex-wrap: wrap; }
}

/* home */
.title-page { text-align: center; padding: 3.4rem 0 1rem; }
.title-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.title-page .lead { max-width: 36rem; margin: 0 auto; }
.title-page__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.home-body { padding-top: 1.5rem; }
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 52rem; margin: 0 auto 1rem; }
.seal { position: relative; display: block; background: var(--sheet); border: 1px solid var(--rule-2); padding: 1.3rem 1.3rem 1.2rem 5.2rem; text-decoration: none; color: var(--muted); min-height: 7rem; }
.seal::before { content: "€"; position: absolute; left: 1.2rem; top: 1.25rem; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--brass); color: var(--brass-d); font: 700 1.3rem/2.8rem var(--serif); text-align: center; box-shadow: 0 0 0 4px var(--sheet), 0 0 0 5px var(--brass-l); }
.seal:hover { border-color: var(--brass); color: var(--muted); }
.seal__k { display: block; font: 600 .74rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-d); }
.seal strong { display: block; font: 700 1.2rem var(--serif); color: var(--green); margin: .15rem 0; }
.prose ul.articles, ul.articles, ol.arts { padding-left: 0; }
.articles { list-style: none; padding: 0; margin: 0 auto; max-width: 52rem; }
.articles li { border-top: 1px solid var(--rule-2); }
.articles li:last-child { border-bottom: 1px solid var(--rule-2); }
.articles a { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: .5rem; padding: 1rem .2rem; color: var(--muted); text-decoration: none; }
.articles a span { grid-row: span 2; font: 700 1.3rem var(--serif); color: var(--brass); }
.articles strong { font: 700 1.15rem var(--serif); color: var(--green); }
.articles a:hover strong { color: var(--brass-d); }
.home-body > h2, .home-body > p { max-width: 52rem; margin-left: auto; margin-right: auto; }

/* crumbs */
.crumbs ol { list-style: none; padding: 0; margin: 1.1rem 0 .3rem; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: "·"; margin-right: .5rem; color: var(--brass); }
.crumbs a { color: var(--muted); }

/* headings centered */
.centerhead { text-align: center; padding: 1rem 0 1.4rem; }
.centerhead .lead { max-width: 38rem; margin: 0 auto; }

/* listing: table of contents */
.toc { counter-reset: part; }
.toc__part { counter-increment: part; margin: 0 0 2.2rem; }
.toc__part h2 { margin: 0 0 .2rem; display: flex; gap: .8rem; align-items: baseline; }
.toc__part h2::before { content: counter(part, upper-roman) "."; color: var(--brass); min-width: 2.4rem; }
.toc__part h2 a { color: var(--green); text-decoration: none; }
.toc__intro { color: var(--muted); font-size: .95rem; margin: 0 0 .6rem 3.2rem; }
.toc__list { list-style: none; margin: 0 0 0 3.2rem; padding: 0; }
.toc__list a { display: flex; align-items: baseline; gap: .4rem; padding: .35rem 0; color: var(--ink); text-decoration: none; }
.toc__list a::after { content: ""; flex: 1; border-bottom: 1px dotted var(--rule-2); min-width: 1.5rem; order: 2; }
.toc__list a::before { content: "›"; color: var(--brass); order: 3; }
.toc__list a:hover span { color: var(--brass-d); text-decoration: underline; }

/* category */
.arts { list-style: none; margin: 0; padding: 0; counter-reset: art; }
.arts li { counter-increment: art; background: var(--sheet); border: 1px solid var(--rule); margin: 0 0 .8rem; }
.arts a { display: block; padding: 1rem 1.2rem; text-decoration: none; color: var(--muted); font-size: .96rem; }
.arts a::before { content: "Artikel " counter(art); display: block; font: 600 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); }
.arts strong { display: block; font: 700 1.12rem/1.35 var(--serif); color: var(--green); margin: .2rem 0 .3rem; }
.arts a:hover { border-color: var(--brass); }
.arts a:hover strong { color: var(--brass-d); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; margin: 2.4rem 0 1rem; }
.deed { background: var(--sheet); border: 1px solid var(--rule); padding: .4rem 1.6rem 1.2rem; box-shadow: 0 1px 0 var(--rule), 0 6px 0 -3px var(--sheet), 0 6px 0 -2px var(--rule); }
.deed > h2:first-child, .deed > h1:first-child { margin-top: 1.2rem; }
article.deed { margin: .6rem 0 1.5rem; }
.others { margin: 2rem 0; text-align: center; }
.others__head { font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); }
.others ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.others a { display: block; border: 1px solid var(--rule-2); padding: .4rem .9rem; text-decoration: none; background: var(--sheet); }
.others a:hover { border-color: var(--brass); }

/* tarief table */
.tarief { background: var(--sheet); border: 1px solid var(--rule-2); border-top: 3px solid var(--green); padding: 1rem 1.1rem; margin: 1.5rem 0; }
.tarief__head { font: 700 1.02rem var(--serif); color: var(--green); margin: 0 0 .5rem; }
.tarief__head .ic { color: var(--brass); }
.tarief table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.tarief th, .tarief td { text-align: left; padding: .35rem .3rem; border-bottom: 1px solid var(--rule); }
.tarief thead th { font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tarief tbody th { font-weight: 600; color: var(--green); }
.tarief td:last-child { white-space: nowrap; }
.tarief__note { font-size: .78rem; color: var(--muted); margin: .5rem 0 0; }

/* answer */
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose li::marker { color: var(--brass-d); }
.answer h1 { text-align: center; }
.answer > .eyebrow { text-align: center; margin-top: .8rem; }
.prose--answer > p:first-child { position: relative; margin: 1.8rem 0 1.6rem; padding: 1.7rem 1.5rem 1.2rem; background: var(--sheet); border: 1px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 4px; font: 400 1.14rem/1.65 var(--serif); color: var(--green); }
.prose--answer > p:first-child::before { content: "In het kort"; position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--paper); padding: 0 .8rem; font: 600 .76rem/1.6rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-d); white-space: nowrap; }
.prose--answer > p:last-child { font-size: .86rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--rule-2); padding-top: .6rem; margin-top: 1.4rem; }
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin: 2rem 0 .5rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-2); }
.more__head { font: 700 1rem var(--serif); color: var(--green); margin: 0 0 .4rem; }
.more ul { list-style: none; margin: 0; padding: 0; }
.more li { padding: .3rem 0; border-bottom: 1px dotted var(--rule-2); font-size: .95rem; line-height: 1.45; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }

/* tool: erfenis-rekenhulp */
.tool-block { margin: 2rem 0; }
.rk { background: var(--sheet); border: 1px solid var(--rule-2); border-top: 4px double var(--brass); padding: 1.3rem 1.4rem 1.1rem; }
.rk__title { font: 700 1.25rem var(--serif); color: var(--green); margin: 0 0 .2rem; }
.rk__intro { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.rk__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .9rem 1.2rem; }
.rk label { display: block; font: 600 .9rem var(--sans); color: var(--green); margin-bottom: .25rem; }
.rk input, .rk select { width: 100%; font: 500 1.05rem var(--sans); padding: .55rem .65rem; border: 1px solid var(--rule-2); background: #fff; color: var(--ink); border-radius: 2px; font-variant-numeric: tabular-nums; }
.rk input:focus, .rk select:focus { border-color: var(--brass); outline: 2px solid var(--brass-l); }
.rk__hint { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.rk__out { margin: 1.2rem 0 .3rem; border-top: 1px solid var(--green); }
.rk__row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dotted var(--rule-2); font-variant-numeric: tabular-nums; }
.rk__row span:last-child { font-weight: 650; white-space: nowrap; color: var(--green); }
.rk__row--total { border-bottom: 3px double var(--green); }
.rk__row--total span { font: 700 1.15rem var(--serif) !important; color: var(--green) !important; }
.rk__verdict { margin: .8rem 0 0; }
.rk__note { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }

/* books, share, disclosure */
.bcm-books { border-top: 1px solid var(--brass); padding-top: .4rem; }
.bcm-books__title { font-size: 1.2rem; }
.share { margin: 2rem 0; padding: 1.1rem 1.2rem; background: var(--sheet); border: 1px solid var(--rule); }
.share__title { margin: 0 0 .3rem; font-size: 1.1rem; }
.disclosure-slot { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--rule-2); padding-top: .8rem; margin: 2rem 0 1rem; }

/* footer */
.foot { margin-top: 3rem; background: var(--green); color: #d9d6cb; border-top: 3px double var(--brass); }
.foot__inner { max-width: var(--w); margin: 0 auto; padding: 2.4rem 1.25rem 1.4rem; display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 2rem; }
.foot__about img { height: 30px; width: auto; display: block; margin-bottom: .8rem; }
.foot__about p { font-size: .93rem; max-width: 30rem; }
.foot__head { font: 600 .76rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--brass-l); margin: 0 0 .5rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .2rem 0; }
.foot a { color: #fff; text-decoration-color: rgba(168,134,59,.7); }
.foot__small { max-width: var(--w); margin: 0 auto; padding: .8rem 1.25rem 1.6rem; font-size: .8rem; color: #a9ad9f; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 52rem) {
  .duo, .seals, .more { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
  .toc__intro, .toc__list { margin-left: 0; }
  .title-page { padding-top: 2.2rem; }
  .deed { padding: .2rem 1.1rem 1rem; }
}
@media print { .mast, .foot, .share, .tool-block { display: none; } }
