:root {
  --green-900: #071f18;
  --green-800: #0f3d2e;
  --green-500: #66785f;
  --green-300: #8faf9a;
  --bg: #f7f5ef;
  --sage: #e8efe6;
  --cream: #fffdf7;
  --text: #10201a;
  --muted: #5e6b61;
  --subtle: #7a857c;
  --white: #ffffff;
  --border: rgba(15, 61, 46, 0.14);
  --shadow: 0 24px 70px rgba(7, 31, 24, 0.12);
  --soft-shadow: 0 14px 38px rgba(7, 31, 24, 0.08);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-height: 64px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  color: var(--bg);
  background: var(--green-800);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--bg);
  background: var(--green-900);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: linear-gradient(to bottom, rgba(7, 31, 24, 0.62), rgba(7, 31, 24, 0));
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 31, 24, 0.97);
  border-bottom-color: rgba(255, 253, 247, 0.14);
  box-shadow: 0 16px 40px rgba(7, 31, 24, 0.3);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: min-height 220ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  color: var(--cream);
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: var(--green-900);
  background: var(--cream);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  border: 1px solid rgba(255, 253, 247, 0.36);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: rgba(255, 253, 247, 0.74);
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav a,
.nav-service > a {
  padding-block: 16px;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.nav-service:focus-within > a,
.nav-service:hover > a {
  color: var(--cream);
}

.nav-service {
  position: relative;
}

.service-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -24px;
  width: 280px;
  padding: 16px;
  background: var(--cream);
  color: var(--green-900);
  border: 1px solid rgba(7, 31, 24, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 42px rgba(7, 31, 24, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.service-menu a {
  display: block;
  padding: 12px;
  border-radius: 10px;
}

.service-menu a:hover,
.service-menu a:focus-visible {
  background: var(--sage);
}

.nav-service:hover .service-menu,
.nav-service:focus-within .service-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .desktop-cta {
  margin-left: 4px;
  color: var(--green-900);
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: none;
}

.site-header .desktop-cta:hover,
.site-header .desktop-cta:focus-visible {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 253, 247, 0.26);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--cream);
  border-radius: 4px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: grid;
  gap: 4px;
  padding: var(--space-16) var(--space-24) var(--space-32);
  background: rgba(7, 31, 24, 0.98);
  border-bottom: 1px solid rgba(255, 253, 247, 0.12);
  box-shadow: 0 18px 46px rgba(7, 31, 24, 0.28);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a:not(.button) {
  padding: var(--space-16) var(--space-4);
  color: rgba(255, 253, 247, 0.84);
  font-weight: 750;
  border-bottom: 1px solid rgba(255, 253, 247, 0.12);
}

.mobile-nav a:not(.button):hover,
.mobile-nav a:not(.button):focus-visible {
  color: var(--cream);
}

.mobile-nav .button {
  color: var(--green-900);
  background: var(--cream);
  border-color: var(--cream);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-12) var(--space-24);
  border: 1px solid var(--green-800);
  border-radius: 999px;
  color: var(--bg);
  background: var(--green-800);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 12px 22px rgba(15, 61, 46, 0.16);
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 61, 46, 0.2);
}

.button-small {
  min-height: 42px;
  padding: var(--space-12) var(--space-16);
  font-size: 14px;
}

.button-secondary {
  color: var(--green-800);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--green-900);
  background: var(--sage);
}

.button-dark {
  color: var(--green-800);
  background: var(--bg);
  border-color: var(--bg);
  box-shadow: none;
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--white);
}

.button-ghost-dark {
  color: var(--bg);
  background: transparent;
  border-color: rgba(247, 245, 239, 0.62);
  box-shadow: none;
}

