/* tailwind/officieel/docs/font-family.mdx:94 "at-rule to load custom fonts"; :101 "font-display: swap;". Lokale Source-bestanden. */
/* Website als één verhaal, in de volgorde van de film. Maker: mdn-html/officieel-mdn/web/css/reference/properties/grid-template-columns.md:47 "display: grid;"; mdn-performance/officieel-mdn/web/css/reference/at-rules/media/prefers-reduced-motion.md:65 "@media (prefers-reduced-motion: reduce)". */

@font-face {
  font-family: "Source Sans 3 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("letters/source-sans-3-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4 Variable";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("letters/source-serif-4-latin-standard-normal.woff2") format("woff2");
}

/* mdn-performance/officieel-mdn/web/html/reference/elements/meta/name/color-scheme.md:32 "light, dark, light dark, dark light". */
:root {
  color-scheme: dark;
  --canvas: #1b1a18;
  --surface: #2e2d2a;
  --solid: #2e2d2a;
  --ink: #f3f1ec;
  --muted: #b3afa7;
  --selected: #3a3834;
  --line: rgb(255 250 240 / .12);
  --action: #ece9e3;
  --action-hover: #ffffff;
  --on-action: #1b1a18;
  --gold: #bba266;
  --gold-end: #8a7238;
  --inlog-hoofd: rgba(30, 110, 244, .42);
  --inlog-actie: rgba(92, 184, 255, .18);
  --inlog-goud: rgba(187, 162, 102, .24);
  --warning: #e5ab55;
  --line-sterk: rgb(255 250 240 / .22);
  --aandacht: #5cb8ff;
  --voldoet: #8ccd8f;
  --scrim: rgb(0 0 0 / .56);
  --zweef: 0 24px 70px rgb(0 0 0 / .32);
  --veer: cubic-bezier(.2, .7, .15, 1);
  --ring: inset 0 0 0 .5px rgb(255 255 255 / .07),
          inset 0 .5px 0 rgb(255 255 255 / .07);
  --inner: inset 0 1px 2px rgb(0 0 0 / .26);
  --sans: "Source Sans 3 Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4 Variable", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 300 17px/1.6 var(--sans);
}
.site {
  /* tailwind/officieel/docs/isolation.mdx:10 "isolation: isolate;"; overflow.mdx:21 "overflow-x: clip;". */
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
}
.wrap {
  width: min(100% - 40px, 1248px);
  margin-inline: auto;
}
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
/* mdn-html/officieel-mdn/web/css/reference/properties/font-weight/index.md:192 "Light"; :193 "Normal (Regular)";
   mdn-html/officieel-mdn/web/css/reference/properties/font-variation-settings/index.md:76 "four letter axis names". */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 60;
  letter-spacing: -.025em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 5.1vw, 72px); max-width: 17ch; }
