/* LANZ Naturspiele, nature-led redesign, mobile first */

:root {
  color-scheme: light;
  --terracotta: #d66749;
  --mustard: #e8b955;
  --sky: #aac3df;
  --moss: #5f7046;
  --cream: #f9f1e2;
  --forest-deep: #252d1d;
  --paper: #f9f1e2;
  --sand: #e8b955;
  --sand-deep: #d66749;
  --sage: #aac3df;
  --sage-soft: #f9f1e2;
  --forest: #5f7046;
  --clay: #d66749;
  --clay-deep: #252d1d;
  --ochre: #e8b955;
  --ink: #252d1d;
  --text: #252d1d;
  --muted: #252d1d;
  --line: rgba(37, 45, 29, 0.18);
  --white: #f9f1e2;

  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: clamp(0.78rem, 0.75rem + 0.1vw, 0.84rem);
  --text-sm: clamp(0.9rem, 0.87rem + 0.12vw, 0.98rem);
  --text-base: clamp(1rem, 0.96rem + 0.16vw, 1.08rem);
  --text-lg: clamp(1.12rem, 1.04rem + 0.34vw, 1.36rem);
  --text-xl: clamp(1.45rem, 1.25rem + 0.75vw, 2rem);
  --text-2xl: clamp(2rem, 1.55rem + 1.8vw, 3.25rem);
  --text-3xl: clamp(2.55rem, 1.8rem + 3.2vw, 5rem);

  --space-1: 0.35rem;
  --space-2: 0.65rem;
  --space-3: 0.95rem;
  --space-4: 1.3rem;
  --space-5: 1.8rem;
  --space-6: 2.5rem;
  --space-7: 3.5rem;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --container: 78rem;
  --container-narrow: 62rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-box: 1.25rem;
  --radius-sm: var(--radius-box);
  --radius-md: var(--radius-box);
  --radius-lg: var(--radius-box);
  --radius-xl: var(--radius-box);
  --radius-pill: 999px;
  --shadow-soft: 0 1.25rem 3.5rem rgba(37, 45, 29, 0.12);
  --shadow-lift: 0 1rem 2.2rem rgba(37, 45, 29, 0.18);
  --header-height: 4.75rem;
  --page-hero-top: clamp(3.5rem, 7vw, 6.5rem);
  --page-hero-bottom: clamp(6rem, 10vw, 8rem);
  --transition-fast: 180ms ease;
  --transition-base: 260ms ease;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 56C160 20 315 14 470 46c178 37 284 67 470 25 174-40 322-28 500 13v36H0Z'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--sky);
  color: var(--forest-deep);
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: var(--space-4);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.08;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

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

button,
input,
textarea {
  font: inherit;
}

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

button { border: 0; }

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

img { height: auto; }
ul,
ol { padding-left: 1.25rem; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--forest-deep);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--forest-deep);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-lift);
  transition: transform var(--transition-fast);
}

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

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (2 * var(--gutter)), var(--container-narrow));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.services-section::before,
.projects-section::before,
.process-section::before,
.about-section::before,
.contact-section::before {
  position: absolute;
  inset: -3rem 0 auto;
  width: 100%;
  height: 3.1rem;
  background-color: inherit;
  content: "";
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}

.lead {
  max-width: 45rem;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.58;
}

.section-heading {
  display: grid;
  gap: var(--space-4);
  margin-bottom: clamp(2.5rem, 6vw, 4.75rem);
}

.section-heading > *,
.section-heading__copy { min-width: 0; }
.section-heading__copy { max-width: 45rem; }
.section-heading h2 { max-width: 18ch; }
.section-heading p { color: var(--muted); }

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

.button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.86rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-box);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.25rem rgba(37, 45, 29, 0.16);
}

.button:active { transform: translateY(0); box-shadow: none; }

.button svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

.button--primary,
.button--dark,
.button--light,
.button--outline-dark,
.button--call,
.header-cta {
  border-color: transparent;
  background: var(--forest-deep);
  color: var(--cream);
}

.button--primary:hover,
.button--dark:hover,
.button--light:hover,
.button--outline-dark:hover,
.button--call:hover,
.header-cta:hover {
  border-color: transparent;
  background: var(--terracotta);
  color: var(--cream);
}


