/* ==========================================================================
   Projecten-overzicht (/cases/)
   Kop met grote titel + filters, raster met case-kaarten, CTA-band.
   Gedeelde componenten (.chip, .card, .grid-cases, .band) staan in main.css.
   ========================================================================== */

/* ---- Kop ------------------------------------------------------------------ */
.pj-kop { display: flex; flex-direction: column; gap: 40px; padding-top: 80px; padding-bottom: 56px; }
/* Links in het kruimelpad hebben 3px onderruimte (.lk): uitlijnen op de basislijn */
.pj-kop .crumbs { align-items: baseline; }
.pj-kop__rij { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.pj-titel { font-size: clamp(56px, 9vw, 140px); line-height: .92; letter-spacing: -.06em; font-weight: 700; color: var(--c-black); }
.pj-intro { font-size: 19px; line-height: 1.6; max-width: 440px; }
.pj-filters { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Uitgelichte cases: groot, 2 per rij -------------------------------------- */
.pj-uit { display: flex; flex-direction: column; gap: 24px; padding-bottom: 110px; }
.pj-uit__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
.pj-uit .card .ttl { font-size: 26px; }

/* ---- Meer werk: compact raster ------------------------------------------------ */
.pj-lijst { display: flex; flex-direction: column; gap: 36px; padding-top: 72px; padding-bottom: 130px; border-top: 1px solid var(--c-line); }
.pj-meer__kop { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: flex-end; }
.pj-meer__titel { display: flex; flex-direction: column; gap: 8px; }
.pj-meer__h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.035em; color: var(--c-black); }
.pj-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
@media (max-width: 1100px) { .pj-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pj-raster > [hidden] { display: none; }
.pj-raster .card { gap: 12px; }
.pj-raster .card .ph { aspect-ratio: 1 / 1 !important; border-radius: 18px; }
.pj-raster .card .tag { left: 12px; top: 12px; font-size: 12px; padding: 5px 10px; }
.pj-raster .card .ttl { font-size: 18px !important; }
.pj-raster .card .sub { font-size: 14px; }

/* Lege staat (filter zonder resultaten) */
.pj-leeg { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 56px 48px; border-radius: 28px; background: var(--c-light); animation: fd .7s var(--ease) both; }
.pj-leeg[hidden] { display: none; }
.pj-leeg__kop { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--c-black); }
.pj-leeg .lk { margin-top: 8px; }

/* ---- CTA-band ----------------------------------------------------------------- */
.pj-cta { padding-bottom: 120px; }

/* ---- Responsive ---------------------------------------------------------------- */
@media (max-width: 860px) {
  /* Tablet: twee kolommen in plaats van één brede kaart */
  .pj-uit__raster { grid-template-columns: 1fr; gap: 36px; }
  .pj-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (max-width: 760px) {
  .pj-kop { gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .pj-kop__rij { gap: 20px; }
  .pj-intro { font-size: 17px; }
  .pj-filters { gap: 8px; }
  .pj-filters .chip { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .pj-uit { padding-bottom: 64px; }
  .pj-lijst { padding-top: 48px; padding-bottom: 72px; }
  .pj-uit .card .ttl { font-size: 21px; }
  .pj-leeg { padding: 36px 24px; border-radius: 22px; }
  .pj-cta { padding-bottom: 72px; }
  .pj-cta .band__knoppen { width: 100%; }
  .pj-cta .band__knoppen .btn { flex: 1 1 220px; }
}
