:root {
  --ink: #17201c;
  --sage-50: #f3f8f4;
  --sage-100: #e2eee5;
  --sage-700: #3e6553;
  --clay: #b88662;
  --paper: #fbfcfa;
  --white: #ffffff;
  --line: rgba(23, 32, 28, 0.08);
  --shadow: 0 18px 60px rgba(23, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav,
.section-inner,
.footer-inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: var(--sage-700);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.brand-title {
  display: block;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(23, 32, 28, 0.58);
  font-size: 12px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-menu a,
.mobile-menu a {
  font-size: 14px;
  font-weight: 650;
}

.desktop-menu a:not(.button):hover,
.mobile-menu a:hover {
  color: var(--sage-700);
}

.button,
.button-outline,
.button-light,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button {
  background: var(--sage-700);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.button-dark:hover {
  background: var(--sage-700);
  color: var(--white);
}

.button-whatsapp {
  background: var(--sage-100);
  color: var(--sage-700);
  border: 1px solid rgba(62, 101, 83, 0.22);
  box-shadow: none;
}

.button-whatsapp:hover {
  background: var(--sage-700);
  color: var(--white);
}

.button-whatsapp::before {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2.25c-5.35 0-9.7 4.23-9.7 9.45 0 1.76.5 3.46 1.44 4.96L2.35 21.7l5.18-1.35A9.9 9.9 0 0 0 12 21.35c5.35 0 9.7-4.23 9.7-9.45S17.35 2.25 12 2.25Zm0 1.85c4.32 0 7.84 3.39 7.84 7.8S16.32 19.7 12 19.7a8.05 8.05 0 0 1-4.02-1.07l-.36-.21-2.64.69.71-2.55-.25-.39A7.57 7.57 0 0 1 4.16 11.9C4.16 7.49 7.68 4.1 12 4.1Zm-3.28 3.63c.28-.28.73-.28 1.01 0l1.1 1.1c.22.22.27.55.12.83l-.43.82c.69 1.22 1.78 2.31 3 3l.82-.43c.28-.15.61-.1.83.12l1.1 1.1c.28.28.28.73 0 1.01-.7.7-1.73.95-2.68.66a8.34 8.34 0 0 1-5.53-5.53c-.29-.95-.04-1.98.66-2.68Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' fill-rule='evenodd' d='M12 2.25c-5.35 0-9.7 4.23-9.7 9.45 0 1.76.5 3.46 1.44 4.96L2.35 21.7l5.18-1.35A9.9 9.9 0 0 0 12 21.35c5.35 0 9.7-4.23 9.7-9.45S17.35 2.25 12 2.25Zm0 1.85c4.32 0 7.84 3.39 7.84 7.8S16.32 19.7 12 19.7a8.05 8.05 0 0 1-4.02-1.07l-.36-.21-2.64.69.71-2.55-.25-.39A7.57 7.57 0 0 1 4.16 11.9C4.16 7.49 7.68 4.1 12 4.1Zm-3.28 3.63c.28-.28.73-.28 1.01 0l1.1 1.1c.22.22.27.55.12.83l-.43.82c.69 1.22 1.78 2.31 3 3l.82-.43c.28-.15.61-.1.83.12l1.1 1.1c.28.28.28.73 0 1.01-.7.7-1.73.95-2.68.66a8.34 8.34 0 0 1-5.53-5.53c-.29-.95-.04-1.98.66-2.68Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button-outline {
  border: 1px solid rgba(23, 32, 28, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button-outline:hover {
  border-color: rgba(62, 101, 83, 0.4);
  background: var(--sage-50);
  color: var(--sage-700);
}

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

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

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.desktop-menu .button {
  min-height: 40px;
  padding: 0 20px;
}

.desktop-menu .button-whatsapp:hover {
  background: var(--sage-700);
  color: var(--white);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid rgba(23, 32, 28, 0.12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(23, 32, 28, 0.08);
}

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

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.hamburger {
  position: relative;
}

.hamburger::before {
  position: absolute;
  top: -6px;
}

.hamburger::after {
  position: absolute;
  top: 6px;
}

.mobile-menu {
  position: absolute;
  right: 0;
  width: 224px;
  margin-top: 12px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  border-radius: 6px;
  padding: 12px 16px;
}

.hero {
  position: relative;
  min-height: 70svh;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 34%, rgba(255,255,255,0.36) 62%, rgba(255,255,255,0.08) 100%),
    linear-gradient(0deg, var(--paper) 0%, rgba(251,252,250,0) 19%),
    url("images/hero-hausbesuch.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 70svh;
  align-items: center;
  padding: 56px 0;
}

.hero-copy {
  max-width: 672px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(62, 101, 83, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 16px;
  color: var(--sage-700);
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 1px 8px rgba(23, 32, 28, 0.06);
}

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

h1 {
  margin-top: 30px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-lead {
  max-width: 600px;
  margin-top: 26px;
  color: rgba(23, 32, 28, 0.72);
  font-size: 20px;
  line-height: 1.8;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.section {
  padding: 80px 0;
}

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

.section-sage {
  background: var(--sage-50);
}

.section-kicker {
  color: var(--clay);
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
}

.section-kicker.sage {
  color: var(--sage-700);
}

.problem-grid,
.steps-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

.section-title {
  max-width: 640px;
  margin-top: 16px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
}

.problem-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rail {
  border-left: 4px solid var(--clay);
  padding-left: 24px;
}

.rail.sage {
  border-color: var(--sage-700);
}

.rail h3,
.service-card h3,
.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.rail p,
.service-card p,
.step-card p,
.section-lead,
.legal-content p,
.job-card li {
  margin-top: 12px;
  color: rgba(23, 32, 28, 0.68);
  line-height: 1.85;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card,
.step-card,
.job-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(23, 32, 28, 0.04);
}

.service-number {
  color: var(--clay);
  font-size: 14px;
  font-weight: 750;
}

.service-card h3 {
  margin-top: 24px;
}

.steps-grid {
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
}

.steps-list {
  display: grid;
  gap: 20px;
}

.step-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  background: var(--white);
}

.step-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta .section-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.cta h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.18;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero {
  background: var(--sage-50);
  padding: 80px 0;
}

.page-hero h1 {
  max-width: none;
  margin-top: 20px;
  font-size: clamp(42px, 5vw, 64px);
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.page-hero p {
  max-width: none;
  margin-top: 28px;
  color: rgba(23, 32, 28, 0.7);
  font-size: 18px;
  line-height: 1.9;
}

.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.job-card {
  padding: 32px;
}

.job-text-block {
  padding: 8px 0;
}

.job-text-block + .job-text-block {
  margin-top: 12px;
}

.job-text-block h2 {
  font-size: 28px;
  line-height: 1.2;
}

.job-text-block p,
.job-text-block li {
  color: rgba(23, 32, 28, 0.7);
  font-size: 18px;
  line-height: 1.85;
}

.job-text-block p,
.job-text-block ul {
  margin: 20px 0 0;
}

.job-text-block ul {
  padding: 0;
  list-style: none;
}

.job-text-block li + li {
  margin-top: 14px;
}

.job-text-block li {
  position: relative;
  padding-left: 24px;
}

.job-text-block li::before {
  position: absolute;
  top: 0.88em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--sage-700);
  content: "";
}

.job-card h2,
.legal-content h2 {
  font-size: 28px;
}

.job-card ul,
.legal-content ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.job-card li,
.legal-content li {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.job-card li::before,
.legal-content li::before {
  width: 8px;
  height: 8px;
  margin-top: 14px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--sage-700);
  content: "";
}

.dark-card {
  background: var(--ink);
  color: var(--white);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.7);
}

.legal-page {
  background: var(--white);
}

.legal-head {
  max-width: 860px;
}

.legal-head h1 {
  margin-top: 16px;
  font-size: clamp(46px, 6vw, 64px);
}

.legal-head p {
  margin-top: 20px;
  color: rgba(23, 32, 28, 0.66);
  line-height: 1.85;
}

.legal-content {
  max-width: 860px;
  margin-top: 48px;
}

.legal-content section + section {
  margin-top: 40px;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
}

.footer-inner p,
.footer-inner a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.75;
}

.footer-inner a:hover {
  color: var(--white);
}

.footer-title {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact p {
  margin: 0;
}


.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .nav,
  .section-inner,
  .footer-inner {
    width: min(100% - 40px, 1180px);
  }

  .desktop-menu {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: 76svh;
  }

  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.68) 56%, rgba(255,255,255,0.18) 100%),
      linear-gradient(0deg, var(--paper) 0%, rgba(251,252,250,0) 19%),
      url("images/hero-hausbesuch.png");
    background-position: center;
  }

  h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .hero-lead {
    font-size: 18px;
    line-height: 1.8;
  }

  .actions {
    flex-direction: column;
  }

  .button,
  .button-outline,
  .button-light,
  .button-ghost {
    width: 100%;
  }

  .problem-grid,
  .steps-grid,
  .problem-columns,
  .services-grid,
  .job-grid,
  .cta,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .services-grid {
    gap: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .page-hero {
    padding: 68px 0;
  }

  .headline-line {
    white-space: normal;
  }

  .cta {
    padding: 32px 24px;
  }
}

@media (max-width: 460px) {
  .nav,
  .section-inner,
  .footer-inner {
    width: min(100% - 40px, 1180px);
  }

  .brand-title {
    font-size: 16px;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 58px;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .step-card {
    grid-template-columns: 1fr;
  }
}
