/* Lancee Legal — stylesheet
   Koppen: Josefin Sans (alleen groot, vanaf ~28px)
   Tekst, labels, knoppen: Montserrat
   Signatuurkleur: bordeaux (spaarzaam), met een lichte tint als vlakkleur */

@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 200; font-style: normal; font-display: swap; src: url("fonts/josefin-sans-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/josefin-sans-latin-300-normal.woff2") format("woff2"); }

:root {
  --paper: #f5f1eb;
  --paper-2: #ece6dd;
  --ink: #231f20;
  --ink-soft: #4d4745;   /* lopende tekst: voldoende contrast op ecru */
  --muted: #7a726e;      /* alleen voor kleine labels */
  --line: #d9d0c4;
  --sig: #5c1f2b;        /* bordeaux: knoppen, labels, lijnen, contactband */
  --accent: #eddcdc;     /* lichte bordeaux-tint voor vlakken */
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Josefin Sans", "Montserrat", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typografie ---------- */
.label {
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
}
h1, h2 { font-family: var(--display); font-weight: 300; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(40px, 5.4vw, 74px); }
h2 { font-size: clamp(34px, 4.2vw, 56px); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 17px; line-height: 1.4; margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); font-weight: 400; color: var(--ink-soft); max-width: 36em; }
p { margin: 0 0 1em; }
p, li, dd, .lead { text-wrap: pretty; }
h1, h2, h3, .big, .quote, .tagline, .hours { text-wrap: balance; }
.text { color: var(--ink-soft); }
.link {
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px;
  display: inline-flex; gap: 10px; align-items: center;
}
.link .arrow { transition: transform .25s; }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- logo ---------- */
.logo { font-family: var(--sans); font-size: 28px; letter-spacing: .32em; text-decoration: none; white-space: nowrap; line-height: 1; }
.logo b { font-weight: 500; }
.logo span { font-weight: 300; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; gap: 10px; }
.lang a { color: var(--muted); letter-spacing: .18em; }
.lang a[aria-current="true"] { color: var(--ink); }
.lang a[aria-current="true"]::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { display: block; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; padding: 18px 30px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- secties ---------- */
section { scroll-margin-top: 100px; }
.section { padding: clamp(88px, 11vw, 150px) 0; }
.section.tight-top { padding-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lead { margin: 0; }

/* hero */
.hero { padding: clamp(72px, 12vw, 160px) 0 clamp(64px, 8vw, 110px); }
.hero h1 { max-width: 10em; }
.hero .lead { margin-top: 36px; }
.hero .actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

/* vakgebieden (statisch) */
.fields { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fields ul { list-style: none; margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; letter-spacing: .02em; color: var(--ink-soft); }

/* intro */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 40px 80px; }
.intro .big { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.3; margin: 0; }
.intro .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--ink-soft); }
.claims { list-style: none; padding: 0; margin: clamp(56px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.claims li { padding: 24px 24px 0 0; font-size: 15px; font-weight: 500; line-height: 1.5; }
.claims li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.claims li span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* diensten */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service { padding: 34px 32px 42px 0; border-bottom: 1px solid var(--line); }
.service:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.service .idx { font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--muted); }
.service h3 { margin: 16px 0 10px; }
.service p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* sfeerbeeld */
.mood { aspect-ratio: 21 / 9; background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.mood img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* legal scan */
.scan { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 90px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--ink); }
.checklist li { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.price-block { border-top: 1px solid var(--ink); padding-top: 28px; }
.price-block .amount { font-family: var(--display); font-weight: 300; font-size: clamp(52px, 5.4vw, 68px); line-height: 1; margin: 4px 0 6px; }
.price-block .small { font-size: 13px; color: var(--muted); }
.price-block p { color: var(--ink-soft); }
.price-block .btn { margin-top: 12px; }

/* abonnementen: teaser op home */
.teaser { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-bottom: 44px; }
.teaser > div { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--line); }
.teaser > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.teaser .name { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.teaser .hours { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1.1; margin: 16px 0 10px; }
.teaser p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.teaser-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.teaser-foot p { margin: 0; color: var(--ink-soft); }
.teaser-foot strong { font-weight: 500; color: var(--ink); }

/* tarieven: abonnementen zonder kaders */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.plan { padding: 34px 32px 40px 0; display: flex; flex-direction: column; }
.plan + .plan { padding-left: 32px; border-left: 1px solid var(--line); }
.plan.featured { background: var(--accent); padding-right: 32px; }
.plan .name { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.plan .tagline { color: var(--ink-soft); font-size: 15px; margin: 10px 0 26px; min-height: 3.2em; }
.plan .amount { font-family: var(--display); font-weight: 300; font-size: 54px; line-height: 1; }
.plan .per { font-size: 13px; color: var(--muted); margin: 8px 0 26px; }
.plan dl { margin: 0; flex: 1; }
.plan dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(35,31,32,.12); font-size: 14px; }
.plan dt { color: var(--ink-soft); }
.plan dd { margin: 0; text-align: right; font-weight: 500; }
.plan .extras { list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; }
.plan .extras li { padding: 4px 0 4px 20px; position: relative; color: var(--ink-soft); }
.plan .extras li::before { content: "+"; position: absolute; left: 0; font-weight: 500; color: var(--ink); }
.plan .extras li.no { color: var(--muted); }
.plan .extras li.no::before { content: "–"; color: var(--muted); }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 28px; }

/* legal teams */
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 90px; border-top: 1px solid var(--ink); padding-top: 56px; }
.teams ul { list-style: none; padding: 0; margin: 0 0 32px; }
.teams li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.teams .rates { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.teams .rate .amount { font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 1.05; }
.teams .rate .small { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* over mij */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 90px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; background: #e2d9ce; overflow: hidden; display: grid; place-items: center; position: sticky; top: 110px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about .quote { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 2.5vw, 32px); line-height: 1.35; margin: 0 0 32px; }
.about p { color: var(--ink-soft); }
.cv { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--ink); }
.cv li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cv .when { font-size: 13px; color: var(--muted); }

/* voorwaarden */
.terms details { border-top: 1px solid var(--line); }
.terms details:last-child { border-bottom: 1px solid var(--line); }
.terms summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 500; font-size: 16px; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; font-weight: 300; font-size: 22px; line-height: 1; transition: transform .25s; }
.terms details[open] summary::after { transform: rotate(45deg); }
.terms details > div { padding: 0 0 26px; max-width: 46em; color: var(--ink-soft); }
.terms ul { margin: 0; padding-left: 18px; }
.terms li { margin-bottom: 8px; }