.button-ghost-dark:hover,
.button-ghost-dark:focus-visible {
  color: var(--green-900);
  background: var(--bg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  align-items: center;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --hero-stage-height: clamp(568px, calc(100svh - var(--header-height) - 64px), 620px);
  min-height: 100svh;
  margin-top: calc(-1 * var(--header-height));
  padding: 0 0 64px;
  background: var(--green-900);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/images/hero-privatgarten-terrasse.png") center 55% / cover no-repeat;
  filter: none;
  opacity: 1;
  transform: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 31, 24, 0.93) 0%, rgba(7, 31, 24, 0.84) 40%, rgba(7, 31, 24, 0.42) 70%, rgba(7, 31, 24, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 31, 24, 0.34) 0%, rgba(7, 31, 24, 0.16) 42%, rgba(7, 31, 24, 0.76) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  padding-top: calc(var(--header-height) + 24px);
}

.hero-stage {
  position: relative;
  min-height: var(--hero-stage-height);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.hero-stage::before,
.hero-stage::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: var(--hero-stage-height);
  max-width: 780px;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 96px;
  color: rgba(255, 253, 247, 0.92);
}

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

h1,
h2,
h3 {
  color: var(--green-900);
  font-weight: 850;
  line-height: 1.04;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 46px;
}

h3 {
  font-size: 25px;
}

.hero-kicker {
  margin-bottom: var(--space-16);
  color: var(--green-300);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  max-width: 780px;
  color: var(--white);
  font-size: 74px;
  line-height: 0.94;
  text-shadow: 0 5px 34px rgba(0, 0, 0, 0.42);
}

.hero-subline {
  margin-top: var(--space-16);
  max-width: 600px;
  color: rgba(255, 253, 247, 0.93);
  font-size: 20px;
  line-height: 1.58;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.hero .button-row {
  margin-top: 24px;
}

.hero .button {
  color: var(--green-900);
  background: var(--cream);
  border-color: rgba(255, 253, 247, 0.88);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.hero .button:hover,
.hero .button:focus-visible {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--white);
}

.hero .button-secondary {
  color: var(--cream);
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.56);
  box-shadow: none;
}

.hero .button-secondary:hover,
.hero .button-secondary:focus-visible {
  color: var(--green-900);
  background: var(--cream);
  border-color: var(--cream);
}

.microcopy {
  margin-top: var(--space-12);
  color: rgba(255, 253, 247, 0.82);
  font-size: 15px;
}

.trust-list {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  color: var(--cream);
  font-size: 16px;
  font-weight: 750;
}

.trust-list li::before,
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(143, 175, 154, 0.2);
}

.quick-inquiry {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 96px), 1040px);
  margin: -32px auto 0;
}

.inquiry-card,
.contact-form {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
}

.inquiry-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(190px, 0.9fr);
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-24);
  color: var(--cream);
  background: rgba(7, 31, 24, 0.46);
  border-color: rgba(255, 253, 247, 0.24);
  box-shadow: 0 24px 64px rgba(7, 31, 24, 0.22);
  backdrop-filter: blur(16px) saturate(1.05);
}

/* Der Button rechts spannt beide Feldreihen und ist der prominente CTA;
   die fünf Felder fließen als 2x3-Raster davor. */
.inquiry-card .wide-field {
  grid-column: span 2;
}

.inquiry-card .button {
  grid-column: 4;
  grid-row: 1 / 3;
  align-self: stretch;
}

.inquiry-card input {
  min-height: 48px;
  padding: 12px 16px;
  color: var(--cream);
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.inquiry-card input::placeholder {
  color: rgba(255, 253, 247, 0.72);
}

.inquiry-card .button {
  min-height: 48px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  color: var(--green-900);
  background: var(--cream);
  border-color: rgba(255, 253, 247, 0.86);
  box-shadow: 0 14px 26px rgba(7, 31, 24, 0.18);
  font-size: 16px;
  font-weight: 800;
}

.inquiry-card .button:hover,
.inquiry-card .button:focus-visible {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--white);
}

.form-note,
.small-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

