/* A&K Installatietechniek, ontwerp 3: "Blokken"
   Rustig en overzichtelijk: alles staat in duidelijke blokken in rood, blauw, zwart en wit.
   Het logo staat groot in een eigen blok bovenaan. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../assets/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --grey: #F1F2F3;
  --line: #E1E3E6;
  --ink: #16181B;
  --ink-2: #4A4F55;
  --red: #C42A17;
  --red-logo: #E2321F;
  --blue: #0759A0;
  --blue-logo: #0A7BD8;
  --display: "Bricolage Grotesque", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --pad: clamp(16px, 3vw, 32px);
  --gap: 12px;
  --r: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; accent-color: var(--red); caret-color: var(--red); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, label, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(196, 42, 23, .12); }
button { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, .lead { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue-logo); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.h2 { font: 700 clamp(1.875rem, 3.4vw, 2.75rem)/1.05 var(--display); font-stretch: 90%; letter-spacing: -.02em; }
.h2--white { color: #fff; }
.lead { color: var(--ink-2); max-width: 52ch; margin-top: 10px; }
.head { display: grid; gap: 4px; margin-bottom: 20px; }

/* blokken */
.block { border-radius: var(--r); overflow: hidden; position: relative; }
.block--red { background: var(--red); color: #fff; }
.block--blue { background: var(--blue); color: #fff; }
.block--ink { background: var(--ink); color: #fff; }
.block--grey { background: var(--grey); }
.block--photo { background: var(--grey); }
.block--photo img { width: 100%; height: 100%; object-fit: cover; }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .12s ease-out; }
.btn:active { transform: scale(.97); }
.btn[hidden] { display: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #A52211; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #33373C; }
.btn--line { border-color: var(--ink); background: #fff; }
.btn--line:hover { background: var(--grey); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: #FFE7E3; }
.btn--line-white { border-color: #fff; color: #fff; }
.btn--line-white:hover { background: rgba(255, 255, 255, .14); }

/* KOP: het logo vooraan */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__bar { height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand__logo { width: 86px; }
.brand__word { font: 700 .875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.top__links { display: flex; gap: 22px; }
.top__links a { font-weight: 700; font-size: .9375rem; text-decoration: none; color: var(--ink-2); }
.top__links a:hover { color: var(--ink); }
@media (max-width: 960px) { .top__links { display: none; } }
@media (max-width: 480px) { .brand__word { display: none; } .top__bar { height: 68px; } }

/* HERO: vier blokken */
.hero { padding-top: var(--gap); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "a a b" "c d d"; gap: var(--gap); }
.b-a { grid-area: a; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
.b-b { grid-area: b; }
.b-c { grid-area: c; }
.b-d { grid-area: d; height: 300px; }
.hero__title { font: 700 clamp(2.5rem, 5vw, 4.25rem)/1 var(--display); font-stretch: 90%; letter-spacing: -.025em; max-width: 13ch; }
.hero__sub { margin-top: 18px; max-width: 44ch; color: #FFE3DD; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.block--logo { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 28px; }
.biglogo { width: 88%; max-width: 330px; color: var(--ink); }
.biglogo__cap { display: grid; text-align: center; gap: 2px; }
.biglogo__cap span:first-child { font: 700 1rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.biglogo__cap span:last-child { color: var(--ink-2); font-size: .9375rem; }

.b-c { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; text-decoration: none; min-height: 300px; transition: background-color .3s; }
.b-c:hover { background: #262A2F; }
.b-c__k { font-weight: 700; color: #FF8A75; }
.b-c__t { font: 700 1.375rem/1.15 var(--display); font-stretch: 90%; padding-right: 56px; }
.b-c__tel { display: block; font: 800 clamp(2rem, 3.2vw, 2.75rem)/1 var(--display); font-stretch: 80%; letter-spacing: -.02em; margin-top: 6px; white-space: nowrap; }
.b-c__go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.25rem; transition: transform .3s var(--ease); }
.b-c:hover .b-c__go { transform: translateX(4px); }
.b-d figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(22, 24, 27, .78); color: #fff; font-size: .875rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d d"; }
  .b-a { min-height: 0; }
  .b-d { height: 240px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
  .b-c { min-height: 220px; }
}

/* ROUTES */
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-top: var(--gap); }
.route { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px 70px 14px 14px; text-decoration: none; background: var(--grey); transition: background-color .25s; }
.route__img { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.route__img img { width: 100%; height: 100%; object-fit: cover; }
.route__body { display: grid; gap: 4px; }
.route__label { font-weight: 700; font-size: .875rem; color: var(--red); }
.route--biz .route__label { color: var(--blue); }
.route__title { font: 700 1.5rem/1.1 var(--display); font-stretch: 90%; }
.route__text { font-size: .9688rem; color: var(--ink-2); }
.route__go { position: absolute; right: 18px; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.route:hover { background: #E6E8EA; }
.route:hover .route__go { transform: translateX(4px); }
@media (max-width: 900px) { .routes { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .route { grid-template-columns: 84px minmax(0, 1fr); padding-right: 14px; } .route__go { display: none; } }

/* WERKZAAMHEDEN */
.werk { padding-top: clamp(64px, 8vw, 100px); }
.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cell { background: var(--grey); padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 210px; transition: background-color .25s; }
.cell:hover { background: #E8EAEC; }
.cell__n { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font: 800 .9375rem/1 var(--display); color: var(--red); margin-bottom: auto; }
.cell h3 { font: 700 1.375rem/1.1 var(--display); font-stretch: 90%; padding-top: 24px; }
.cell p { color: var(--ink-2); font-size: .9688rem; }
.cell--blue { background: var(--blue); color: #fff; }
.cell--blue:hover { background: #064B88; }
.cell--blue p { color: #D6E7F8; }
.cell--blue .cell__n { color: var(--blue); }
@media (max-width: 900px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } .cell { min-height: 0; } }

/* DE STIGT */
.stigt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); padding-top: clamp(64px, 8vw, 100px); }
.stigt__photo { min-height: 380px; }
.stigt__copy { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.tag { display: inline-block; align-self: flex-start; font-size: .875rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.stigt__p { color: #D6E7F8; max-width: 46ch; }
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 6px 0; max-width: 340px; }
.zones span { height: 54px; border-radius: 10px; border: 2px dashed rgba(255, 255, 255, .45); }
.zones .is-warm { border: 0; background: var(--red-logo); }
.facts { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); }
.facts dt { font-size: .8125rem; font-weight: 700; color: #B9D7F3; }
@media (max-width: 900px) { .stigt { grid-template-columns: 1fr; } .stigt__photo { min-height: 240px; height: 260px; } }

/* STORINGSDIENST */
.storing { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); padding-top: var(--gap); }
.storing__main { padding: clamp(26px, 3.6vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.storing__n { font: 800 clamp(6rem, 13vw, 10rem)/.8 var(--display); font-stretch: 80%; letter-spacing: -.05em; font-variant-numeric: tabular-nums; display: flex; align-items: flex-end; gap: 8px; }
.storing__n small { font: 700 1rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.storing__p { color: #FFE3DD; margin: 12px 0 22px; max-width: 46ch; }
.storing__side { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.storing__side h3 { font: 700 1.5rem/1.1 var(--display); font-stretch: 90%; }
.storing__side p { color: var(--ink-2); }
@media (max-width: 900px) { .storing { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .storing__main { grid-template-columns: 1fr; } }

/* VAN A TOT Z: oplopende blokken */
.steps { padding-top: clamp(64px, 8vw, 100px); }
.stairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.stair { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; transform-origin: bottom; }
.stair--1 { min-height: 200px; background: var(--grey); }
.stair--2 { min-height: 260px; background: var(--blue); color: #fff; }
.stair--3 { min-height: 320px; background: var(--red); color: #fff; }
.stair__l { font: 800 2.75rem/1 var(--display); font-stretch: 80%; margin-bottom: auto; }
.stair h3 { font: 700 1.375rem/1.1 var(--display); font-stretch: 90%; }
.stair p { font-size: .9688rem; opacity: .9; }
.stair--1 p { color: var(--ink-2); opacity: 1; }
@media (max-width: 700px) { .stairs { grid-template-columns: 1fr; } .stair--1, .stair--2, .stair--3 { min-height: 0; } .stair__l { margin-bottom: 14px; } }

/* PROJECTEN */
.projecten { padding-top: clamp(64px, 8vw, 100px); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.proj { background: var(--grey); }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.proj:hover img { transform: scale(1.04); }
.proj figcaption { padding: 14px 16px 18px; font-size: .9375rem; color: var(--ink-2); }
.proj figcaption b { display: block; color: var(--ink); font: 700 1.125rem/1.2 var(--display); font-stretch: 90%; margin-bottom: 2px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: 1fr 1fr; } }

/* CONTACT */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--gap); padding-block: clamp(64px, 8vw, 100px); }
.contact__info { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.contact__p { color: #C9CDD2; max-width: 40ch; }
.contact__tel { font: 800 clamp(2.25rem, 4.2vw, 3.25rem)/1 var(--display); font-stretch: 85%; color: #fff; text-decoration: none; margin-top: auto; }
.contact__tel:hover { color: #FF8A75; }
.contact__info address { display: grid; gap: 4px; color: #C9CDD2; font-size: .9688rem; }
.contact__info address a { color: #fff; font-weight: 700; }
.form { background: var(--grey); padding: clamp(24px, 3.4vw, 44px); }
.form__step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.form__step.is-active { display: block; animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.form legend { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--display); font-stretch: 90%; padding: 0; margin-bottom: 18px; }
.form__n { display: block; font: 700 .875rem/1 var(--sans); color: var(--red); margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags label { position: relative; cursor: pointer; }
.tags input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tags span { display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.tags label:hover span { border-color: var(--ink); }
.tags input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.tags input:focus-visible + span { outline: 3px solid var(--blue-logo); outline-offset: 3px; }
.form__hint { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FCE5E1; color: #5A1009; }
.form__hint a { color: var(--red); font-weight: 700; }
.form__fields { display: grid; gap: 8px; }
.form__fields label { font-weight: 700; font-size: .9375rem; margin-top: 4px; }
.form__fields input { font: inherit; color: var(--ink); background: #fff; border: 2px solid #A2A8AF; border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form__fields input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 123, 216, .2); }
.form__fields input[aria-invalid="true"] { border-color: var(--red); }
.form__err { color: var(--red); font-weight: 700; margin-top: 12px; }
.form__nav { display: flex; gap: 8px; margin-top: 22px; }
.form__nav[hidden] { display: none; }
.form__done a { color: var(--red); font-weight: 700; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* FOOTER */
.foot { border-top: 1px solid var(--line); padding: 28px 0 110px; color: var(--ink-2); font-size: .9688rem; }
.foot__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem; }
.foot__brand .logo { width: 64px; }
.foot a { text-decoration: none; color: var(--ink); font-weight: 600; }

/* ontwerpwissel en belbalk */
.switch { position: fixed; left: 14px; bottom: 14px; z-index: 35; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(22, 24, 27, .14); }
.switch[hidden] { display: none; }
.switch a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-weight: 700; font-size: .875rem; color: var(--ink-2); }
.switch a[aria-current] { background: var(--red); color: #fff; }
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.callbar.is-on { transform: none; }
.callbar__btn { display: grid; place-items: center; min-height: 50px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.callbar__btn--red { background: var(--red); }
@media (max-width: 760px) { .callbar { display: grid; } .switch { display: none !important; } html { scroll-padding-bottom: 80px; } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .form__step.is-active { animation: none; }
}
