/* HIT Techniek, demo-homepage. Donker thema uit het logo: zwarte band, signaalgele balk. */

@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #141517;
  --ink-2: #1c1e21;
  --ink-3: #26292d;
  --line: #34383d;
  --paper: #f2f1ec;
  --muted: #b3b5b8;
  --yellow: #f5c400;
  --yellow-hi: #ffd633;
  --metal: #d9dadb;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; -webkit-tap-highlight-color: rgb(245 196 0 / .25); background: var(--ink); color: var(--paper); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-transform: uppercase; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius); }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); font: 600 1rem/1.1 var(--body); text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer; transition: transform .18s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hi); }
.btn-ghost { border-color: #5a5f66; color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-dark:focus-visible { outline-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(20 21 23 / .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid rgb(255 255 255 / .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 104px; height: auto; }
.brand-name { font: 600 1.25rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--metal); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); padding: 8px 0; transition: color .2s; }
.nav a:hover { color: var(--paper); }
.header-call { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav ul { gap: 18px; }
  .header-call { display: none; }
}
@media (max-width: 760px) {
  .header-inner { height: 64px; gap: 12px; }
  .brand img { width: 88px; }
  .brand-name { font-size: 1.05rem; }
  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 48px; height: 48px; background: transparent; border: 0; color: var(--paper); cursor: pointer; border-radius: var(--radius); }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease-out), opacity .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--ink-2); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { display: block; padding: 14px 0; font-size: 1.125rem; color: var(--paper); border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(28px, 5vw, 72px); min-height: calc(100dvh - 72px); max-height: 900px; padding-block: 40px 56px; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .95; letter-spacing: -0.015em; }
.hero-title .line { display: block; white-space: nowrap; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--yellow); }
.hero-sub { margin-top: 24px; max-width: 40ch; font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: #d4d5d6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-media { position: relative; margin: 0; height: min(72vh, 640px); }
.hero-bar { position: absolute; z-index: 0; left: 18%; top: -12%; bottom: -14%; width: 24%; background: var(--yellow); transform-origin: top; }
.hero-photo { position: absolute; z-index: 1; inset: 8% 0 8% 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.hero-photo img { width: 100%; height: 112%; object-fit: cover; object-position: 12% 50%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; max-height: none; padding-block: 28px 48px; gap: 36px; }
  .hero-media { height: 62vw; min-height: 240px; margin-inline: calc(var(--gutter) * -1) 0; }
  .hero-bar { left: auto; right: 12%; width: 22%; top: -6%; bottom: -8%; }
  .hero-photo { inset: 0 var(--gutter) 0 0; border-radius: 0 var(--radius) var(--radius) 0; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.4rem, 11.4vw, 3.4rem); }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Service band */
.service-band { background: var(--yellow); color: var(--ink); }
.service-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: 40px; }
.service-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 8px; }
.service-inner p { max-width: 58ch; font-weight: 500; }
@media (max-width: 760px) { .service-inner { flex-direction: column; align-items: flex-start; } .service-inner .btn { width: 100%; } }

/* Sections */
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.9rem); max-width: 18ch; }
.section-lead { margin-top: 18px; max-width: 60ch; color: var(--muted); font-size: 1.125rem; }
.services, .balie, .about, .contact { padding-block: clamp(72px, 10vw, 128px); }

/* Bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto; gap: 14px; }
.bento > .tile { min-height: 250px; }
.bento > .tile-heat, .bento > .tile-cool { min-height: 460px; }
.bento > .tile-lease { min-height: 0; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); display: flex; transition: border-color .25s, transform .35s var(--ease-out); }
.tile:hover { border-color: #5a5f66; }
.tile-body { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tile h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.tile p { color: var(--muted); max-width: 46ch; }
.tile-link { margin-top: auto; padding-top: 8px; align-self: flex-start; font-weight: 600; color: var(--paper); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.tile-link { transition: border-color .2s, color .2s; }
.tile-link:hover { border-color: var(--paper); }
.tile-weld .tile-link:hover { border-color: #5a4a00; }

.tile-heat { grid-column: span 4; align-items: stretch; background: linear-gradient(160deg, #202226 0%, #16171a 100%); }
.tile-heat .tile-body { flex: 1 1 55%; padding: clamp(28px, 3.4vw, 44px); }
.tile-heat h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.tile-ketel { flex: 0 1 38%; align-self: flex-end; width: 38%; max-width: 280px; margin: 0 28px 0 0; border-radius: var(--radius) var(--radius) 0 0; background: #fff; padding: 18px 18px 0; }
.tile-cool { grid-column: span 2; flex-direction: column; justify-content: flex-end; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(20 21 23 / 0) 20%, rgb(20 21 23 / .72) 55%, rgb(20 21 23 / .96) 100%); }
.tile-cool .tile-body { z-index: 2; }
.tile-cool p { color: #d6d7d8; }
.tile-weld { grid-column: span 2; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tile-weld p { color: #2a2b2d; }
.tile-weld .tile-link { color: var(--ink); border-color: var(--ink); }
.tile-weld .tile-link:focus-visible { outline-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font: 600 .9375rem/1 var(--body); padding: 8px 10px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.tile-plumb { grid-column: span 2; }
.tile-pellet { grid-column: span 2; }
.tile-lease { grid-column: span 6; }
.tile-lease .tile-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; width: 100%; }
.tile-lease h3 { flex: none; }
.tile-lease p { flex: 1 1 320px; max-width: 60ch; }
.tile-lease .tile-link { margin: 0 0 0 auto; padding-top: 0; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-heat, .tile-lease { grid-column: span 2; grid-row: auto; }
  .tile-cool { grid-column: span 2; grid-row: auto; }
  .bento > .tile-cool { min-height: 400px; }
  .bento > .tile-heat { min-height: 0; }
  .tile-weld, .tile-plumb, .tile-pellet { grid-column: span 1; }
  .tile-weld { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile-lease .tile-link { margin-left: 0; }
  .tile-heat, .tile-cool, .tile-weld, .tile-plumb, .tile-pellet, .tile-lease { grid-column: auto; }
  .tile-heat { flex-direction: column; }
  .tile-ketel { width: 54%; margin: 0 auto; }
  .tile-body { padding: 24px; }
}

/* Balie */
.balie { background: var(--ink-2); border-block: 1px solid var(--line); }
.balie-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.balie-copy p { margin: 20px 0 28px; max-width: 48ch; color: var(--muted); font-size: 1.125rem; }
.hours { background: var(--ink); border-radius: var(--radius); border-top: 4px solid var(--yellow); padding: clamp(24px, 3vw, 36px); }
.hours-title { font-size: 1.5rem; margin-bottom: 14px; color: var(--yellow); }
.hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; }
.hours dl > div + div { border-top: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { font: 700 1.4rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.hours-note { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.hours-note a { color: var(--paper); font-weight: 600; }
@media (max-width: 860px) { .balie-grid { grid-template-columns: 1fr; } }

/* Over ons */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 32px; align-items: start; }
.about-grid .section-title { grid-column: 1 / -1; }
.timeline { grid-column: 1 / span 6; display: grid; gap: 28px; }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: baseline; padding-top: 22px; border-top: 1px solid var(--line); }
.year { font: 700 clamp(3rem, 6vw, 4.6rem)/.9 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; }
.timeline p { font-size: 1.1875rem; max-width: 32ch; }
.area { grid-column: 8 / -1; }
.area-map { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.area-map .area-tri { fill: rgb(245 196 0 / .1); stroke: var(--yellow); stroke-width: 2; stroke-linejoin: round; }
.area-map circle { fill: var(--paper); }
.area-map circle.home { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.area-map text { fill: var(--muted); font: 500 13px var(--body); }
.area-map .home-label { fill: var(--paper); font-weight: 600; }
.area p { margin-top: 16px; color: var(--muted); max-width: 40ch; }
@media (max-width: 860px) { .timeline, .area { grid-column: 1 / -1; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-info > p { margin-top: 18px; color: var(--muted); font-size: 1.125rem; }
.contact-list { margin-top: 32px; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; font-size: 1.125rem; }
.contact-list span { font-size: .875rem; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--paper); background: var(--ink); border: 1.5px solid #4a4f55; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-color: var(--ink); color: var(--paper); background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); outline: none; box-shadow: 0 0 0 3px rgb(245 196 0 / .3); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.error { color: #ff9e90; font-size: .9375rem; }
.form .btn { justify-self: start; }
.form-note { color: var(--yellow); font-weight: 500; min-height: 1.4em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px; background: #101113; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-small { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.8; }
.site-footer address a { color: var(--paper); }
.footer-nav { display: grid; gap: 6px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); background: var(--paper); color: var(--ink); padding: 14px 20px; border-radius: var(--radius); font-weight: 500; box-shadow: 0 12px 40px rgb(0 0 0 / .45); }

/* Motion (alleen met JS en zonder reduced motion). Startstanden zet GSAP. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.nowrap { white-space: nowrap; }

/* Browseroppervlakken in de huisstijl */
::selection { background: var(--yellow); color: var(--ink); }
input, textarea { caret-color: var(--yellow); }
html { scrollbar-color: #4a4f55 var(--ink); }
