/* ============================================
   AANBOUWPAGINA (ONTWERP WERKTEKENING)
   Bouwt voort op style.css: zelfde kleuren, Outfit + Inter.
   Nieuw: tekenvel, lijntekeningen, titelhoek, bouwbord, bouwverslag.
   ============================================ */

:root {
  --ink: #1a1a18;
  --ink-soft: #55554f;
  --brass: #c0913c;
  --brass-ink: #876424;
  --hair: rgba(26, 26, 24, 0.14);
  --hair-strong: rgba(26, 26, 24, 0.55);
  --grid: rgba(26, 26, 24, 0.045);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
  --gutter: max(var(--space-md), calc((100vw - var(--container-max)) / 2 + var(--space-md)));
}

.pf { padding-top: var(--header-h); background: var(--color-cream); color: var(--ink); }
.pf h1, .pf h2, .pf h3, .pf h4 { text-wrap: balance; }
.pf p { text-wrap: pretty; }
.pf a:not(.btn):not(.pf-textlink):not(.pf-more__item):not(.badge) { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.pf-section { padding: var(--space-xl) 0; background: var(--color-cream); }
.pf-deep { background: var(--color-cream-deep); }
.pf-head { max-width: 720px; margin-bottom: var(--space-lg); }
.pf-head p { margin-top: var(--space-sm); color: var(--color-grey-on-cream); font-size: var(--fs-lead, 1.125rem); }
.pf-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-sm) var(--space-lg); }

.pf-prose p { margin-bottom: 1em; max-width: 68ch; }
.pf-prose h2 { margin-bottom: var(--space-md); }
.pf-prose h3 { margin: 0 0 var(--space-sm); font-size: var(--fs-28); }
.pf-prose ul { margin: 0 0 1em; padding: 0; list-style: none; max-width: 64ch; }
.pf-prose li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--hair); }
.pf-prose li:last-child { border-bottom: 1px solid var(--hair); }
.pf-prose li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 2px; background: var(--brass); }

.pf-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--brass); padding-bottom: 2px;
}
.pf-textlink svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.pf-textlink:hover svg, .pf-textlink:focus-visible svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.pf-hero { display: grid; padding: 0; background: var(--color-cream); border-bottom: 1px solid var(--hair); }
.pf-hero__text { padding: clamp(40px, 6vw, 88px) var(--space-md) clamp(40px, 5vw, 64px); }
.pf-crumb { font-size: var(--fs-14); color: var(--color-grey-on-cream); margin-bottom: var(--space-md); }
.pf-crumb a { color: var(--brass-ink); }
.pf-hero h1 {
  font-size: clamp(2.125rem, 1.35rem + 2.7vw, 3.75rem);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); max-width: 15ch;
}
.pf-lead { margin-top: var(--space-md); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; }
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: var(--space-lg); }

/* Titelhoek: het kader rechtsonder op elke bouwtekening */
.pf-titleblock {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 56px); max-width: 520px;
  border: 1.5px solid var(--ink);
}
.pf-titleblock > div { padding: 10px 14px 12px; border-bottom: 1px solid var(--ink); }
.pf-titleblock > div:nth-child(odd) { border-right: 1px solid var(--ink); }
.pf-titleblock > div:nth-last-child(-n+2) { border-bottom: 0; }
.pf-titleblock dt { font-size: 0.75rem; color: var(--color-grey-on-cream); margin-bottom: 2px; }
.pf-titleblock dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.25; font-variant-numeric: tabular-nums; }

.pf-hero__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-cream-deep); }
.pf-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.pf-hero__media figcaption {
  position: absolute; left: 0; bottom: 0; max-width: 34ch;
  padding: 10px 16px; background: var(--color-cream); color: var(--ink-soft); font-size: 0.8125rem; line-height: 1.4;
}

@media (min-width: 1024px) {
  .pf-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(calc(100svh - var(--header-h)), 860px); }
  .pf-hero__text { padding-left: var(--gutter); padding-right: clamp(32px, 4vw, 64px); align-self: center; }
  .pf-hero__media { aspect-ratio: auto; }
}

