:root {
  --green: #66ad0b;
  --green-dark: #4d8e06;
  --black: #070908;
  --black-soft: #111410;
  --ink: #151816;
  --muted: #666b67;
  --line: #e1e4e0;
  --surface: #ffffff;
  --surface-soft: #f5f6f4;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 5px;
  --container: 1180px;
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #fff;
  background: var(--green);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 850px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
}

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

/* Header */
.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  color: #fff;
  background: var(--black);
  transition: background 180ms ease, box-shadow 180ms ease, height 180ms ease;
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.site-header.is-scrolled {
  position: fixed;
  height: 74px;
  background: rgba(5, 7, 5, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand__main {
  position: relative;
  display: inline-block;
  width: max-content;
  padding-left: 8px;
  font-size: 31px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand__main::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 3px;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #d8efae, var(--green));
}

.brand__sub {
  margin-top: 5px;
  padding-left: 1px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
}

.site-nav__link,
.site-nav__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 0;
  color: #fff;
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav__link::after,
.site-nav__button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--green);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__button:hover::after,
.site-nav__button:focus-visible::after,
.site-nav__item.is-active > .site-nav__link::after,
.site-nav__item.is-active > .site-nav__button::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  min-width: 275px;
  margin: 0;
  padding: 10px;
  transform: translate(-50%, 12px);
  visibility: hidden;
  opacity: 0;
  background: rgba(8, 10, 8, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  list-style: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-nav__item:hover .dropdown,
.site-nav__item:focus-within .dropdown,
.site-nav__item.dropdown-open .dropdown {
  transform: translate(-50%, 0);
  visibility: visible;
  opacity: 1;
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease, background 150ms ease, padding 150ms ease;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  padding-left: 17px;
  color: #fff;
  background: rgba(102, 173, 11, 0.18);
}

.dropdown a span:last-child {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 655px;
  overflow: hidden;
  color: #fff;
  background-color: #080a08;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #080a08;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transition: opacity 1100ms ease, transform 7000ms ease;
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0.72) 32%, rgba(0, 0, 0, 0.22) 63%, rgba(0, 0, 0, 0.12) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.hero > .container {
  position: relative;
  z-index: 3;
}

.hero__content {
  width: min(650px, 62vw);
  padding-top: 100px;
  padding-bottom: 65px;
}

.hero__title {
  margin: 0;
  font-size: clamp(42px, 5.1vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title .accent {
  color: var(--green);
}

.hero__text {
  max-width: 570px;
  margin: 38px 0 31px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.75;
}


.hero__controls {
  position: absolute;
  z-index: 4;
  right: max(28px, calc((100vw - var(--container)) / 2));
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__dot,
.hero__pause {
  appearance: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.58);
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
}

.hero__dot:hover,
.hero__dot:focus-visible,
.hero__dot.is-active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.12);
}

.hero__pause {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hero__pause:hover,
.hero__pause:focus-visible {
  background: rgba(102, 173, 11, 0.86);
  border-color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button--dark {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #242824;
  border-color: #242824;
}

.button--outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--black);
  background: #fff;
  border-color: #fff;
}

.button__arrow {
  font-size: 20px;
  font-weight: 400;
  line-height: 0;
}

/* Sections */
.section {
  padding: 74px 0;
}

.section--soft {
  background: var(--surface-soft);
}

.section--dark {
  color: #fff;
  background: var(--black);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading__eyebrow,
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.section-title {
  margin: 0;
  color: var(--black);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.section-heading h2::after,
.heading-rule::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--green);
}

.section-heading p {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eceeeb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.service-card__image {
  position: relative;
  aspect-ratio: 1.48 / 1;
  overflow: visible;
  background: #20231f;
}

.service-card__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25));
}

.service-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card__icon {
  position: absolute;
  z-index: 2;
  bottom: -31px;
  left: 19px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--green);
  background: #fff;
  border: 1px solid #eef0ec;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);
}

.service-card__icon svg {
  width: 31px;
  height: 31px;
}

.service-card__body {
  min-height: 104px;
  padding: 43px 20px 18px;
}

