/* Bouw-Pol — stylesheet
   Palette: bluestone (Belgian arduin), chalk (lime plaster), mortar,
   Bouw-Pol red from the company logo. Type: Arial everywhere (site, emails,
   signature, flyer, offer), the one font that every computer and phone
   already has. Devices without Arial (Android, Linux) get Arimo, Arial's
   free twin with identical letter widths, so the site looks the same. */

@font-face { font-family: "Arimo"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/arimo-400.woff2) format("woff2"); }
@font-face { font-family: "Arimo"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/arimo-700.woff2) format("woff2"); }

:root {
  --bluestone: #29353b;      /* bluestone: text, dark surfaces */
  --bluestone-soft: #3a4850;
  --chalk: #f2f3f0;        /* lime plaster: page background */
  --white: #ffffff;         /* sign panels, cards */
  --mortar: #cdd1cb;        /* mortar: rules and borders */
  --grey: #5a666c;       /* secondary text (5.3:1 on chalk) */
  --red: #c42e15;        /* Bouw-Pol red, darkened for AA text contrast */
  --red-logo: #de3a1e;   /* exact logo red, large marks only */
  --red-dark: #a0240f;

  --font-body: Arial, "Arimo", Helvetica, sans-serif;
  --font-heading: Arial, "Arimo", Helvetica, sans-serif;

  --max-width: 1180px;
  --measure: 64ch;
  --section-space: clamp(3.5rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

/* Smooth page changes in browsers that support it (Chrome, Edge, Safari):
   the new page fades in while the header and phone bar stay in place. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }
.site-header { view-transition-name: site-header; }
.action-bar { view-transition-name: actiebalk; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; background: #f2f3f0; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--bluestone);
  background: var(--chalk);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bluestone); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: break-word;  /* a long Dutch word never pushes the page sideways */
}
/* Arial is wider than a condensed face: sized so the longest one-word
   title ("Badkamerrenovatie") fits a 360 px phone and the hero column */
h1 { font-size: clamp(1.8rem, 1rem + 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
@media (max-width: 359px) { h1, h2, h3, .facts strong { hyphens: auto; } }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--bluestone); max-width: 40ch; }
.small { font-size: 0.95rem; color: var(--grey); }
ul, ol { padding-left: 1.2em; }

.container { width: min(100% - 2.5rem, var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section--white { background: var(--white); }
.dark { background: var(--bluestone); color: var(--chalk); }
.dark a { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

.skiplink { position: absolute; left: -999px; top: 0; background: var(--white); padding: 0.6rem 1rem; z-index: 100; }
.skiplink:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em;
  padding: 0.7rem 1.3rem 0.75rem;
  border: 2px solid var(--bluestone); border-radius: 3px;
  color: var(--bluestone); background: transparent; text-decoration: none; cursor: pointer;
  line-height: 1.1;
}
.btn:hover { background: var(--bluestone); color: var(--white); text-decoration: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.dark .btn { border-color: var(--chalk); color: var(--chalk); }
.dark .btn:hover { background: var(--chalk); color: var(--bluestone); }
.dark .btn--red { border-color: var(--red); color: var(--white); }
.dark .btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--mortar); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.logo { display: inline-block; flex: none; line-height: 0; }
/* The logo files are square with the wordmark centred: show a 1520:374 strip
   (the wordmark plus a hair of space) and pull it left over the side margin */
.logo { --logo-h: 3rem; }
.logo img, .site-sign__head img { display: block; height: var(--logo-h); width: auto; aspect-ratio: 1520 / 374; object-fit: cover; margin-left: calc(var(--logo-h) * -0.096); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav a { color: var(--bluestone); text-decoration: none; font-weight: 400; font-size: 1.05rem; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.header-tel { white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; font: inherit; font-weight: 700; background: none; border: 2px solid var(--bluestone); border-radius: 3px; padding: 0.45rem 0.85rem; color: var(--bluestone); cursor: pointer; }

@media (max-width: 1060px) {
  .header-tel { display: none; }
}
@media (max-width: 400px) {
  .site-header .logo { --logo-h: 2.5rem; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--mortar); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1.25rem; }
  .main-nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--mortar); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--mortar); color: var(--red); }
}

/* ---------- hero with the site sign ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__image { position: relative; }
.hero__image > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
/* a wide, landscape board standing in front of the photo: it overlaps only
   the bottom edge, so the house and the vans stay visible */
.hero__image .site-sign { margin: -2.75rem 1.75rem 0 -1.75rem; }

.site-sign {
  background: var(--white);
  border: 3px solid var(--bluestone);
  box-shadow: 0 1.2rem 2.4rem -1.4rem rgba(41, 53, 59, 0.55);
  position: relative;
}
/* four bolts, as on a sign fixed to a site fence */
.site-sign::before {
  content: ""; position: absolute; inset: 0.45rem; pointer-events: none;
  background:
    radial-gradient(circle, var(--mortar) 0 3px, transparent 3.5px) left top / 8px 8px no-repeat,
    radial-gradient(circle, var(--mortar) 0 3px, transparent 3.5px) right top / 8px 8px no-repeat,
    radial-gradient(circle, var(--mortar) 0 3px, transparent 3.5px) left bottom / 8px 8px no-repeat,
    radial-gradient(circle, var(--mortar) 0 3px, transparent 3.5px) right bottom / 8px 8px no-repeat;
}
.site-sign__head { background: var(--white); border-bottom: 3px solid var(--bluestone); padding: 0.9rem 1.4rem 0.8rem; }
.site-sign__head { --logo-h: 2.6rem; }
.site-sign dl { margin: 0; padding: 0.25rem 1.4rem 0.7rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.site-sign dl > div { padding: 0.5rem 0; border-bottom: 1px solid var(--mortar); }
.site-sign dl > div.wide { grid-column: 1 / -1; }
.site-sign dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.site-sign dt { font-size: 0.85rem; color: var(--grey); line-height: 1.3; }
.site-sign dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1rem, 0.75rem + 1.1vw, 1.2rem); line-height: 1.2; }
.site-sign dd a { color: var(--red); text-decoration: none; white-space: nowrap; }
.site-sign dd a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__image .site-sign { margin: -2.25rem 0.75rem 0; }
}
/* phones: region and phone number each get a full line, so +32 496 82 49 70 never breaks */
@media (max-width: 480px) {
  .site-sign dl > div:nth-last-child(-n+2) { grid-column: 1 / -1; }
  .site-sign dl > div:nth-last-child(2) { border-bottom: 1px solid var(--mortar); }
}