/* ---------- Tekenvel: lichte ruitjes, haarlijn ---------- */
.pf-sheet {
  position: relative; margin: 0; padding: clamp(16px, 2vw, 24px);
  background-color: #fbfaf7;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--hair);
}
.pf-sheet figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: var(--fs-14); color: var(--ink-soft); }
.pf-sheet figcaption strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); margin-bottom: 2px; }
.pf-sheet--sm { padding: 12px; }

/* ---------- Lijntekeningen ---------- */
.pf-draw { display: block; width: 100%; height: auto; overflow: visible; }
.pf-draw .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.pf-draw .ln.thin { stroke-width: 1; }
.pf-draw .ln.wall { stroke-width: 5; }
.pf-draw .ln.heavy { stroke-width: 3.2; }
.pf-draw .ln.new { stroke: var(--brass-ink); }
.pf-draw .ln.dash { stroke-dasharray: 5 4; }
.pf-draw .ln.dim { stroke: var(--ink-soft); stroke-width: 1; }
.pf-draw .lb { font-family: var(--font-body); font-size: 10.5px; fill: var(--ink-soft); }
.pf-draw .lb.mute { fill: #6a6a67; }
.pf-draw .lb.strong { font-family: var(--font-display); font-weight: 600; font-size: 12px; fill: var(--ink); }
.pf-draw .lb.dimt { font-size: 10px; letter-spacing: 0.02em; fill: var(--ink); }
.pf-draw .dot { fill: var(--ink); }
.pf-draw .pipe { fill: none; stroke: var(--brass-ink); stroke-width: 1.4; }
.pf-draw .tag { fill: #fbfaf7; stroke: var(--brass-ink); stroke-width: 1; }

/* Tekenen bij in beeld komen. Zonder JS of met reduced motion staat alles er meteen. */
.pf-draw-ready .pf-draw:not(.is-in) .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.pf-draw-ready .pf-draw:not(.is-in) .fl,
.pf-draw-ready .pf-draw:not(.is-in) .lb { opacity: 0; }
.pf-draw.is-in .ln { stroke-dasharray: 1 1; animation: pf-draw 1.3s var(--ease-out) both; }
.pf-draw.is-in .ln.dash { stroke-dasharray: none; animation: pf-fade 0.6s ease 0.5s both; }
.pf-draw.is-in .fl { animation: pf-fade-fill 0.7s ease 0.6s both; }
.pf-draw.is-in .lb { animation: pf-fade 0.5s ease 0.8s both; }
@keyframes pf-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pf-fade { from { opacity: 0; } }
@keyframes pf-fade-fill { from { opacity: 0; } }

/* ---------- Twee kolommen: tekst + tekeningen ---------- */
.pf-split { display: grid; gap: var(--space-lg); }
.pf-plans { display: grid; gap: var(--space-md); align-content: start; }
@media (min-width: 900px) {
  .pf-plans:not(.pf-plans--sticky) { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .pf-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .pf-split .pf-plans:not(.pf-plans--sticky) { grid-template-columns: 1fr; }
  .pf-split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .pf-split--narrow { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .pf-plans--sticky { position: static; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .pf-plans--sticky { grid-template-columns: 3fr 2fr; }
}
.pf-advice { padding: 16px 20px; background: #fbfaf7; border: 1px solid var(--hair); }

/* ---------- Bouwverslag (het ene donkere moment op de pagina) ---------- */
.pf-build { background: var(--color-anthracite); color: var(--color-white); padding: var(--space-xl) 0; overflow: hidden; }
.pf-build h2 { color: var(--color-white); }
.pf-build__head { display: grid; gap: var(--space-lg); align-items: end; margin-bottom: var(--space-lg); }
.pf-build__head > div > p { margin-top: var(--space-sm); color: #b9b8b2; font-size: var(--fs-lead, 1.125rem); max-width: 52ch; }
@media (min-width: 1024px) {
  .pf-build__head { grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(48px, 6vw, 96px); }
}

/* Bouwbord: wit paneel met zwarte kopband, zoals op de bouwplaats */
.pf-bouwbord { background: #faf9f6; color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 18px 40px -18px rgba(0,0,0,0.6); }
.pf-bouwbord__band {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 10px 16px; background: var(--color-black); color: var(--color-white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
}
.pf-bouwbord__band img { width: 44px; height: auto; }
.pf-bouwbord__titel { margin: 0; padding: 16px 18px 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
.pf-bouwbord dl { margin: 0; padding: 4px 18px 8px; }
.pf-bouwbord dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--hair); font-size: 0.875rem; line-height: 1.4; }
.pf-bouwbord dt { color: var(--color-grey-on-cream); }
.pf-bouwbord dd { margin: 0; font-weight: 500; }
.pf-bouwbord__link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 18px; border-top: 3px solid var(--brass);
  font-family: var(--font-display); font-weight: 600; color: var(--ink) !important; text-decoration: none !important;
}
.pf-bouwbord__link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.pf-bouwbord__link:hover svg, .pf-bouwbord__link:focus-visible svg { transform: translateX(4px); }

/* Fasen: horizontale strook die je veegt of met knoppen bedient */
.pf-track {
  list-style: none; margin: 0; padding: 0 var(--gutter) 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 400px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: rgba(250,249,246,0.3) transparent;
  overscroll-behavior-x: contain;
}
.pf-track:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.pf-step { scroll-snap-align: start; position: relative; padding-top: 28px; }
/* Doorlopende tijdlijn met een paaltje per fase */
.pf-step::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(-1 * clamp(16px, 2vw, 28px)); height: 1px; background: rgba(250,249,246,0.25); }
.pf-step:last-child::before { right: 0; }
.pf-step::after { content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 13px; background: var(--brass); }
.pf-step figure { margin: 0 0 16px; aspect-ratio: 4 / 3; overflow: hidden; background: #2a2a27; }
.pf-step img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.pf-step:hover img { transform: scale(1.03); }
.pf-step h3 { color: var(--color-white); font-size: 1.25rem; margin-bottom: 6px; }
.pf-step p { color: #b9b8b2; font-size: 0.9375rem; line-height: 1.55; max-width: 40ch; }
.pf-track-nav { display: flex; align-items: center; gap: 10px; margin-top: var(--space-md); }
.pf-track-nav[hidden] { display: none; }
.pf-nav-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid rgba(250,249,246,0.35); border-radius: 50%; color: var(--color-white); background: transparent;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.pf-nav-btn svg { width: 20px; height: 20px; }
.pf-nav-btn:hover:not(:disabled), .pf-nav-btn:focus-visible { border-color: var(--brass); color: var(--brass); }
.pf-nav-btn:disabled { opacity: 0.3; cursor: default; }
.pf-track-count { margin-left: 8px; font-size: var(--fs-14); color: #b9b8b2; font-variant-numeric: tabular-nums; }

/* ---------- Mogelijkheden ---------- */
.pf-group { display: grid; gap: var(--space-md); padding: var(--space-lg) 0; border-top: 1px solid var(--hair-strong); }
.pf-group:last-child { padding-bottom: 0; }
.pf-group__t { font-size: var(--fs-22); color: var(--brass-ink); }
.pf-opts { display: grid; gap: var(--space-lg); }
.pf-opt h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 16px 0 8px; }
.pf-opt p { color: var(--ink-soft); max-width: 60ch; }
.pf-picto { max-width: 220px; margin: 0 auto; }
.pf-elev { max-width: 300px; margin: 0 auto; }
@media (min-width: 800px) {
  .pf-opts { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); }
  .pf-opts--one { grid-template-columns: 1fr; }
  .pf-opt--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
  .pf-opt--wide h4 { margin-top: 0; }
}
@media (min-width: 1100px) {
  .pf-group { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
}

/* ---------- Kosten: doorsnede + factoren ---------- */
.pf-cost { display: grid; gap: var(--space-lg); }
.pf-cost__fig { align-self: start; }
.pf-factors { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.pf-factor {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--hair);
  transition: opacity 0.4s ease;
}
.pf-factor:last-child { border-bottom: 1px solid var(--hair); }
.pf-factor:focus { outline: none; }
.pf-factor__n {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pf-factor h3 { font-size: 1.25rem; margin: 3px 0 6px; }
.pf-factor p { color: var(--ink-soft); max-width: 58ch; }
.pf-factor.is-active .pf-factor__n { background: var(--brass); border-color: var(--brass); color: var(--color-black); }
.pf-cost.has-active .pf-factor:not(.is-active) { opacity: 0.55; }

.pf-cut .badge circle { fill: #fbfaf7; stroke: var(--ink); stroke-width: 1.5; transition: fill 0.3s, stroke 0.3s; }
.pf-cut .badge text { font-family: var(--font-display); font-weight: 600; font-size: 12px; fill: var(--ink); pointer-events: none; }
.pf-cut .badge { cursor: pointer; }
.pf-cut .badge:focus-visible circle { stroke: var(--brass); stroke-width: 3; }
.pf-cut .f, .pf-cut .base { transition: opacity 0.45s ease; }
.pf-cut[data-active] .f, .pf-cut[data-active] .base { opacity: 0.3; }
.pf-cut[data-active="1"] .f[data-f="1"], .pf-cut[data-active="2"] .f[data-f="2"], .pf-cut[data-active="3"] .f[data-f="3"],
.pf-cut[data-active="4"] .f[data-f="4"], .pf-cut[data-active="5"] .f[data-f="5"] { opacity: 1; }
.pf-cut[data-active="1"] .f[data-f="1"] .ln, .pf-cut[data-active="2"] .f[data-f="2"] .ln, .pf-cut[data-active="3"] .f[data-f="3"] .ln,
.pf-cut[data-active="4"] .f[data-f="4"] .ln, .pf-cut[data-active="5"] .f[data-f="5"] .ln { stroke: var(--brass-ink); }
.pf-cut[data-active="1"] .badge[data-f="1"] circle, .pf-cut[data-active="2"] .badge[data-f="2"] circle, .pf-cut[data-active="3"] .badge[data-f="3"] circle,
.pf-cut[data-active="4"] .badge[data-f="4"] circle, .pf-cut[data-active="5"] .badge[data-f="5"] circle { fill: var(--brass); stroke: var(--brass); }

@media (min-width: 1024px) {
  .pf-cost { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); }
  .pf-cost__fig { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 1023px) {
  /* Op smalle schermen blijft de tekening bovenin staan terwijl de factoren eronder doorschuiven */
  .pf-cost__fig { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; padding: 10px; }
  .pf-cost__fig figcaption { display: none; }
  .pf-cost { gap: var(--space-md); }
}

/* Richtprijs + rekenhulp */
.pf-price { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); align-items: start; }
@media (min-width: 1024px) { .pf-price { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); } }
.pf-calc { padding: clamp(20px, 2.5vw, 32px); background: var(--color-anthracite); color: var(--color-white); }
.pf-calc__t { font-family: var(--font-display); font-weight: 600; color: var(--brass); margin-bottom: 8px; }
.pf-calc__rate { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pf-calc__rate span { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-14); color: #b9b8b2; }
.pf-calc__lbl { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 0.9375rem; color: #dcdbd5; }
.pf-calc__lbl output { font-family: var(--font-display); font-weight: 600; color: var(--color-white); font-variant-numeric: tabular-nums; }
.pf-calc input[type="range"] { width: 100%; margin: 14px 0 6px; accent-color: var(--brass); height: 28px; cursor: pointer; }
.pf-calc__scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: #8f8e88; }
.pf-calc__res { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(250,249,246,0.18); }
.pf-calc__res span { display: block; font-size: var(--fs-14); color: #b9b8b2; }
.pf-calc__res output { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-variant-numeric: tabular-nums; color: var(--color-white); }
.pf-calc__note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.5; color: #a7a6a0; }

/* Offertes vergelijken als afvinklijst */
.pf-check { display: grid; gap: var(--space-md); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--hair-strong); }
.pf-check h3 { font-size: var(--fs-28); margin-bottom: var(--space-sm); }
.pf-check p { color: var(--ink-soft); max-width: 52ch; }
.pf-checklist { list-style: none; margin: 0; padding: 0; }
.pf-checklist li { position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--hair); font-weight: 500; }
.pf-checklist li:last-child { border-bottom: 1px solid var(--hair); }
.pf-checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border: 1.5px solid var(--ink); }
.pf-checklist li::after { content: ""; position: absolute; left: 6px; top: 17px; width: 7px; height: 12px; border: solid var(--brass-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (min-width: 1024px) { .pf-check { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); } }
.pf-cost__cta { margin-top: var(--space-lg); font-size: var(--fs-lead, 1.125rem); max-width: 70ch; }

/* ---------- Meer werk ---------- */
.pf-more { display: grid; gap: var(--space-md); }
@media (min-width: 800px) { .pf-more { grid-template-columns: 1fr 1fr; } }
.pf-more__item { display: block; color: var(--ink); }
.pf-more__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: filter 0.4s; }
.pf-more__item:hover img { filter: brightness(1.05); }
.pf-more__cap { display: block; padding-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; }
.pf-more__cap strong { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); }

/* ---------- Regio als lijst ---------- */
.pf-places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-strong); }
.pf-places a {
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--hair); color: var(--ink) !important; text-decoration: none !important;
}
.pf-place { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.pf-place__d { grid-column: 1; color: var(--ink-soft); font-size: 0.9375rem; }
.pf-places svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--brass-ink); transition: transform 0.3s var(--ease-out); }
.pf-places a:hover svg, .pf-places a:focus-visible svg { transform: translateX(4px); }
.pf-places .is-home .pf-place::after { content: "Thuisbasis"; margin-left: 10px; padding: 2px 8px; font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; color: var(--brass-ink); border: 1px solid var(--brass-ink); border-radius: 2px; vertical-align: 2px; }
@media (min-width: 700px) { .pf-places a { grid-template-columns: 160px minmax(0, 1fr) 20px; } .pf-place__d { grid-column: 2; } .pf-places svg { grid-column: 3; grid-row: 1; } }

/* ---------- FAQ en kennisbank op licht ---------- */
.pf-faq { max-width: none; margin: 0; }
.pf .kb-meer-weten h2 { margin-bottom: var(--space-md); }

/* ---------- CTA ---------- */
.pf-cta h2 { color: var(--color-white); }

/* ---------- Geen animaties ---------- */
@media (prefers-reduced-motion: reduce) {
  .pf-draw .ln, .pf-draw .fl, .pf-draw .lb { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .pf-step img, .pf-textlink svg, .pf-places svg, .pf-bouwbord__link svg { transition: none; }
  .pf-track { scroll-behavior: auto; }
}

/* ============================================
   RONDE 2
   ============================================ */

/* ---------- Hero: van tekening naar gebouwd ---------- */
.pf-hero__stage { position: absolute; inset: 0; overflow: hidden;
  background-color: #fbfaf7;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}
.pf-hero__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-out), filter 1.5s var(--ease-out); }
.pf-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.pf-hero__lines .ln { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pf-hero__lines .ln.thin { stroke-width: 1.6; }
.pf-hero__lines .ln.hair { stroke-width: 1; stroke: var(--brass-ink); }
/* Tekenstand: foto weggeschoven naar beneden, lijnen zichtbaar */
.pf-hero__media.is-drawing .pf-hero__stage img { clip-path: inset(100% 0 0 0); }
.pf-hero__media.is-drawing .pf-hero__lines { opacity: 1; }
.pf-hero__media.is-drawing .pf-hero__lines .ln { stroke-dasharray: 1 1; animation: pf-draw 1.6s var(--ease-out) both; }
.pf-hero__media.is-drawing .pf-hero__lines .ln.thin { animation-delay: 0.25s; }
.pf-hero__media.is-drawing .pf-hero__lines .ln.hair { animation-delay: 0.5s; }
/* Tijdens de overgang: witte lijnen over de opkomende foto */
.pf-hero__media.is-building .pf-hero__lines { opacity: 0; transition-delay: 0.6s; }
.pf-hero__media.is-building .pf-hero__lines .ln { stroke: #faf9f6; }

.pf-hero__media figcaption { display: flex; align-items: center; gap: 16px; max-width: none; right: auto; padding: 10px 12px 10px 16px; }
.pf-switch { display: inline-flex; flex-shrink: 0; border: 1px solid var(--ink); border-radius: 999px; padding: 2px; }
.pf-switch[hidden] { display: none; }
.pf-switch button {
  border: 0; background: transparent; color: var(--ink); border-radius: 999px;
  padding: 6px 12px; min-height: 32px; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.pf-switch button[aria-pressed="true"] { background: var(--ink); color: var(--color-white); }
.pf-switch button:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 1023px) {
  /* Op smalle schermen staat het onderschrift onder de foto in plaats van erover */
  .pf-hero__media { aspect-ratio: auto; overflow: visible; background: none; }
  .pf-hero__stage { position: relative; aspect-ratio: 4 / 3; }
  .pf-hero__media figcaption { position: static; max-width: none; justify-content: space-between; flex-wrap: wrap; padding: 10px var(--space-md); }
}

/* ---------- Detailstrook ---------- */
.pf-head--row p { margin-top: 0; max-width: 46ch; }
.pf-detail-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .pf-detail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pf-detail-grid li:nth-child(even) { margin-top: 56px; }
}
.pf-detail-grid figure { margin: 0; }
.pf-detail-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.pf-detail-grid figure:hover img { transform: scale(1.05); }
.pf-detail-grid figcaption { padding-top: 12px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.pf-detail-grid figcaption strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); margin-bottom: 2px; }
.pf-detail-grid figure { position: relative; }
/* kleine hoekmarkering zoals een snijteken op een drukproef */
.pf-detail-grid figure::before, .pf-detail-grid figure::after { content: ""; position: absolute; width: 14px; height: 14px; z-index: 1; pointer-events: none; }
.pf-detail-grid figure::before { top: -6px; left: -6px; border-top: 1.5px solid var(--brass-ink); border-left: 1.5px solid var(--brass-ink); }
.pf-detail-grid figure::after { top: -6px; right: -6px; border-top: 1.5px solid var(--brass-ink); border-right: 1.5px solid var(--brass-ink); }

/* ---------- Fotoband ---------- */
.pf-band { position: relative; margin: 0; height: clamp(320px, 62vw, 760px); overflow: hidden; background: var(--color-anthracite); }
.pf-band img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 60%; }
@supports (animation-timeline: view()) {
  .pf-band img { animation: pf-band-drift linear both; animation-timeline: view(); }
  @keyframes pf-band-drift { from { transform: translateY(-8%); } to { transform: translateY(0); } }
}
.pf-band figcaption { position: absolute; left: var(--gutter); bottom: 0; padding: 10px 16px; background: var(--color-cream); color: var(--ink-soft); font-size: 0.8125rem; }

/* ---------- Bouwverslag: meetlint in plaats van een kale lijn ---------- */
.pf-step::before {
  top: 2px; height: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(250,249,246,0.45) 0 1px, transparent 1px 50px) 0 0 / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(250,249,246,0.22) 0 1px, transparent 1px 10px) 0 6px / 100% 6px no-repeat;
}
.pf-step::after { top: -4px; height: 20px; width: 3px; }

