/* Van Ittersum Advocatuur — vormgeving
   Afgeronde navy panelen met grote Crimson Pro koppen en een cursief salie accent,
   rustige witte vlakken en een eenvoudige kopregel. Geen versiering: de typografie
   en de huisstijlkleuren dragen het ontwerp. Kleuren en logo volgen de huisstijl. */

@font-face { font-family: "Crimson Pro"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/crimson-400.woff") format("woff"); }
@font-face { font-family: "Crimson Pro"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/crimson-400i.woff") format("woff"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/instrument-400.woff") format("woff"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/instrument-700.woff") format("woff"); }

:root {
  --navy: #2a2764;          /* huisstijl */
  --navy-deep: #201d52;
  --sage: #9ac0ad;          /* huisstijl, accenten en op navy */
  --sage-hover: #b0d0c0;
  --sage-ink: #43705b;      /* salie, donker genoeg voor kleine tekst op wit */
  --sage-deep: #5f8c76;     /* salie voor grote tekst op wit */
  --tint: #f2f5f3;          /* lichte vlakken */
  --tint-2: #e8eeea;
  --paper: #ffffff;
  --text: #2f2d5c;
  --muted: #64628a;
  --line: #e3e5eb;
  --on-navy: #ffffff;
  --on-navy-2: rgba(255, 255, 255, 0.74);

  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 52px);
  --inset: clamp(8px, 1.1vw, 16px);
  --radius: clamp(16px, 1.8vw, 24px);
  --space: clamp(80px, 9vw, 136px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-top: calc(env(safe-area-inset-top, 0px) + var(--inset) + 20px);
  color-scheme: light;
}

/* ---------------------------------------------------------------- basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 40px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.016em; }
h3 { font-size: clamp(1.7rem, 1.45rem + 0.7vw, 2.15rem); line-height: 1.1; letter-spacing: -0.01em; }
a { color: var(--navy); text-decoration-color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .panel-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--sage); }
.menu-panel :focus-visible { outline-color: var(--sage-ink); }
strong { font-weight: 700; }
.nowrap { white-space: nowrap; }   /* bv. Attorney-at-law: niet afbreken bij de koppeltekens */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 12px; }
.service-body, .legal, .area-text { hyphens: auto; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
/* witte secties krijgen dezelfde zijmarge als de panelen: alle tekst op één lijn met logo, paginatitel en onderbalk */
.section > .wrap { max-width: calc(var(--wrap) + 2 * (var(--gutter) + var(--inset))); padding-inline: calc(var(--gutter) + var(--inset)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- typografie */
.display { font-size: clamp(2.55rem, 1.2rem + 4.4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.022em; }
.display-2 { font-size: clamp(2.4rem, 1.35rem + 3.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-ink); line-height: 1.4;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.on-dark { color: var(--sage); }
.lede { font-size: clamp(1.12rem, 1.02rem + 0.35vw, 1.28rem); line-height: 1.6; }

/* ---------------------------------------------------------------- knoppen */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 700; line-height: 1; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-sage { background: var(--sage); color: var(--navy); }
.btn-sage:hover { background: var(--sage-hover); }
.btn-glass { background: rgba(255, 255, 255, 0.07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-glass:hover, .btn-glass[aria-current="page"] { background: rgba(255, 255, 255, 0.16); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(42, 39, 100, 0.32); }
.btn-line:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn-soft { background: var(--tint-2); color: var(--navy); }
.btn-soft:hover { background: #dce6e0; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 0.94rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; color: var(--navy);
}
.link-arrow .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.i { flex: none; }

/* ---------------------------------------------------------------- kopregel */
.site-header { position: absolute; z-index: 50; top: var(--header-top); left: 0; right: 0; }
.header-bar {
  max-width: calc(var(--wrap) + 2 * var(--gutter) + 2 * var(--inset)); margin-inline: auto;
  padding-inline: calc(var(--gutter) + var(--inset));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img { width: auto; height: 60px; max-width: 100%; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px;
  color: rgba(255, 255, 255, 0.84); text-decoration: none; font-size: 0.97rem; transition: color 0.2s, background-color 0.2s;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav a[aria-current="page"]:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 8px; }
/* taalkeuze 'NL | EN': rechts na de contactknop, los van het menu; de huidige taal onderstreept */
.lang { display: inline-flex; align-items: center; font-size: 0.8rem; letter-spacing: 0.1em; }
.lang > * { display: inline-flex; align-items: center; }
.lang [aria-current] { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.lang a { text-decoration: none; }
.nav .lang { height: 28px; margin-left: 20px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.nav .lang > * { height: 44px; padding: 0 6px; }
.nav .lang [aria-current] { color: #fff; }
.nav .lang a:not(.btn) { height: 44px; padding: 0 6px; border-radius: 6px; color: rgba(255, 255, 255, 0.62); background: none; font-size: 0.8rem; }
.nav .lang a:not(.btn):hover { color: #fff; background: none; }
.nav .lang .lang-sep { padding: 0 2px; color: rgba(255, 255, 255, 0.35); }
/* in het telefoonmenu: bovenaan bij e-mail en telefoon */
.menu-meta .lang { justify-self: start; font-weight: 700; }
.menu-meta .lang > * { min-height: 44px; padding: 0 10px; }
.menu-meta .lang > :first-child { padding-left: 0; }
.menu-meta .lang [aria-current] { color: var(--navy); }
.menu-meta .lang a { color: var(--muted); }
.menu-meta .lang a:hover { color: var(--navy); }
.menu-meta .lang .lang-sep { padding: 0; color: var(--line); }
.nav .btn { margin-left: 12px; }

.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); transition: background-color 0.2s;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { background: rgba(255, 255, 255, 0.12); }
.menu > summary .i { width: 18px; height: 18px; }
.menu[open] > summary .i-menu { display: none; }
.menu:not([open]) > summary .i-close { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(calc(100vw - 2 * var(--gutter)), 380px);
  background: #fff; border-radius: 20px; padding: 14px; border: 1px solid rgba(42, 39, 100, 0.07);
  box-shadow: 0 30px 70px -20px rgba(20, 18, 60, 0.45);
}
.menu-panel nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 16px;
  font-family: var(--serif); font-size: 2rem; line-height: 1.15; color: var(--navy); text-decoration: none;
}
.menu-panel nav a:hover, .menu-panel nav a[aria-current="page"] { background: var(--tint); }
.menu-panel nav a .i { width: 20px; height: 20px; color: var(--sage-ink); }
.menu-meta { display: grid; gap: 8px; margin-top: 10px; padding: 16px 14px 6px; border-top: 1px solid var(--line); font-size: 0.98rem; }
.menu-meta a { text-decoration: none; }
.menu-meta .btn { width: 100%; margin-top: 6px; }

@media (max-width: 940px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 420px) { .menu > summary { padding: 0 15px; } }
/* Op telefoons schaalt het logo mee met de schermbreedte: zo groot als past naast de menuknop (32 tot 60 px hoog) */
@media (max-width: 444px) {
  .brand img { height: 32px; height: max(32px, calc((100vw - 188px) / 4.28)); }
}

/* ---------------------------------------------------------------- panelen */
.panel { position: relative; margin: var(--inset); border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.panel > .wrap { position: relative; z-index: 1; }
.panel-navy {
  color: var(--on-navy);
  background:
    radial-gradient(90% 70% at 50% 8%, rgba(77, 72, 160, 0.55) 0%, rgba(77, 72, 160, 0) 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.panel-navy::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.panel-navy h1, .panel-navy h2, .panel-navy h3 { color: #fff; }
.panel-tint { background: var(--tint); }

/* ---------------------------------------------------------------- opening (homepage) */
.hero { padding: clamp(128px, 18vh, 188px) 0 clamp(72px, 10vh, 120px); }
.hero-inner { display: grid; justify-items: start; gap: 28px; max-width: 860px; }
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .lede { max-width: 33em; color: var(--on-navy-2); text-wrap: pretty; }
.hero .actions { margin-top: 8px; }
.rotator {
  display: inline-block; transition: opacity 0.42s var(--ease), filter 0.42s var(--ease), transform 0.42s var(--ease);
  /* ruimte voor staarten (g, p) en schuine letters binnen het vak, zodat Safari tijdens de overgang niets afknipt;
     de negatieve marge houdt de opmaak precies gelijk */
  padding: 0 0.3em 0.14em 0.1em; margin: 0 -0.3em -0.14em -0.1em;
}
.rotator.is-out { opacity: 0; filter: blur(10px); transform: translateY(0.06em); }
@media (max-width: 359px) { .display { font-size: 2.3rem; } }

/* ---------------------------------------------------------------- secties */
.section { padding-block: var(--space); }
.section-flush-top { padding-top: 0; }
.section-after-hero { padding-top: clamp(56px, 7vw, 100px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }

/* werkwijze */
.statement { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 4vw, 44px); }
.statement > .eyebrow { grid-column: 1 / span 3; align-self: start; margin-top: 0.85em; }
.statement-text {
  grid-column: 4 / -1; font-family: var(--serif); font-size: clamp(2rem, 1.15rem + 2.65vw, 3.75rem);
  line-height: 1.12; letter-spacing: -0.014em; color: var(--navy); text-wrap: pretty;
}
.statement-text .accent { color: var(--sage-deep); }
.statement-body { grid-column: 4 / span 6; display: grid; gap: 26px; justify-items: start; }
.statement-body p { font-size: 1.12rem; }
@media (max-width: 860px) {
  .statement > .eyebrow, .statement-text, .statement-body { grid-column: 1 / -1; }
  .statement > .eyebrow { margin-top: 0; }
}

/* rechtsgebieden: een rustige lijst */
.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.area {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center;
  gap: 12px clamp(24px, 4vw, 64px); padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--line);
}
.area-title a { color: inherit; text-decoration: none; }
.area-title a::after { content: ""; position: absolute; inset: 0; }
.area-head { display: grid; gap: 8px; justify-items: start; }
.area-title { font-family: var(--serif); font-size: clamp(1.85rem, 1.45rem + 1.1vw, 2.5rem); line-height: 1.06; letter-spacing: -0.012em; color: var(--navy); }
.area-text { font-size: 1rem; line-height: 1.6; color: var(--muted); max-width: 34em; }
.area-go {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.area-go .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.area:hover .area-go { background: var(--navy); color: #fff; box-shadow: none; }
.area:hover .area-go .i { transform: translateX(2px); }
.area:hover .area-title a { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.area:focus-within .area-go { box-shadow: inset 0 0 0 1px var(--navy); }
.areas-extra { margin-top: 26px; color: var(--muted); }
@media (max-width: 760px) {
  .area { grid-template-columns: minmax(0, 1fr) auto; }
  .area-text { grid-column: 1; }
  .area-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 42px; height: 42px; }
}

/* afsluiter */
.cta { text-align: center; padding-block: clamp(84px, 10vw, 140px); }
.cta-inner { display: grid; justify-items: center; gap: 22px; }
.cta h2 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 12em; }
.cta .actions { justify-content: center; margin-top: 14px; }

/* ---------------------------------------------------------------- binnenpagina's */
.page-hero { padding: clamp(136px, 17vh, 164px) 0 clamp(52px, 6vw, 84px); }
.page-hero-inner { display: grid; gap: 22px; justify-items: start; max-width: 860px; }
.page-hero .lede { max-width: 36em; color: var(--on-navy-2); }
.page-hero h1 em { font-style: italic; color: var(--sage); }   /* één cursief salie accent per paginatitel, zoals op de homepage */

/* Over: tekst en rond portret */
.profile-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.profile-figure { justify-self: end; width: min(100%, 272px); display: grid; gap: 16px; justify-items: center; text-align: center; }
.portrait { position: relative; display: block; width: 100%; }
.portrait::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(154, 192, 173, 0.45); pointer-events: none; }
.round { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; background: var(--tint-2); }
.profile-figure figcaption { display: grid; gap: 2px; margin-top: 10px; color: var(--on-navy-2); font-size: 0.95rem; }
.profile-figure figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: #fff; }
@media (max-width: 860px) {
  .profile-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .profile-figure { justify-self: start; width: auto; grid-template-columns: 104px auto; align-items: center; justify-items: start; text-align: left; gap: 24px; }
  .profile-figure .portrait { width: 104px; }
  .portrait::after { inset: -7px; }
  .profile-figure figcaption { margin-top: 0; }
}

/* document met inhoudsopgave */
.doc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: start; }
.doc-grid > .index { grid-column: 1 / span 3; padding-right: 16px; }
.doc-grid > .doc, .doc-grid > .legal { grid-column: 4 / -1; }
/* Over, Diensten en de juridische pagina's: tekst links (gelijk met de paginatitel), hulpkolom rechts.
   Op kleinere schermen staat de hulpkolom boven de tekst, of is hij verborgen (menu). */
@media (min-width: 961px) {
  .aside-right > .index { grid-column: 9 / -1; grid-row: 1; padding-right: 0; padding-left: 16px; }
  .aside-right > .doc, .aside-right > .legal { grid-column: 1 / span 7; grid-row: 1; }
}
.index { position: sticky; top: 40px; display: grid; gap: 30px; }
.index-static { position: static; }
.index-group { display: grid; gap: 12px; }
.index-h { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-ink); }
.index-h-spaced { margin-top: 18px; }
.index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.index ol a {
  display: flex; gap: 8px; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; font-size: 0.96rem; line-height: 1.4; transition: color 0.2s, border-color 0.2s;
}
.index ol a:hover { color: var(--navy); }
.index ol a.is-active { color: var(--navy); border-left-color: var(--sage); }
.index ol .art { min-width: 1.6em; color: var(--sage-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .doc-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-grid > .index, .doc-grid > .doc, .doc-grid > .legal { grid-column: 1 / -1; padding-right: 0; }
  .index { position: static; }
  .index-nav, .index-toc { display: none; }
}

.doc { min-width: 0; }
.service { padding-block: clamp(44px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.service:first-of-type { padding-top: 0; border-top: 0; }
.doc > .service:last-child { padding-bottom: 0; }   /* geen extra witruimte onder het laatste onderdeel */
.service-label { margin-bottom: 16px; }
.service h2 { font-size: clamp(2.1rem, 1.6rem + 1.4vw, 3rem); line-height: 1.04; }
.service-body { max-width: 42em; margin-top: 20px; display: grid; gap: 1em; }
.membership { display: flex; align-items: center; gap: 16px; margin-top: 0.6em; padding: 14px 20px 14px 14px; border-radius: 18px; background: var(--tint); width: fit-content; max-width: 100%; font-size: 0.92rem; line-height: 1.4; color: var(--muted); }
.membership img { width: 52px; flex: none; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo-card { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 3vw, 36px); border-radius: 20px; background: var(--tint); scroll-margin-top: 40px; }
.duo-card h2, .duo-card h3 { font-size: clamp(1.9rem, 1.55rem + 0.9vw, 2.4rem); line-height: 1.06; }
.doc .duo { margin-top: clamp(28px, 4vw, 40px); }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.aside-right .duo { grid-template-columns: minmax(0, 1fr); }   /* in de tekstkolom onder elkaar, zodat de blokken niet smal en lang worden */

/* Over: 'In het kort' in de hulpkolom rechts, onder de foto */
.kort { display: grid; }
.kort .index-h { margin-bottom: 4px; }
.kort-list > div { padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.kort-list dt { font-size: 0.82rem; line-height: 1.4; color: var(--muted); }
.kort-list dd { margin-top: 3px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.28; color: var(--navy); }
.kort-list i { font-style: italic; }
.kort-multi dd { position: relative; padding-left: 18px; }
.kort-multi dd::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 9px; height: 1px; background: var(--sage-ink); }
.kort-multi dd + dd { margin-top: 7px; }
.kort-lsa dd { display: flex; align-items: center; justify-content: space-between; gap: 16px; }   /* tekst gelijk met de rest, logo rechts */
.kort-lsa img { width: 44px; flex: none; }
.kort .link-arrow { margin-top: 20px; }
@media (max-width: 960px) {
  .kort-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (max-width: 520px) { .kort-list { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 20px; background: var(--tint); min-width: 0; }
.cc-icon { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); }
.cc-icon .i { width: 20px; height: 20px; }
.li-logo { flex: none; width: 20px; height: 20px; }   /* officieel LinkedIn-logo, naast het woord LinkedIn (Over) */
.cc-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-ink); margin-top: 26px; }
.cc-value { font-family: var(--serif); font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.8rem); line-height: 1.22; color: var(--navy); overflow-wrap: anywhere; }
.cc-value a { text-decoration: none; }
.cc-value a:hover { text-decoration: underline; text-decoration-color: var(--sage); }
/* één kolom tot de blokken breed genoeg zijn voor het e-mailadres op normale grootte */
@media (max-width: 720px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .contact-card { padding: 24px 20px; } }
@media (max-width: 340px) { .cc-value { font-size: 1.25rem; } }

/* juridische teksten */
.legal { max-width: 46rem; }   /* zelfde lettergrootte en regelafstand als de andere pagina's */
.legal > * + * { margin-top: 1em; }
.legal h2 { font-size: clamp(1.55rem, 1.35rem + 0.6vw, 1.95rem); line-height: 1.15; margin-top: 2.2em; scroll-margin-top: 40px; }
.legal h2:first-child { margin-top: 0; }
.legal h2 .art { color: var(--sage-ink); margin-right: 0.3em; }
.legal p .art { display: inline-block; min-width: 2.6em; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.legal ul, .legal ol { padding-left: 1.4em; }
.legal li + li { margin-top: 0.55em; }
.legal ol.articles { padding-left: 2em; }
.legal ol.articles li { padding-left: 0.5em; }
.legal ol.articles li + li { margin-top: 1.1em; }
.legal li::marker { color: var(--sage-ink); font-weight: 700; }

/* ---------------------------------------------------------------- onderbalk */
.site-footer {
  margin: var(--inset); margin-top: 0; border-radius: var(--radius); background: var(--navy-deep); color: var(--on-navy-2);
  padding-block: clamp(56px, 7vw, 96px) 32px; font-size: 0.95rem;
}
.footer-top { padding-bottom: clamp(40px, 5vw, 64px); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 80px); }
.footer-h { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: #fff; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-decoration-color: var(--sage); }
.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.82rem; line-height: 1.6; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------------------------------------------------------------- binnenkomst van de opening */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > *, .page-hero-inner > *, .profile-figure { animation: rise 0.8s var(--ease) both; }
  .hero-inner > :nth-child(2), .page-hero-inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > :nth-child(3), .page-hero-inner > :nth-child(3), .profile-figure { animation-delay: 0.16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- afdrukken
   Alleen de inhoud: geen kopregel, onderbalk of gekleurde vlakken. Handig voor de juridische pagina's. */
@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.5; }
  body::before { content: "Van Ittersum Advocatuur \00b7  www.vanittersumadvocatuur.nl"; display: block; margin-bottom: 14pt; padding-bottom: 6pt; border-bottom: 0.5pt solid #999; font: 700 8.5pt/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #444; }
  .skip, .site-header, .footer-top, .cta, .index, .actions, .area-go, .membership, .profile-figure { display: none !important; }
  .panel, .panel-navy, .panel-tint { margin: 0; border-radius: 0; background: none !important; color: #000; overflow: visible; }
  .panel-navy::after { display: none; }
  .hero, .page-hero, .section, .section-after-hero { padding: 0 0 14pt; }
  .wrap, .section > .wrap { max-width: none; padding: 0; }
  .eyebrow::before { display: none; }
  h1, h2, h3, .panel-navy h1, .panel-navy h2, .panel-navy h3, .statement-text, .area-title, .cc-value { color: #000 !important; }
  .display, .display-2 { font-size: 22pt; }
  .hero h1 em, .page-hero h1 em, .statement-text .accent, .eyebrow, .eyebrow.on-dark, .lede, .page-hero .lede, .hero .lede { color: #333 !important; }
  .doc-grid, .profile-hero, .statement { display: block; }
  .legal { max-width: none; font-size: 10.5pt; line-height: 1.55; }
  .legal h2 { font-size: 13pt; break-after: avoid; }
  .legal p, .legal li { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: none; }
  .site-footer { margin: 18pt 0 0; padding: 0; border-radius: 0; background: none; color: #444; }
  .footer-bottom { border-top: 0.5pt solid #999; padding-top: 6pt; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