/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: #fff;
  color: var(--forest-deep);
  box-shadow: none;
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.is-scrolled,
.site-header.menu-is-open { box-shadow: 0 0.8rem 2rem rgba(37, 45, 29, 0.12); }

.header-shell {
  display: flex;
  width: min(100% - (2 * var(--gutter)), var(--container));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.brand__logo {
  width: clamp(9.5rem, 15vw, 11.5rem);
  height: auto;
  max-height: calc(var(--header-height) - 0.65rem);
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-box);
  background: #fff;
  color: var(--forest-deep);
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 1.4rem;
  height: 1rem;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after,
.nav-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  content: "";
  transition: transform var(--transition-fast), top var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: calc(50% - 1px); }
.nav-toggle__icon::after { top: calc(100% - 2px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: calc(50% - 1px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: calc(50% - 1px); transform: rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.15rem;
  margin-left: auto;
  padding: 0.2rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: #fff;
}

.language-switch button {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--forest-deep);
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 720;
}

.language-switch button:hover { background: var(--sky); }
.language-switch button.is-active { background: var(--forest); color: var(--cream); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.45rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 680;
  text-decoration: none;
}

.site-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--clay);
  content: "";
  transition: transform var(--transition-fast);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  min-height: 2.9rem;
  padding: 0.72rem 1.1rem;
}

/* Hero */
.home-intro {
  padding-top: var(--header-height);
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  background: var(--mustard);
  color: var(--text);
}

.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 48svh;
  background: var(--sage-soft);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% center;
}

.hero__content {
  display: grid;
  align-items: center;
  padding: clamp(2.5rem, 8vw, 5rem) var(--gutter) clamp(5.5rem, 12vw, 8rem);
  background: var(--mustard);
}

.hero__content-inner {
  width: min(100%, 40rem);
  margin-inline: auto;
}

.hero h1 { max-width: 11ch; color: var(--ink); }

.hero__intro {
  max-width: 36rem;
  margin-bottom: var(--space-6);
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.55;
}

.hero__location { display: none; }

.positioning {
  position: relative;
  z-index: 2;
  padding-block: var(--section-space);
  background: var(--paper);
}

.positioning__panel {
  padding: 0;
}

.positioning__intro {
  display: grid;
  gap: var(--space-5);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.positioning__intro h2 { max-width: 14ch; }
.positioning__intro p { max-width: 45rem; color: var(--muted); }

.feature-grid {
  display: grid;
  gap: var(--space-4);
}

.feature-card {
  position: relative;
  min-height: 13.5rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 0;
  border-radius: var(--radius-box);
  background: var(--sage);
  box-shadow: 0 0.55rem 1.5rem rgba(37, 45, 29, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:nth-child(2) { background: var(--sand); }
.feature-card:nth-child(3) {
  background: var(--moss);
  color: var(--cream);
}
.feature-card:nth-child(3) h3,
.feature-card:nth-child(3) p { color: var(--cream); }
.feature-card:nth-child(4) { background: var(--sky); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .feature-card:hover,
  .feature-card:focus-within,
  .js .feature-card.is-visible:hover,
  .js .feature-card.is-visible:focus-within {
    transform: translateY(-0.45rem) rotate(-0.35deg);
    box-shadow: 0 1.35rem 2.8rem rgba(37, 45, 29, 0.13);
  }

  .feature-card:nth-child(even):hover,
  .feature-card:nth-child(even):focus-within,
  .js .feature-card.is-visible:nth-child(even):hover,
  .js .feature-card.is-visible:nth-child(even):focus-within {
    transform: translateY(-0.45rem) rotate(0.35deg);
  }
}

.feature-card h3,
.process-step h3,
.scope-item h3,
.legal-article h3,
.legal-aside h2 {
  font-size: 1.08rem;
  font-weight: 740;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.feature-card h3 { margin-bottom: var(--space-5); }
.feature-card p { color: var(--muted); font-size: var(--text-sm); }

/* Cards */
.services-section {
  background-color: var(--sky);
  color: var(--ink);
}

.services-section .section-heading { align-items: end; }

.services-section .section-heading__copy {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  justify-self: stretch;
}

.services-section .section-heading__copy .button-row {
  width: 100%;
  justify-content: flex-end;
}

.projects-section { background-color: var(--paper); }

.projects-section .section-heading { align-items: end; }
.projects-section .section-heading__copy {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
}

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

.service-card,
.project-card {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 0.8rem 2rem rgba(37, 45, 29, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.service-card__link,
.project-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card__media,
.project-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage-soft);
}

.service-card__image,
.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, opacity 700ms ease;
}

.project-card__image {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.project-card__image.is-active { opacity: 1; }

.service-card:hover .service-card__image,
.service-card:focus-within .service-card__image,
.project-card:hover .project-card__image,
.project-card:focus-within .project-card__image { transform: scale(1.025); }

.service-card__content,
.project-card__content {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: clamp(1.35rem, 4vw, 2rem);
}

.project-card__content {
  grid-template-rows: 1fr auto;
  gap: var(--space-5);
  min-height: 16.5rem;
}

.project-card__summary {
  display: grid;
  gap: var(--space-2);
}

.project-card__category,
.project-card__excerpt { margin: 0; }

.project-card__category {
  color: var(--moss);
  font-size: var(--text-xs);
  font-weight: 720;
  line-height: 1.35;
}

.project-card__excerpt {
  margin-top: var(--space-1);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.58;
}

.service-card__number {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: var(--radius-box);
  background: var(--sand);
  color: var(--forest-deep);
  font-size: var(--text-xs);
  font-weight: 680;
}

.service-card__title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.service-card__title h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.service-card h3,
.project-card h3 { margin: 0; }

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.58;
}

.service-card__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border-radius: var(--radius-box);
  background: var(--forest);
  color: var(--paper);
}

.service-card__content { padding-bottom: 5rem; }
.service-card__arrow svg { width: 1.15rem; height: 1.15rem; }

.project-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  justify-self: start;
  color: var(--forest);
  font-size: var(--text-sm);
  font-weight: 720;
}

.project-card__action svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform var(--transition-fast);
}

