/* Overige pagina's v2 (realisaties, FAQ, contact, gegevens). Gescoped onder .pg.
   Zelfde tokens als home-v2.css: één accent, kaarten 16px, velden en knoppen 10px. */
.pg {
    --pg-accent: #d23a2b;
    --pg-accent-hover: #b92f22;
    --pg-ink: #1f2023;
    --pg-muted: #5d6068;
    --pg-line: #e6e4e1;
    --pg-surface: #f6f5f3;
    --pg-r-card: 16px;
    --pg-r-ctl: 10px;
    --pg-ease: cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--pg-ink);
    font-family: "Lato", sans-serif;
}
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
.pg .pg-wrap { max-width: 1400px; margin-inline: auto; padding-inline: 12px; }
.pg .pg-narrow > * { max-width: 760px; }
.pg h1, .pg h2, .pg h3 { text-transform: none; letter-spacing: normal; color: var(--pg-ink); margin: 0; }
.pg h2::after, .pg h3::after { display: none; }

.pg-head { background: var(--pg-surface); padding: 40px 0 36px; }
.pg-head h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.pg-head p { margin: 10px 0 0; font-size: 1.1rem; line-height: 1.5; color: var(--pg-muted); max-width: 56ch; }
.pg-body { padding: 56px 0 96px; background: #fff; }

.pg .pg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border: 2px solid var(--pg-accent); border-radius: var(--pg-r-ctl);
    background: var(--pg-accent); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .25s var(--pg-ease), border-color .25s var(--pg-ease), transform .25s var(--pg-ease);
}
.pg .pg-btn:hover { background: var(--pg-accent-hover); border-color: var(--pg-accent-hover); color: #fff; }
.pg .pg-btn:active { transform: translateY(1px) scale(.98); }
.pg .pg-btn:focus-visible, .pg a:focus-visible, .pg button:focus-visible { outline: 3px solid var(--pg-ink); outline-offset: 2px; }
.pg .pg-link { color: var(--pg-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pg-accent); text-decoration-thickness: 2px; }
.pg .pg-link:hover { color: var(--pg-accent); }

/* formulieren */
.pg label.form-label, .pg .pg-form label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 700; color: var(--pg-ink); }
.pg .form-control {
    width: 100%; height: 52px; padding: 0 14px; border: 1px solid #8a8d94; border-radius: var(--pg-r-ctl);
    background: #fff; color: var(--pg-ink); font-size: 16px; box-shadow: none;
}
.pg textarea.form-control { height: auto; padding: 12px 14px; }
.pg .form-control::placeholder { color: #6b6e75; }
.pg .form-control:focus { border-color: var(--pg-ink); outline: 3px solid var(--pg-ink); outline-offset: 2px; box-shadow: none; }
.pg .form-control.is-invalid { border-color: #b42318; background-image: none; }
.pg .alert { border-radius: var(--pg-r-ctl); }

/* realisaties */
.pg-real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.pg-real__item { margin: 0; }
.pg-real__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.pg-real__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pg-r-card); background: var(--pg-surface); transition: transform .35s var(--pg-ease); }
.pg-real__item button:hover img { transform: translateY(-3px); }
.pg-real__item figcaption { margin-top: 12px; }
.pg-real__item figcaption strong { display: block; font-size: 1.1rem; }
.pg-real__item figcaption span { display: block; margin-top: 2px; color: var(--pg-muted); font-size: .95rem; line-height: 1.5; }
.pg-empty { max-width: 46ch; color: var(--pg-muted); font-size: 1.1rem; line-height: 1.6; }
.pg-empty .pg-btn { margin-top: 20px; }
.pg .modal-content { border: 0; border-radius: var(--pg-r-card); }
.pg .modal-body img { border-radius: 12px; }

/* faq */
.pg-faq { border-top: 1px solid var(--pg-line); }
.pg-faq__item { border-bottom: 1px solid var(--pg-line); }
.pg-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; font-size: 1.15rem; font-weight: 700; color: var(--pg-ink); cursor: pointer; }
.pg-faq__q::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--pg-accent); transition: transform .25s var(--pg-ease); }
.pg-faq__q:not(.collapsed)::after { transform: rotate(45deg); }
.pg-faq__a { padding: 0 0 24px; color: var(--pg-muted); line-height: 1.7; max-width: 65ch; font-size: 1.05rem; }
.pg-faq__a p { margin: 0; }
.pg-more { margin-top: 48px; padding: 28px; background: var(--pg-surface); border-radius: var(--pg-r-card); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pg-more h2 { font-size: 1.3rem; font-weight: 800; }
.pg-more p { margin: 4px 0 0; color: var(--pg-muted); }

/* contact */
.pg-contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.pg-contact h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.pg-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pg-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.5; }
.pg-facts i { color: var(--pg-accent); margin-top: 3px; }
.pg-facts a { color: var(--pg-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pg-accent); }
.pg-facts span { display: block; color: var(--pg-muted); font-size: .95rem; }
.pg-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pg-formgrid .span-2 { grid-column: 1 / -1; }
.pg-form .hint { margin-top: 6px; color: var(--pg-muted); font-size: .9rem; }

/* gegevens (addklant) */
.pg-seg { display: inline-flex; border: 1px solid #8a8d94; border-radius: var(--pg-r-ctl); overflow: hidden; margin-bottom: 28px; }
.pg-seg .btn { text-transform: none; letter-spacing: 0; margin: 0 !important; border: 0; border-radius: 0; padding: 12px 20px; background: #fff; color: var(--pg-ink); font-weight: 700; }
.pg-seg .btn + .btn { border-left: 1px solid #8a8d94; }
.pg-seg .btn.disabled { background: var(--pg-ink); color: #fff; opacity: 1; }
.pg-cols { display: grid; gap: 20px; margin-bottom: 20px; }
.pg-cols--2 { grid-template-columns: 1fr 1fr; }
.pg-cols--32 { grid-template-columns: 2fr 1fr; }
.pg-cols--3 { grid-template-columns: 1fr 1fr 1fr; }
.pg .form-check { display: flex; align-items: center; gap: 10px; padding: 0; }
.pg .form-check-input { margin: 0; width: 20px; height: 20px; flex: none; }
.pg .form-check-label { margin: 0 !important; font-weight: 400 !important; }

@media (max-width: 991px) {
    .pg-real { grid-template-columns: repeat(2, 1fr); }
    .pg-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 767px) {
    .pg .pg-wrap { padding-inline: 16px; }
    .pg-head { padding: 28px 0 24px; }
    .pg-body { padding: 36px 0 64px; }
    .pg-real { grid-template-columns: 1fr; }
    .pg-formgrid, .pg-cols--2, .pg-cols--32, .pg-cols--3 { grid-template-columns: 1fr; }
    .pg-more { padding: 20px; }
    .pg .pg-btn { width: 100%; }
}