label {
  display: grid;
  gap: 0;
  min-width: 0;
  color: var(--green-900);
  font-size: 14px;
  font-weight: 750;
}

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(15, 61, 46, 0.17);
  border-radius: 14px;
  background: var(--white);
  color: var(--text);
  padding: var(--space-12) var(--space-16);
  font-size: 16px;
  line-height: 1.3;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(94, 107, 97, 0.74);
  font-size: 15px;
  font-weight: 620;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: rgba(94, 107, 97, 0.45);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-800) 50%),
    linear-gradient(135deg, var(--green-800) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green-800);
  box-shadow: 0 0 0 4px rgba(143, 175, 154, 0.24);
}

.form-status {
  grid-column: 1 / -1;
  padding: var(--space-12) var(--space-16);
  color: var(--green-900);
  background: var(--sage);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
}

.section {
  padding: 96px 0;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading p:not(.section-label) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.section-label {
  margin-bottom: 12px;
  color: var(--green-500);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.audience-section,
.process-section {
  background: var(--sage);
}

.audience-section {
  margin-top: 0;
  padding-top: 96px;
  padding-bottom: 96px;
}

.services-section {
  padding-top: 96px;
}

.audience-grid {
  display: flex;
  gap: var(--space-24);
  align-items: stretch;
}

.audience-card,
.service-card,
.review-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.audience-card {
  position: relative;
  flex: 1 1 0;
  min-height: 520px;
  cursor: pointer;
  isolation: isolate;
  contain: layout paint;
  transition:
    flex-grow 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: flex-grow, transform, opacity;
}

.audience-grid.is-hover-first .audience-card:first-child,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child {
  flex-grow: 1.24;
}

.audience-grid.is-hover-second .audience-card:nth-child(2),
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) {
  flex-grow: 1.24;
}

.audience-grid.is-hover-first .audience-card:not(:first-child),
.audience-grid.is-hover-second .audience-card:not(:nth-child(2)),
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:first-child),
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:nth-child(2)) {
  flex-grow: 0.76;
  opacity: 0.8;
}

.audience-grid.is-hover-first .audience-card:first-child,
.audience-grid.is-hover-second .audience-card:nth-child(2),
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) {
  box-shadow: 0 18px 52px rgba(7, 31, 24, 0.12);
  transform: translateY(-1px);
}

.audience-card:focus-visible {
  outline: 3px solid rgba(143, 175, 154, 0.8);
  outline-offset: 5px;
}

.audience-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: var(--sage);
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition:
    filter 360ms ease,
    object-position 460ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.audience-grid.is-hover-first .audience-card:first-child img,
.audience-grid.is-hover-second .audience-card:nth-child(2) img,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child img,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) img {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.02);
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(7, 31, 24, 0.04) 0%, rgba(7, 31, 24, 0.12) 58%, rgba(7, 31, 24, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 31, 24, 0.24), transparent 54%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
}

.audience-grid.is-hover-first .audience-card:first-child::after,
.audience-grid.is-hover-second .audience-card:nth-child(2)::after,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child::after,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2)::after {
  opacity: 1;
}

.audience-grid.is-hover-first .audience-card:not(:first-child) img,
.audience-grid.is-hover-second .audience-card:not(:nth-child(2)) img,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:first-child) img,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:nth-child(2)) img {
  filter: saturate(0.94) brightness(0.96);
}

.audience-card > div {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: 53%;
  padding: var(--space-24);
  background: rgba(255, 253, 247, 0.94);
  border-left: 1px solid rgba(15, 61, 46, 0.08);
  transition:
    inset 460ms cubic-bezier(0.22, 1, 0.36, 1),
    width 460ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width, transform;
}

.audience-grid.is-hover-first .audience-card:first-child > div,
.audience-grid.is-hover-second .audience-card:nth-child(2) > div,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child > div,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) > div {
  inset: 10px 18px 10px auto;
  width: 48%;
  max-height: none;
  overflow: auto;
  padding: var(--space-24);
  background: rgba(7, 31, 24, 0.46);
  border: 1px solid rgba(255, 253, 247, 0.24);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(7, 31, 24, 0.1);
  backdrop-filter: none;
  transform: translateY(0);
}

.audience-card p {
  margin-top: var(--space-12);
  color: var(--muted);
}

