/* ============================================================
   PAGE-PROVINCIE.CSS — Provincie-overzicht "Linnen gids"
   (Ontwerp 1 · editorial licht). Verbruikt tokens.css +
   sandbox-base.css. Pagina-eigen klassen met prefix .pv-.
   Merkwaarden zijn vervangen door tokens/aliassen; de visuele
   uitkomst blijft identiek aan het oorspronkelijke ontwerp.
   ============================================================ */

/* ---- Breadcrumb-marge ---- */
/* Alleen top-marge toevoegen; de 0 32px zij-padding van .sb-wrap behouden
   zodat de breadcrumb met het content-grid uitlijnt (niet links erbuiten valt). */
.pv-bc { padding-top: 22px; }

/* ---- Hero (gecentreerd, editorial) ---- */
.pv-hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); text-align: center; }
.pv-hero h1 {
  font-family: var(--font-display); font-weight: var(--heading-weight);
  font-size: var(--display-1); line-height: var(--display-1-leading);
  letter-spacing: var(--display-1-tracking);
  margin: 14px auto 0; max-width: 16ch;
}
.pv-hero .sb-lead { max-width: 62ch; margin: 18px auto 0; }

.pv-stats {
  margin: 26px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--card); overflow: hidden; width: fit-content; list-style: none;
}
.pv-stat { padding: 12px 26px; display: flex; align-items: baseline; gap: 8px; }
.pv-stat + .pv-stat { border-left: 1px solid var(--line); }
.pv-stat b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  color: var(--cta); line-height: 1;
}
.pv-stat span { font-size: 0.92rem; color: var(--ink-soft); }

/* ---- Sectietitel (display-2) ---- */
.pv-title {
  font-family: var(--font-display); font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  font-size: var(--display-2); line-height: 1.15;
}

/* ---- Intro + kosten-aside ---- */
.pv-intro-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .pv-intro-grid { grid-template-columns: 1fr; gap: 30px; } }
.pv-kosten { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.pv-kosten h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; margin-bottom: 14px; }
.pv-kostenrij {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-size: 0.98rem;
}
.pv-kostenrij:last-of-type { border-bottom: none; }
.pv-kostenrij b { font-family: var(--font-display); font-weight: 600; color: var(--cta); white-space: nowrap; }
.pv-kosten .bron { margin-top: 14px; font-size: 0.84rem; color: var(--ink-soft); }

/* ---- Steden als chip-cluster ---- */
.pv-chips { display: flex; flex-wrap: wrap; gap: 11px; list-style: none; }

/* ---- Bedrijven-kaarten grid ---- */
.pv-head-split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); list-style: none; }
@media (max-width: 900px) { .pv-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pv-cards { grid-template-columns: 1fr; } }
.pv-card { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; color: inherit; height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
.pv-card:has(.sb-stretch:hover) { box-shadow: 0 16px 36px -18px rgba(36, 48, 41, .3); transform: translateY(-3px); }
.pv-card:has(.sb-stretch:active) { transform: translateY(-1px); }
.pv-card .cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.pv-card .naam { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; line-height: 1.22; letter-spacing: 0; margin: 8px 0 4px; }
.pv-card .naam a { text-decoration: none; color: inherit; }
.sb-stretch::after { content: ""; position: absolute; inset: 0; }
.pv-card:has(.sb-stretch:focus-visible) { outline: var(--ring-focus); outline-offset: 3px; }
.pv-card .sb-stretch:focus-visible { outline: none; }
.pv-card .plaats { font-size: 0.95rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.pv-card .plaats svg { color: var(--cta); flex: 0 0 auto; }
.pv-score { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 10px; }
.pv-stars { display: inline-flex; gap: 2px; color: var(--gold); }
.pv-score b { font-weight: 700; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.pv-score .rev { font-size: 0.86rem; color: var(--ink-soft); }

/* ---- Categorieën-grid ---- */
.pv-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
@media (max-width: 900px) { .pv-catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pv-catgrid { grid-template-columns: 1fr; } }
.pv-cat {
  display: flex; align-items: center; gap: 13px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.pv-cat:hover { border-color: var(--ink); background: #fff; }
.pv-cat .ic { width: 40px; height: 40px; border-radius: var(--radius); flex: 0 0 auto; background: #eef5f0; color: var(--cta); display: grid; place-items: center; }
.pv-cat span { font-size: 1rem; line-height: 1.25; }

/* ---- Productie-aanvullingen (kaart, chips-toggle, tellers) ---- */
.pv-map {
  width: 100%; height: 560px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  margin: 0 0 8px;
}
@media (max-width: 700px) { .pv-map { height: 400px; } }

.pv-chip-hidden { display: none; }
.pv-chip-count { color: var(--ink-soft); font-weight: 400; font-size: 0.85em; }
.pv-toggle {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  color: var(--ink); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 10px 20px;
}
.pv-toggle:hover { border-color: var(--ink); }

.pv-pagina-info { font-size: 0.9rem; color: var(--ink-soft); white-space: nowrap; }
.pv-cat-count { color: var(--ink-soft); font-weight: 400; font-size: 0.88em; }
.pv-cat .ic img { width: 26px; height: 26px; }
.pv-aside-block { margin-bottom: 24px; }

/* Sterren-helper van app.css (stars()) kleurt via .star-filled */
.pv-stars svg { width: 15px; height: 15px; }

/* FAQ-accordion binnen de prose wat lucht geven */
.sb-prose .faq-list { margin-top: 40px; }

/* Paginering binnen sectie centreren */
.pv-cards + .pagination { margin-top: 40px; }

/* ---- Gedeeld (provincie/stad/categorie-locatie) ---- */

/* Bedrijfskaart met foto bovenin. Foto bloedt over de 24px zijpadding van
   .pv-card. --hero-y = per-bedrijf verticale uitsnede (heroPosY), gedeeld met
   de hero en de zoekkaarten. Alleen kaarten mét een foto krijgen deze behandeling. */
.pv-card:has(.pv-card-foto) { overflow: hidden; padding-top: 0; }
.pv-card-foto {
  display: block; width: calc(100% + 48px); max-width: none; height: 150px;
  margin: 0 -24px 16px; object-fit: cover; object-position: 50% var(--hero-y, 50%);
  background: var(--color-surface);
}

/* Keuzehulp-CTA in de aside (donker inkt-vlak, gouden knop). Gedeeld door
   stad en provincie zodat het keuzehulp-blok identiek is. */
.pv-wizard {
  background: var(--color-ink); color: #fff;
  border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 24px;
}
.pv-wizard .sb-kicker { color: var(--color-accent-soft); }
.pv-wizard h2 { font-size: 1.3rem; color: #fff; margin: 0 0 10px; }
.pv-wizard p { color: #cdd7cd; font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; }
.pv-wizard .sb-btn { width: 100%; }

/* Categorie-tegels ("Alles voor het afscheid in …"): icoon groot (2x) &
   gecentreerd bovenaan zonder vlak, categorienaam eronder gecentreerd, alle
   tegels even hoog (grid-auto-rows: 1fr + height: 100%). */
.pv-catgrid { grid-auto-rows: 1fr; }
.pv-cat { flex-direction: column; align-items: center; text-align: center; gap: 12px; justify-content: center; padding: 22px 18px; height: 100%; }
.pv-cat .ic { width: auto; height: auto; background: none; border-radius: 0; }
.pv-cat .ic img { width: 52px; height: 52px; }
