@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f4f4ef;
  --surface: #fffef9;
  --surface-2: #e9eee9;
  --surface-3: #dbe4dc;
  --ink: #17231e;
  --ink-soft: #34433c;
  --muted: #617067;
  --line: #d2d9d2;
  --line-strong: #a8b6ab;
  --accent: #347456;
  --accent-hover: #255e43;
  --accent-soft: #dce9df;
  --accent-ink: #ffffff;
  --focus: #347456;
  --error: #a23737;
  --info: #315f74;
  --shadow: 0 24px 70px rgb(54 75 62 / 0.12);
  --header-height: 78px;
  --page-width: 1420px;
  --content-width: 1220px;
  --control-radius: 5px;
  --media-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--page);
}

main [id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

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

body.menu-open {
  overflow: hidden;
}

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

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

h2 {
  max-width: 18ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 4vw, 4.45rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.028em;
}

p {
  max-width: 66ch;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0) !important;
}

.container {
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
}

.container-narrow {
  width: min(calc(100% - 3rem), var(--content-width));
  margin-inline: auto;
}

.section-block {
  padding-block: clamp(5rem, 8vw, 8.5rem);
}

.section-block.compact {
  padding-block: clamp(3.75rem, 6vw, 6rem);
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-kicker,
.hero-eyebrow,
.page-eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.space-top {
  margin-top: 2rem;
}

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

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 28px rgb(52 116 86 / 0.18);
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 34px rgb(52 116 86 / 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-service {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  background: var(--surface);
  color: var(--accent-hover);
}

.button-service:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.button-prefix {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  margin: -0.35rem 0.65rem -0.35rem -0.45rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.text-link {
  color: var(--accent);
  font-weight: 720;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgb(39 65 53 / 0.03);
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1;
}

.brand-name {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.brand-claim {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.main-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.87rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-call {
  display: grid;
  padding: 0.5rem 0 0.5rem 1.2rem;
  border-left: 1px solid var(--line);
  gap: 0.1rem;
  color: var(--ink);
  text-align: right;
  text-decoration: none;
}

.header-call span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-call strong {
  color: var(--accent-hover);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-service-actions {
  display: none;
}

.menu-button-lines {
  display: grid;
  width: 20px;
  margin-inline: auto;
  gap: 4px;
}

.menu-button-lines span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] .menu-button-lines span:first-child {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-button[aria-expanded="true"] .menu-button-lines span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(700px, calc(100dvh - var(--header-height)), 880px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    linear-gradient(rgb(52 116 86 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(52 116 86 / 0.045) 1px, transparent 1px),
    var(--surface);
  background-size: 72px 72px, 72px 72px, auto;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: inherit;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(4.75rem, 6.5vw, 5.75rem) clamp(3rem, 7vw, 7.5rem) clamp(3.75rem, 5vw, 4.75rem) max(1.5rem, calc((100vw - var(--page-width)) / 2));
  flex-direction: column;
  grid-column: 1 / 8;
  grid-row: 1;
  justify-content: center;
  background: linear-gradient(90deg, var(--surface) 0 74%, rgb(255 254 249 / 0.97) 87%, transparent 100%);
}

.hero-content::before {
  position: absolute;
  top: clamp(3rem, 6vw, 5.25rem);
  left: max(1.5rem, calc((100vw - var(--page-width)) / 2));
  width: clamp(4rem, 7vw, 6.5rem);
  height: 6px;
  background: var(--accent);
  content: "";
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  font-size: clamp(4.4rem, 7vw, 7rem);
  hyphens: none;
  letter-spacing: -0.068em;
  line-height: 0.91;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-title-accent {
  color: var(--accent-hover);
}

.hero-lead {
  max-width: 44ch;
  margin-bottom: 2.25rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  margin: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 var(--media-radius) var(--media-radius) 0;
  background: var(--surface-2);
  box-shadow: 0 30px 90px rgb(37 64 49 / 0.2);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 14%, 4.5% 14%, 4.5% 7%, 9% 7%);
  grid-column: 5 / -1;
  grid-row: 1;
}

.hero-media::before {
  position: absolute;
  top: 0;
  left: 9%;
  z-index: 2;
  width: clamp(4rem, 7vw, 7rem);
  height: 6px;
  background: var(--accent);
  content: "";
}

.hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(23 35 30 / 0.25), transparent 34%);
  content: "";
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.015);
}

.hero-media-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: var(--control-radius);
  background: rgb(255 254 249 / 0.9);
  color: var(--ink);
  box-shadow: 0 14px 32px rgb(24 42 33 / 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.hero-media-caption span {
  color: var(--accent-hover);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-services {
  display: grid;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hero-services a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  align-items: center;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.hero-services a:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-services a::after {
  margin-left: auto;
  padding-left: 0.35rem;
  color: var(--accent);
  content: "↗";
  font-size: 0.78rem;
}

.hero-services a:hover {
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.trust-rail {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  min-height: 116px;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  align-items: stretch;
}

.trust-item,
.trust-logo {
  display: flex;
  min-width: 0;
  padding: 1.4rem clamp(1rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
}

.trust-item:first-child {
  border-left: 0;
}

.trust-value {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.trust-label {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-logo {
  align-items: center;
  background: #fff;
}

.trust-logo img {
  width: min(100%, 190px);
  max-height: 76px;
  object-fit: contain;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 7rem);
}

.services-copy {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.services-copy p {
  margin-bottom: 1.8rem;
  font-size: 1.08rem;
}

.service-composition {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.service-visual-primary,
.service-visual-secondary {
  min-height: 260px;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--media-radius);
}

.service-visual-primary {
  grid-row: span 2;
}

.service-visual-primary img,
.service-visual-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-visual-primary:hover img,
.service-visual-secondary:hover img {
  transform: scale(1.02);
}

.service-list {
  grid-column: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.service-list a::after {
  color: var(--accent);
  content: "→";
  font-size: 1rem;
}

.service-list a:hover {
  padding-left: 0.4rem;
  color: var(--accent-hover);
}

.service-list strong,
.service-list span {
  display: block;
}

.service-list strong {
  font-size: 0.96rem;
}

.service-list span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 560;
}

.product-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.product-list {
  display: grid;
  align-content: start;
}

.product-row {
  display: grid;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  text-decoration: none;
  transition: background-color 180ms ease, padding-inline 180ms ease;
}

.product-row:first-child {
  border-top: 1px solid var(--line);
}

.product-row strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.product-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-row:hover {
  padding-inline: 0.8rem;
  background: var(--accent-soft);
}

.product-media {
  display: grid;
  min-height: 620px;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 0.9fr 1.1fr;
  gap: 1rem;
}

.product-media figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: var(--media-radius);
}

.product-media figure:first-child {
  grid-row: 1 / 3;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-image {
  min-height: 660px;
  background: var(--surface-2);
  overflow: hidden;
  border-radius: var(--media-radius);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  max-width: 14ch;
}

.about-copy p {
  font-size: 1.06rem;
}

.about-facts {
  display: grid;
  margin: 2.2rem 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-fact {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.about-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.about-fact span {
  color: var(--muted);
  font-size: 0.9rem;
}

.process-section {
  border-block: 1px solid var(--line);
  background: var(--accent-soft);
}

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

.process-item {
  min-height: 240px;
  padding: 2rem clamp(1.25rem, 2.5vw, 2.2rem);
  border-left: 1px solid var(--line-strong);
}

.process-item:first-child {
  border-left: 0;
}

.process-item h3 {
  margin-bottom: 0.85rem;
}

.process-item p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.reference-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.reference-tile {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.reference-tile img {
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  flex: none;
  object-fit: cover;
  border-radius: var(--media-radius);
}

.reference-tile figcaption {
  padding-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 630;
}

.contact-band {
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 5px 0 var(--accent);
}

.contact-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.contact-band h2 {
  max-width: 15ch;
}

.contact-direct {
  display: grid;
  gap: 0;
}

.contact-direct a,
.contact-direct p {
  display: grid;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 7rem 1fr;
  color: var(--ink);
  text-decoration: none;
}

.contact-direct a:first-child,
.contact-direct p:first-child {
  border-top: 1px solid var(--line);
}

.contact-direct span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    linear-gradient(rgb(52 116 86 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(52 116 86 / 0.04) 1px, transparent 1px),
    var(--surface);
  background-size: 72px 72px, 72px 72px, auto;
}

.page-hero-grid {
  display: grid;
  min-height: clamp(580px, 66vh, 700px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  padding: clamp(5.25rem, 8vw, 7rem) clamp(4rem, 8vw, 8rem) clamp(4.5rem, 7vw, 6rem) max(1.5rem, calc((100vw - var(--page-width)) / 2));
  flex-direction: column;
  grid-column: 1 / 8;
  grid-row: 1;
  justify-content: center;
  background: linear-gradient(90deg, var(--surface) 0 72%, rgb(255 254 249 / 0.97) 87%, transparent 100%);
}

.page-hero-copy::before {
  position: absolute;
  top: clamp(3rem, 6vw, 5rem);
  left: max(1.5rem, calc((100vw - var(--page-width)) / 2));
  width: clamp(3.5rem, 6vw, 5.5rem);
  height: 6px;
  background: var(--accent);
  content: "";
}

.page-hero h1 {
  max-width: 11.5ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.75rem, 6.1vw, 6.15rem);
  letter-spacing: -0.062em;
  line-height: 0.96;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.page-hero-copy p {
  max-width: 47ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.page-hero-actions {
  margin-top: 2rem;
}

.page-hero-media {
  position: relative;
  z-index: 1;
  min-height: 0;
  min-width: 0;
  margin: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.75rem) 0;
  border: 0;
  border-radius: 0 var(--media-radius) var(--media-radius) 0;
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: 0 30px 90px rgb(37 64 49 / 0.2);
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 14%, 4.5% 14%, 4.5% 7%, 9% 7%);
  grid-column: 5 / -1;
  grid-row: 1;
}

.page-hero-media::before {
  position: absolute;
  top: 0;
  left: 9%;
  z-index: 2;
  width: clamp(4rem, 7vw, 7rem);
  height: 6px;
  background: var(--accent);
  content: "";
}

.page-hero-media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(23 35 30 / 0.26), transparent 36%);
  content: "";
  pointer-events: none;
}

.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.012);
}

.page-hero--leistungen .page-hero-media img {
  object-position: 58% center;
}

.page-hero--produkte .page-hero-media img {
  object-position: 50% 48%;
}

.page-hero--referenzen .page-hero-media img {
  object-position: 54% 42%;
}

.page-hero--kontakt .page-hero-media img {
  object-position: 54% 42%;
}

.page-hero-media-caption {
  z-index: 3;
}

.detail-list {
  display: grid;
}

.detail-row {
  display: grid;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.detail-row:first-child {
  border-top: 1px solid var(--line);
}

.detail-row h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.detail-row p:last-child {
  margin-bottom: 0;
}

.detail-points {
  display: grid;
  margin: 1.5rem 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
  list-style: none;
}

.detail-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.detail-points li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  content: "";
}

.image-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  gap: 1rem;
}

.image-story-main,
.image-story-side {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.image-story-side {
  min-height: 440px;
  align-self: end;
}

.image-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-catalog {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-item {
  display: flex;
  min-height: 380px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 0;
  border-radius: var(--media-radius);
  background: var(--surface);
  flex-direction: column;
  justify-content: flex-end;
}

.catalog-item h2 {
  max-width: none;
  margin-bottom: 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.catalog-item p {
  margin-bottom: 0;
}

.catalog-item.has-image {
  display: grid;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  grid-template-rows: minmax(320px, 1fr) auto;
}

.catalog-item.has-image::after {
  display: none;
}

.catalog-item.has-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-item.has-image h2,
.catalog-item.has-image p {
  position: static;
  color: inherit;
}

.catalog-item.has-image:hover img {
  transform: scale(1.018);
}

.catalog-copy {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.catalog-copy p {
  margin-bottom: 0;
}

.catalog-item.wide {
  grid-column: span 7;
}

.catalog-item.narrow {
  grid-column: span 5;
}

.catalog-item.half {
  grid-column: span 6;
}

.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.reference-toolbar {
  display: flex;
  margin: -1.25rem 0 clamp(2rem, 4vw, 3.5rem);
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.reference-toolbar-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.reference-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.reference-filter {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 680;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.reference-filter:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.reference-filter[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.gallery-item {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.gallery-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--media-radius);
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  cursor: zoom-in;
}

.gallery-button::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.42rem 0.58rem;
  border-radius: var(--control-radius);
  background: rgb(255 254 249 / 0.9);
  color: var(--ink);
  content: "Ansehen";
  font-size: 0.66rem;
  font-weight: 720;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-button:hover::after,
.gallery-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-button:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  flex: 1;
  padding: 0.8rem 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.gallery-item figcaption strong,
.gallery-item figcaption span {
  display: block;
}

.gallery-item figcaption strong {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.reference-type {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent-hover);
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-dialog {
  width: min(92vw, 1100px);
  max-height: 92dvh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--media-radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.media-dialog::backdrop {
  background: rgb(5 13 15 / 0.78);
  backdrop-filter: blur(6px);
}

.media-dialog figure {
  display: grid;
  max-height: 92dvh;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.media-dialog img {
  width: 100%;
  height: 100%;
  max-height: calc(92dvh - 76px);
  object-fit: contain;
  background: var(--surface-2);
}

.dialog-footer {
  display: flex;
  min-height: 72px;
  padding: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-footer figcaption {
  color: var(--ink-soft);
  font-weight: 650;
}

.dialog-close {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-info {
  align-self: start;
}

.contact-info h2,
.demo-form h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.contact-lines {
  display: grid;
  margin-top: 2rem;
}

.contact-line {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 7rem 1fr;
  color: var(--ink);
  text-decoration: none;
}

.contact-line:first-child {
  border-top: 1px solid var(--line);
}

.contact-line span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locations {
  display: grid;
  margin-top: 3rem;
  gap: 1.25rem;
}

.location {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.location h3 {
  font-size: 1.05rem;
}

.location address {
  color: var(--muted);
  font-style: normal;
}

.demo-form {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--media-radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-note {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

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

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 680;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--page);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 24%, transparent);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 1.2em;
  margin: 0;
  color: var(--error);
  font-size: 0.82rem;
}

.form-actions {
  display: flex;
  margin-top: 1.5rem;
  align-items: center;
  gap: 1rem;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--info);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-status.is-error {
  border-left-color: var(--error);
}

.form-status.is-ready {
  border-left-color: var(--accent);
}

.form-status[hidden] {
  display: none;
}

.legal-page {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.not-found-page {
  display: grid;
  min-height: calc(100dvh - var(--header-height) - 68px);
  align-items: center;
  background:
    radial-gradient(circle at 15% 25%, rgb(52 116 86 / 0.12), transparent 24rem),
    var(--page);
}

.error-mark {
  display: block;
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--accent) 18%, var(--page));
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.75;
  user-select: none;
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.legal-title {
  position: relative;
  padding-top: 2rem;
}

.legal-title::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  height: 6px;
  background: var(--accent);
  content: "";
}

.legal-title h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
}

.legal-content address {
  color: var(--ink-soft);
  font-style: normal;
}

.demo-notice {
  margin-bottom: 2.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--control-radius) var(--control-radius) 0;
  background: var(--surface);
  color: var(--ink-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #e7ece6;
}

.footer-grid {
  display: grid;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.footer-brand {
  display: grid;
  max-width: 420px;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
}

.footer-brand img {
  width: 56px;
  height: 50px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.footer-brand p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-column h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.55rem;
  list-style: none;
}

.footer-column a {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

@keyframes hero-media-enter {
  from {
    opacity: 0;
    transform: translateX(28px) scale(1.015);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes hero-copy-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-media,
.page-hero-media {
  animation: hero-media-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > *,
.page-hero-copy > * {
  animation: hero-copy-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > :nth-child(2),
.page-hero-copy > :nth-child(2) {
  animation-delay: 70ms;
}

.hero-content > :nth-child(3),
.page-hero-copy > :nth-child(3) {
  animation-delay: 130ms;
}

.hero-content > :nth-child(n + 4),
.page-hero-copy > :nth-child(n + 4) {
  animation-delay: 190ms;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms cubic-bezier(0.16, 1, 0.3, 1), transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 1.1rem;
  }

  .brand-claim {
    display: none;
  }

  .nav-list {
    gap: 1rem;
  }

  .header-call span {
    display: none;
  }

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

  .trust-item:nth-child(3),
  .trust-logo {
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .product-media {
    min-height: 520px;
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    max-height: calc(100dvh - var(--header-height));
    padding: 1rem 1.5rem 1.5rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--page);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .nav-list a {
    min-height: 54px;
    font-size: 1rem;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-service-actions {
    display: grid;
    margin-top: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .nav-service-actions a {
    display: flex;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--control-radius);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 720;
    text-align: center;
    text-decoration: none;
  }

  .nav-service-actions a:first-child {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .header-call {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 1.25rem 1.5rem 0;
  }

  .hero-content,
  .page-hero-copy {
    width: 100%;
    margin: -5.5rem auto 0;
    padding: 4.5rem 2.5rem 3.75rem;
    border-top: 6px solid var(--accent);
    background: rgb(255 254 249 / 0.98);
    box-shadow: 0 28px 70px rgb(37 64 49 / 0.15);
    grid-column: 1;
    grid-row: 2;
  }

  .hero-content::before,
  .page-hero-copy::before {
    display: none;
  }

  .hero-content > *,
  .page-hero-copy > * {
    width: min(100%, 720px);
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1,
  .page-hero h1 {
    max-width: min(100%, 720px);
  }

  .hero-lead,
  .page-hero-copy p {
    max-width: min(100%, 720px);
  }

  .hero-media {
    min-height: clamp(400px, 61vw, 540px);
    margin: 0;
    border: 0;
    border-radius: var(--media-radius);
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 14%, 3.5% 14%, 3.5% 7%, 7% 7%);
    grid-column: 1;
    grid-row: 1;
  }

  .hero-media-caption {
    top: 1rem;
    right: 1rem;
    bottom: auto;
  }

  .page-hero-media {
    min-height: clamp(400px, 61vw, 540px);
    margin: 0;
    border: 0;
    border-radius: var(--media-radius);
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 14%, 3.5% 14%, 3.5% 7%, 7% 7%);
    grid-column: 1;
    grid-row: 1;
  }

  .services-layout,
  .product-layout,
  .about-layout,
  .contact-page-grid,
  .legal-grid,
  .contact-band-grid {
    grid-template-columns: 1fr;
  }

  .services-copy {
    position: static;
  }

  .product-media {
    min-height: 620px;
    order: -1;
  }

  .about-image {
    min-height: 540px;
  }

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

  .process-item:nth-child(3) {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .process-item:nth-child(4) {
    border-top: 1px solid var(--line-strong);
  }

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

  .detail-row {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .image-story {
    grid-template-columns: 1fr 0.72fr;
  }

  .catalog-item.wide,
  .catalog-item.narrow,
  .catalog-item.half {
    grid-column: span 6;
  }

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

  .footer-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 2rem), var(--page-width));
  }

  .section-block {
    padding-block: 4.5rem;
  }

  .header-call {
    display: none;
  }

  .brand {
    grid-template-columns: 40px auto;
  }

  .brand img {
    width: 40px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.84rem;
  }

  .hero-grid,
  .page-hero-grid {
    padding: 0.75rem 0.75rem 0;
  }

  .hero-content,
  .page-hero-copy {
    margin-top: -3.75rem;
    padding: 3.25rem 1rem 3rem;
    border-top-width: 5px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
    font-size: clamp(2.85rem, 12vw, 4.25rem);
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    line-height: 0.98;
  }

  .hero-media {
    min-height: clamp(330px, 78vw, 440px);
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-media-caption {
    top: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    padding: 0.55rem 0.65rem;
  }

  .hero-services {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-services a {
    padding-inline: 0.7rem;
  }

  .hero-services a:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-services a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .page-hero-media {
    min-height: clamp(330px, 78vw, 440px);
  }

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

  .trust-grid > * {
    min-height: 112px;
  }

  .service-composition {
    grid-template-columns: 1fr;
  }

  .service-visual-primary {
    min-height: 380px;
    grid-row: auto;
  }

  .service-visual-secondary {
    min-height: 250px;
  }

  .service-list {
    grid-column: auto;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .about-layout {
    gap: 2.5rem;
  }

  .about-image {
    min-height: 480px;
  }

  .about-facts,
  .detail-points,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item,
  .process-item:nth-child(4) {
    min-height: auto;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .process-item:first-child {
    border-top: 0;
  }

  .reference-preview {
    grid-template-columns: 1fr;
  }

  .image-story {
    grid-template-columns: 1fr;
  }

  .image-story-main,
  .image-story-side {
    min-height: 420px;
  }

  .catalog-item.wide,
  .catalog-item.narrow,
  .catalog-item.half {
    grid-column: 1 / -1;
  }

  .catalog-item,
  .catalog-item.has-image {
    min-height: 440px;
  }

  .catalog-item.has-image {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .reference-gallery {
    grid-template-columns: 1fr;
  }

  .reference-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .reference-filters {
    justify-content: flex-start;
  }

  .contact-direct a,
  .contact-direct p,
  .contact-line {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .demo-form {
    padding: 1.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-lead {
    margin-bottom: 1.6rem;
    font-size: 1rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 10.7vw, 2.75rem);
  }

  .hero-content,
  .page-hero-copy {
    margin-top: -3.25rem;
    padding-top: 2.75rem;
  }

  .nav-service-actions {
    grid-template-columns: 1fr;
  }

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

  .trust-grid > * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-grid > *:first-child {
    border-top: 0;
  }

  .product-media {
    min-height: 720px;
    grid-template-columns: 1fr;
    grid-template-rows: 1.3fr 0.9fr 0.9fr;
  }

  .product-media figure:first-child {
    grid-row: auto;
  }

  .about-image {
    min-height: 420px;
  }

  .reference-filter {
    min-height: 38px;
    padding-inline: 0.65rem;
    font-size: 0.73rem;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .menu-button,
  .demo-form {
    display: none !important;
  }

  body {
    background: #f6f7f6;
    color: #132126;
  }
}