.audience-grid.is-hover-first .audience-card:first-child p,
.audience-grid.is-hover-second .audience-card:nth-child(2) p,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child p,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) p {
  margin-top: 12px;
  color: rgba(255, 253, 247, 0.88);
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.audience-grid.is-hover-first .audience-card:first-child h3,
.audience-grid.is-hover-second .audience-card:nth-child(2) h3,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child h3,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) h3 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.audience-grid.is-hover-first .audience-card:first-child .check-list li,
.audience-grid.is-hover-second .audience-card:nth-child(2) .check-list li,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child .check-list li,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) .check-list li {
  color: rgba(255, 253, 247, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.26);
}

.audience-grid.is-hover-first .audience-card:first-child .check-list li::before,
.audience-grid.is-hover-second .audience-card:nth-child(2) .check-list li::before,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child .check-list li::before,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) .check-list li::before {
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(255, 253, 247, 0.16);
}

.audience-grid.is-hover-first .audience-card:first-child .check-list,
.audience-grid.is-hover-second .audience-card:nth-child(2) .check-list,
.audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child .check-list,
.audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) .check-list {
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.check-list {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.check-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-12);
  color: var(--text);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.card-content {
  padding: 24px;
}

.card-icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  margin-bottom: 16px;
  background: var(--sage);
  border-radius: 12px;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: var(--space-16);
  color: var(--text);
  font-size: 15px;
}

.service-card li {
  position: relative;
  padding-left: 16px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-300);
}

.section-cta {
  margin-top: var(--space-32);
}

.projects-section,
.career-section,
.site-footer {
  color: var(--bg);
  background: var(--green-800);
}

.projects-section h2,
.projects-section h3,
.career-section h2,
.career-section h3,
.site-footer h2 {
  color: var(--bg);
}

.projects-section .section-label,
.career-section .section-label {
  color: var(--green-300);
}

.projects-section .section-heading p:not(.section-label),
.career-section p,
.site-footer p {
  color: rgba(247, 245, 239, 0.78);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-24);
}

.project-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green-900);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: var(--bg);
  background: linear-gradient(to top, rgba(7, 31, 24, 0.92), rgba(7, 31, 24, 0.42), transparent);
}

.project-overlay p {
  margin-top: var(--space-8);
  color: rgba(247, 245, 239, 0.82);
  font-size: 15px;
}

.project-overlay ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-overlay li {
  padding: var(--space-4) var(--space-12);
  color: var(--green-900);
  background: rgba(247, 245, 239, 0.9);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.reviews-layout .section-heading {
  margin-bottom: var(--space-24);
}

.review-carousel {
  min-width: 0;
}

.review-submit-actions {
  margin-top: 24px;
}

.review-submit-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: var(--space-32) 0 var(--space-8);
  padding: 24px;
  color: var(--green-900);
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(15, 61, 46, 0.13);
  border-radius: var(--radius-md);
}

.review-submit-panel[hidden] {
  display: none;
}

.review-submit-copy h3 {
  margin: 0 0 var(--space-12);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1;
}

.review-submit-copy p {
  margin: 0;
  color: var(--muted);
}

.review-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.review-text-field,
.review-form .form-status {
  grid-column: 1 / -1;
}

.review-form textarea {
  min-height: 110px;
}

.review-form .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.review-viewport {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: var(--space-24) 0 var(--space-24);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.review-track {
  position: relative;
  height: 370px;
  max-width: 1440px;
  margin-inline: auto;
  cursor: grab;
  user-select: none;
}

.review-track.is-dragging {
  cursor: grabbing;
}

.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100vw - 72px));
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.74);
  transform-origin: center;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    border-color 240ms ease;
  will-change: transform, opacity;
}

.review-card.is-prev {
  z-index: 2;
  opacity: 0.34;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(calc(-50% - 300px), -50%) scale(0.86);
}

.review-card.is-next {
  z-index: 2;
  opacity: 0.34;
  pointer-events: auto;
  cursor: pointer;
  transform: translate(calc(-50% + 300px), -50%) scale(0.86);
}