.project-card:hover .project-card__action svg,
.project-card:focus-within .project-card__action svg { transform: translate(2px, -2px); }

/* Process */
.process-section {
  overflow: visible;
  background-color: var(--cream);
  color: var(--text);
}

.process-section h2,
.process-section h3 { color: var(--ink); }

.process-layout {
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}

.process-copy > p { max-width: 43rem; color: var(--muted); }

.process-list {
  display: grid;
  gap: 0.85rem;
  margin-top: var(--space-7);
  counter-reset: process;
}

.process-step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper);
  counter-increment: process;
  transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover,
.process-step:focus-within {
  transform: translateX(0.4rem);
  background: var(--sky);
  box-shadow: var(--shadow-soft);
}
.process-step::before {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: var(--radius-box);
  background: var(--sand);
  color: var(--ink);
  content: counter(process, decimal-leading-zero);
  font-size: var(--text-xs);
  font-weight: 680;
  line-height: 1;
}
.process-step h3 { margin-bottom: 0.4rem; }
.process-step p { color: var(--muted); font-size: var(--text-sm); }

.quality-collage {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: start;
}

.quality-collage__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--moss);
}

.quality-collage__main {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.quality-collage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.quality-card {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: min(calc(100% - 2rem), 30rem);
  margin: -4.5rem 1rem 0 auto;
  padding: var(--space-5);
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-lift);
  transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

.quality-collage:hover .quality-collage__main img { transform: scale(1.045); }
.quality-card:hover,
.quality-card:focus-within {
  transform: translateY(-0.55rem) rotate(-0.5deg);
  background: var(--mustard);
  box-shadow: 0 1.5rem 3.2rem rgba(37, 45, 29, 0.2);
}

.quality-card h3 { color: var(--ink); font-size: clamp(1.35rem, 3vw, 1.85rem); }
.quality-card p { color: var(--muted); font-size: var(--text-sm); }

/* About and contact */
.about-section { background-color: var(--sky); }

.about-layout {
  display: grid;
  gap: clamp(2.5rem, 8vw, 6rem);
  align-items: center;
}

.about-media { position: relative; }

.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--sage);
}

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

