:root {
  --ink: #211f1f;
  --muted: #6f6861;
  --brick: #96141d;
  --brick-dark: #641019;
  --mortar: #f5f1ea;
  --stone: #ddd2c3;
  --line: #ddd5ca;
  --white: #ffffff;
  --charcoal: #302b28;
  --warm: #b69064;
  --warm-soft: #f1e3d2;
  --shadow: 0 18px 42px rgba(33, 31, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #fff 34%, #f8f4ee 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  background: var(--white);
}

.topbar {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: min(360px, 48vw);
  max-height: 108px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(150, 20, 29, 0.18);
  padding: 0 0 8px;
}

.nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221, 213, 202, 0.78);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 234, 0.72));
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav a::after {
  position: absolute;
  right: 8px;
  bottom: -10px;
  left: 8px;
  height: 3px;
  border-radius: 0;
  background: var(--brick);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--white);
  border-color: rgba(150, 20, 29, 0.34);
  color: var(--brick-dark);
  transform: translateY(-2px);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--mortar);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 241, 234, 0.97) 0%, rgba(245, 241, 234, 0.84) 42%, rgba(245, 241, 234, 0.18) 72%),
    url("./assets/hero-project.jpg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 76px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brick-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: #443d38;
  font-size: 20px;
}

.muted {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brick-dark);
  border-radius: 7px;
  background: var(--brick-dark);
  color: var(--white);
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(33, 31, 31, 0.14);
}

.button.secondary {
  background: var(--white);
  color: var(--brick-dark);
}

.button.call {
  background: var(--white);
  color: var(--brick-dark);
}

.button.full {
  width: 100%;
  margin-top: 20px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

section {
  padding: 72px 0;
}

#diensten,
#werkwijze,
#realisaties,
#contact {
  scroll-margin-top: 132px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.highlight-note {
  margin-top: 24px;
  border-left: 4px solid var(--brick);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--warm-soft), #fffaf4);
  color: #3c3029;
  font-weight: 700;
  padding: 20px;
}

.service-grid,
.info-list {
  display: grid;
  gap: 12px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.info-box,
.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(33, 31, 31, 0.06);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.info-box:hover,
.detail-card:hover {
  border-color: #cbbfb1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 31, 31, 0.09);
}

.service-card span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 8px;
  background: #f2dfe0;
  color: var(--brick-dark);
  font-weight: 800;
}

.service-card p,
.info-box {
  color: var(--muted);
}

.info-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.detail-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(248, 244, 238, 0.92));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  align-content: start;
}

.detail-card p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.12rem;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #f2dfe0;
  color: var(--brick-dark);
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}

.band {
  margin: 0 calc(50% - 50vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(75, 63, 55, 0.96), rgba(100, 16, 25, 0.88)),
    url("./assets/hero-project.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 72px calc(50vw - 50%);
}

.band .kicker,
.band .step span {
  color: #f3d4aa;
}

.band h2 {
  max-width: 700px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--warm);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 31, 31, 0.18);
}

.step span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.contact > div {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact > div > .kicker,
.contact > div > h2,
.contact > div > .muted {
  margin-bottom: 0;
}

.gallery-section {
  border-top: 1px solid var(--line);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-card {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(33, 31, 31, 0.06);
  padding: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
  border-color: rgba(150, 20, 29, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(33, 31, 31, 0.1);
}

.photo-card img {
  width: 100%;
  height: clamp(240px, 27vw, 340px);
  object-fit: contain;
  border-radius: 6px;
  background: #eee8df;
}

.photo-card figcaption {
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 32px rgba(33, 31, 31, 0.06);
  padding: 18px;
}

.project-meta {
  display: grid;
  gap: 8px;
}

.project-meta p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-category {
  display: inline-flex;
  width: fit-content;
  border-radius: 4px;
  background: #f2dfe0;
  color: var(--brick-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 8px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.before-after figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #eee8df;
}

.before-after img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.before-after figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 4px;
  background: rgba(33, 31, 31, 0.82);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
}

.before-after-card {
  grid-column: 1 / -1;
  gap: 18px;
  border-color: rgba(150, 20, 29, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 238, 0.92));
  padding: 18px;
}

.before-after-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.before-after-heading span {
  display: inline-flex;
  border-radius: 4px;
  background: #f2dfe0;
  color: var(--brick-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 8px;
}

.before-after-heading h3 {
  margin-bottom: 0;
}

.before-after-card .before-after {
  gap: 14px;
}

.before-after-card .before-after figure {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.before-after-card .before-after img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: clamp(280px, 32vw, 430px);
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.before-after-card .before-after figcaption {
  position: static;
  right: auto;
  bottom: auto;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 12px;
}


.contact-panel {
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--charcoal), var(--brick-dark));
  box-shadow: 0 18px 40px rgba(33, 31, 31, 0.18);
  color: var(--white);
  padding: 28px;
}

.google-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 238, 0.94));
  box-shadow: 0 14px 32px rgba(33, 31, 31, 0.07);
  padding: 18px;
}

