/* Wrapz — ontwerp 4. Eén klein stylesheet, één lettertype van de eigen server, geen JavaScript nodig. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }
/* Reserve met dezelfde breedte: de pagina verspringt niet terwijl het echte lettertype laadt. */
@font-face { font-family: "Kop reserve"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 700 800; size-adjust: 71%; }

:root {
  --bg: #0c0c0d; --bg2: #141416; --line: #29292d; --text: #f3f1ed; --muted: #a8a49d;
  --accent: #f26a1b; --accent-d: #b54807;   /* het donkere oranje voor tekst op een licht vlak: 4,7:1 op --paper (was #bf4d08, 4,3:1: net te weinig contrast) */
  --paper: #f3f0ea; --ink: #131313; --ink-m: #4d4a44; --ink-line: #d8d3ca;
  --head: "Barlow Condensed", "Kop reserve", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bar: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: .96; margin: 0; }
h2 { font-size: clamp(36px, 4.6vw, 66px); }
h3 { font-size: 27px; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }
.kicker { font: 700 15px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font: 700 18px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid transparent; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-accent { background: var(--accent); color: #111; }
.btn-accent:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: #111; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #111; }
.btn-line { border-color: var(--ink); color: var(--ink); }   /* tweede knop op een licht vlak */
.btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- kop ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 30px; height: var(--bar); padding: 0 clamp(18px, 3vw, 44px); background: rgba(12,12,13,.9); border-bottom: 1px solid rgba(255,255,255,.08); }
.logo img { width: 150px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font: 700 18px/1 var(--head); letter-spacing: .07em; text-transform: uppercase; }
.nav a { transition: color .15s; white-space: nowrap; }
.nav > a, .has-sub > a { display: flex; align-items: center; height: var(--bar); }
.nav a:hover { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; width: 6px; height: 6px; margin: -4px 0 0 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: .7; }
.sub { position: absolute; top: 100%; left: -28px; display: grid; grid-template-columns: repeat(3, max-content); gap: 0 46px; padding: 26px 28px 24px; background: #111113; border: 1px solid var(--line); border-top: 2px solid var(--accent); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
.sub span { display: block; margin-bottom: 12px; font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.sub a { display: block; padding: 6px 0; font-size: 24px; letter-spacing: .02em; }
.top-tel { font: 700 18px/1 var(--head); letter-spacing: .05em; color: var(--muted); }
.top-tel:hover { color: #fff; }
.top-cta { min-height: 42px; padding: 0 22px; }
.menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(94svh, 960px); padding-top: var(--bar); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--hero-y, 32%); }
.hero-b { --hero-y: 56%; }   /* variant B (b.html): hoofd en handen blijven boven de titel */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,13,.9) 16%, rgba(12,12,13,.5) 36%, rgba(12,12,13,.08) 58%, rgba(12,12,13,.3) 100%); }
.hero-in { container-type: inline-size; width: min(1640px, 100% - 64px); margin-inline: auto; padding-bottom: clamp(28px, 4vw, 48px); }
.hero .kicker { margin-bottom: 14px; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.hero-row .actions { flex: none; flex-wrap: nowrap; }
/* De titel vult exact de breedte: lettergrootte = breedte van het blok gedeeld door de tekstbreedte in em (--k). */
.hero h1 { --k: 14.9; font-size: calc((min(100vw, 1704px) - 84px) / var(--k)); line-height: .9; white-space: nowrap; }
@supports (width: 1cqi) { .hero h1 { font-size: calc(100cqi / var(--k)); } }
.hero h1 span { color: var(--accent); }
.hero-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
/* De zin onder de grote kop: in het letterbeeld van de koppen (smal, hoofdletters), zodat hij bij de kop hoort in plaats van
   er als gewone leestekst onder te hangen. balance: twee even lange regels, geen los woord op de tweede. */
.lead { max-width: 660px; margin: 0; font: 700 clamp(21px, 1.75vw, 27px)/1.2 var(--head); letter-spacing: .045em; text-transform: uppercase; color: #ebe8e2; text-wrap: balance; }

/* ---------- secties ---------- */
.section { padding: clamp(68px, 9vw, 132px) 0; }
.panel { background: var(--bg2); }
.light { background: var(--paper); color: var(--ink); }
.light .kicker { color: var(--accent-d); }
.head { margin-bottom: clamp(32px, 4vw, 52px); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- aanbod: zes diensten, elk met een kleine foto ---------- */
/* Twee kolommen die van boven naar onder gevuld worden: links alles voor de wagen, rechts zaak en interieur. */
.offer { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: 18px 22px; }
.svc { display: flex; background: var(--bg2); border: 1px solid var(--line); transition: border-color .2s; }
.svc picture { flex: 0 0 240px; overflow: hidden; background: #1b1b1e; }
.svc img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform .6s; }
.svc-t { position: relative; flex: 1; min-width: 0; padding: 24px 26px 24px 28px; }
.svc-k { display: block; margin-bottom: 11px; padding-right: 30px; font: 700 15px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.svc h3 { transition: color .15s; }
.svc p { margin: 9px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.svc-t::after { content: "\2192"; position: absolute; right: 22px; top: 16px; font: 400 20px/1.3 var(--body); color: var(--accent); transition: transform .2s; }
.svc:hover { border-color: var(--accent); }
.svc:hover img { transform: scale(1.04); }
.svc:hover h3 { color: var(--accent); }
.svc:hover .svc-t::after { transform: translateX(5px); }

/* ---------- over ---------- */
.about { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-pics { position: relative; padding: 0 14% 13% 0; }
.about-pics .p1 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-pics .p2 { position: absolute; right: 0; bottom: 0; width: 42%; border: 8px solid var(--paper); }
.about-pics .p2 img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-txt h2 { margin-bottom: 26px; }
.about-txt p { color: #2f2d29; }
.about-txt .btn { margin: 12px 8px 0 0; }
.facts { list-style: none; padding: 0; margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.facts li { border-top: 2px solid var(--ink); padding-top: 18px; }
.facts b { display: block; font: 800 44px/1 var(--head); text-transform: uppercase; }
.facts span { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--ink-m); }

/* ---------- realisaties ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mosaic a { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg2); }
.mosaic a.w2 { grid-column: span 2; aspect-ratio: auto; }
.mosaic picture, .mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mosaic img { object-fit: cover; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic span { position: absolute; inset: auto 0 0 0; padding: 70px 18px 16px; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); font-size: 14.5px; color: #d8d5cf; }
.mosaic b { display: block; margin-bottom: 2px; font: 700 26px/1.05 var(--head); text-transform: uppercase; color: #fff; }

/* ---------- werkwijze ---------- */
.flow { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.flow-pic { position: sticky; top: calc(var(--bar) + 28px); }
.flow-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 88px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: 800 54px/.9 var(--head); color: var(--accent); }
.steps h3 { margin-bottom: 8px; }
.steps p { grid-column: 2; margin: 0; color: var(--muted); }

/* ---------- prijzen + vragen ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.two h2 { margin-bottom: 22px; }
.two .muted { color: var(--ink-m); font-size: 16px; }
.prices { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 2px solid var(--ink); }
.prices-kop { margin: 26px 0 9px; text-align: right; font: 700 15px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }   /* vlak boven de lijst: "Prijzen exclusief btw" */
.prices-kop + .prices { margin-top: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--ink-line); }
.prices b { font: 700 24px/1.1 var(--head); text-transform: uppercase; white-space: nowrap; text-align: right; }
.prices b small { display: block; margin-top: 4px; font: 400 11.5px/1.3 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink-m); }   /* het bedrag inclusief btw, veel kleiner onder de prijs */
.faq { margin-top: 26px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 19px 44px 19px 0; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 400 30px/1.2 var(--body); color: var(--accent-d); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-right: 30px; margin-bottom: 22px; color: #3a3833; }

/* ---------- oproep ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(84px, 11vw, 160px) 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,13,.8); }
.cta-in { max-width: 820px; }
.cta h2 { font-size: clamp(46px, 7vw, 100px); margin-bottom: 24px; }
.cta p { font-size: 19px; color: #e4e1db; }
.cta .actions { justify-content: center; margin-top: 30px; }

/* ---------- contact ---------- */
.contact h2 { margin-bottom: clamp(22px, 3vw, 34px); }
.card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px clamp(28px, 4vw, 72px); padding: clamp(26px, 3vw, 38px); background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.card h3 { margin-bottom: 10px; }
.card address { font-style: normal; color: var(--muted); }
.afspraak { margin: 8px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.card .big { display: block; font: 800 34px/1.1 var(--head); letter-spacing: .01em; }
.card .mail { display: inline-block; margin-top: 6px; color: var(--muted); border-bottom: 1px solid var(--line); }
.card a:hover { color: var(--accent); }
.card .btn:hover { color: #111; }

/* ---------- webshop ---------- */
.shop { background: var(--accent); color: #111; padding: 40px 0; }
.shop-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.shop h2 { font-size: 42px; }
.shop p { margin: 6px 0 0; font-weight: 500; }

/* ---------- voet ---------- */
.foot { padding: 68px 0 30px; font-size: 15.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo-f { width: 150px; margin-bottom: 18px; }
.foot h3 { margin-bottom: 14px; font-size: 21px; letter-spacing: .05em; color: #fff; }
.foot-grid a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--accent); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.callbar { display: none; }

/* ---------- kleiner scherm ---------- */
@media (max-width: 1280px) {
  .top-tel { display: none; }
  .top { gap: 24px; }
  .nav { gap: 24px; }
}
/* smal scherm, net voor het menu inklapt: met "Over Wrapz" erbij moeten de zeven woorden dichter bij elkaar */
@media (max-width: 1100px) {
  .top { gap: 18px; }
  .nav { gap: 15px; font-size: 16.5px; letter-spacing: .05em; }
}
@media (max-width: 1199px) {
  .offer { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 14px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .menu { display: block; }
  .menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 26px; height: 2px; background: #fff; }
  .menu nav { position: fixed; inset: var(--bar) 0 0 0; overflow-y: auto; background: var(--bg); padding: 6px 24px 110px; }
  .menu nav p { margin: 22px 0 4px; font: 700 14px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
  .menu nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font: 700 27px/1 var(--head); text-transform: uppercase; }
  .card { grid-template-columns: 1fr auto; }
  .card .actions { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* titel op twee regels, elk over de volle breedte */
  .hero h1 { --k: 7.8; }
  .hero h1 span { display: block; }
  .hero-row { flex-wrap: wrap; }
  .hero-row .actions { flex: 1 1 100%; flex-wrap: wrap; }
  /* foto bovenaan, tekst eronder: zo blijft de wagen helemaal in beeld */
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; aspect-ratio: 1.45; }
  .hero-bg img { object-position: 50% 50%; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,13,.55) 22%, rgba(12,12,13,0) 50%, rgba(12,12,13,.25) 100%); }
  .hero-in { position: relative; margin-top: -84px; padding-bottom: 48px; }
  .flow, .two { grid-template-columns: 1fr; }
  .flow-pic { position: static; max-width: 520px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic a.w2 { aspect-ratio: 16 / 10; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- gsm ---------- */
@media (max-width: 760px) {
  :root { --bar: 60px; }
  body { font-size: 16px; padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 36px); }
  .logo img { width: 132px; }
  .top-cta { display: none; }
  .menu { margin-left: auto; }
  .hero-bg { aspect-ratio: 1; }
  .hero-in { width: calc(100% - 36px); margin-top: -64px; padding-bottom: 44px; }
  .hero-row { display: block; margin-top: 18px; padding-top: 18px; }
  .lead { font-size: 20px; margin-bottom: 22px; }
  .actions .btn { flex: 1 1 100%; }
  .about { grid-template-columns: 1fr; }
  .hero .kicker { font-size: 13px; letter-spacing: .16em; white-space: nowrap; }
  .about-pics { padding: 0 12% 11% 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* een oneven laatste feit krijgt de volle breedte */
  .facts b { font-size: 34px; }
  .mosaic { gap: 8px; }
  .mosaic b { font-size: 20px; }
  .mosaic span { padding: 44px 12px 10px; font-size: 13px; }
  .steps li { grid-template-columns: 62px 1fr; }
  .steps li::before { font-size: 40px; }
  .flow-pic img { aspect-ratio: 16 / 11; object-position: 50% var(--fy, 50%); }   /* --fy: welke hoogte van de staande foto in beeld blijft */
  .card { grid-template-columns: 1fr; gap: 20px; }
  .card .big { font-size: 30px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .callbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line); }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font: 700 19px/1 var(--head); letter-spacing: .09em; text-transform: uppercase; }
  .callbar a + a { background: var(--accent); color: #111; }
}
/* gsm: kleine foto links, tekst ernaast */
@media (max-width: 600px) {
  .offer { gap: 10px; }
  .svc { align-items: flex-start; gap: 14px; padding: 14px; }
  .svc picture { flex-basis: 104px; }
  .svc img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .svc-t { padding: 0; }
  .svc-k { margin-bottom: 8px; padding-right: 24px; font-size: 13.5px; letter-spacing: .16em; }
  .svc h3 { font-size: 23px; }
  .svc p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
  .svc-t::after { right: 0; top: -7px; font-size: 18px; }
}
@media (min-width: 1101px) { .top { backdrop-filter: blur(10px); background: rgba(12,12,13,.8); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
