/* Wrapz — de pagina's naast de homepagina: diensten, offerte, contact, voorwaarden. Bouwt voort op style.css. */

/* ---------- kop van een pagina ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(460px, 76svh, 780px); padding-top: var(--bar); }
.phero-bg { position: absolute; inset: 0; z-index: -1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--fy, 42%); }   /* --fy: welke hoogte van de foto in beeld blijft, per pagina */
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,13,.9) 18%, rgba(12,12,13,.5) 44%, rgba(12,12,13,.1) 70%, rgba(12,12,13,.36) 100%); }
.phero-in { width: min(1240px, 100% - 48px); margin-inline: auto; padding: 40px 0 clamp(30px, 4.4vw, 58px); }
.phero h1 { font-size: clamp(50px, 8.6vw, 128px); line-height: .9; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.phero h1 span { color: var(--accent); }
.phero-s { margin: 12px 0 0; font: 700 clamp(24px, 3.2vw, 44px)/1 var(--head); letter-spacing: .01em; text-transform: uppercase; color: var(--accent); }
.phero .actions { margin-top: 28px; }
.kruimel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 16px; font: 700 14px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #cfcbc4; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.kruimel a:hover { color: var(--accent); }
.kruimel i { font-style: normal; color: var(--accent); }
.kruimel [aria-current] { color: #fff; }
/* zonder foto: offerte, contact, voorwaarden */
.phero.kaal { min-height: 0; padding-top: calc(var(--bar) + clamp(34px, 6vw, 84px)); border-bottom: 1px solid var(--line); }
.phero.kaal .phero-in { padding-top: 0; padding-bottom: clamp(26px, 3.6vw, 46px); }
.phero.kaal h1 { font-size: clamp(46px, 7.4vw, 108px); }
.phero.kaal + .section { padding-top: clamp(40px, 5vw, 72px); }
.nav a[aria-current="page"], .menu a[aria-current="page"] { color: var(--accent); }

/* ---------- tekst ---------- */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose strong { font-weight: 650; color: var(--text); }
.light .prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.light .prose a:hover { color: var(--accent-d); }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.tb { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tb.met-foto { grid-template-columns: 7fr 5fr; }
.tb.met-foto.spiegel { grid-template-columns: 5fr 7fr; }
.tb.spiegel .tb-f { order: -1; }
.tb-t { max-width: 780px; }
.tb h2 { margin-bottom: 24px; text-wrap: balance; }
.tb .prose { color: #d6d2cb; font-size: 17.5px; }
.tb-f img { width: 100%; object-fit: cover; }
.tb-f.staand img { aspect-ratio: 4 / 5; }
.tb-f.breed img { aspect-ratio: 3 / 2; }
.tb-f.portret img { aspect-ratio: 4 / 5; }   /* blijft ook op gsm staand: een foto van iemand ten voeten uit */
.tb-t .actions { margin-top: 30px; }
.head h2 { text-wrap: balance; }
.head .prose { max-width: 780px; margin-top: 20px; color: #d6d2cb; font-size: 17.5px; }
.light .head .prose { color: #2f2d29; }
.muted.prose { margin-top: 0; }
.smal { max-width: 900px; }

/* ---------- voordelen: kop met tekst, in twee kolommen ---------- */
.vd { columns: 2; column-gap: clamp(32px, 5vw, 84px); }
.vd article { break-inside: avoid; padding: 24px 0 30px; border-top: 1px solid var(--line); }
.vd h3 { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.vd h3::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); transform: translateY(-2px); }
.vd .prose { color: var(--muted); font-size: 16.5px; }
/* voordelen zonder tekst: een rij titels */
.punten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.punten li { padding: 22px 22px 24px; background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.punten .prose { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
/* drie mogelijkheden naast elkaar, elk met een schets */
.opties { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.opties article { display: flex; flex-direction: column; }
.opties picture { margin-bottom: 20px; padding: 22px 16px; background: #e4e0d8; }
.opties img { width: 100%; height: auto; }
.opties h3 { margin-bottom: 10px; }
.opties .prose { flex: 1; color: #2f2d29; font-size: 16px; }
.opties .btn { align-self: flex-start; margin-top: 20px; }
/* een rij foto's */
.rij-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 54px); }
.rij-fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* vragen met meer dan één alinea of een lijst */
.faq details > :last-child { margin-bottom: 22px; }
.faq ul { margin: 0 0 12px; padding: 0 30px 0 1.2em; color: #3a3833; }
.faq li { margin-bottom: .45em; }
.faq a { text-decoration: underline; text-decoration-color: var(--accent-d); text-underline-offset: 3px; }
.faq p { margin-bottom: 12px; }

/* etiket bij een voorzet: tekst die de eigenaar nog moet nakijken (staat alleen in het ontwerp) */
.vz { display: inline-block; margin: 0 0 16px; padding: 6px 10px 5px; border: 1px dashed var(--accent); font: 700 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.light .vz { border-color: var(--accent-d); color: var(--accent-d); }
.phero .vz { display: table; margin: 16px 0 0; background: rgba(12,12,13,.6); }

/* ---------- offerte en contact ---------- */
.fc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fc-info h2 { margin-bottom: 18px; }
.fc-info .prose { color: #d6d2cb; font-size: 17.5px; }
.fc-foto { display: block; margin-top: 30px; }   /* foto boven de kaart met het adres; de kaart sluit er meteen op aan */
.fc-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fc-foto + .fc-kaart { margin-top: 0; }
.fc-kaart { margin-top: 30px; padding: clamp(22px, 2.6vw, 32px); background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.fc-kaart .fc-naam { margin-bottom: 8px; font-size: 27px; font-weight: 700; line-height: 1.05; }
.fc-kaart address { font-style: normal; color: var(--muted); }
.fc-kaart .big { display: block; margin-top: 18px; font: 800 34px/1.1 var(--head); letter-spacing: .01em; }
.fc-kaart .mail { display: inline-block; margin-top: 6px; color: var(--muted); border-bottom: 1px solid var(--line); }
.fc-kaart a:hover { color: var(--accent); }
.fc-kaart .btw { margin: 14px 0 20px; color: var(--muted); font-size: 14.5px; }
.fc-kaart .btn:hover { color: #111; }
.frm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.frm .vol { grid-column: 1 / -1; }
.frm label { display: block; margin-bottom: 8px; font: 700 15.5px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.frm label i, .vink i { font-style: normal; color: var(--accent); }
.frm input:not([type="checkbox"]):not([type="file"]), .frm select, .frm textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg2); border: 1px solid #45454c; border-radius: 0; color: var(--text); font: inherit; }
.frm textarea { min-height: 170px; resize: vertical; }
.frm input:not([type="checkbox"]):not([type="file"]):focus, .frm select:focus, .frm textarea:focus { outline: 0; border-color: var(--accent); }
.frm input[type="file"] { display: block; width: 100%; padding: 14px; border: 1.5px dashed #45454c; color: var(--muted); font: inherit; }
.frm small { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.frm .vink { display: flex; gap: 12px; align-items: flex-start; margin: 0; font: 400 15.5px/1.5 var(--body); letter-spacing: 0; text-transform: none; color: #d6d2cb; }
.frm .vink input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.frm .vink a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.frm-eind { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.frm-eind .btn { cursor: pointer; min-width: 200px; }
.frm-nota { margin: 0; max-width: 420px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }

/* ---------- voorwaarden en privacy ---------- */
.wet { max-width: 860px; }
.wet .prose { color: #d6d2cb; }
.wet .prose h2 { margin: 1.6em 0 .5em; font-size: clamp(28px, 3vw, 38px); }
.wet .prose > p > strong:only-child { display: block; margin-top: 1.2em; font: 700 24px/1.1 var(--head); text-transform: uppercase; color: var(--text); }

/* ---------- dezelfde stukken op een licht vlak (zacht wit, zoals "over" en de prijzen op de homepagina) ---------- */
.light .prose a { text-decoration-color: var(--accent-d); }
.light .tb .prose, .light .fc-info .prose, .light .wet .prose { color: #2f2d29; }
.light .vd article { border-top-color: var(--ink-line); }
.light .vd h3::before { background: var(--accent-d); }
.light .vd .prose, .light .punten .prose { color: var(--ink-m); }
.light .punten li { padding: 18px 0 0; background: none; border: 0; border-top: 2px solid var(--ink); }   /* zoals de rij feiten op de homepagina */
.light .wet .prose > p > strong:only-child { color: var(--ink); }
/* offerte en contact: witte velden; de kaart met het adres blijft donker */
.light .fc-kaart { color: var(--text); }
.light .frm label i, .light .vink i { color: var(--accent-d); }
.light .frm input:not([type="checkbox"]):not([type="file"]), .light .frm select, .light .frm textarea { background: #fff; border-color: var(--ink-m); color: var(--ink); }
.light .frm input:not([type="checkbox"]):not([type="file"]):focus, .light .frm select:focus, .light .frm textarea:focus { border-color: var(--accent-d); box-shadow: 0 0 0 1px var(--accent-d); }
.light .frm input[type="file"] { border-color: var(--ink-m); color: var(--ink-m); }
.light .frm small, .light .frm-nota { color: var(--ink-m); }
.light .frm .vink { color: #2f2d29; }
.light .frm .vink a { text-decoration-color: var(--accent-d); }

@media (max-width: 900px) {
  .tb.met-foto, .tb.met-foto.spiegel, .fc { grid-template-columns: 1fr; }
  .tb.spiegel .tb-f { order: 0; }
  .tb.spiegel .tb-f.portret { order: -1; max-width: 520px; }   /* het portret blijft op gsm boven de tekst */
  .tb-f.staand img { aspect-ratio: 4 / 3; }
  .vd { columns: 1; }
  .opties { grid-template-columns: 1fr; }
  .opties picture { max-width: 420px; }
  .rij-fotos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .phero { min-height: clamp(420px, 78svh, 640px); }
  .phero-in { width: calc(100% - 32px); }
  /* 'boven': de foto als liggende strook boven de tekst, zoals op de homepagina. Voor een liggende foto waarop de hele wagen
     moet blijven staan: als achtergrond van de hoge strook zou er alleen een stuk van de wagen te zien zijn. */
  .phero.boven { display: block; min-height: 0; }
  .phero.boven .phero-bg { position: relative; inset: auto; display: block; aspect-ratio: 1.45; }
  .phero.boven .phero-bg img { object-position: 50% 50%; }
  .phero.boven .phero-bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,13,.5) 20%, rgba(12,12,13,0) 46%, rgba(12,12,13,.2) 100%); }
  .phero.boven .phero-in { position: relative; margin-top: -34px; padding-top: 0; }
  .phero .actions .btn { flex: 1 1 100%; }
  .frm { grid-template-columns: 1fr; }
  .kruimel { font-size: 13px; letter-spacing: .12em; }
}
