@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");

:root {
  --page-bg: #f2f4f7;
  --surface-bg: transparent;
  --surface-border: transparent;
  --surface-shadow: none;
  --ink: #000000;
  --green: #43a62a;
  --blue: #1a2e47;
  --red: #a62a43;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: inherit;
  font-weight: 700;
}

.site-shell {
  position: relative;
}

.surface-card {
  border: 1px solid var(--surface-border);
  background: var(--surface-bg);
  box-shadow: var(--surface-shadow);
  border-radius: 2px;
}

.section-blue {
  background: var(--blue);
  color: #ffffff;
}

.site-header-inner {
  width: 100%;
  max-width: min(80rem, 100vw);
  box-sizing: border-box;
}

.header-actions {
  width: 100%;
  min-width: 0;
}

.header-partner-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.header-partner-item {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: start;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.header-partner-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-partner-logo {
  display: block;
  box-sizing: border-box;
  width: 8.9rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.header-partner-logo-jimco {
  width: 9.6rem;
}

.header-partner-logo-melink {
  width: 8.6rem;
}

.partner-section {
  scroll-margin-top: 9rem;
}

.home-hero-section {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-shell.home-hero-carousel {
  --carousel-gap: 0.75rem;
  --carousel-slide-size: clamp(26.4rem, 47.3vw, 42.9rem);
  --carousel-duration: 60s;
  padding-top: 0.75rem;
  background: var(--blue);
}

.home-tagline-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: clamp(2.4rem, 6vw, 6.5rem);
  row-gap: 1.35rem;
}

.home-highlight-pill,
.home-keyword-pill {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  font-weight: 700;
  line-height: 1.35;
}

.home-description-section {
  background: var(--page-bg);
}

.home-about-section {
  background:
    linear-gradient(90deg, rgba(242, 244, 247, 0.97) 0%, rgba(242, 244, 247, 0.92) 52%, rgba(242, 244, 247, 0.86) 100%),
    url("../images/archive/old-website-carousel/kitchen-ventilation-ceiling-glass-overhead.png") center / cover no-repeat;
  color: var(--ink);
}

.about-focus-item {
  padding: 0;
}

.surface-card-blue {
  border-color: transparent;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.surface-card-blue .blue-card-kicker,
.surface-card-blue .blue-card-muted {
  color: rgba(255, 255, 255, 0.76);
}

.surface-card-blue .blue-card-title {
  color: #ffffff;
}

.listing-card-blue {
  border: 0;
  background: var(--blue);
  color: #ffffff;
}

.product-category {
  scroll-margin-top: 9rem;
}

.product-category-intro {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid rgba(26, 46, 71, 0.16);
  padding-top: 2rem;
}

.product-category:first-child .product-category-intro {
  border-top: 0;
  padding-top: 0;
}

.product-category-text {
  max-width: 48rem;
}

.product-category-kicker {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-category-title {
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.18;
}

.product-category-description {
  margin-top: 1rem;
  color: rgba(0, 0, 0, 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
}

.product-category-use-cases {
  border-left: 3px solid var(--green);
  padding-left: 1.25rem;
}

.product-category-use-cases-title {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-category-use-cases-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.95rem;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.96rem;
  line-height: 1.55;
}

.product-category-use-cases-list li {
  position: relative;
  padding-left: 1rem;
  overflow-wrap: anywhere;
}

.product-category-use-cases-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: var(--green);
}

.product-card {
  display: grid;
  width: 100%;
}

.product-card-content {
  min-width: 0;
  padding: 1.5rem;
}

.product-card-media {
  aspect-ratio: 1065 / 575;
  min-height: 0;
}

.product-card-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1rem;
}

.product-card-media-gallery .product-card-media {
  aspect-ratio: 4 / 3;
}

.listing-card-media {
  width: 100%;
  overflow: hidden;
}

.listing-card-media img {
  display: block;
}

.product-placeholder {
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(67, 166, 42, 0.16), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.03);
}

.product-placeholder span {
  max-width: min(16rem, calc(100% - 3rem));
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.listing-card-blue .listing-card-kicker,
.listing-card-blue .listing-card-meta,
.listing-card-blue .listing-card-body,
.listing-card-blue .listing-card-list {
  color: rgba(255, 255, 255, 0.76);
}

.listing-card-blue .listing-card-kicker {
  overflow-wrap: anywhere;
}

.listing-card-blue .listing-card-title {
  color: #ffffff;
  overflow-wrap: anywhere;
}

.product-card-headline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.product-card-copy {
  display: grid;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.75;
}

.product-card-copy p,
.product-feature-list li {
  overflow-wrap: anywhere;
}

.product-feature-list {
  display: grid;
  gap: 0.8rem 1.4rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.product-feature-list li {
  position: relative;
  padding-left: 1.1rem;
}

.product-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--green);
}

.listing-card-blue .listing-card-action {
  color: var(--green);
}

.listing-card-blue:hover .listing-card-title {
  color: #ffffff;
}

.listing-card-blue:hover .listing-card-action {
  color: #ffffff;
}

@media (min-width: 768px) {
  .product-category-intro {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
    align-items: start;
    gap: 3rem;
  }

  .product-card-content {
    padding: 2rem;
  }

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

.reference-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reference-filter-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.55rem;
  border: 1px solid rgba(26, 46, 71, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  padding: 0.68rem 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.reference-filter-button::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  opacity: 0.58;
}

.reference-filter-button:hover {
  border-color: rgba(26, 46, 71, 0.46);
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 0.45rem 1.1rem rgba(26, 46, 71, 0.1);
  transform: translateY(-1px);
}

.reference-filter-button.is-active,
.reference-filter-button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0.5rem 1.2rem rgba(26, 46, 71, 0.18);
}

.reference-filter-button.is-active::before,
.reference-filter-button[aria-pressed="true"]::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 166, 42, 0.22);
  opacity: 1;
}