.google-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.google-label {
  display: inline-flex;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #f2dfe0;
  color: var(--brick-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 8px;
}

.google-card h3 {
  margin-bottom: 0;
}

.google-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.google-rating {
  display: grid;
  justify-items: end;
  gap: 2px;
  flex: 0 0 auto;
}

.google-rating span {
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.google-rating strong {
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1;
}

.maps-button {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brick-dark);
  border-radius: 7px;
  background: var(--brick-dark);
  color: var(--white);
  font-weight: 800;
  padding: 11px 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.maps-button:hover,
.maps-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(33, 31, 31, 0.14);
}

.map-frame {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eee8df;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.contact-panel p {
  color: #eee4dc;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  color: var(--white);
  padding: 14px 16px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.56);
  transform: translateY(-2px);
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.contact-link span {
  color: #e7d8cd;
  font-size: 14px;
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-form h2,
.quote-form p {
  margin-bottom: 0;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: #f4eee8;
  font-size: 14px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(246, 207, 165, 0.5);
  border-color: #f3d4aa;
}

.mobile-cta {
  display: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 860px) {
  #diensten,
  #werkwijze,
  #realisaties,
  #contact {
    scroll-margin-top: 172px;
  }

  .topbar,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .brand img {
    width: min(380px, 100%);
    object-position: center;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    flex: 1;
  }

  .hero {
    min-height: 590px;
    display: flex;
    align-items: flex-end;
  }

  .hero-inner {
    padding: 140px 0 42px;
  }

  .split,
  .contact,
  .steps,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .contact > div {
    gap: 16px;
  }

  .contact > div > .info-list {
    order: 1;
  }

  .contact > div > .google-card {
    order: 2;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  #diensten,
  #werkwijze,
  #realisaties,
  #contact {
    scroll-margin-top: 190px;
  }

  body {
    padding-bottom: 74px;
  }

  .topbar {
    gap: 14px;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    min-height: 44px;
    padding-right: 10px;
    padding-left: 10px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
  }

  .google-card {
    order: 0 !important;
    padding: 16px;
  }

  .google-card-header {
    display: grid;
    gap: 10px;
  }

  .google-rating {
    justify-items: start;
  }

  .maps-button {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 230px;
  }

  .contact > div > .info-list {
    order: 1;
  }

  section {
    padding: 52px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
  .project-grid,
  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .before-after-card .before-after img {
    height: min(78vw, 360px);
  }


  .photo-card img {
    height: min(86vw, 420px);
  }

  .band {
    margin-right: -16px;
    margin-left: -16px;
    padding: 52px 16px;
  }

  .service-card,
  .info-box,
  .step,
  .contact-panel {
    padding: 18px;
  }

  .service-card,
  .info-box,
  .step {
    border-left: 4px solid var(--brick);
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 -12px 28px rgba(33, 31, 31, 0.18);
  }

  .mobile-cta a {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    background: var(--brick-dark);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    padding: 10px;
    text-align: center;
    text-decoration: none;
  }

  .mobile-cta a:first-child {
    background: var(--charcoal);
  }
}
