:root {
  color-scheme: light;
  --forest: #123126;
  --forest-2: #1d4435;
  --sage: #8fa98a;
  --olive: #647849;
  --moss: #3d5e3f;
  --earth: #7a5638;
  --clay: #b58156;
  --cream: #f7f2e8;
  --paper: #fffaf0;
  --line: rgba(18, 49, 38, 0.16);
  --shadow: 0 24px 70px rgba(18, 49, 38, 0.14);
  --soft-shadow: 0 14px 42px rgba(18, 49, 38, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(247, 242, 232, 0.92)),
    linear-gradient(90deg, rgba(143, 169, 138, 0.045), transparent 38%, rgba(181, 129, 86, 0.035)),
    var(--cream);
  color: var(--forest);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #d39a3d;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--paper);
  color: var(--forest);
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: auto;
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand small {
  color: rgba(18, 49, 38, 0.68);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  border-radius: var(--radius);
  padding: 0.65rem 0.8rem;
  font: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 650;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  color: rgba(18, 49, 38, 0.82);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(143, 169, 138, 0.22);
  color: var(--forest);
}

.nav-links .nav-cta {
  background: var(--forest);
  color: var(--paper);
  margin-left: 0.35rem;
}

.hero {
  min-height: clamp(620px, 88vh, 820px);
  position: relative;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
  background: var(--forest);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 49, 38, 0.74), rgba(18, 49, 38, 0.42) 45%, rgba(18, 49, 38, 0.12)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-y, 0)) scale(1.045);
  transition: transform 120ms linear;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(18, 49, 38, 0.58), rgba(18, 49, 38, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}

.hero-kicker,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 250, 240, 0.88);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.1);
  color: rgba(255, 250, 240, 0.92);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.trust-line.dark-text span {
  border-color: var(--line);
  background: #fbf6ec;
  color: var(--forest);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.6rem, 3vw, 2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.button.primary {
  background: var(--paper);
  color: var(--forest);
}

.button.dark {
  background: var(--forest);
  color: var(--paper);
}

.button.secondary {
  border-color: rgba(255, 250, 240, 0.58);
  color: var(--paper);
}

.button.light {
  border-color: var(--line);
  background: var(--paper);
  color: var(--forest);
}

.main-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.main-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 250, 240, 0.18), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='180' viewBox='0 0 260 180'%3E%3Cg fill='none' stroke='%23123126' stroke-opacity='.045' stroke-width='1.1'%3E%3Cpath d='M24 142 C72 104 90 62 138 28'/%3E%3Cpath d='M84 96 C111 91 129 78 145 54'/%3E%3Cpath d='M51 124 C78 128 105 118 127 91'/%3E%3Cpath d='M176 154 C198 120 220 95 238 62'/%3E%3Cpath d='M198 120 C217 122 232 114 244 98'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 520px 360px;
  background-position: center, center top;
  background-repeat: no-repeat, repeat;
  opacity: 0.72;
  pointer-events: none;
}

.main-section.tight {
  padding-top: 3rem;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-head h2,
.content-block h2 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-head p,
.content-block p {
  color: rgba(18, 49, 38, 0.76);
  font-size: 1.08rem;
}

.intro-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.problem-solution > div,
.area-panel > div,
.mini-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.2rem;
  box-shadow: var(--soft-shadow);
}

.problem-solution h3,
.mini-note p {
  margin-top: 0;
}

.problem-solution ul,
.service-card ul,
.benefit-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(18, 49, 38, 0.76);
}

.problem-solution li + li,
.service-card li + li,
.benefit-list li + li {
  margin-top: 0.35rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.service-card,
.info-panel,
.gallery-card,
.faq-item,
.step,
.contact-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.service-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.service-card:hover,
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 120, 73, 0.42);
  box-shadow: var(--shadow);
}

.service-card:hover img,
.gallery-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.service-card div,
.gallery-card div,
.info-panel > div,
.step,
.legal-panel {
  padding: clamp(1.15rem, 2.4vw, 2rem);
}

.service-card h3,
.gallery-card h3,
.step h3,
.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.service-card p,
.gallery-card p,
.step p,
.faq-item p {
  margin: 0;
  color: rgba(18, 49, 38, 0.74);
}

.service-card a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.band {
  background: linear-gradient(180deg, #ede6d8, #e8dfcf);
  border-block: 1px solid var(--line);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

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

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 250, 240, 0.32);
  border-radius: inherit;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.region-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(18, 49, 38, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--forest);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(18, 49, 38, 0.06);
}

/* Einsatzgebiet: the Kärnten map is the focal point on every page and stays
   visible on mobile; region names live in the intro sentence (kept for local
   SEO) instead of large stacked chips. */
.area-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.area-section .area-map {
  max-width: 920px;
  margin: clamp(1.6rem, 3.2vw, 2.8rem) auto 0;
}

.area-map img {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.before-after-slider {
  --ba-pos: 52%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  min-height: clamp(360px, 58vw, 620px);
  isolation: isolate;
}

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

.ba-img.after {
  clip-path: inset(0 0 0 var(--ba-pos));
}

.before-after-slider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: rgba(255, 250, 240, 0.92);
  transform: translateX(-1px);
  z-index: 3;
}

.before-after-slider::after {
  content: "";
  position: absolute;
  left: var(--ba-pos);
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255, 250, 240, 0.96);
  background: rgba(18, 49, 38, 0.78);
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: var(--soft-shadow);
}

.ba-label {
  position: absolute;
  top: 1rem;
  background: rgba(18, 49, 38, 0.86);
  color: var(--paper);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius);
  font-weight: 750;
  z-index: 5;
}