.about-stamp {
  position: absolute;
  right: 0.65rem;
  bottom: 1rem;
  display: grid;
  width: clamp(8.5rem, 18vw, 10.75rem);
  aspect-ratio: 1;
  place-items: center;
  padding: 1rem;
  border: 0;
  border-radius: 50% 45% 48% 42%;
  background: var(--ochre);
  color: var(--forest-deep);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 730;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-5deg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-stamp:hover {
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 0 1rem 2.2rem rgba(37, 45, 29, 0.16);
}

.about-copy p { max-width: 42rem; color: var(--muted); }
.about-copy .button { margin-top: var(--space-3); }

.contact-section {
  background-color: var(--sage-soft);
  color: var(--text);
}

.contact-section h2,
.contact-section h3 { color: var(--ink); }

.contact-intro {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.contact-intro p { max-width: 48rem; color: var(--muted); font-size: var(--text-lg); }

.contact-layout {
  display: grid;
  gap: var(--space-5);
}

.contact-card {
  display: grid;
  gap: var(--space-5);
  align-items: start;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--mustard);
  color: var(--text);
}

.contact-card__company {
  margin-bottom: var(--space-4);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 740;
}

.contact-card__links {
  display: grid;
  gap: 0.35rem;
}

.contact-card__links a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-card__links a span { min-width: 0; }
.contact-card__links svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.contact-card__actions { align-self: end; }

.contact-form {
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 { color: var(--ink); }

.form-grid {
  display: grid;
  gap: var(--space-4);
}

.form-field { display: grid; gap: 0.45rem; }
.form-field--wide { grid-column: 1 / -1; }

.form-label {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 700;
}

.form-label small { color: var(--muted); font-weight: 500; }

.form-control {
  width: 100%;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(37, 45, 29, 0.42);
  border-radius: var(--radius-box);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

textarea.form-control { min-height: 9rem; resize: vertical; }
.form-control:focus {
  border-color: var(--forest);
  outline: none;
  box-shadow: 0 0 0 3px rgba(95, 112, 70, 0.24);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin-block: var(--space-2) var(--space-4);
  color: var(--muted);
  font-size: var(--text-sm);
}

.checkbox-field input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--forest);
}

.form-hint { color: var(--muted); font-size: var(--text-xs); }

.form-status {
  margin-top: var(--space-4);
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--ochre);
  border-radius: var(--radius-box);
  background: var(--cream);
  color: var(--forest-deep);
  font-size: var(--text-sm);
}

/* CTA and footer */
.contact-banner {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background-color: var(--forest);
  color: var(--cream);
}

.contact-banner::before {
  position: absolute;
  inset: -3rem 0 auto;
  width: 100%;
  height: 3.1rem;
  background-color: inherit;
  content: "";
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}

.contact-banner__inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.contact-banner h2 { max-width: 16ch; margin: 0; color: var(--cream); }
.contact-banner p { max-width: 43rem; margin: 0; color: var(--cream); }

.site-footer {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  background-color: var(--sage);
  color: var(--text);
}

.footer-main {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}

.footer-brand .brand { margin-bottom: var(--space-4); color: var(--ink); }
.footer-brand .brand__logo { width: min(100%, 18rem); max-height: none; }
.footer-brand p { max-width: 26rem; color: var(--muted); font-size: var(--text-sm); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 640;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--terracotta); }

.footer-contact {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  font-size: var(--text-sm);
}

.footer-contact strong { margin-bottom: var(--space-2); color: var(--ink); }

.footer-contact a {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  width: fit-content;
  min-height: 2.5rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.footer-bottom {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-5);
  color: var(--muted);
  font-size: var(--text-xs);
}

.prototype-note { max-width: 48rem; }
.prototype-note a { color: inherit; overflow-wrap: anywhere; }

/* Dialog */
.project-dialog {
  position: fixed;
  inset: 0;
  width: min(74rem, calc(100% - 1rem));
  max-height: calc(100svh - 1rem);
  margin: auto;
  padding: 0;
  overflow: hidden auto;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 2rem 5rem rgba(37, 45, 29, 0.34);
}

.project-dialog::backdrop { background: rgba(37, 45, 29, 0.86); }

.project-dialog__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 4;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--forest-deep);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.project-dialog__close:hover { color: var(--terracotta); transform: rotate(8deg); }
.project-dialog__close svg { width: 1.45rem; height: 1.45rem; }
.project-dialog__layout { display: grid; }
.project-dialog__media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--sage-soft);
}

.project-dialog__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  max-height: 70svh;
  object-fit: cover;
}