/* contact */
.contact { background: var(--accent); text-align: center; }
.contact h2 { max-width: 12em; margin: 0 auto; }
.contact .lead { margin: 28px auto 40px; }
.contact .lines { margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; font-size: 14px; }
.contact .lines a { text-decoration: none; border-bottom: 1px solid rgba(35,31,32,.3); }
.contact .lines a:hover { border-bottom-color: var(--ink); }

/* footer */
.site-footer { padding: 56px 0 44px; font-size: 12px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.site-footer .logo { color: var(--ink); font-size: 19px; }
.site-footer .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* tekstpagina's (privacy) en paginakop tarieven */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.page-hero .lead { margin-top: 28px; }
.page { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(42px, 6vw, 72px); margin-bottom: 36px; }
.page h2 { font-size: 32px; margin: 44px 0 14px; }
.page p, .page li { color: var(--ink-soft); }
.page .updated { font-size: 13px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section-head, .intro, .scan, .teams, .about { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .plans, .teaser { grid-template-columns: 1fr; }
  .plan, .plan + .plan, .teaser > div, .teaser > div + div { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .plan.featured { padding: 30px var(--gutter); margin: 0 calc(-1 * var(--gutter)); }
  .plan .tagline { min-height: 0; }
  .portrait { max-width: 420px; position: static; }
  .mood { aspect-ratio: 3 / 2; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 96px 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav .lang { padding-top: 18px; gap: 18px; }
}
@media (max-width: 620px) {
  .logo { font-size: 21px; letter-spacing: .26em; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .intro .cols { grid-template-columns: 1fr; gap: 0; }
  .claims { grid-template-columns: 1fr; }
  .claims li, .claims li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .teams .rates { grid-template-columns: 1fr; }
  .cv li { grid-template-columns: 1fr; gap: 2px; }
  .fields ul { justify-content: flex-start; }
  .btn { padding: 16px 22px; }
}

/* ---------- signatuurkleur bordeaux ---------- */
.label, .service .idx { color: var(--sig); }
.btn { background: var(--sig); border-color: var(--sig); }
.btn:hover { background: transparent; color: var(--sig); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.fields { border-color: var(--sig); }
.services, .checklist, .price-block, .teaser, .cv, .plans, .teams { border-top-color: var(--sig) !important; }
.contact { background: var(--sig); color: var(--paper); }
.contact .label { color: rgba(245,241,235,.7); }
.contact .lead { color: rgba(245,241,235,.88); }
.contact .btn { background: var(--paper); color: var(--sig); border-color: var(--paper); }
.contact .btn:hover { background: transparent; color: var(--paper); }
.contact .lines a { border-bottom-color: rgba(245,241,235,.4); }
.contact .lines a:hover { border-bottom-color: var(--paper); }