.review-card.is-far-prev {
  z-index: 1;
  opacity: 0.08;
  transform: translate(calc(-50% - 520px), -50%) scale(0.72);
}

.review-card.is-far-next {
  z-index: 1;
  opacity: 0.08;
  transform: translate(calc(-50% + 520px), -50%) scale(0.72);
}

.review-card.is-active {
  z-index: 4;
  border-color: rgba(15, 61, 46, 0.32);
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.stars {
  color: var(--green-800);
  font-size: 20px;
  letter-spacing: 1px;
}

.review-card p {
  margin: var(--space-24) 0;
  color: var(--text);
}

.review-card strong {
  color: var(--green-900);
}

.review-card span {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 14px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: var(--space-8);
}

.carousel-controls > button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--green-800);
  background: var(--cream);
  font-size: 26px;
  line-height: 1;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 61, 46, 0.2);
}

.carousel-dots button[aria-current="true"] {
  background: var(--green-800);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-16);
  counter-reset: process;
}

.process-list li {
  position: relative;
  display: grid;
  gap: var(--space-12);
  align-content: start;
  min-height: 250px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  counter-increment: process;
}

.process-list li::before {
  content: "0" counter(process);
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(15, 61, 46, 0.18);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.process-list img {
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--sage);
  border-radius: 12px;
}

.process-list strong {
  color: var(--green-900);
  font-size: 18px;
  line-height: 1.2;
}

.process-list span {
  color: var(--muted);
  font-size: 15px;
}

.career-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: var(--space-48);
  align-items: center;
}

.career-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.career-eyebrow .section-label {
  margin-bottom: 0;
}

.career-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  color: rgba(247, 245, 239, 0.85);
  font-size: 13px;
  font-weight: 750;
  border: 1px solid rgba(247, 245, 239, 0.3);
  border-radius: 999px;
}

.career-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(143, 175, 154, 0.2);
}

.career-copy h2 {
  margin-top: var(--space-16);
}

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

.career-copy p {
  margin-top: var(--space-16);
  max-width: 54ch;
}

.career-copy .button-row {
  margin-top: var(--space-32);
}

.career-media {
  position: relative;
}

.career-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(7, 31, 24, 0.28);
}

.career-badge {
  position: absolute;
  top: var(--space-16);
  left: var(--space-16);
  padding: var(--space-12) var(--space-16);
  background: var(--cream);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.career-badge-label {
  display: block;
  margin-bottom: 2px;
  color: var(--green-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-badge strong {
  color: var(--green-900);
  font-size: 15px;
}

.career-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16) var(--space-24);
  margin-top: var(--space-48);
  padding-top: var(--space-32);
  border-top: 1px solid rgba(247, 245, 239, 0.16);
}

.career-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  color: rgba(247, 245, 239, 0.92);
  font-size: 15px;
  line-height: 1.45;
}

.point-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--sage);
  border-radius: 12px;
}

.point-icon img {
  width: 22px;
  height: 22px;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.96), rgba(232, 239, 230, 0.86)),
    var(--sage);
}

.contact-shell {
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.quality-strip {
  --qpad: var(--space-32);
  padding: var(--qpad);
}

.quality-intro {
  max-width: 760px;
}

.quality-strip h2 {
  max-width: 740px;
  font-size: 38px;
}

.quality-strip p:not(.section-label) {
  max-width: 690px;
  margin-top: 12px;
  color: var(--muted);
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-inline: calc(-1 * var(--qpad));
  padding-top: 32px;
  padding-inline: var(--qpad);
  border-top: 1px solid var(--border);
}

.trust-pillars li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.trust-pillars .trust-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  background: var(--sage);
  border-radius: 12px;
}

.trust-pillars .trust-icon img {
  width: 24px;
  height: 24px;
}

.trust-pillars strong {
  color: var(--green-900);
  font-size: 16px;
}

.trust-pillars .trust-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: stretch;
  padding: 32px;
  border-top: 1px solid var(--border);
}

