/* ============================================
   Projectpagina (voorstel): kop met foto, kerngegevens, fotomozaïek,
   verhaal met zijkolom, reviews en vergelijkbare projecten.
   ============================================ */
.page-project-v2 { font-family: var(--font-main); }

/* Kop */
.pv-head { padding-block: clamp(32px, 5vw, 72px); background: var(--color-primary); color: var(--color-white); }
.pv-head__grid { display: grid; gap: 32px; align-items: center; }
.pv-crumbs { display: flex; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.pv-crumbs a { color: var(--color-accent); font-weight: 600; }
.pv-title {
  margin: 0 0 18px;
  color: var(--color-white);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pv-lead { max-width: 36em; margin: 0 0 22px; color: rgba(255, 255, 255, 0.95); font-size: 18px; line-height: 1.7; }
.pv-head__photo { margin: 0; }
.pv-head__photo img, .pv-head__photo picture { display: block; width: 100%; }
.pv-head__photo img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--h2-radius); box-shadow: var(--h2-shadow); }
@media (min-width: 1024px) { .pv-head__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (max-width: 1023px) {
  .pv-head { padding-top: 0; }
  .pv-head__grid { gap: 20px; }
  .pv-head__photo { order: -1; margin-inline: calc(-1 * var(--h2-gutter)); }
  .pv-head__photo img { border-radius: 0; box-shadow: none; max-height: 52vh; }
  .pv-crumbs { margin-top: 4px; }
}

/* Projectgegevens als opsomming in de kop */
.pv-specs { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); list-style: none; }
.pv-specs li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
}
.pv-specs span { color: rgba(255, 255, 255, 0.7); font-weight: 400; }

/* Fotomozaïek */
.pv-photos__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.pv-photos__head .h2-title { margin: 0; }
.pv-photos__count { margin: 0; color: var(--h2-muted); font-size: 14px; }
.pv-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pv-mosaic__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; }
.pv-mosaic__item picture, .pv-mosaic__item img { display: block; width: 100%; height: 100%; }
.pv-mosaic__item img { object-fit: cover; transition: transform 0.4s; }
.pv-mosaic__item:hover img { transform: scale(1.04); }
.pv-mosaic__item--big { grid-column: 1 / -1; }
.pv-mosaic__item--extra { display: none; }
.pv-mosaic__item[data-more]::after {
  content: attr(data-more);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(31, 33, 34, 0.6);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 900px) {
  .pv-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); }
  .pv-mosaic__item { aspect-ratio: auto; }
  .pv-mosaic__item--big { grid-column: span 2; grid-row: span 2; }
}
/* Weinig foto's: indeling per aantal zichtbare foto's (n1 t/m n4) */
.pv-mosaic--n1 { grid-template-columns: 1fr; }
.pv-mosaic--n1 .pv-mosaic__item--big { aspect-ratio: 16 / 9; }
.pv-mosaic--n2 > :nth-child(3) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .pv-mosaic--n1 { grid-template-columns: 1fr; grid-auto-rows: clamp(260px, 32vw, 440px); }
  .pv-mosaic--n1 .pv-mosaic__item--big { grid-column: auto; grid-row: auto; aspect-ratio: auto; }
  .pv-mosaic--n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(240px, 28vw, 380px); }
  .pv-mosaic--n2 .pv-mosaic__item--big { grid-column: auto; grid-row: auto; }
  .pv-mosaic--n2 > :nth-child(3) { grid-column: auto; }
  .pv-mosaic--n3 > :nth-child(n+3) { grid-column: span 2; }
  .pv-mosaic--n4 > :nth-child(3) { grid-column: span 2; }
}

/* Verhaal en zijkolom */
.pv-story { background: var(--h2-soft); }
.pv-story__grid { display: grid; gap: 40px; }
.pv-story--short .pv-side { display: grid; gap: 16px; }
.pv-story--short .pv-card { margin-bottom: 0; }
@media (min-width: 900px) {
  .pv-story--short .pv-side { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .pv-story:not(.pv-story--short) .pv-story__grid { grid-template-columns: minmax(0, 680px) 320px; justify-content: space-between; }
  .pv-story:not(.pv-story--short) .pv-side { position: sticky; top: 110px; align-self: start; }
}
.pv-body { color: #34373A; font-size: 18px; line-height: 1.75; }
.pv-body p { margin: 0 0 1.1em; }
.pv-body h2 { margin: 1.8em 0 0.5em; color: var(--h2-ink); font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; line-height: 1.25; }
.pv-body .h2-kicker + h2 { margin-top: 0; }
.pv-body h3 { margin: 1.5em 0 0.4em; color: var(--h2-ink); font-size: 19px; }
.pv-body a { color: var(--h2-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-copper); text-underline-offset: 3px; }
.pv-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }

.pv-card { margin-bottom: 16px; padding: 24px; border-radius: var(--h2-radius); background: var(--color-white); }
.pv-card__title { margin: 0 0 14px; color: var(--h2-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pv-card .h2-checks { margin: 0; }
.pv-card .h2-checks li { align-items: flex-start; font-size: 15px; line-height: 1.45; }

.pv-help { padding: 24px; border-radius: var(--h2-radius); background: var(--color-primary); color: var(--color-white); }
.pv-help img { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #5A5D60; }
.pv-help__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.pv-help__text { margin: 0 0 18px; color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1.55; }
.pv-help__btn { display: block; padding: 16px 20px; }
.pv-help__phone { display: block; margin-top: 12px; color: var(--color-white); font-size: 14px; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.pv-help__proof { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; }

/* Vergelijkbare projecten */
.pv-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.pv-more__head .h2-title { margin: 0; }
.pv-more__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .pv-more__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pv-more__grid { grid-template-columns: repeat(3, 1fr); } }
