:root {
  --ink: #16201c;
  --muted: #5d6b64;
  --line: #dbe3dd;
  --paper: #fbfcf8;
  --soft: #eef4ed;
  --mint: #b7dcc6;
  --green: #215f44;
  --green-dark: #143b2b;
  --coral: #df6f55;
  --gold: #d8b35a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a.is-active,
.site-footer a:hover {
  color: var(--green-dark);
}

.main-nav a.is-active {
  background: var(--soft);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

.hero-copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.12rem, 4.5vw, 4.68rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--green-dark);
  color: var(--white);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-dark);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(20, 59, 43, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 59, 43, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(20, 59, 43, 0.08) 1px, transparent 1px),
    linear-gradient(140deg, #f5faf2 0%, #dceee4 48%, #f7e7d8 100%);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(20, 59, 43, 0.18);
  border-radius: 8px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--green), var(--gold));
}

.visual-panel {
  position: absolute;
  z-index: 1;
  width: 190px;
  padding: 18px;
  border: 1px solid rgba(20, 59, 43, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(22, 32, 28, 0.11);
}

.visual-panel span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.visual-panel strong,
.visual-panel p {
  display: block;
  margin: 0;
}

.visual-panel strong {
  font-size: 1.18rem;
}

.visual-panel p {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-a {
  left: 10%;
  top: 14%;
}

.panel-b {
  right: 9%;
  top: 38%;
}

.panel-c {
  left: 18%;
  bottom: 13%;
}

.section,
.services,
.contact-band,
.page-hero,
.legal-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 72px 0 34px;
  border-top: 1px solid var(--line);
}

.section h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3.05rem);
  line-height: 1.08;
}

.section p,
.contact-band p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 34px 0 72px;
}

.services article {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 900;
}

.services h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.services p {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 76px;
  padding: 38px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
}

.contact-band .eyebrow {
  color: var(--mint);
}

.contact-band p {
  max-width: 760px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 10px;
  min-width: 250px;
}

.contact-links a {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.page-hero {
  padding: 74px 0 48px;
}

.legal-content {
  padding-top: 74px;
  padding-bottom: 86px;
}

.erecht24-content h1 {
  max-width: 880px;
  margin: 0 0 34px;
  font-size: clamp(1.18rem, 2.5vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-content h2 {
  margin: 34px 0 8px;
  font-size: 1.24rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.legal-content a {
  color: var(--green-dark);
  font-weight: 700;
}

.legal-note {
  margin-top: 34px !important;
  padding: 18px;
  border-left: 4px solid var(--coral);
  background: var(--soft);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .section-intro,
  .contact-band {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 420px;
  }

}

@media (max-width: 620px) {
  .site-header,
  .section,
  .services,
  .contact-band,
  .page-hero,
  .legal-content,
  .site-footer,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .main-nav {
    width: 100%;
  }

  .main-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(1.87rem, 10.8vw, 2.79rem);
  }

  .page-hero h1 {
    font-size: clamp(2.08rem, 12vw, 3.1rem);
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .visual-panel {
    width: 168px;
    padding: 14px;
  }

  .panel-a {
    left: 6%;
  }

  .panel-b {
    right: 5%;
  }

  .panel-c {
    left: 9%;
  }

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

  .services article {
    min-height: 0;
  }

  .contact-band {
    padding: 24px;
  }

  .contact-links {
    width: 100%;
    min-width: 0;
  }
}