h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: 25ch; }
h3 { font-size: clamp(23px, 2vw, 29px); }
p { max-width: 67ch; }
p + p { margin-top: 14px; }
strong, b, th { font-weight: 400; }
a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
  border-radius: 4px;
}
::selection { background: var(--selected); color: var(--ink); }
svg { display: block; max-width: 100%; }
small, .small, figcaption { font-size: 14px; line-height: 1.5; }
.small, figcaption { color: var(--muted); }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 20;
  padding: 12px 18px;
  background: var(--solid);
  color: var(--ink);
}
.skip:focus { top: 12px; }
section { padding-block: 76px; }
section + section { border-top: 1px solid var(--line); }
.link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--action);
  color: var(--on-action);
  text-decoration: none;
  font-weight: 400;
  transition: background-color .15s ease;
}
.button:hover { background: var(--action-hover); }
.button:active { transform: translateY(1px); }
details { border-bottom: 1px solid var(--line); }
summary {
  padding-block: 17px;
  cursor: pointer;
  font-weight: 400;
}
summary::marker { color: var(--gold); }
summary:hover { text-decoration: underline; text-underline-offset: 5px; }
details > p,
details > div { padding-bottom: 20px; }
details p { color: var(--muted); }

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
  text-decoration: none;
}
.brand img { display: block; width: 40px; height: 46px; flex: none; }
.brand span {
  font: 300 23px/1.1 var(--serif); font-variation-settings: "opsz" 60;
  letter-spacing: -.02em;
}
.desktop-nav { display: flex; align-items: center; gap: 25px; }
.desktop-nav a,
.login { text-decoration: none; padding-block: 12px; }
.desktop-nav a { color: var(--muted); }
.desktop-nav a:hover,
.login:hover { text-decoration: underline; }
.menu { position: relative; border: 0; }
.menu > summary { min-width: 64px; text-align: right; }
.menu nav {
  position: absolute;
  z-index: 5;
  top: 58px;
  right: 0;
  width: 280px;
  padding: 14px 22px;
  background: var(--solid);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.menu nav a { display: block; padding-block: 10px; text-decoration: none; }
.menu nav a:hover { text-decoration: underline; }

/* De opening: belofte links, de echte portefeuille rechts, de film eronder. */
.site .hero { padding-block: clamp(44px, 5vw, 76px) clamp(72px, 9vw, 128px); }
.b-held { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(42px, 4vw, 58px); max-width: 16ch; }
.hero .lead { font-weight: 300; max-width: 47ch; margin-block: 20px 28px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); }
.acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; }
.acties .knop { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 18px; border-radius: 14px; color: var(--on-action); background: var(--action); text-decoration: none; font-weight: 400; transition: background-color .15s ease; }
.acties .knop:hover { background: var(--action-hover); }
.acties .knop:active { transform: translateY(1px); }
.acties .knop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tekstlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 400; text-underline-offset: 5px; }
.held-beeld { justify-self: end; width: min(100%, 686px); }
.film-blok { display: grid; gap: 14px; margin-top: clamp(64px, 8vw, 112px); scroll-margin-top: 24px; }

/* De film zelf: ongewijzigd uit de vorige site. */
.film-inline { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: var(--canvas); box-shadow: var(--ring), var(--inner); }
.film-inline .film-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-start { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); min-height: 50px; padding: 10px 18px; border: .5px solid var(--gold); border-radius: 14px; background: var(--solid); color: var(--ink); font: 400 16px var(--sans); cursor: pointer; white-space: nowrap; }
.film-start:hover { background: var(--selected); }
.film-start span { margin-left: 8px; color: var(--gold); }
.film-note { color: var(--muted); font-size: 14px; }
.film-inline .film-root { height: 100%; border-radius: inherit; }
@media (max-width: 600px) { .film-inline { aspect-ratio: 390 / 844; } .film-start { bottom: 18px; } .acties { flex-direction: column; align-items: flex-start; } }

