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

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}

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

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

:root {
  --blue: #2996d2;
  --blue-dark: #197fb7;
  --ink: #2f424c;
  --ink-soft: #52636c;
  --slate: #36515e;
  --slate-dark: #263e49;
  --paper: #ffffff;
  --mist: #f1f5f6;
  --line: #d8e0e3;
  --warm: #f7f5f1;
  --shadow: 0 18px 50px rgba(27, 49, 60, 0.12);
  --radius: 3px;
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Esteban", Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

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

h1,
h2,
h3,
.eyebrow,
.button,
button,
label,
legend {
  font-family: "Poppins", Arial, sans-serif;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  color: #fff;
  background: var(--slate-dark);
  font-family: "Poppins", Arial, sans-serif;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 140px;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  gap: 2rem;
}

.brand {
  flex: 0 1 340px;
}

.brand img {
  width: min(100%, 320px);
  height: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 1.02rem;
}

.site-nav > a,
.nav-dropdown > summary {
  position: relative;
  padding-block: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav > a::after,
.nav-dropdown > summary::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown.is-current > summary::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  display: grid;
  min-width: 230px;
  padding: 0.6rem;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown-menu a {
  padding: 0.65rem 0.8rem;
  text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--mist);
}

.hero,
.page-hero,
.cta-band {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.hero::before,
.page-hero::before,
.cta-band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(24, 43, 51, 0.58), rgba(24, 43, 51, 0.35));
}

.hero {
  min-height: 640px;
  text-align: center;
}

.hero--home {
  background-image: url("/assets/images/home-hero.jpg");
}

.hero-inner {
  width: min(calc(100% - 3rem), 1040px);
  padding-block: 6rem;
}

.hero h1,
.hero p,
.page-hero h1,
.page-hero p,
.cta-band h2,
.cta-band p {
  color: #fff;
}

.hero h1 {
  max-width: 1000px;
  margin-inline: auto;
}

.hero p {
  max-width: 930px;
  margin: 0 auto 2rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.page-hero {
  min-height: 430px;
  text-align: center;
}

.page-hero--over-ons {
  background-image: url("/assets/images/aankoop-card.jpg");
}

.page-hero--aankoop {
  background-image: url("/assets/images/aankoop-hero.jpg");
}

.page-hero--woning {
  background-image: url("/assets/images/woning-hero.jpg");
}

.page-hero--taxatieformulier {
  background-image: url("/assets/images/taxatieformulier-hero.jpg");
}

.page-hero--contact {
  background-image: url("/assets/images/contact-hero.jpg");
}

.page-hero-inner {
  width: min(calc(100% - 3rem), 900px);
  padding-block: 5rem;
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.55rem;
  color: #fff;
  background: var(--blue);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button--light {
  color: var(--ink);
  background: #fff;
}

.button--light:hover {
  color: var(--ink);
  background: var(--mist);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--mist {
  background: var(--mist);
}

.section--warm {
  background: var(--warm);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.split--wide-copy {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
}

.flow > * + * {
  margin-top: 1.15rem;
}

.flow h2,
.flow h3 {
  margin-bottom: 1rem;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(27, 49, 60, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.service-card h3 a {
  text-decoration: none;
}

.text-link {
  color: var(--blue-dark);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.credential {
  display: grid;
  place-items: center;
  min-height: 120px;
}

.credential img {
  max-width: 190px;
  max-height: 105px;
  object-fit: contain;
}

.cta-band {
  min-height: 450px;
  background-image: url("/assets/images/cta.jpg");
  text-align: center;
}

.cta-band-inner {
  width: min(calc(100% - 3rem), 780px);
  padding-block: 5rem;
}

.cta-band h2 {
  margin-bottom: 0.8rem;
}

.cta-band p {
  margin-bottom: 1.7rem;
  font-size: 1.2rem;
}

.prose {
  max-width: 780px;
}

.prose--center {
  margin-inline: auto;
}

.prose p + p {
  margin-top: 1.35rem;
}

.prose .button {
  margin-top: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.contact-card {
  padding: clamp(1.7rem, 3vw, 2.6rem);
  color: #fff;
  background: var(--slate);
}

.contact-card h2,
.contact-card a {
  color: #fff;
}

.contact-card address {
  font-style: normal;
}

.contact-card a:hover {
  color: #d8f0ff;
}

.form-shell {
  max-width: 820px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

label,
legend {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
}

.required {
  color: #a22525;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #aab8be;
  border-radius: 0;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.35;
}

textarea {
  min-height: 145px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(41, 150, 210, 0.38);
  outline-offset: 3px;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.question {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 0.65rem;
}

.choice-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Esteban", Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.choice-row input {
  width: auto;
}

.field-help,
.form-note,
.form-status {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.5rem;
  margin-block: 1rem;
}

.form-status:not(:empty) {
  border-left: 4px solid var(--blue);
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--mist);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding-block: 4rem 2rem;
  color: #fff;
  background: var(--slate);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 3rem;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
}

.site-footer h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.site-footer address {
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  width: fit-content;
}

.footer-meta {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.message-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding-block: 5rem;
  text-align: center;
}

.message-page-inner {
  max-width: 700px;
}

@media (max-width: 900px) {
  .site-header,
  .header-inner {
    min-height: 105px;
  }

  .brand {
    flex-basis: 240px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding: 0.8rem 1.5rem 1.2rem;
    background: #fff;
    box-shadow: 0 18px 30px rgba(27, 49, 60, 0.12);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav > a,
  .nav-dropdown > summary,
  .nav-dropdown-menu a {
    padding: 0.7rem 0;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0.5rem 1rem;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .split,
  .split--wide-copy,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .container,
  .hero-inner,
  .page-hero-inner,
  .cta-band-inner {
    width: min(calc(100% - 2rem), var(--content));
  }

  .brand {
    flex-basis: 190px;
  }

  .hero {
    min-height: 560px;
  }

  .page-hero {
    min-height: 330px;
  }

  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field--full,
  .question {
    grid-column: auto;
  }

  .credentials {
    gap: 1rem;
  }

  .credential img {
    max-width: 145px;
    max-height: 85px;
  }
}

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