.reference-partner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.42rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.carousel-shell {
  --carousel-gap: 1.5rem;
  --carousel-slide-size: clamp(18rem, 32vw, 27rem);
  --carousel-item-count: 5;
  --carousel-duration: 34s;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-shell::before,
.carousel-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(10vw, 4.5rem);
  z-index: 2;
  pointer-events: none;
}

.carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--page-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--page-bg) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-blue.carousel-shell::before,
.section-blue .carousel-shell::before,
.home-hero-carousel::before {
  background: linear-gradient(90deg, var(--blue) 0%, rgba(26, 46, 71, 0) 100%);
}

.section-blue.carousel-shell::after,
.section-blue .carousel-shell::after,
.home-hero-carousel::after {
  background: linear-gradient(270deg, var(--blue) 0%, rgba(26, 46, 71, 0) 100%);
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  width: max-content;
  min-width: 100%;
  will-change: transform;
  animation: carousel-scroll var(--carousel-duration) linear infinite;
}

.home-hero-carousel .carousel-track {
  animation-play-state: paused;
}

.home-hero-carousel.is-ready .carousel-track {
  animation-play-state: running;
}

.carousel-slide {
  flex: 0 0 var(--carousel-slide-size);
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  box-shadow: none;
  background:
    linear-gradient(135deg, rgba(67, 166, 42, 0.04), rgba(26, 46, 71, 0.08)),
    #ffffff;
}

.home-hero-carousel .carousel-slide {
  flex: 0 0 var(--carousel-slide-size);
  width: var(--carousel-slide-size);
  aspect-ratio: 16 / 9;
  border: 0;
  background: #223a59;
}

.home-hero-carousel .carousel-slide img {
  filter: grayscale(1) sepia(0.14) hue-rotate(176deg) saturate(0.9) brightness(0.78);
  opacity: 0.9;
}

.carousel-slide img {
  display: block;
}

.carousel-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rich-text {
  color: var(--ink);
  line-height: 1.85;
}

.rich-text p + p,
.rich-text ul + p,
.rich-text h2 + p,
.rich-text h3 + p,
.rich-text p + h2,
.rich-text p + h3,
.rich-text ul + h2,
.rich-text ul + h3 {
  margin-top: 1.25rem;
}

.rich-text h2,
.rich-text h3 {
  color: var(--ink);
  margin-top: 2rem;
  line-height: 1.2;
}

.rich-text h2 {
  font-size: clamp(1.75rem, 2vw, 2.25rem);
}

.rich-text h3 {
  font-size: 1.4rem;
}

.impressum-rich-text h2 {
  font-size: 0.95rem;
}

.impressum-rich-text #strasser-strasser {
  margin-top: 4rem;
}

.rich-text ul {
  list-style: disc;
  margin-left: 1.25rem;
}

.rich-text strong {
  color: var(--ink);
}

.rich-text-on-blue,
.rich-text-on-blue h2,
.rich-text-on-blue h3,
.rich-text-on-blue strong {
  color: #ffffff;
}

.rich-text-on-blue p,
.rich-text-on-blue li {
  color: rgba(255, 255, 255, 0.76);
}

.rich-text a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

::selection {
  background: rgba(67, 166, 42, 0.18);
}

@keyframes carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc((var(--carousel-slide-size) * var(--carousel-item-count) * -1) - (var(--carousel-gap) * var(--carousel-item-count))));
  }
}

@media (max-width: 1180px) {
  .header-partner-bar {
    justify-content: start;
  }
}

@media (max-width: 768px) {
  .surface-card {
    border-radius: 2px;
  }

  .header-partner-bar {
    position: static;
    justify-content: start;
    align-items: flex-start;
  }

  .header-partner-logo {
    width: 8rem;
    height: 2.7rem;
  }

  .header-partner-logo-jimco {
    width: 8.7rem;
  }

  .carousel-shell {
    --carousel-gap: 1rem;
    --carousel-slide-size: 80vw;
  }

  .carousel-shell.home-hero-carousel {
    --carousel-gap: 0.65rem;
    --carousel-slide-size: 98vw;
    --carousel-duration: 52s;
  }

  .carousel-shell:not(.home-hero-carousel) {
    --carousel-duration: 26s;
  }

  .carousel-slide {
    flex-basis: 80vw;
  }

  .home-hero-carousel .carousel-slide {
    flex-basis: var(--carousel-slide-size);
    width: var(--carousel-slide-size);
  }
}

@media (min-width: 1280px) {
  .header-actions {
    width: auto;
    min-width: min(100%, 37rem);
  }
}