.contact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.contact-copy h2 {
  max-width: 520px;
  font-size: 42px;
}

.contact-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.contact-methods {
  display: grid;
  gap: var(--space-12);
  margin-top: 24px;
}

.contact-methods p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-900);
  font-weight: 800;
}

.contact-methods img {
  width: 22px;
  height: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
  padding: 24px;
  border-radius: 22px;
  background: var(--bg);
  box-shadow: none;
}

.contact-form .wide-field,
.contact-form .form-note,
.contact-form .form-status {
  grid-column: 1 / -1;
}

.contact-form .button {
  min-height: 52px;
}

.site-footer {
  padding: var(--space-64) 0 var(--space-48);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 0.7fr));
  gap: 32px;
}

.footer-brand {
  color: var(--bg);
}

.footer-brand .brand-mark {
  color: var(--green-900);
  background: var(--bg);
}

.site-footer p {
  margin-top: var(--space-16);
}

.site-footer .button {
  margin-top: 24px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 16px;
}

.site-footer a:not(.brand):not(.button) {
  display: block;
  margin-top: var(--space-12);
  color: rgba(247, 245, 239, 0.76);
  font-size: 15px;
}

.site-footer a:not(.brand):not(.button):hover,
.site-footer a:not(.brand):not(.button):focus-visible {
  color: var(--bg);
}