.service-card__body h3 {
  margin: 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.service-card__body p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Compact panorama statement */
.quality-split {
  position: relative;
  display: block;
  height: clamp(270px, 16vw, 310px);
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: var(--black);
  isolation: isolate;
}

/* Schmaler Panorama-Bereich: Das Bild liegt vollflächig im Hintergrund,
   während ein weicher Verlauf die Lesbarkeit links sicherstellt. */
.quality-split--compact {
  height: clamp(270px, 16vw, 310px);
}

.quality-split__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.quality-split__content h2 {
  max-width: 500px;
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 2.25vw, 38px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.quality-split__content p {
  max-width: 510px;
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  line-height: 1.5;
}

.quality-split__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  clip-path: none;
}

.quality-split__image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(4, 7, 5, 1) 0%,
      rgba(4, 7, 5, 0.97) 22%,
      rgba(4, 7, 5, 0.82) 38%,
      rgba(4, 7, 5, 0.38) 57%,
      rgba(4, 7, 5, 0.08) 78%,
      rgba(4, 7, 5, 0.02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.quality-split__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 56%;
}

/* References */
.reference-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reference-tile {
  position: relative;
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
  background: #1c1f1c;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.reference-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  transition: background 180ms ease;
}

.reference-tile:hover::after {
  background: rgba(0, 0, 0, 0);
}

.reference-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.reference-tile:hover img {
  transform: scale(1.04);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Stats */
.stats-band {
  color: #fff;
  background: linear-gradient(100deg, #070908, #131712);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 144px;
  padding: 24px 28px;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  right: 0;
  bottom: 29px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stat__icon {
  color: var(--green);
}

.stat__icon svg {
  width: 44px;
  height: 44px;
}

.stat__number {
  display: block;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 850;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stat__text {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

/* Interior page hero */
.page-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background-color: #0a0c0a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.91), rgba(0, 0, 0, 0.58) 52%, rgba(0, 0, 0, 0.2));
}

.page-hero__content {
  max-width: 830px;
  padding: 75px 0 72px;
}

.page-hero__eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(37px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-hero p {
  max-width: 760px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.7;
}

.breadcrumb {
  position: absolute;
  top: 17px;
  left: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  margin: 0 7px;
  color: var(--green);
}

/* General content layouts */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 58px;
  align-items: center;
}

.two-column--reverse .two-column__media {
  order: 2;
}

.two-column__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #1b1e1b;
  box-shadow: var(--shadow-strong);
}

.two-column__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 16px auto auto 16px;
  width: 74px;
  height: 74px;
  border-top: 3px solid var(--green);
  border-left: 3px solid var(--green);
}

.two-column__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-copy h2,
.content-copy h3 {
  margin: 0 0 18px;
  color: var(--black);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.content-copy h2 {
  font-size: clamp(30px, 3.4vw, 45px);
}

.content-copy h3 {
  font-size: 24px;
}

.content-copy p {
  margin: 0 0 17px;
  color: #4f5550;
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #343935;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.info-card {
  min-height: 215px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform 180ms ease, border-color 180ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 173, 11, 0.55);
}

.info-card__number {
  display: inline-grid;
  width: 45px;
  height: 45px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50%;
  font-weight: 850;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.35;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.quote-block {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 45px 70px;
  color: #fff;
  background: var(--black);
  border-left: 6px solid var(--green);
  box-shadow: var(--shadow-strong);
}

.quote-block::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 24px;
  color: rgba(102, 173, 11, 0.34);
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
}

.quote-block p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(22px, 2.5vw, 33px);
  font-weight: 750;
  line-height: 1.45;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: #dfe2dd;
  border: 1px solid #dfe2dd;
}

.fact {
  min-height: 145px;
  padding: 27px 22px;
  background: #fff;
}

.fact strong {
  display: block;
  color: var(--green);
  font-size: 31px;
  font-weight: 900;
  line-height: 1.15;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: #3f443f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-transform: uppercase;
}

.cta-band {
  color: #fff;
  background: linear-gradient(110deg, #090b09 0%, #171b15 65%, #27351b 100%);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 55px 0;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.2;
}

.cta-band p {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

/* Reference gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  color: #fff;
  background: #1b1f1b;
  box-shadow: var(--shadow);
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6) {
  grid-column: span 2;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card__caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
}

.gallery-card__caption span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-card__caption h3 {
  margin: 4px 0 0;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.25;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-form h2 {
  margin: 0 0 22px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
}

.contact-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-item:first-of-type {
  border-top: 0;
}

.contact-item__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: 50%;
}

.contact-item__icon svg {
  width: 21px;
  height: 21px;
}

.contact-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 3px;
  color: var(--black);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.contact-item a:hover {
  color: var(--green-dark);
}

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

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

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #383d38;
  font-size: 13px;
  font-weight: 750;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  color: #1d211d;
  background: #fbfcfa;
  border: 1px solid #cfd3cd;
  border-radius: 0;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
  min-height: 155px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(102, 173, 11, 0.13);
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 17px 0;
  color: var(--muted);
  font-size: 13px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Legal */
.legal {
  padding: 70px 0 90px;
}

.legal h2 {
  margin: 38px 0 10px;
  font-size: 25px;
  font-weight: 850;
}

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

.legal h3 {
  margin: 25px 0 8px;
  font-size: 19px;
}

.legal p,
.legal li {
  color: #4b514c;
}

.legal a {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal-notice {
  margin-bottom: 30px;
  padding: 18px 20px;
  background: #f0f5e9;
  border-left: 4px solid var(--green);
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #050705;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 50px;
  padding: 60px 0 42px;
}

.footer-brand {
  margin-bottom: 20px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 480px;
  margin: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 7px;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--green);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 19px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1040px) {
  :root {
    --header-height: 82px;
  }

  .site-nav__list {
    gap: 24px;
  }

  .hero {
    min-height: 600px;
  }

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

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

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .two-column {
    gap: 38px;
  }

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

  .info-card {
    min-height: 0;
  }
}

@media (max-width: 840px) {
  .container,
  .narrow {
    width: min(calc(100% - 36px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: block;
    padding: 20px 24px 40px;
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    color: #fff;
    background: rgba(5, 7, 5, 0.99);
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-header.is-scrolled .site-nav {
    top: 74px;
  }

  .nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__list {
    display: block;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav__link,
  .site-nav__button {
    position: relative;
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 16px;
  }

  .site-nav__link::after,
  .site-nav__button::after {
    display: none;
  }

  .dropdown {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 0 0 12px;
    transform: none;
    visibility: visible;
    overflow: hidden;
    opacity: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .site-nav__item.dropdown-open .dropdown {
    max-height: 520px;
    padding-bottom: 13px;
    transform: none;
  }

  .site-nav__item:hover .dropdown:not(:focus-within) {
    transform: none;
  }

  .dropdown a {
    padding: 10px 7px;
  }

  .hero {
    min-height: 690px;
    background-position: 63% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0.74) 62%, rgba(0, 0, 0, 0.4));
  }

  .hero__content {
    width: min(620px, 90vw);
    padding-top: 120px;
  }

  .hero__slide {
    background-position: 63% center;
  }

  .hero__controls {
    right: 24px;
    bottom: 24px;
  }

  .quality-split,
  .quality-split--compact {
    height: 330px;
  }

  .quality-split__content {
    width: min(100% - 48px, 620px);
    min-height: 0;
    padding: 0;
  }

  .quality-split__content h2 {
    max-width: 430px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .quality-split__content p {
    max-width: 430px;
  }

  .quality-split__image {
    height: 100%;
    min-height: 0;
    margin: 0;
    clip-path: none;
  }

  .quality-split__image::after {
    background: linear-gradient(90deg,
      rgba(4, 7, 5, 0.98) 0%,
      rgba(4, 7, 5, 0.92) 50%,
      rgba(4, 7, 5, 0.46) 100%);
  }

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

  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-column--reverse .two-column__media {
    order: 0;
  }

  .two-column__media {
    min-height: 390px;
  }

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

  .cta-band__inner {
    display: block;
  }

  .cta-band .button {
    margin-top: 25px;
  }

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

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(6) {
    grid-column: auto;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 590px) {
  :root {
    --header-height: 74px;
  }

  body {
    font-size: 15px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    min-width: 150px;
  }

  .brand__main {
    font-size: 25px;
  }

  .brand__sub {
    font-size: 8.5px;
  }

  .site-nav {
    inset: 74px 0 0;
  }

  .hero {
    min-height: 630px;
  }

  .hero__content {
    width: 100%;
    padding-top: 105px;
    padding-bottom: 50px;
  }

  .hero__title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero__text {
    margin-top: 26px;
    font-size: 16px;
  }

  .hero__controls {
    right: 14px;
    bottom: 16px;
    gap: 10px;
  }

  .hero__dots {
    gap: 6px;
  }

  .hero__dot {
    width: 9px;
    height: 9px;
  }

  .hero__pause {
    width: 29px;
    height: 29px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .reference-strip,
  .stats-grid,
  .fact-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card__image {
    aspect-ratio: 1.55 / 1;
  }

  .stat {
    min-height: 126px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stat::after {
    display: none;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .reference-tile {
    aspect-ratio: 1.45 / 1;
  }

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

  .page-hero__content {
    padding: 65px 0 53px;
  }

  .breadcrumb {
    top: 12px;
  }

  .two-column__media {
    min-height: 300px;
  }

  .quote-block {
    padding: 40px 25px 40px 36px;
  }

  .gallery-card {
    min-height: 265px;
  }

  .contact-panel,
  .contact-form {
    padding: 25px 20px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .site-footer__top > :first-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    display: block;
  }

  .site-footer__legal {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transform: none;
    transition: opacity 250ms linear;
  }
}