/* facts under the hero */
.facts { list-style: none; margin: 0; padding: 1.4rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mortar); margin-top: clamp(2.5rem, 5vw, 4rem); }
.facts li { padding: 0.2rem 1.25rem 0.2rem 0; }
.facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--mortar); }
.facts strong { display: block; font-family: var(--font-heading); font-size: clamp(1.1rem, 0.85rem + 1.2vw, 1.45rem); line-height: 1.1; font-weight: 700; }
.facts span { font-size: 0.98rem; color: var(--grey); }
@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.2rem; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- services list ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); border-top: 2px solid var(--bluestone); }
.service { border-bottom: 1px solid var(--mortar); }
.service a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; text-decoration: none; color: var(--bluestone); align-items: center; }
.service img { width: 7.5rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.service h3 { margin: 0 0 0.25rem; font-size: clamp(1.2rem, 0.95rem + 1vw, 1.55rem); }
.service p { margin: 0; font-size: 1rem; color: var(--grey); }
.service a:hover h3 { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (max-width: 760px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service a { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; }
  .service img { width: 5.5rem; }
}

/* ---------- photo grid ---------- */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--mortar); }
.photos figcaption { font-size: 0.98rem; color: var(--grey); margin-top: 0.55rem; line-height: 1.4; }
.photos--large li:first-child { grid-column: span 2; grid-row: span 2; }
.photos--large li:first-child img { aspect-ratio: auto; height: calc(100% - 2.2rem); }
@media (max-width: 880px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photos--large li:first-child { grid-column: span 2; grid-row: auto; } .photos--large li:first-child img { height: auto; aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .photos { grid-template-columns: minmax(0, 1fr); } .photos--large li:first-child { grid-column: auto; } }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: stap; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: stap; border-top: 2px solid var(--bluestone); padding-top: 1rem; }
.steps li::before { content: counter(stap); display: block; font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--red-logo); margin-bottom: 0.5rem; }
.steps h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.steps p { font-size: 1rem; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.reviews blockquote { margin: 0; }
.reviews blockquote p { font-size: 1.2rem; line-height: 1.5; margin-bottom: 0.75rem; }
.reviews .stars { color: var(--red-logo); letter-spacing: 0.12em; font-size: 1.05rem; margin-bottom: 0.5rem; }
.reviews footer { font-size: 0.98rem; color: var(--grey); }
@media (max-width: 880px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buyers band ---------- */
.buyers { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: center; }
.epc { display: flex; align-items: center; gap: 0.9rem; font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; }
.epc span { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 2px; color: var(--white); }
.epc .e { background: #e8762c; } .epc .f { background: #d1352b; } .epc .d { background: #c9b51c; color: var(--bluestone); }
.epc .arrow { width: auto; height: auto; font-size: 1.8rem; color: var(--chalk); }
.epc-note { font-size: 1rem; color: #c9d0d3; margin-top: 0.75rem; }
@media (max-width: 880px) { .buyers { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* ---------- faq ---------- */
.faq { max-width: 52rem; border-top: 2px solid var(--bluestone); }
.faq details { border-bottom: 1px solid var(--mortar); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.8rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1.1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- page header (inner pages) ---------- */
.page-header { padding-block: clamp(2.2rem, 4.5vw, 3.8rem); }
.page-header__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.page-header__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.breadcrumbs { font-size: 0.95rem; color: var(--grey); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--mortar); }
.breadcrumbs a { color: var(--grey); }
.page-header__grid .portrait { margin: 0; justify-self: end; width: min(100%, 24rem); }
.page-header__grid .portrait img { aspect-ratio: 4 / 5; }
.portrait figcaption { font-size: 0.95rem; color: var(--grey); margin-top: 0.55rem; }
@media (max-width: 880px) { .page-header__grid { grid-template-columns: minmax(0, 1fr); } .page-header__grid .portrait { justify-self: start; width: min(100%, 22rem); } }

/* ---------- prose blocks on inner pages ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.two-col aside { background: var(--white); border: 1px solid var(--mortar); padding: 1.6rem 1.6rem 0.6rem; }
.two-col aside h2 { font-size: 1.7rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-bottom: 1px solid var(--mortar); }
.checklist li::before { content: ""; position: absolute; left: 0.2rem; top: 1.05rem; width: 0.85rem; height: 0.45rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
@media (max-width: 880px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.other-services { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.other-services a { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--mortar); background: var(--white); border-radius: 3px; text-decoration: none; color: var(--bluestone); font-weight: 400; }
.other-services a:hover { border-color: var(--bluestone); }

/* ---------- call to action band ---------- */
.cta { text-align: left; }
.cta h2 { max-width: 20ch; }
.cta p { color: #c9d0d3; }

/* ---------- contact form ---------- */
.quote-form { background: var(--white); border: 1px solid var(--mortar); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { font-weight: 400; color: var(--grey); font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--bluestone);
  padding: 0.7rem 0.8rem; border: 2px solid #9aa3a7; border-radius: 3px; background: var(--white);
}
.field input, .field select { min-height: 3.25rem; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--bluestone); outline-offset: 1px; border-color: var(--bluestone); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.error { color: var(--red); font-weight: 700; margin-top: 0.75rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--mortar); }
.contact-list strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--bluestone); color: #c9d0d3; padding-block: 3.5rem 6rem; font-size: 1rem; border-top: 1px solid var(--bluestone-soft); }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
/* the logo is black and red, so in the dark footer it sits on a white plate */
.site-footer .logo { --logo-h: 2.6rem; margin-bottom: 1.1rem; }
.footer-bottom { border-top: 1px solid var(--bluestone-soft); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.92rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sticky action bar on phones ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--mortar); box-shadow: 0 -0.5rem 1.5rem -1rem rgba(41,53,59,.5); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.6rem 0.25rem 0.55rem; text-decoration: none; color: var(--bluestone); font-weight: 700; font-size: 0.92rem; }
  .action-bar a + a { border-left: 1px solid var(--mortar); }
  .action-bar a.red { background: var(--red); color: var(--white); }
  .action-bar svg { width: 1.35rem; height: 1.35rem; }
  body { padding-bottom: 4.2rem; }
}

@media print {
  .site-header, .action-bar, .buttons, .site-footer { display: none; }
  body { background: #fff; }
}