.project-dialog__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(0.6rem, 2vw, 1.2rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.project-dialog__media:hover .project-dialog__controls,
.project-dialog__media:focus-within .project-dialog__controls { opacity: 1; }

.project-dialog__controls button {
  display: grid;
  width: 3.25rem;
  height: 4rem;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  filter: drop-shadow(0 2px 5px rgba(37, 45, 29, 0.86));
  opacity: 0.78;
  pointer-events: auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.project-dialog__controls button:hover { transform: scale(1.12); opacity: 1; }
.project-dialog__controls svg { width: 2rem; height: 2rem; }

.project-dialog__content { padding: clamp(1.5rem, 5vw, 3.5rem); }
.project-dialog__category { margin-bottom: var(--space-3); color: var(--muted); font-size: var(--text-sm); font-weight: 680; }
.project-dialog h2 { font-size: var(--text-2xl); }
.project-dialog__text { max-width: 38rem; color: var(--muted); font-size: var(--text-sm); line-height: 1.58; }

/* Internal pages */
.page-main { padding-top: var(--header-height); }

.page-hero {
  position: relative;
  padding-block: var(--page-hero-top) var(--page-hero-bottom);
  background: var(--cream);
  isolation: isolate;
}

.page-hero--projects { background: var(--sky); }
.page-hero--services { background: var(--mustard); }

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: 3.1rem;
  background: var(--paper);
  content: "";
  -webkit-mask: var(--wave-mask) center / 100% 100% no-repeat;
  mask: var(--wave-mask) center / 100% 100% no-repeat;
  pointer-events: none;
}

.page-main > .page-hero + .section::before { display: none; }

.page-hero__layout {
  display: grid;
  justify-items: start;
}

.page-hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-4);
  min-width: 0;
  width: min(100%, 58rem);
}

.page-hero__copy h1 { max-width: 16ch; margin: 0; }
.page-hero__copy > p { margin: 0; }
.page-hero__copy .button-row { margin-top: var(--space-2); }

.page-hero__copy > p {
  max-width: 48rem;
  color: var(--forest-deep);
  font-size: var(--text-lg);
}

.services-overview { background: var(--paper); }

.service-detail-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.service-detail {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-box);
  background: var(--paper);
  box-shadow: 0 0.8rem 2rem rgba(37, 45, 29, 0.07);
  scroll-margin-top: calc(var(--header-height) + 2rem);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-detail:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1.35rem 3rem rgba(37, 45, 29, 0.13);
}

.service-detail__media {
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--sage-soft);
}

.service-detail__media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }

.service-detail__copy {
  display: grid;
  align-content: start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.service-detail__title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-4);
}

.service-detail__title h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
}

.service-detail__index {
  display: inline-grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: var(--radius-box);
  background: var(--sand);
  color: var(--forest-deep);
  font-size: var(--text-xs);
  font-weight: 680;
}

.service-detail__copy p { max-width: 40rem; color: var(--muted); }

.service-detail__copy ul {
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.service-detail__copy li { position: relative; padding-left: 1.5rem; }

.service-detail__copy li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50% 45% 48% 42%;
  background: var(--clay);
  content: "";
}

.services-scope {
  padding-top: clamp(2.75rem, 5vw, 4.25rem);
  background: var(--cream);
}

.scope-panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: var(--sky);
  box-shadow: var(--shadow-soft);
}

.scope-panel__intro {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--terracotta);
  color: var(--cream);
}

.scope-panel__intro h2,
.scope-panel__intro p { color: var(--cream); }
.scope-panel__intro > p { max-width: 34rem; }
.scope-panel__intro .button { margin-top: var(--space-4); }

.scope-grid {
  display: grid;
  gap: var(--space-3);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--sky);
}

.scope-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 0;
  border-radius: var(--radius-box);
  background: var(--cream);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.scope-item:nth-child(2) { background: var(--mustard); }
.scope-item:nth-child(3) { background: var(--terracotta); }
.scope-item:nth-child(4) { background: var(--forest); }
.scope-item:nth-child(4) h3,
.scope-item:nth-child(4) p { color: var(--cream); }

.scope-item h3 { margin-bottom: var(--space-2); color: var(--ink); }
.scope-item p { color: var(--muted); font-size: var(--text-sm); }
.scope-item:hover,
.scope-item:focus-within {
  transform: translateY(-0.3rem);
  box-shadow: var(--shadow-lift);
}

.projects-page .project-card { scroll-margin-top: calc(var(--header-height) + 2rem); }

/* Legal */
.legal-hero {
  position: relative;
  padding-block: var(--page-hero-top) var(--page-hero-bottom);
  background: var(--cream);
}