@media (max-width: 1120px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-copy {
    max-width: 680px;
    padding-right: 42px;
  }

  .hero h1 {
    font-size: 66px;
  }

  .audience-grid.is-hover-first .audience-card:first-child,
  .audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child {
    flex-grow: 1.14;
  }

  .audience-grid.is-hover-second .audience-card:nth-child(2),
  .audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) {
    flex-grow: 1.14;
  }

  .audience-grid.is-hover-first .audience-card:not(:first-child),
  .audience-grid.is-hover-second .audience-card:not(:nth-child(2)),
  .audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:first-child),
  .audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:not(:nth-child(2)) {
    flex-grow: 0.86;
  }

  .audience-card {
    min-height: 500px;
  }

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

  .inquiry-card .wide-field,
  .inquiry-card .button {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .audience-card img {
    object-position: center;
  }

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

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

  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .review-submit-panel {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 16px;
  }

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

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 0 0 80px;
  }

  .hero-stage {
    height: auto;
    min-height: 620px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 31, 24, 0.9) 0%, rgba(7, 31, 24, 0.74) 52%, rgba(7, 31, 24, 0.76) 100%);
  }

  .hero-shell {
    padding-top: var(--header-height);
  }

  .hero-copy {
    height: auto;
    min-height: 620px;
    max-width: none;
    justify-content: flex-end;
    padding: 32px 24px 88px;
    transform: none;
  }

  .hero h1,
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-subline,
  .section-heading p:not(.section-label),
  .contact-copy > p {
    font-size: 16px;
  }

  .button-row,
  .hero .button-row {
    margin-top: 24px;
  }

  .trust-list {
    display: grid;
    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .desktop-nav .button,
  .site-footer .button,
  .section-cta {
    width: auto;
  }

  .career-media img {
    border-radius: 24px;
  }

  .career-points {
    grid-template-columns: 1fr;
    margin-top: var(--space-32);
  }

  .leaf-motif {
    width: 240px;
  }

  .career-section .leaf-motif {
    right: -40px;
    bottom: -56px;
  }

  .projects-section .leaf-motif {
    left: -48px;
    top: -48px;
  }


  .quick-inquiry {
    width: calc(100% - 32px);
    margin: -64px auto 0;
  }

  .inquiry-card,
  .contact-form {
    grid-template-columns: 1fr;
    padding: var(--space-24);
    border-radius: 22px;
  }

  .contact-shell {
    border-radius: 26px;
  }

  .contact-grid {
    padding: var(--space-24);
  }

  .contact-copy h2 {
    font-size: 34px;
  }

  .inquiry-card {
    gap: 12px;
    padding: 16px;
  }

  .inquiry-card input,
  .inquiry-card .button {
    min-height: 48px;
  }

  .section {
    padding: var(--space-64) 0;
  }

  .audience-section {
    margin-top: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .services-section {
    padding-top: 64px;
  }

  .section-heading {
    margin-bottom: var(--space-32);
  }

  .audience-grid,
  .service-grid,
  .project-grid,
  .process-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    display: grid;
  }

  .audience-grid.is-hover-first,
  .audience-grid.is-hover-second,
  .audience-grid.is-first-active,
  .audience-grid.is-second-active {
    grid-template-columns: 1fr;
  }

  .audience-card {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    flex: none;
  }

  .audience-card img {
    aspect-ratio: 4 / 3;
    position: static;
    inset: auto;
    height: auto;
    object-fit: cover;
    transform: none;
  }

  .audience-card:hover img,
  .audience-card:focus-visible img,
  .audience-grid.is-hover-first .audience-card:first-child img,
  .audience-grid.is-hover-second .audience-card:nth-child(2) img,
  .audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child img,
  .audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) img {
    position: static;
    inset: auto;
    height: auto;
    transform: none;
  }

  .audience-card > div,
  .card-content {
    position: relative;
    inset: auto;
    z-index: 1;
    width: auto;
    padding: var(--space-24);
    background: var(--cream);
    border-left: 0;
  }

  .audience-card:hover > div,
  .audience-card:focus-visible > div,
  .audience-grid.is-hover-first .audience-card:first-child > div,
  .audience-grid.is-hover-second .audience-card:nth-child(2) > div,
  .audience-grid.is-first-active:not(.is-hover-first):not(.is-hover-second) .audience-card:first-child > div,
  .audience-grid.is-second-active:not(.is-hover-first):not(.is-hover-second) .audience-card:nth-child(2) > div {
    width: auto;
    max-height: none;
    overflow: visible;
    margin: 0;
    padding: var(--space-24);
    background: var(--cream);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .review-viewport {
    margin-inline: calc(50% - 50vw);
    padding-block: var(--space-16);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }

  .review-track {
    height: 372px;
  }

  .review-card {
    width: calc(100vw - 72px);
    min-height: 330px;
    padding: 24px;
  }

  .review-card.is-prev {
    opacity: 0.18;
    transform: translate(calc(-50% - 228px), -50%) scale(0.9);
  }

  .review-card.is-next {
    opacity: 0.18;
    transform: translate(calc(-50% + 228px), -50%) scale(0.9);
  }

  .review-card.is-far-prev,
  .review-card.is-far-next {
    opacity: 0;
  }

  .review-card.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .review-submit-actions {
    margin-top: var(--space-24);
  }

  .review-submit-panel {
    padding: var(--space-24);
    border-radius: 22px;
  }

  .review-form {
    grid-template-columns: 1fr;
  }

  .review-form .button {
    justify-self: stretch;
  }

  .quality-strip {
    --qpad: var(--space-24);
  }

  .quality-strip h2 {
    font-size: 31px;
  }

  .project-card,
  .project-card img {
    min-height: 380px;
  }

  .process-list li {
    min-height: auto;
  }

  .contact-form .form-note,
  .contact-form .button,
  .contact-form .form-status {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  h1 {
    font-size: 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-subline {
    line-height: 1.55;
  }

  .brand span:last-child {
    max-width: 142px;
    white-space: normal;
    line-height: 1.05;
  }

  .project-card,
  .project-card img {
    min-height: 340px;
  }

  .project-overlay {
    padding: var(--space-16);
  }

  .trust-pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: var(--space-24);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ===========================================================
   Motion (Schritt 1): Hero-Zoom + Scroll-Reveal
   Alle Bewegungen sind hinter prefers-reduced-motion gekapselt.
   Der versteckte Ausgangszustand greift nur, wenn JS aktiv ist
   (.js-reveal auf <html>) und Bewegung erlaubt ist.
   =========================================================== */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: hero-zoom 20s ease-out both;
  }

  .js-reveal
    :where(
      .section-heading,
      .audience-grid,
      .service-grid > .service-card,
      .project-grid > .project-card,
      .review-carousel,
      .process-list > li,
      .career-copy,
      .career-media,
      .career-points > li,
      .contact-shell,
      .footer-grid > div
    ) {
    opacity: 0;
  }

  .js-reveal
    :where(
      .section-heading,
      .audience-grid,
      .service-grid > .service-card,
      .project-grid > .project-card,
      .review-carousel,
      .process-list > li,
      .career-copy,
      .career-media,
      .career-points > li,
      .contact-shell,
      .footer-grid > div
    ).is-visible {
    animation: reveal-up 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }

  .js-reveal .reveal-done {
    animation: none;
    opacity: 1;
  }
}

/* ===========================================================
   Designakzente: Draw-in-Linie unter Section-Labels (Signature)
   und botanisches Hintergrund-Motiv im Karrierebereich.
   =========================================================== */

.section-heading .section-label::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: var(--space-8);
  border-radius: 2px;
  background: var(--green-300);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
}

