/* DEV Stukadoors & Afbouwbedrijf, stylesheet. Versie: zie VERSION in 05_Website. */
/* Kleuren komen rechtstreeks uit het logo. */

/* Lettertypes staan lokaal in assets/fonts, er gaat geen verzoek naar Google. Licentie: SIL Open Font License. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }

:root {
  --orange: #EE8E24;
  --orange-dark: #D97A12;
  --brown: #5D3A10;
  --sand: #DAC481;
  --black: #111111;
  --ink: #1C1A17;
  --ink-soft: #4A443C;
  --ink-mute: #6B6359;
  --tint: #F8F4EC;
  --white: #FFFFFF;
  --line: #E6DFD2;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: Barlow, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: .3px; }
h1 { font-size: clamp(46px, 6.4vw, 88px); }
h2 { font-size: clamp(34px, 3.8vw, 52px); }
h3 { font-size: 26px; line-height: 1.1; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, video:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--black); color: var(--white); padding: 12px 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.align-center { align-items: center; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.eyebrow { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 36px; height: 4px; background: var(--orange); }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 560px; }
.intro { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; font: 700 19px var(--font-head); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: var(--black); }
.btn-accent:hover { background: var(--orange-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--brown); }
.btn-outline { border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-call { min-height: 48px; padding: 0 22px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Kop */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 32px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 88px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; font: 700 19px var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--orange); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; margin-left: auto; background: none; border: 2px solid var(--black); color: var(--black); font: 700 18px var(--font-head); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { background: var(--tint); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.mark { color: var(--brown); box-shadow: inset 0 -0.16em 0 var(--orange); }
.hero-media { position: relative; padding: 0 0 28px 28px; }
.hero-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 62%; background: var(--orange); }
.hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 30%; }
.hero-badge { position: absolute; right: -14px; top: 36px; width: 124px; height: 124px; background: var(--black); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); text-transform: uppercase; border: 4px solid var(--orange); }
.hero-badge-small { font-size: 16px; letter-spacing: 3px; color: var(--sand); }
.hero-badge-year { font-size: 44px; font-weight: 700; line-height: 1; }

/* Strook met kernpunten */
.strip { background: var(--black); color: var(--white); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-grid > div { padding: 30px 24px; border-left: 1px solid #333; display: flex; flex-direction: column; gap: 4px; }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font: 700 24px var(--font-head); letter-spacing: .5px; text-transform: uppercase; color: var(--orange); }
.strip span { font-size: 15px; color: #D6D0C6; }

/* Secties */
.sec { padding: 104px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--black); color: var(--white); }
.sec-dark .eyebrow { color: var(--sand); }
.sec-dark .intro { color: #D6D0C6; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 52px; }

/* Diensten */
.card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--orange); padding: 34px 32px 38px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(93, 58, 16, .12); }
.card-nr { font: 700 20px var(--font-head); color: var(--brown); letter-spacing: 1px; }
.card p { font-size: 16px; color: var(--ink-soft); }

/* Projecten */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--line); aspect-ratio: 3 / 4; }
.tile-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; left: 0; bottom: 0; background: var(--black); color: var(--white); font: 700 17px var(--font-head); letter-spacing: 1px; text-transform: uppercase; padding: 10px 16px; border-left: 5px solid var(--orange); }

/* Video */
.videos { gap: 28px; }
.video { display: flex; flex-direction: column; gap: 14px; }
.video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-bottom: 5px solid var(--orange); }
.video figcaption { font: 700 19px var(--font-head); letter-spacing: 1px; text-transform: uppercase; }

/* Werkwijze */
.steps { list-style: none; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 0; border-top: 3px solid var(--black); }
.step-nr { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--orange); color: var(--black); font: 700 28px var(--font-head); }
.step p { font-size: 16px; color: var(--ink-soft); }

/* Over DEV */
.about-media { position: relative; padding: 0 64px 64px 0; }
.about-photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-detail { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--tint); }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: var(--orange); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 36% 70%); }

/* Sloganband, zoals op het reclamebord */
.slogan { background: var(--orange); color: var(--black); padding: 44px 0; }
.slogan-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.slogan-text { font: 700 clamp(30px, 3.6vw, 46px) var(--font-head); text-transform: uppercase; line-height: 1.05; }
.slogan-contact { display: flex; gap: 16px; flex-wrap: wrap; font-size: 20px; font-weight: 600; }
.slogan-contact a { text-decoration: none; border-bottom: 2px solid var(--black); }

/* Contact */
.contact-list { margin: 8px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list dt { font: 700 16px var(--font-head); letter-spacing: 1.5px; text-transform: uppercase; color: var(--brown); }
.contact-list dd { margin: 2px 0 0; }
.contact-list a { font-weight: 600; }
.contact-phone { font: 700 34px var(--font-head) !important; text-decoration: none; }
.form { background: var(--tint); border-top: 5px solid var(--orange); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 700 16px var(--font-head); letter-spacing: 1.5px; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 1px solid #8A8072; background: var(--white); padding: 12px 14px; font: 17px var(--font-body); color: var(--ink); }
.field input { height: 52px; }
.field textarea { resize: vertical; }

/* Voettekst */
.site-footer { background: var(--black); color: #D6D0C6; padding: 72px 0 32px; font-size: 15px; line-height: 1.75; }
.footer-grid { display: grid; grid-template-columns: 240px repeat(3, minmax(0, 1fr)); gap: 48px; align-items: start; }
.footer-logo { background: var(--white); padding: 18px; }
.footer-logo img { width: 100%; }
.footer-head { font: 700 20px var(--font-head); letter-spacing: 1px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #333; margin-top: 48px; padding-top: 24px; color: #A8A196; font-size: 14px; }

/* Tablet */
@media (max-width: 1040px) {
  .nav { gap: 22px; font-size: 17px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid #333; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-logo { max-width: 240px; }
}

/* Telefoon */
@media (max-width: 820px) {
  html { scroll-padding-top: 90px; }
  .wrap { padding: 0 20px; }
  .header-row { gap: 12px; flex-wrap: wrap; }
  .brand img { height: 62px; }
  .nav-toggle { display: inline-flex; }
  .btn-call { display: none; }
  .nav { display: none; flex-direction: column; gap: 0; width: 100%; margin: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .g2, .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .g3, .g4, .field-row { grid-template-columns: minmax(0, 1fr); }
  .videos { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
  .hero-grid { padding-top: 44px; padding-bottom: 56px; }
  .hero-badge { right: 0; top: 20px; width: 96px; height: 96px; }
  .hero-badge-year { font-size: 34px; }
  .sec { padding: 68px 0; }
  .sec-head { margin-bottom: 36px; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-media { padding: 0 40px 40px 0; }
  .form { padding: 26px 20px; }
  .slogan-row { flex-direction: column; align-items: flex-start; }
  .slogan-contact { flex-direction: column; gap: 10px; }
  .slogan-contact span { display: none; }
  .strip-grid > div { padding: 22px 14px; min-width: 0; }
  .strip-grid > div:nth-child(odd) { padding-left: 0; }
  .strip strong { font-size: 20px; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