.legal-hero > .container { display: grid; gap: var(--space-4); justify-items: start; }
.legal-hero h1 { max-width: 16ch; margin: 0; }
.legal-hero p { margin: 0; }
.legal-hero p { max-width: 48rem; color: var(--muted); font-size: var(--text-lg); }
.legal-content { padding-block: clamp(2rem, 4vw, 4rem) clamp(3.5rem, 8vw, 7rem); }
.legal-layout { display: grid; gap: var(--space-7); }
.legal-article { max-width: 52rem; }
.legal-article h2 { margin-top: var(--space-7); font-size: var(--text-xl); }
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 { margin-top: var(--space-6); }
.legal-article p,
.legal-article li,
.legal-article address { color: var(--muted); }
.legal-article a { color: var(--forest); font-weight: 700; }
.legal-article .button--dark,
.legal-article .button--outline-dark { color: var(--cream); }

.notice-box {
  padding: var(--space-5);
  border-left: 4px solid var(--ochre);
  border-radius: var(--radius-box);
  background: var(--cream);
}

.notice-box strong { display: block; margin-bottom: var(--space-2); color: var(--ink); }

.legal-aside {
  align-self: start;
  padding: var(--space-5);
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.legal-aside nav { display: grid; gap: 0.15rem; }

.legal-aside a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--forest);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.legal-aside a[aria-current="page"] { color: var(--clay-deep); }

/* Fallbacks and reveal */
.media-fallback { position: relative; background: var(--sage-soft); }

.media-fallback::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  color: var(--forest-deep);
  content: "Bild wird ergänzt";
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 480ms ease, transform 480ms ease;
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (min-width: 40rem) {
  .feature-grid,
  .scope-grid,
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-bottom { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 48rem) {
  :root { --header-height: 5rem; }

  .section-heading,
  .positioning__intro,
  .contact-intro { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; }

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

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

  .project-dialog__layout { grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr); min-height: 36rem; }
  .project-dialog__media { min-height: 36rem; }

  .contact-banner__inner { grid-template-columns: minmax(0, 1fr) auto; }

  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-template-columns: 1fr; }

}

@media (min-width: 64rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(26rem, 0.85fr); }
  .hero__media { min-height: calc(100svh - var(--header-height)); }
  .hero__content { padding: clamp(3rem, 6vw, 6rem); }
  .hero__content-inner { margin: 0; }

  .process-layout { grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr); }
  .scope-panel { grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr); }
  .about-layout { grid-template-columns: minmax(26rem, 0.95fr) minmax(0, 1.05fr); }
  .contact-layout { grid-template-columns: minmax(18rem, 0.76fr) minmax(0, 1.24fr); align-items: stretch; }
  .contact-card { grid-template-columns: 1fr; align-content: start; padding: clamp(2rem, 4vw, 3rem); }
  .contact-card__actions { justify-content: flex-start; }
  .legal-layout { grid-template-columns: minmax(0, 1fr) 17rem; }
  .legal-aside { position: sticky; top: calc(var(--header-height) + 2rem); order: 2; }

  .footer-main { grid-template-columns: minmax(15rem, 1.25fr) minmax(13rem, 0.9fr) minmax(14rem, 0.85fr); }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 72rem) {
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 74.99rem) {
  .js .nav-toggle { display: inline-flex; }

  .js .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    overflow-y: auto;
    padding: var(--space-6) var(--gutter);
    transform: translateY(-0.5rem);
    background: #fff;
    color: var(--forest-deep);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
  }

  .js .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav__list {
    display: grid;
    width: min(100%, 24rem);
    gap: 0;
    justify-items: center;
  }

  .site-nav__link {
    min-height: 3.75rem;
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    text-align: center;
  }

  .site-nav__link::after { display: none; }
  .site-nav .language-switch { margin: var(--space-4) 0 0; }
  .site-nav .header-cta { width: min(100%, 18rem); margin-top: var(--space-4); }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(13rem, 36svh, 23rem) auto;
    min-height: 0;
  }

  .hero__media {
    position: relative;
    min-height: 0;
  }

  .hero__image {
    height: 100%;
    min-height: 0;
    object-position: 50% 45%;
  }

  .hero__content {
    min-height: 0;
    align-items: center;
    padding: clamp(2.5rem, 8vw, 4.5rem) var(--gutter) clamp(4rem, 10vw, 6rem);
    background: var(--mustard);
  }

  .hero__content-inner {
    margin-inline: auto;
  }
  .services-section .section-heading__copy,
  .projects-section .section-heading__copy {
    justify-content: flex-start;
    justify-self: start;
  }

  .services-section .section-heading__copy .button-row { justify-content: flex-start; }
}