.js-reveal .section-heading:not(.is-visible) .section-label::after {
  transform: scaleX(0);
}

.career-section,
.projects-section {
  position: relative;
  overflow: hidden;
}

.career-section > .container,
.projects-section > .container {
  position: relative;
  z-index: 1;
}

.leaf-motif {
  position: absolute;
  width: 460px;
  height: auto;
  z-index: 0;
  color: var(--green-300);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.07;
  pointer-events: none;
}

.career-section .leaf-motif {
  right: -56px;
  bottom: -80px;
  transform: rotate(-10deg);
}

.projects-section .leaf-motif {
  left: -72px;
  top: -76px;
  opacity: 0.06;
  transform: rotate(164deg);
}

/* ===========================================================
   CTA-Pfeil: gleitet beim Hover/Fokus in den Button hinein.
   =========================================================== */

.button::after {
  content: "→";
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  line-height: 1;
  transform: translateX(-2px);
  transition:
    max-width 240ms ease,
    margin-left 240ms ease,
    opacity 240ms ease,
    transform 240ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  max-width: 1.5em;
  margin-left: var(--space-8);
  opacity: 1;
  transform: translateX(0);
}

/* ===========================================================
   Hero-Eingangsanimation: Inhalt fließt beim Laden gestaffelt
   ein (Stichpunkte einzeln), die Anfragekarte zuletzt.
   =========================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .hero-copy > .hero-kicker,
  .js-reveal .hero-copy > h1,
  .js-reveal .hero-copy > .hero-subline,
  .js-reveal .hero-copy > .button-row,
  .js-reveal .hero-copy > .microcopy,
  .js-reveal .hero-copy .trust-list li,
  .js-reveal .quick-inquiry {
    opacity: 0;
    animation: reveal-up 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .js-reveal .hero-copy > .hero-kicker {
    animation-delay: 40ms;
  }

  .js-reveal .hero-copy > h1 {
    animation-delay: 120ms;
  }

  .js-reveal .hero-copy > .hero-subline {
    animation-delay: 200ms;
  }

  .js-reveal .hero-copy > .button-row {
    animation-delay: 300ms;
  }

  .js-reveal .hero-copy > .microcopy {
    animation-delay: 380ms;
  }

  .js-reveal .hero-copy .trust-list li:nth-child(1) {
    animation-delay: 480ms;
  }

  .js-reveal .hero-copy .trust-list li:nth-child(2) {
    animation-delay: 580ms;
  }

  .js-reveal .hero-copy .trust-list li:nth-child(3) {
    animation-delay: 680ms;
  }

  .js-reveal .quick-inquiry {
    animation-delay: 800ms;
  }
}

/* ===========================================================
   Pulsierender Status-Punkt am „Wir stellen ein"-Tag (Karriere).
   =========================================================== */

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(143, 175, 154, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(143, 175, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(143, 175, 154, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .career-tag::before {
    animation: pulse-dot 2.4s ease-out infinite;
  }
}
