:root {
  --green-950: #102719;
  --green-900: #173a25;
  --green-850: #1d452a;
  --green-800: #245233;
  --green-700: #35643d;
  --green-500: #83a94c;
  --green-400: #a8c865;
  --cream: #f5f5ef;
  --white: #ffffff;
  --text: #203026;
  --muted: #66736a;
  --line: rgba(31, 58, 38, 0.14);
  --shadow: 0 22px 70px rgba(14, 39, 23, 0.14);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
}

.navbar {
  padding: 15px 0;
  transition: 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(250, 250, 245, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 35px rgba(12, 30, 18, 0.08);
}

.navbar-brand,
.footer-brand {
  color: var(--green-900);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--green-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--green-700);
}

.navbar-brand strong,
.footer-brand strong {
  display: block;
  font-size: 25px;
  letter-spacing: 0.17em;
  line-height: 0.95;
}

.navbar-brand small,
.footer-brand small {
  display: block;
  margin-top: 5px;
  color: var(--green-700);
  font-size: 9px;
  letter-spacing: 0.28em;
  font-weight: 800;
}

.nav-link {
  color: var(--green-900);
  font-size: 14px;
  font-weight: 600;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.nav-link:hover {
  color: var(--green-500);
}

.btn-garden {
  background: var(--green-900);
  color: #fff;
  border: 1px solid var(--green-900);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(23, 58, 37, 0.18);
}

.btn-garden:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-radius: 999px;
  font-weight: 700;
}

.title {
  min-height: 760px;
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(8, 27, 16, 0.86) 0%,
      rgba(8, 27, 16, 0.67) 37%,
      rgba(8, 27, 16, 0.18) 72%,
      rgba(8, 27, 16, 0.08) 100%
    ),
    url("../assets/titelbild.png") center center / cover no-repeat;
  color: #fff;
}

.title-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 65%,
    rgba(134, 169, 76, 0.13),
    transparent 32%
  );
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  color: var(--green-700);
}

.eyebrow {
  color: var(--green-400);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 36px;
  height: 1px;
  background: var(--green-400);
  display: inline-block;
}

.title h1 {
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  line-height: 0.92;
  margin: 18px 0 28px;
  font-weight: 800;
}

.title h1 em {
  color: var(--green-400);
  font-style: normal;
}

.title-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.7;
}

.title-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.title-trust i {
  color: var(--green-400);
  margin-right: 7px;
}

.scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 35px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

.scroll-hint i {
  font-size: 20px;
}

.section-light {
  background: var(--cream);
  padding: 110px 0;
}

.section-green {
  background: var(--green-950);
  color: #fff;
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
}

.section-heading h2,
.intro-section h2,
.process-section h2,
.cta-section h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
  margin: 12px 0 18px;
}

h2 span {
  color: var(--green-500);
}

.section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.section-kicker.light {
  color: var(--green-400);
}

.intro-section .lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--green-800);
}

.intro-section p:not(.lead) {
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
  border-bottom: 1px solid var(--green-500);
  padding-bottom: 4px;
  display: inline-flex;
  gap: 10px;
  margin-top: 8px;
}

.image-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  display: block;
}

.image-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  pointer-events: none;
}

.image-card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(16, 39, 25, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: 16px;
  color: #fff;
}

.image-card-badge strong {
  display: block;
  font-size: 15px;
}

.image-card-badge span {
  display: block;
  color: var(--green-400);
  font-size: 12px;
  margin-top: 3px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(168, 200, 101, 0.4);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--green-950);
  font-size: 24px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  max-width: 300px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 320px;
}