@media (max-width: 39.99rem) {
  .brand__logo { width: 9.25rem; }

  .button-row .button { width: 100%; }

  .hero__content { padding: 2.5rem var(--gutter) 4rem; }
  .hero h1 { margin-bottom: 0.65rem; font-size: clamp(2rem, 10vw, 2.65rem); }
  .hero__intro { margin-bottom: 1rem; font-size: 1rem; line-height: 1.4; }
  .hero .button-row { gap: 0.55rem; }
  .hero .button { min-height: 2.9rem; padding: 0.72rem 1rem; }

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

  .quality-collage__main { aspect-ratio: 4 / 5; }
  .quality-card { width: auto; max-width: none; margin: -2.5rem 0.65rem 0; }

  .project-dialog { width: calc(100% - 0.5rem); max-height: calc(100svh - 0.5rem); border-radius: var(--radius-lg); }
  .project-dialog__media,
  .project-dialog__image { min-height: 19rem; }

  .project-card__content { min-height: 0; padding: 1.25rem; }
}

@media (max-width: 39.99rem) and (max-height: 42rem) {
  .hero__content { padding-block: 2rem 3rem; }
  .hero h1 { margin-bottom: 0.45rem; font-size: clamp(1.8rem, 8.5vw, 2.2rem); }
  .hero__intro { margin-bottom: 0.75rem; line-height: 1.3; }
  .hero .button { min-height: 2.7rem; padding-block: 0.62rem; }
}

@media (hover: none), (pointer: coarse) {
  .project-dialog__controls { opacity: 1; }
}

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

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

  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .contact-banner,
  .site-footer,
  .nav-toggle,
  .button,
  .language-switch { display: none !important; }

  .page-main { padding-top: 0; }
  body { background: var(--white); color: var(--forest-deep); }
}

/* Produktkatalog: vorhandene Farben, Kartenformen und Typografie. */
[hidden] { display: none !important; }
.category-card .service-card__content { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: clamp(1.25rem, 3vw, 2rem); }
.category-card .service-card__arrow { position: static; align-self: end; }
.category-card .service-card__media, .project-card__media { background: #fff; }
.category-card:hover .service-card__image, .project-card:hover .project-card__image { transform: none; }
.project-card__content { min-height: 0; display: block; }
.category-card h3, .project-card__content h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 680; line-height: 1.3; overflow-wrap: anywhere; }
.category-empty { display: grid; place-content: center; height: 100%; }
.service-detail-list .scope-item { gap: var(--space-4); align-content: start; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.service-detail-list .service-detail__title { margin: 0; align-items: start; }
.service-detail-list h2 { font-size: var(--text-xl); line-height: 1.2; }
.service-detail-list p { margin: 0; }
.service-detail-list .scope-item:nth-child(4) h2 { color: var(--cream); }
.service-detail-list #beratung-planung { background: #fff; }
.service-detail-list #fertigung { background: var(--sky); }
.service-detail-list #montage h2,
.service-detail-list #montage p { color: #fff; }
.contact-banner h2 + p { margin-top: var(--space-4); }
.media-fallback:lang(en)::after { content: "Image to follow"; }
.project-dialog__layout { display: block; min-height: 0; }
.project-dialog__media { min-height: 0; background: #fff; }
.project-dialog__image { display: block; width: 100%; height: auto; max-height: 76svh; min-height: 0; object-fit: contain; }
.project-dialog__content { padding: 1.25rem 1.5rem; }
.project-dialog h2 { margin: 0; }
.project-dialog__close { background: #fff; color: var(--forest-deep); }
@media (min-width: 64rem) {
  :root { --header-height: 6.15rem; }
  .site-header .brand { width: 13.4rem; flex: 0 0 13.4rem; }
  .site-header .brand__logo { width: 100%; height: auto; max-height: calc(var(--header-height) - 1rem); object-fit: contain; }
  .home-intro .hero__media { max-height: 58rem; }
}

@media (min-width: 72rem) { [data-category-grid] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