/* Een hoofdstuk: kop en tekst naast elkaar, daaronder de echte schermen. */
.hoofdstuk { padding-block: clamp(72px, 9vw, 128px); }
.kop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(32px, 6vw, 92px); align-items: start; }
.kop h2 { max-width: 16ch; }
.kop-tekst { padding-top: 10px; }
.kop-tekst > p { max-width: 58ch; color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.kop-tekst > p.small { font-size: 14px; line-height: 1.5; }
.kop-tekst > p + p { margin-top: 16px; }
figure > figcaption { flex: 0 0 100%; margin-top: 14px; }

/* Uitsnede van een echt scherm. aspect-ratio.mdx:11 "aspect-ratio: <ratio>;"; overflow.mdx:13 "overflow: hidden;";
   position.mdx:13 "position: absolute;". De opname schuift binnen het kader; er wordt niets op getekend. */
.venster { --x: var(--dx); --y: var(--dy); --w: var(--dw); --h: var(--dh); width: 100%; max-width: calc(var(--w) * var(--zoom, 1) * 1px + 12px); padding: 6px; border-radius: 17px; background: var(--solid); box-shadow: var(--ring), var(--inner); }
.uitsnede { position: relative; overflow: hidden; aspect-ratio: var(--w) / var(--h); border-radius: 12px; background: var(--canvas); }
.uitsnede img { position: absolute; left: calc(var(--x) / var(--w) * -100%); top: calc(var(--y) / var(--h) * -100%); width: calc(1440 / var(--w) * 100%); max-width: none; height: auto; }
.toestel { --tw: clamp(150px, 13vw, 196px); position: relative; flex: none; width: calc(var(--tw) + 14px); padding: 7px; border-radius: calc(var(--tw) * .1125 + 7px); background: var(--solid); box-shadow: var(--ring), var(--inner); }
.toestel img { display: block; width: 100%; height: auto; border-radius: calc(var(--tw) * .1125); }

.beeldrij { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(20px, 2.6vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.beeldrij > .venster, .beeldrij > .collega, .beeldrij > .paspoort, .complex-kolom { flex: 1 1 0; min-width: 0; }
.beeldrij .toestel { --tw: clamp(210px, 18vw, 252px); }
.collega { display: grid; gap: 10px; justify-items: start; max-width: 602px; }
/* Gebouwpaspoort: het inventarisoverzicht met direct daaronder de regel VL-1, zodat de specificaties leesbaar blijven. */
.paspoort { display: grid; gap: 14px; }
.venster.wie { width: calc(var(--w) * 1px + 12px); max-width: none; border-radius: 13px; }
.venster.wie .uitsnede { border-radius: 8px; }
.tel { flex: none; display: grid; justify-items: center; }
.tel figcaption { text-align: center; }

/* Licht achter de beelden, volgens de gekozen mockup VERLOOP-MOCKUPS.html:305-324.
   mdn-css/officieel/web/css/reference/values/gradient/radial-gradient.md:19 "radial-gradient(closest-side";
   mdn-css/officieel/web/css/reference/values/color_value/color-mix.md:102 "If `p2` is omitted, then `p2 = 100% - p1`.".
   tailwind/officieel/docs/content.mdx:22 "::before"; position.mdx:13 "position: absolute;"; pointer-events.mdx:11 "pointer-events: none;". */
[data-licht] { position: relative; }
[data-licht]::before {
  content: "";
  position: absolute;
  inset: var(--rand, -18% -20%);
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  background: radial-gradient(closest-side,
    var(--lc) 0%,
    color-mix(in srgb, var(--lc) 84%, transparent) 33%,
    color-mix(in srgb, var(--lc) 50%, transparent) 56%,
    color-mix(in srgb, var(--lc) 16%, transparent) 78%,
    transparent 100%);
}
[data-licht="blauw"], [data-licht="held"] { --lc: var(--inlog-hoofd); }
[data-licht="lichtblauw"] { --lc: var(--inlog-actie); --rand: -22% -50%; }
[data-licht="goud"] { --lc: var(--inlog-goud); }
[data-licht="held"] { --rand: -30% -24%; }

/* Inventariseren: het complexbeeld met een venster bij de gekozen plus. */
.complex-kolom { align-self: center; }
.complex-scene { position: relative; overflow: hidden; border-radius: 18px; background: var(--solid); box-shadow: var(--ring), var(--inner); isolation: isolate; }
.complex-scene picture, .complex-scene picture img { display: block; width: 100%; }
.complex-scene picture img { height: auto; }
.complex-glow { position: absolute; inset: -20% auto auto 18%; z-index: 1; width: 58%; height: 105%; pointer-events: none; background: radial-gradient(closest-side, rgb(187 162 102 / .28), transparent); opacity: .55; transform: translateX(15%); mix-blend-mode: screen; }
.object-marker { position: absolute; z-index: 4; left: var(--x); top: var(--y); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--gold); border-radius: 50%; background: rgb(27 26 24 / .87); color: var(--ink); box-shadow: 0 0 0 5px rgb(27 26 24 / .28); transform: translate(-50%, -50%); cursor: pointer; font: 300 26px/1 var(--sans); transition: background-color .15s ease, color .15s ease; }
.object-marker:hover, .object-marker[aria-expanded="true"] { background: var(--gold); color: var(--canvas); }
.object-marker:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

/* Portefeuille en ESG: twee uitsneden, daarnaast de toelichting. */
.esg-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 92px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.esg-raster .beeldrij { margin-top: 0; }
.esg-tekst h3 { font-size: clamp(23px, 2vw, 29px); }
.esg-tekst h3 + p { margin-top: 12px; }
.esg-tekst p { color: var(--muted); }
.esg-tekst p + h3 { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Custom data en Wie zijn wij. */
.custom-data h2 { font-size: clamp(26px, 2.4vw, 34px); }
.wie-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 92px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.wie-tekst h2 { margin-bottom: 26px; }
.wie-tekst p { max-width: 54ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.wie-tekst p + p { margin-top: 18px; }
/* Wie zijn wij: twee korte bio's in plaats van een beeld (K-WEBSITE-INPUT-1310, VOORSTEL-1310 §4); foto's komen erbij als de eigenaar ze aanlevert. */
.wie-raster:has(.wie-bios) { align-items: start; }
.wie-bios { display: grid; gap: clamp(28px, 3vw, 40px); }
.wie-bio { padding-top: 22px; border-top: 1px solid var(--line); }
.wie-bio h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.wie-bio h3 span { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--muted); }
.wie-bio p { color: var(--muted); line-height: 1.6; }

/* Pakketten: de tabel is het hoofdonderdeel. table-layout.mdx:11 "table-layout: auto;". */
.table-shell { margin-top: clamp(40px, 5vw, 64px); padding: 7px; border-radius: 20px; background: var(--surface); box-shadow: var(--ring); }
.tarief { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 16px; line-height: 1.5; }
.tarief th, .tarief td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.tarief thead th { padding-block: 14px; color: var(--muted); font-size: 14px; font-weight: 400; }
.tarief tbody th { width: 17%; font: 300 clamp(21px, 1.9vw, 26px)/1.2 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.02em; }
.tarief td { color: var(--muted); }
.tarief td:last-child { width: 36%; }
.tarief td strong { display: block; margin-bottom: 4px; color: var(--ink); }
.tarief tbody tr:last-child > * { border-bottom: 0; }
.tarief td + td, .tarief th + td, .tarief thead th + th { border-left: 1px solid var(--line); }
.inbegrepen { margin-top: 22px; color: var(--muted); max-width: 76ch; }
.vragen-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 92px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.explanations { border-top: 1px solid var(--line); }
.explanations summary { font-size: 17px; }

/* Contact: terug naar de portefeuille waarmee het verhaal begon. */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; align-items: center; }
.contact-tekst { margin-top: 20px; color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.contact-layout .button { margin-top: 28px; }
.contact-mail { margin-top: 20px; }
.contact-layout .small { margin-top: 4px; }
.contact-login { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-login .link { margin: 0 0 0 6px; }
.contact-layout .toestel { --tw: clamp(210px, 18vw, 252px); }

footer { padding-block: 36px 42px; border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px 36px;
}
.footer-top > p { font: 300 25px/1.2 var(--serif); font-variation-settings: "opsz" 60; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 26px; font-size: 15px; }
.legal { margin-top: 26px; }
.email { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
}
@media (max-width: 980px) {
  .b-held { grid-template-columns: 1fr; }
  .held-beeld { justify-self: start; }
}
@media (max-width: 767px) {
  [data-licht="held"] { --rand: -28% -24%; }
  [data-licht="lichtblauw"] { --rand: -18% -40%; }
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 80px; gap: 15px; }
  .brand { gap: 9px; }
  .brand img { width: 30px; height: 35px; }
  .brand span { font-size: 18px; max-width: 145px; }
  .login { display: none; }
  .menu > summary { font-size: 15px; }
  section { padding-block: 48px; }
  .site .hero { padding-block: 34px 56px; }
  h1 { font-size: clamp(39px, 10.8vw, 58px); max-width: 16ch; }
  h2 { font-size: 34px; }
  .hoofdstuk { padding-block: 56px; }
  .kop, .esg-raster, .wie-raster, .vragen-raster, .contact-layout { grid-template-columns: 1fr; gap: 18px; }
  .kop h2 { max-width: none; }
  .kop-tekst { padding-top: 0; }
  .kop-tekst > p { font-size: 18px; }
  .venster { --x: var(--mx, var(--dx)); --y: var(--my, var(--dy)); --w: var(--mw, var(--dw)); --h: var(--mh, var(--dh)); }
  .beeldrij { flex-direction: column; align-items: stretch; gap: 20px; }
  .beeldrij > .venster, .beeldrij > .collega, .beeldrij > .paspoort, .complex-kolom { flex: none; width: 100%; }
  .beeldrij > .toestel, .beeldrij > .tel { align-self: center; }
  .collega { max-width: none; }
  .beeldrij > figcaption { margin-top: -6px; }
  .object-marker { width: 32px; height: 32px; font-size: 22px; box-shadow: 0 0 0 4px rgb(27 26 24 / .28); }
  .esg-raster, .wie-raster, .vragen-raster { margin-top: 32px; }
  .esg-raster .beeldrij { margin-top: 0; }
  .wie-raster { padding-top: 40px; }
  .table-shell { padding: 4px; border-radius: 14px; }
  .tarief { font-size: 14px; line-height: 1.45; }
  .tarief th, .tarief td { padding: 12px 8px; }
  .tarief thead th { padding-block: 10px; font-size: 13px; }
  .tarief tbody th { width: 21%; font-size: 17px; }
  .tarief td:last-child { width: 41%; }
  .contact-layout { gap: 40px; }
  .contact-layout .button { width: 100%; padding-inline: 14px; }
  .footer-links { flex-direction: column; align-items: flex-start; }
}
/* mdn-html/officieel-mdn/web/api/popover_api/using.md:447 "position: absolute;"; :510 "@starting-style"; :517 "allow-discrete". */
/* Gegevens in het venster. tailwind/officieel/docs/font-family.mdx:20 "font-family: var(<custom-property>);";
   mdn-html/officieel-mdn/web/css/reference/properties/font-smooth/index.md:89 "-webkit-font-smoothing: antialiased;". */
.venster-c .oordeel { display: inline-flex; align-items: center; gap: 8px; color: var(--oordeel-kleur, var(--ink)); font-weight: 400; }
.venster-c .oordeel::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.venster-c [data-oordeel="Aandacht"] { --oordeel-kleur: var(--aandacht); }
.venster-c [data-oordeel="Voldoet"] { --oordeel-kleur: var(--voldoet); }
.venster-c dd { font-variant-numeric: tabular-nums; }
.venster-c .raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.venster-c .raster > div { padding-block: 9px; border-top: .5px solid var(--line); }
.venster-c .raster dt { color: var(--muted); font-size: 13px; }
.venster-c .raster dd { margin-top: 2px; }
.venster-c .lijst > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 8px; border-top: .5px solid var(--line); }
.venster-c .lijst > div:last-child { border-bottom: .5px solid var(--line); }
.venster-c .lijst dt { min-width: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.venster-c .lijst dd { flex: none; max-width: 55%; text-align: right; line-height: 1.4; }
.venster-c .vink { display: inline-block; min-width: 1ch; color: var(--ink); font-weight: 400; }
.venster-c .vink[data-nee] { color: var(--muted); }
.venster-c .bevindingen { display: grid; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--ring); }
.venster-c .bevindingen > div + div { margin-top: 12px; padding-top: 12px; border-top: .5px solid var(--line); }
.venster-c .bevindingen h4 { margin: 0; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.venster-c .bevindingen p { margin-top: 4px; font-size: 16px; line-height: 1.5; }

/* C: klein venster bij de + (popover); op de telefoon een vel van onderen */
.venster-c { -webkit-font-smoothing: antialiased; position: absolute; inset: auto; width: min(372px, calc(100vw - 32px)); margin: 0; padding: 0; overflow: visible; border: .5px solid var(--line); border-radius: 18px; background: var(--canvas); color: var(--ink); box-shadow: var(--zweef), var(--ring); opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .18s ease, transform .26s var(--veer), display .26s allow-discrete, overlay .26s allow-discrete; }
.venster-c:popover-open { opacity: 1; transform: none; }
@starting-style { .venster-c:popover-open { opacity: 0; transform: translateY(6px) scale(.98); } }
.venster-c::backdrop { background: transparent; }
.c-staart { position: absolute; top: var(--staart-y, 28px); left: -7px; width: 14px; height: 14px; background: var(--canvas); border-left: .5px solid var(--line-sterk); border-bottom: .5px solid var(--line-sterk); transform: rotate(45deg); }
.venster-c[data-kant="links"] .c-staart { left: auto; right: -7px; transform: rotate(-135deg); }
.c-greep { display: none; }
.c-kop { display: grid; grid-template-columns: 96px minmax(0, 1fr) 44px; gap: 14px; align-items: start; padding: 14px 8px 0 14px; }
.c-kop img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; box-shadow: var(--ring); }
.c-label { color: var(--muted); font-size: 13px; line-height: 1.4; }
.c-kop h3 { margin-top: 3px; font-size: 20px; line-height: 1.2; }
.c-soort { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.c-sluit { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 300 26px/1 var(--sans); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.c-sluit:hover { background: var(--selected); color: var(--ink); }
.c-status { margin: 12px 14px 0; }
.c-velden { margin: 4px 14px 0; }
.c-velden:empty, .c-rest:empty { display: none; }
.meer-knop { font-family: var(--sans); line-height: 1.6; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 28px); min-height: 44px; margin: 12px 14px 14px; padding: 0 12px 0 16px; border: 0; border-radius: 12px; background: var(--selected); color: var(--ink); font-weight: 400; font-size: 15px; box-shadow: var(--ring); cursor: pointer; transition: background-color .15s ease; }
.meer-knop:hover { background: var(--surface); }
.meer-knop svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .26s var(--veer); }
.meer-knop[aria-expanded="true"] svg { transform: rotate(180deg); }
.c-meer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--veer); }
.c-meer > div { min-height: 0; overflow: hidden; }
.venster-c[data-meer] .c-meer { grid-template-rows: 1fr; }
.c-rest { margin: 0 14px 12px; }
.c-meer .bevindingen { margin: 0 14px 14px; }

@media (max-width: 760px) {
  .venster-c { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; border-width: .5px 0 0; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(100%); transition: opacity .2s ease, transform .4s var(--veer), display .4s allow-discrete, overlay .4s allow-discrete; }
  .venster-c:popover-open { transform: none; }
  @starting-style { .venster-c:popover-open { opacity: 1; transform: translateY(100%); } }
  .venster-c::backdrop { background: var(--scrim); }
  .c-staart { display: none; }
  .c-greep { display: block; width: 36px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: var(--line-sterk); }
  .c-kop { grid-template-columns: 112px minmax(0, 1fr) 44px; padding: 8px 8px 0 16px; }
  .c-kop img { width: 112px; height: 84px; }
  .c-kop h3 { font-size: 22px; }
  .c-status, .c-velden, .c-rest, .c-meer .bevindingen { margin-inline: 16px; }
  .meer-knop { width: calc(100% - 32px); margin-inline: 16px; }
}

.venster-c [tabindex="-1"]:focus { outline: none; }
.venster-c img { display: block; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .acties .knop:active, .button:active { transform: none; }
}