.service-number {
  position: absolute;
  right: 22px;
  bottom: 15px;
  color: rgba(168, 200, 101, 0.2);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.process-grid {
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 35px 30px;
  min-height: 235px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.step-icon {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-900);

  display: grid;
  place-items: center;
  margin-bottom: 25px;
}

.process-step h3 {
  font-size: 20px;
}

.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.gallery-section {
  background: var(--green-950);
  color: #fff;
}

.gallery-intro {
  min-height: 680px;
  background: var(--green-900);
  display: flex;
  align-items: center;
}

.gallery-intro-inner {
  padding: 70px clamp(30px, 7vw, 100px);
  max-width: 650px;
}

.gallery-intro h2 {
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  margin: 15px 0 25px;
}

.gallery-intro p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  min-height: 680px;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-large {
  grid-row: 1 / 3;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #294d31, #132d1d);
}

.gallery-placeholder div {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.gallery-placeholder i {
  display: block;
  font-size: 42px;
  color: var(--green-400);
  margin-bottom: 12px;
}

.gallery-placeholder span {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.values-section {
  padding-bottom: 80px;
}

.value-item {
  text-align: center;
  padding: 20px 10px;
}

.value-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--green-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.value-item h3 {
  font-size: 14px;
  line-height: 1.45;
  color: var(--green-900);
}

.cta-section {
  background: var(--cream);
  padding: 20px 0 110px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  background: var(--green-950);
  border-radius: 32px;
  padding: 70px clamp(30px, 6vw, 80px);
  color: #fff;
}

.cta-box:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(168, 200, 101, 0.12);
  border-radius: 50%;
  right: -150px;
  bottom: -250px;
}

.cta-section h2 {
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px 18px;
  transition: 0.2s;
}

.contact-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateX(3px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--green-950);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: 0 0 auto;
}

.contact-action small {
  display: block;
  color: var(--green-400);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-action strong {
  display: block;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.footer {
  background: #0b1c11;
  color: rgba(255, 255, 255, 0.58);
  padding: 70px 0 25px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-mark {
  border-color: var(--green-500);
  color: var(--green-400);
}

.footer-brand small {
  color: var(--green-400);
}

.footer-contact {
  display: grid;
  gap: 9px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-contact a:hover {
  color: var(--green-400);
}

.footer-contact i {
  color: var(--green-400);
  width: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 20px;
  font-size: 13px;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--green-950);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991.98px) {
  .navbar {
    background: rgba(250, 250, 245, 0.96);
    backdrop-filter: blur(12px);
  }

  .title {
    min-height: 720px;
    background-position: 58% center;
  }

  .title h1 {
    font-size: clamp(3.2rem, 10vw, 5.4rem);
  }

  .gallery-intro {
    min-height: auto;
  }

  .gallery-grid {
    min-height: 600px;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 767.98px) {
  .section-light,
  .section-green {
    padding: 75px 0;
  }

  .title {
    min-height: 720px;
    background-position: 65% center;
  }

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

  .title-trust {
    gap: 12px 18px;
  }

  .scroll-hint {
    display: none;
  }

  .image-card img {
    aspect-ratio: 1 / 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 380px 260px 220px;
    min-height: 0;
  }

  .gallery-large {
    grid-row: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-link {
    margin: 0 15px 0 0;
  }
}

@media (max-width: 480px) {
  .navbar-brand strong {
    font-size: 21px;
  }

  .navbar-brand small {
    font-size: 8px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .title h1 {
    font-size: 3rem;
  }

  .cta-box {
    padding: 45px 25px;
    border-radius: 24px;
  }
}

/* =========================================
   REFERENZEN
========================================= */

.references-section {
  padding: 110px 0;
}

/* Karten */

.reference-card {
  position: relative;

  width: 100%;
  min-height: 380px;

  padding: 38px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border-radius: 20px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.reference-card:hover {
  transform: translateY(-8px);

  border-color: rgba(155, 185, 90, 0.45);

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.025)
  );
}

/* Icon */

.reference-card .reference-icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 30px;

  border-radius: 50%;

  background: var(--green-500);

  color: var(--green-900);

  font-size: 22px;
}

/* Label */

.reference-label {
  margin-bottom: 12px;

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 0.16em;

  color: var(--green-500);
}

/* Überschrift */

.reference-card h3 {
  color: #fff;

  font-size: 1.8rem;

  line-height: 1.15;

  margin-bottom: 18px;
}

/* Text */

.reference-card p {
  max-width: 340px;

  color: rgba(255, 255, 255, 0.62);

  line-height: 1.75;

  margin-bottom: 25px;
}

/* Link */

.reference-link {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  width: fit-content;

  color: var(--green-500);

  font-weight: 700;

  text-decoration: none;

  border-bottom: 1px solid rgba(155, 185, 90, 0.55);

  padding-bottom: 5px;

  transition: 0.25s ease;
}

.reference-link:hover {
  gap: 15px;

  color: #fff;

  border-color: #fff;
}

/* Große Hintergrundnummer */

.reference-number {
  position: absolute;

  right: 22px;
  bottom: 10px;

  font-size: 6rem;

  font-weight: 900;

  line-height: 1;

  color: rgba(155, 185, 90, 0.12);

  pointer-events: none;

  user-select: none;
}

/* Unterer CTA */

.references-bottom {
  margin-top: 55px;
}

.references-bottom p {
  color: rgba(255, 255, 255, 0.65);

  margin-bottom: 18px;

  font-size: 1.05rem;
}

.references-bottom .btn {
  border-radius: 999px;

  font-weight: 700;
}

/* Mobile */

@media (max-width: 767.98px) {
  .references-section {
    padding: 80px 0;
  }

  .reference-card {
    min-height: 350px;

    padding: 30px;
  }

  .reference-card h3 {
    font-size: 1.6rem;
  }
}