.before-label {
  left: 1rem;
}

.after-label {
  right: 1rem;
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.process {
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(143, 169, 138, 0.28);
  color: var(--forest);
  font-weight: 850;
}

/* Full-width process timeline: five equal steps read as a sequence 01–05,
   so there is no orphaned last card and no empty half-column. */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.3vw, 1.15rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.process-timeline .step {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* last odd card spans both columns so it never sits alone half-width */
  .process-timeline .step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .process-timeline .step:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.quote-band {
  background: var(--forest);
  color: var(--paper);
}

.quote-band p {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.page-hero {
  position: relative;
  color: var(--paper);
  background: var(--forest);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(18, 49, 38, 0.9), rgba(18, 49, 38, 0.5)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-y, 0)) scale(1.04);
  transition: transform 120ms linear;
}

.page-hero .section-inner {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
}

.content-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.content-block .button {
  margin-top: 1.1rem;
}

.content-block:first-child {
  border-top: 0;
}

.content-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-block ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.content-block li + li {
  margin-top: 0.45rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.15rem);
  align-items: stretch;
}

/* Image-forward masonry gallery: every card is a photo tile with an
   overlaid caption. Row spans (set per card in the markup) create rhythm. */
.gallery-grid.rich-gallery {
  grid-auto-rows: clamp(92px, 9.2vw, 128px);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1vw, 0.85rem);
}

.rich-gallery .gallery-card {
  position: relative;
  overflow: hidden;
  grid-row: span 2;
  margin: 0;
  cursor: zoom-in;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.rich-gallery .gallery-card.is-big {
  grid-column: span 2;
  grid-row: span 3;
}

.rich-gallery .gallery-card.is-tall {
  grid-row: span 3;
}

.rich-gallery .gallery-card.is-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.rich-gallery .gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 800ms ease, filter 800ms ease;
}

.rich-gallery .gallery-card > div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(0.85rem, 1.5vw, 1.2rem);
  background: linear-gradient(
    to top,
    rgba(9, 26, 18, 0.9) 0%,
    rgba(9, 26, 18, 0.55) 42%,
    rgba(9, 26, 18, 0) 100%
  );
  color: #fff;
}

.rich-gallery .gallery-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.22rem);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.rich-gallery .gallery-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.42;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 420ms ease, opacity 320ms ease, margin-top 320ms ease;
}

.rich-gallery .gallery-card:hover,
.rich-gallery .gallery-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(100, 120, 73, 0.5);
  box-shadow: var(--shadow);
}

.rich-gallery .gallery-card:hover img,
.rich-gallery .gallery-card:focus-within img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.rich-gallery .gallery-card:hover p,
.rich-gallery .gallery-card:focus-within p {
  max-height: 8rem;
  opacity: 1;
  margin-top: 0.3rem;
}

/* Touch devices have no hover: keep the descriptions permanently visible. */
@media (hover: none) {
  .rich-gallery .gallery-card p {
    max-height: 8rem;
    opacity: 1;
    margin-top: 0.3rem;
  }
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.2rem;
  position: relative;
  font-size: 1.08rem;
  font-weight: 850;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item details,
.faq-item p {
  margin: 0;
}

.faq-item p {
  padding: 0 1.2rem 1.2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(9, 24, 19, 0.84);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  right: 1rem;
  top: 1rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: var(--radius);
  background: rgba(18, 49, 38, 0.92);
  color: var(--paper);
  font: inherit;
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  align-items: start;
}

.contact-panel {
  padding: clamp(1.15rem, 2.4vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
}

.contact-list a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf6ec;
  text-decoration: none;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.contact-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 120, 73, 0.42);
  background: #fffaf0;
}

.form-grid {
  display: grid;
  gap: 0.78rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--forest);
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(18, 49, 38, 0.62);
}

.form-note a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

/* reCAPTCHA v3 badge hidden: the required Google notice is shown by the form
   instead (permitted by Google's branding guidelines). */
.grecaptcha-badge {
  visibility: hidden;
}

.site-footer {
  background: #10271f;
  color: var(--paper);
  padding: clamp(2.2rem, 4vw, 3rem) 0;
}

/* Brand logo in the footer: sits on a light chip so the green/brown mark
   stays crisp against the dark footer. */
.footer-logo {
  display: inline-block;
  width: clamp(155px, 42%, 205px);
  height: auto;
  margin-bottom: 1rem;
  padding: 0.7rem 0.95rem;
  background: #fbf6ec;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2rem;
}

.site-footer a {
  color: var(--paper);
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.reveal {
  opacity: 1;
  transform: translateY(16px);
  transition: transform 680ms ease, filter 680ms ease;
  filter: saturate(0.94);
}

.reveal.is-visible {
  transform: translateY(0);
  filter: saturate(1);
}

@media (max-width: 860px) {
  .nav {
    min-height: 68px;
  }

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

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .grid.three,
  .grid.two,
  .feature-split,
  .intro-grid,
  .problem-solution,
  .content-block,
  .gallery-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .gallery-grid.rich-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(112px, 22vw, 158px);
  }

  .rich-gallery .gallery-card.is-tall {
    grid-row: span 2;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(18, 49, 38, 0.72), rgba(18, 49, 38, 0.52)),
      var(--hero-image-mobile, var(--hero-image));
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 48px;
  }

  .brand small {
    display: none;
  }

  .hero-inner {
    padding-bottom: 3rem;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-line span,
  .region-chips span {
    width: 100%;
    justify-content: center;
  }

  .before-after-slider {
    min-height: 420px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