/* ---------- Doorsnede: grotere labels, label met actieve factor ---------- */
.pf-cut .lb { font-size: 12px; }
.pf-cut .lb.strong { font-size: 13.5px; }
.pf-cut .head { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pf-cost__fig { position: relative; }
.pf-cut-label {
  position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0;
  padding: 5px 12px; border-radius: 999px; background: var(--brass); color: var(--color-black);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.pf-cut-label.is-on { opacity: 1; transform: none; }

/* ---------- Afsluiter ---------- */
.pf-end { background: var(--color-anthracite); color: var(--color-white); padding: var(--space-xl) 0; border-top: 3px solid var(--brass); }
.pf-end h2 { color: var(--color-white); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.pf-end p { color: #c9c8c2; margin-top: var(--space-sm); max-width: 48ch; font-size: var(--fs-lead, 1.125rem); }
.pf-end__grid { display: grid; gap: var(--space-lg); align-items: center; }
@media (min-width: 1024px) { .pf-end__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }
.pf-next { list-style: none; margin: 0; padding: 0; border: 1.5px solid rgba(250,249,246,0.5); }
.pf-next li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 18px; color: #dcdbd5; font-size: 0.9375rem; line-height: 1.45; }
.pf-next li + li { border-top: 1px solid rgba(250,249,246,0.25); }
.pf-next span { font-family: var(--font-display); font-weight: 600; color: var(--brass); }

@media (prefers-reduced-motion: reduce) {
  .pf-hero__stage img, .pf-hero__lines, .pf-cut-label { transition: none !important; }
  .pf-hero__lines .ln { animation: none !important; stroke-dashoffset: 0 !important; }
  .pf-detail-grid img { transition: none; }
  .pf-band img { animation: none !important; transform: none !important; height: 100%; }
}

.pf-calc__cta { margin-top: 16px; width: 100%; }
