:root {
  --green: #4f8f3d;
  --green-bright: #8bc34a;
  --ink: #102116;
  --ink-soft: #203328;
  --paper: #f4f1ea;
  --white: #ffffff;
  --muted: #657166;
  --line: #dfe4dc;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 28px));
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(16,33,22,.9);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.brand { flex: 0 0 auto; }
.brand img { width: 138px; }
.topbar nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-weight: 700;
  font-size: .9rem;
}
.topbar nav a { color: rgba(255,255,255,.86); }
.topbar nav a:hover { color: var(--green-bright); }
.quick-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 6px;
  background: var(--green-bright);
  color: #122116;
  font-weight: 800;
}
.menu {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  padding: 118px max(20px, calc((100vw - var(--max)) / 2)) 110px;
  color: #fff;
  overflow: hidden;
  background: url("../assets/hecken.jpg") center center/cover no-repeat;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9,22,13,.5), rgba(9,22,13,.08) 56%, rgba(9,22,13,0)),
    linear-gradient(180deg, rgba(9,22,13,0) 58%, #171b10 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}
.hero-content {
  max-width: 610px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.eyebrow,
.kicker {
  margin: 0;
  color: var(--green-bright);
  font-weight: 800;
  letter-spacing: .02em;
}
.hero h1 {
  max-width: 610px;
  margin: 10px 0 0;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  line-height: 1.55;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions {
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.hero-actions .btn {
  min-height: 50px;
}
.btn:hover {
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}
.primary { background: var(--green-bright); color: #122116; }
.primary:hover { background: #9bd653; }
.secondary {
  border: 1px solid rgba(255,255,255,.56);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.secondary:hover { background: rgba(255,255,255,.16); }
.secondary.light {
  border-color: rgba(255,255,255,.34);
  color: #fff;
}

.section {
  padding: 82px max(20px, calc((100vw - var(--max)) / 2));
}
.compact { background: #fff; }
.service-showcase {
  background: #171b10;
  color: #fff;
  padding-top: 54px;
}
.service-showcase .section-title {
  margin-bottom: 28px;
}
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home-service-grid article {
  overflow: hidden;
  border-radius: 8px;
  background: #151917;
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
  transition: transform .24s ease, box-shadow .24s ease;
}
.home-service-grid article:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 52px rgba(0,0,0,.32);
}
.home-service-grid img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  transition: transform .32s ease;
}
.home-service-grid article:hover img {
  transform: scale(1.08);
}
.home-service-grid div {
  padding: 22px 24px 24px;
}
.home-service-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.38rem;
}
.home-service-grid p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  .btn,
  .home-service-grid article,
  .home-service-grid img {
    transition: none;
  }
  .btn:hover,
  .home-service-grid article:hover,
  .home-service-grid article:hover img {
    transform: none;
  }
}
.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-title h2,
.contact h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.service-list a {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
}
.service-list a:hover {
  border-color: var(--green);
  background: #eef5e8;
}

.process {
  background: var(--ink);
  color: #fff;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.steps article,
.service-grid article {
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}
.steps article {
  padding: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--ink);
}
.steps h3 { margin: 18px 0 8px; }
.steps p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

.gallery-section { background: #e8ece4; }
.gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 230px;
  gap: 12px;
}
.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #d7ddd2;
  cursor: pointer;
}
.gallery-item.large { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 46px;
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(16,33,22,.97), rgba(33,61,39,.9)),
    url("../assets/gartenarbeit.jpg") center/cover no-repeat;
  color: #fff;
}
.contact p:not(.kicker) {
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 1.08rem;
}
.mail {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: rgba(255,255,255,.8);
  font-weight: 700;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(20px, calc((100vw - var(--max)) / 2));
  background: #08110b;
  color: rgba(255,255,255,.72);
}
footer div { display: flex; gap: 20px; }

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5,12,7,.86);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: min(78vh, 760px);
  width: min(100%, 1050px);
  object-fit: contain;
  border-radius: 8px;
}
.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.content-hero {
  padding: 150px max(20px, calc((100vw - var(--max)) / 2)) 80px;
  background:
    linear-gradient(90deg, rgba(16,33,22,.94), rgba(16,33,22,.45)),
    url("../assets/hero.png") center/cover no-repeat;
  color: #fff;
}
.content-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
}
.content-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-grid article div { padding: 22px; }
.service-grid h3 { margin: 0 0 8px; }
.service-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.legal-page {
  padding: 130px max(20px, calc((100vw - 900px) / 2)) 70px;
}
.legal-page h1 {
  margin: 10px 0 28px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
}
.legal {
  background: #fff;
  padding: 34px;
  border-radius: 8px;
  line-height: 1.65;
  box-shadow: 0 16px 38px rgba(16,33,22,.08);
}
.legal h2 {
  margin: 30px 0 8px;
  font-size: 1.25rem;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p {
  margin: 0 0 16px;
  color: #29352d;
}
.legal a {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 900px) {
  .topbar { top: 8px; }
  .brand img { width: 128px; }
  .menu { display: block; }
  .topbar nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: rgba(16,33,22,.98);
    flex-direction: column;
  }
  .topbar.open nav { display: flex; }
  .quick-call { display: none; }
  .hero {
    min-height: 620px;
    padding-top: 104px;
    padding-bottom: 76px;
  }
  .hero-bg { object-position: center center; }
  .hero-media {
    background:
      linear-gradient(90deg, rgba(9,22,13,.58), rgba(9,22,13,.16) 65%, rgba(9,22,13,0)),
      linear-gradient(180deg, rgba(9,22,13,.08), rgba(9,22,13,.08) 54%, #171b10 100%);
  }
  .service-list,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .service-grid,
  .home-service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .topbar {
    width: calc(100% - 20px);
    min-height: 54px;
    padding: 6px 10px;
  }
  .brand img { width: 118px; }
  .menu {
    width: 42px;
    height: 42px;
    line-height: 1;
  }
  .topbar nav {
    padding: 14px;
    gap: 14px;
  }
  .hero {
    min-height: 560px;
    align-items: end;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 94px;
    padding-bottom: 58px;
  }
  .hero-bg { object-position: 58% center; }
  .hero-media {
    background:
      linear-gradient(90deg, rgba(9,22,13,.62), rgba(9,22,13,.18) 74%, rgba(9,22,13,0)),
      linear-gradient(180deg, rgba(9,22,13,.04), rgba(9,22,13,.14) 52%, #171b10 100%);
  }
  .eyebrow {
    font-size: .92rem;
    line-height: 1.35;
  }
  .hero h1 {
    max-width: 340px;
    font-size: 2.35rem;
    line-height: 1.03;
  }
  .hero-actions,
  .contact-actions {
    display: grid;
  }
  .hero-actions { margin-top: 20px; }
  .btn {
    width: 100%;
    min-height: 50px;
  }
  .section { padding: 52px 16px; }
  .service-showcase { padding-top: 46px; }
  .section-title { margin-bottom: 24px; }
  .section-title h2,
  .contact h2 {
    font-size: 2.2rem;
  }
  .home-service-grid { gap: 16px; }
  .home-service-grid img { height: 190px; }
  .home-service-grid div { padding: 20px; }
  .home-service-grid h3 { font-size: 1.28rem; }
  .home-service-grid p { font-size: .98rem; }
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }
  .gallery-item.large { grid-column: auto; }
  .contact {
    width: calc(100% - 32px);
    margin: 44px auto;
    padding: 28px 20px;
  }
  .legal-page { padding: 105px 16px 50px; }
  .legal { padding: 24px 20px; }
  .service-grid,
  .home-service-grid { grid-template-columns: 1fr; }
  footer {
    display: grid;
    text-align: center;
  }
  footer div { justify-content: center; }
}

@media (max-width: 380px) {
  .brand img { width: 108px; }
  .hero {
    min-height: 520px;
    padding-bottom: 48px;
  }
  .hero h1 { font-size: 2.08rem; }
  .eyebrow { font-size: .86rem; }
  .btn {
    min-height: 48px;
    padding: 0 18px;
  }
}
