/* Kaindl homepage hero with sliced Swiper transition. */

.home-hero {
  --home-header-height: 97px;
  --home-hero-height: calc(100vh - var(--home-header-height));
  --home-hero-bg: #f2f3f2;
  --home-hero-text: #0f0f0f;
  --home-hero-muted: #616161;
  --home-hero-slice-duration: 0.92s;
  --home-hero-slice-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --home-hero-slice-step: 54ms;
  --home-hero-mobile-stage-height: clamp(330px, 52vw, 460px);
  background: var(--home-hero-bg);
  color: var(--home-hero-text);
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  position: relative;
  right: 50%;
  width: 100vw;
}

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

@supports (height: 100svh) {
  .home-hero {
    --home-hero-height: calc(100svh - var(--home-header-height));
  }
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  height: auto;
  min-height: 0;
  position: relative;
}

.home-hero__content {
  --home-hero-content-pad-top: 24px;
  --home-hero-content-pad-x: 16px;
  --home-hero-content-pad-bottom: 28px;
  background: #fff;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
  min-height: 0;
  order: 2;
  padding: var(--home-hero-content-pad-top) var(--home-hero-content-pad-x)
    var(--home-hero-content-pad-bottom);
  position: relative;
  z-index: 2;
}

.home-hero__rail {
  display: none;
  pointer-events: none;
}

.home-hero__rail-text {
  color: #4a4a4a;
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  line-height: 1;
  text-orientation: mixed;
  text-transform: uppercase;
  transform: rotate(180deg);
  transform-origin: center;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.home-hero__title {
  font-size: var(--kaindl-type-hero-mobile);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: var(--kaindl-leading-hero-mobile);
  margin: 0;
  max-inline-size: 7ch;
  text-transform: uppercase;
}

.home-hero__text {
  color: var(--home-hero-muted);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.45;
  margin: 0;
  max-width: 100%;
}

.home-hero__actions {
  margin-top: 6px;
}

/* Reusable load reveal utility for homepage headings/titles. */
@keyframes kaindl-fade-up-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, var(--u-fade-up-distance, 18px), 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .u-fade-up {
    --u-fade-up-duration: 1000ms;
    --u-fade-up-delay: 0ms;
    --u-fade-up-distance: 18px;
    animation: kaindl-fade-up-reveal var(--u-fade-up-duration)
      cubic-bezier(0.22, 0.61, 0.36, 1) both;
    animation-delay: var(--u-fade-up-delay);
    opacity: 0;
    transform: translate3d(0, var(--u-fade-up-distance), 0);
  }

  .home-hero__title,
  .home-hero__text,
  .home-hero__cta {
    animation: kaindl-fade-up-reveal 1000ms cubic-bezier(0.22, 0.61, 0.36, 1)
      both;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  .home-hero__title {
    animation-delay: 260ms;
  }

  .home-hero__text {
    animation-delay: 360ms;
  }

  .home-hero__cta {
    animation-delay: 460ms;
  }
}

.home-hero__stage {
  display: flex;
  min-height: var(--home-hero-mobile-stage-height);
  order: 1;
  overflow: hidden;
  position: relative;
}

.home-hero__swiper.swiper {
  flex: 1 1 auto;
  min-height: var(--home-hero-mobile-stage-height);
}

.home-hero__swiper .swiper-wrapper,
.home-hero__slide {
  height: 100%;
}

.home-hero__slide {
  background: #d8dcde;
  overflow: hidden;
  position: relative;
}

.home-hero__slice {
  height: 100%;
  inset: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.home-hero__slice:not(:first-child) {
  display: none;
}

.home-hero__slice-track,
.home-hero__slice-image {
  inset: 0;
  position: absolute;
  transform: none;
  transition: none;
  will-change: auto;
}

.home-hero__slice-image {
  background-image: var(--home-hero-image);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.home-hero__slice-picture {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.home-hero__slice-media {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  user-select: none;
  width: 100%;
}

.home-hero__slide::after {
  background:
    linear-gradient(to top, rgba(12, 12, 12, 0.22), rgba(12, 12, 12, 0) 34%),
    linear-gradient(to right, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0) 40%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-hero__floating-panel {
  backdrop-filter: blur(1px);
  background: rgba(232, 236, 238, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.75);
  bottom: 68px;
  display: none;
  left: clamp(16px, 2vw, 34px);
  min-height: 128px;
  padding: 16px 20px;
  position: absolute;
  width: min(420px, calc(100% - 34px));
  z-index: 5;
}

.home-hero__floating-text {
  color: #212831;
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  max-width: 30ch;
}

.home-hero__controls {
  align-items: stretch;
  background: #000;
  bottom: 0;
  color: #fff;
  display: flex;
  left: 0;
  min-height: 66px;
  position: absolute;
  right: 0;
  z-index: 7;
}

.home-hero__meta {
  align-items: center;
  border-right: none;
  display: inline-flex;
  flex: 1 1 auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 0;
  padding: 0 18px;
  text-transform: uppercase;
}

.home-hero__nav-wrap {
  align-items: center;
  display: inline-flex;
  gap: 13px;
  padding: 0 16px;
}

.home-hero__nav {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
  width: 34px;
}

.home-hero__nav .svg-icon {
  width: 25px;
  height: 25px;
}

.home-hero__nav:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #000;
}

@media (max-width: 639px) {
  .home-hero__stage {
    min-height: calc(var(--home-hero-mobile-stage-height) + 66px);
  }

  .home-hero__swiper.swiper {
    align-self: flex-start;
    flex: 0 0 100%;
    height: var(--home-hero-mobile-stage-height);
    min-height: 0;
  }
}

.home-hero__scroll-indicator {
  align-items: center;
  animation: home-hero-scroll 1.8s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.92);
  bottom: 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  left: 50%;
  cursor: pointer;
  pointer-events: auto;
  position: absolute;
  transform: translateX(-50%) rotate(45deg);
  width: 42px;
  z-index: 30;
  display: none;
}

.home-hero__scroll-indicator:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.home-hero__scroll-indicator .svg-icon {
  animation: home-hero-arrow-bob 1.25s ease-in-out infinite;
  color: #000;
  display: inline-flex;
  font-size: 18px;
  height: auto;
  justify-content: center;
  line-height: 1;
  transform: rotate(-45deg);
  width: 32px;
  will-change: transform;
}

@keyframes home-hero-scroll {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes home-hero-arrow-bob {
  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }
  50% {
    transform: rotate(-45deg) translateY(4px);
  }
}

/* Hero: tablet overrides */
@media (min-width: 640px) {
  .home-hero__controls {
    left: auto;
    min-height: 66px;
    right: 0;
  }

  .home-hero__meta {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    flex: 0 0 auto;
    font-size: 20px;
    min-width: 156px;
    padding: 0 18px;
  }
}

/* Hero: desktop overrides */
@media (min-width: 1025px) {
  .home-hero__inner {
    grid-template-columns: minmax(320px, 30%) minmax(0, 70%);
    height: auto;
    min-height: var(--home-hero-height);
  }

  .home-hero__content {
    --home-hero-content-pad-top: clamp(30px, 4vw, 78px);
    --home-hero-content-pad-x: clamp(20px, 3vw, 56px);
    --home-hero-content-pad-bottom: clamp(30px, 4vw, 64px);
    --home-hero-rail-left: clamp(16px, 1.4vw, 24px);
    --home-hero-rail-reserve: clamp(32px, 2.4vw, 40px);
    gap: 18px;
    min-height: var(--home-hero-height);
    order: unset;
    padding: var(--home-hero-content-pad-top) var(--home-hero-content-pad-x)
      var(--home-hero-content-pad-bottom)
      calc(var(--home-hero-content-pad-x) + var(--home-hero-rail-reserve));
  }

  .home-hero__title {
    font-size: clamp(48px, calc(2.15rem + 2.85vw), 84px);
    letter-spacing: -0.02em;
    line-height: 0.9;
  }

  .home-hero__rail {
    bottom: var(--home-hero-content-pad-bottom);
    display: block;
    left: var(--home-hero-rail-left);
    position: absolute;
  }

  .home-hero__actions {
    margin-top: 10px;
  }

  .home-hero__stage {
    min-height: var(--home-hero-height);
    order: unset;
  }

  .home-hero__swiper.swiper {
    min-height: var(--home-hero-height);
  }

  .home-hero__floating-panel {
    bottom: 84px;
    display: none;
  }

  .home-hero__controls {
    min-height: 74px;
  }

  .home-hero__scroll-indicator {
    display: inline-flex;
  }
}

/* Hero: wide desktop overrides */
@media (min-width: 1280px) {
  .home-hero__meta {
    font-size: 24px;
    min-width: 194px;
  }

  .home-hero__floating-panel {
    display: none;
  }
}

/* Hero: full-width overrides */
@media (min-width: 1536px) {
  .home-hero__content {
    --home-hero-rail-left: 30px;
    --home-hero-rail-reserve: 44px;
  }

  .home-hero__nav-wrap {
    padding: 0 30px;
  }

  .home-hero__meta {
    font-size: 28px;
    min-width: 228px;
    padding: 0 26px;
  }

  .home-hero__floating-panel {
    display: none;
  }
}

@supports (font-size: 1cqw) {
  @media (min-width: 1025px) {
    .home-hero__title {
      font-size: clamp(48px, 19cqw, 100px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .u-fade-up,
  .home-hero__title,
  .home-hero__text,
  .home-hero__cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  :is(.home-hero__slice-track, .home-hero__slice-image),
  .home-hero__slide.is-entering
    :is(.home-hero__slice-track, .home-hero__slice-image),
  .home-hero__slide.is-leaving-next
    :is(.home-hero__slice-track, .home-hero__slice-image),
  .home-hero__slide.is-leaving-prev
    :is(.home-hero__slice-track, .home-hero__slice-image) {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
    transition: none !important;
  }

  .home-hero__scroll-indicator {
    animation: none !important;
  }

  .home-hero__scroll-indicator .svg-icon {
    animation: none !important;
    opacity: 1;
  }
}

/* Section: c6309 - Virtual shopping world */
.text-image-content.content-element {
  padding-bottom: 40px;
}

.text-image-content .text-image-content__section {
  width: 100%;
}

.text-image-content .text-image-content__text {
  color: #616161;
  text-align: left;
}

.text-image-content .text-image-content__headline,
#c6621 .page-teaser__title h2 {
  color: #000;
  font-size: var(--kaindl-type-title-xl);
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--kaindl-leading-tight);
  margin: 0;
  opacity: 1;
}

.text-image-content .formatted-text {
  margin-top: 6px;
}

.text-image-content .formatted-text p {
  color: #616161;
  font-size: var(--kaindl-type-subtitle);
  line-height: var(--kaindl-leading-subtitle);
  margin: 0;
}

.text-image-content .text-image-content__layout {
  max-width: none;
  width: 100%;
}

/* Text-image content: tablet overrides */
@media (min-width: 640px) {
  .text-image-content.content-element {
    padding-bottom: 46px;
  }

  .text-image-content .text-image-content__text {
    text-align: left;
  }

  .text-image-content .text-image-content__layout {
    max-width: none;
    width: 100%;
  }
}

/* Text-image content: desktop overrides */
@media (min-width: 1025px) {
  .text-image-content.content-element {
    padding-bottom: 60px;
  }

  .text-image-content .text-image-content__text {
    text-align: center;
  }
}

/* Section: c6273 - Matterport iframe */
.iframe.content-element {
  padding-bottom: 0;
  padding-top: 0;
}

.iframe .iframe__layout {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

.iframe .iframe-container--16-9 {
  background: #000;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

.iframe .iframe__frame {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

/* Iframe: desktop overrides */
@media (min-width: 1025px) {
  .iframe .iframe__layout {
    max-width: var(--kaindl-container-max);
  }
}

/* .collection-teaser moved to css/teaser-banner.css (loaded sitewide via the
 * kaindl_theme/teaser-banner library so editors can paste the snippet into any
 * Basic Page body). Shared color/type with #c6621 is restated inline below. */

#c6621 .page-teaser__card-text {
  color: #666;
  font-size: var(--kaindl-type-card-text);
  line-height: var(--kaindl-leading-copy);
  margin: 0;
}

/* Section: c6621 - B2B page teaser */

#c6621 .page-teaser__layout {
  margin: 0 auto;
  max-width: var(--kaindl-container-max);
  width: 100%;
}

#c6621 .page-teaser__title {
  margin: 0 auto 28px;
  max-width: 840px;
  text-align: left;
}

#c6621 .page-teaser__title h2 {
  color: #111;
  letter-spacing: 0.005em;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#c6621 .page-teaser__background {
  overflow: hidden;
  position: relative;
  max-width: 950px;
  margin: auto;
}

#c6621 .page-teaser__background picture {
  display: block;
}

#c6621 .page-teaser__background-img {
  display: block;
  height: auto;
  transition:
    opacity 1.45s ease,
    transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 100%;
}

#c6621 .page-teaser__cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 14px auto 0;
  position: relative;
  z-index: 2;
}

#c6621 .page-teaser__card {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: auto;
  opacity: 1;
  padding: 24px 20px 22px;
  transform: none;
  transition:
    opacity 1.05s ease,
    transform 1.05s ease;
}

#c6621 .page-teaser__card.bg-dark_blue {
  background: #0a2f4d;
}

#c6621 .page-teaser__card-content {
  flex: 1 1 auto;
}

#c6621 .page-teaser__card-title {
  color: #111;
  font-size: var(--kaindl-type-card-title);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: var(--kaindl-leading-tight);
  margin: 0;
}

#c6621 .page-teaser__card.bg-dark_blue .page-teaser__card-title {
  color: #fff;
}

#c6621 .page-teaser__card-text {
  color: #5f5f5f;
  margin: 14px 0 0;
}

#c6621 .page-teaser__card.bg-dark_blue .page-teaser__card-text {
  color: rgba(255, 255, 255, 0.9);
}

#c6621 .page-teaser__card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

#c6621 a.page-teaser__card-link:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
}

#c6621 .page-teaser__card.bg-dark_blue a.page-teaser__card-link {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

#c6621 .page-teaser__card.bg-dark_blue a.page-teaser__card-link:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #0a2f4d;
}

#c6621.page-teaser[data-home-animate="true"].is-observing:not(.is-inview)
  .page-teaser__background-img {
  opacity: 0.45;
  transform: scale(1.12);
}

#c6621 .page-teaser__cards.is-observing:not(.is-inview) .page-teaser__card {
  opacity: 0;
  transform: translate3d(0, 52px, 0);
}

#c6621.page-teaser[data-home-animate="true"].is-observing:not(.is-inview)
  .page-teaser__title
  h2 {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

#c6621.page-teaser.is-inview .page-teaser__background-img {
  opacity: 1;
  transform: none;
}

#c6621 .page-teaser__cards.is-inview .page-teaser__card {
  opacity: 1;
  transform: none;
}

#c6621.page-teaser.is-inview .page-teaser__title h2 {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

#c6621 .page-teaser__cards.is-inview .page-teaser__card:nth-child(1) {
  transition-delay: 0.22s;
}

#c6621 .page-teaser__cards.is-inview .page-teaser__card:nth-child(2) {
  transition-delay: 0.38s;
}

#c6621 .page-teaser__cards.is-inview .page-teaser__card:nth-child(3) {
  transition-delay: 0.54s;
}

/* Page teaser #c6621: wide desktop overrides */
@media (min-width: 1280px) {
  #c6621 .page-teaser__title {
    margin-bottom: 36px;
    max-width: 760px;
    text-align: center;
  }

  #c6621 .page-teaser__cards {
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -58px;
  }

  #c6621 .page-teaser__card {
    min-height: 262px;
    padding: 28px 24px 24px;
  }

  #c6621 .page-teaser__card-links {
    margin-top: 26px;
  }
}

/* Page teaser #c6621: full-width overrides */
@media (min-width: 1536px) {
  #c6621 .page-teaser__title {
    margin-bottom: 44px;
    max-width: 840px;
  }

  #c6621 .page-teaser__cards {
    gap: 24px;
    margin-top: -74px;
  }

  #c6621 .page-teaser__card {
    min-height: 398px;
    padding: 4rem 2.5rem 4rem 2.5rem;
  }
}

/* Section: c2568 - Decor teaser slider */
#c2568.teaser-slider.content-element {
  overflow: hidden;
  position: relative;
}

#c2568 .teaser-slider__bg {
  inset: 0;
  position: absolute;
  z-index: 0;
}

#c2568 .teaser-slider__layout {
  margin: 0 auto;
  max-width: var(--kaindl-container-max);
  width: 100%;
  position: relative;
  z-index: 1;
}

#c2568 .teaser-slider__body {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}

#c2568 .teaser-slider__media {
  overflow: hidden;
  position: relative;
}

#c2568 .teaser-slider__media-swiper.swiper {
  height: 410px;
  width: 100%;
}

#c2568 .teaser-slider__media-slide {
  height: 100%;
}

#c2568 .teaser-slider__media-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

#c2568 .teaser-slider__list {
  background: #f5f5f5;
  margin-left: 0;
  min-height: auto;
  padding: 25px 40px 25px 40px;
  position: relative;
  z-index: 2;
}

#c2568 .teaser-slider__items {
  display: grid;
  gap: 0;
  position: relative;
}

#c2568 .teaser-slider__items::after {
  background: #d5d5d5;
  bottom: 40px;
  content: "";
  position: absolute;
  right: 12px;
  top: 40px;
  width: 1px;
}

#c2568 .teaser-slider__item {
  align-items: center;
  display: grid;
  gap: 45px;
  grid-template-columns: minmax(0, 1fr) 34px;
  min-height: 54px;
  opacity: 1;
  transition: opacity 0.28s ease;
}

#c2568 .teaser-slider__item.is-active {
  min-height: 54px;
}

#c2568 .teaser-slider__item-title {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: clamp(30px, 8.4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
  padding: 12px 0;
  text-align: right;
  width: 100%;
  transform: scale(0.45);
  transform-origin: 100% 50%;
  transition:
    transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__item-title {
  color: #111;
  transform: scale(1);
}

#c2568 .teaser-slider__item-link {
  align-items: center;
  border: 1px solid transparent;
  color: transparent;
  display: inline-flex !important;
  height: 34px;
  justify-content: center;
  opacity: 1 !important;
  position: relative;
  text-decoration: none;
  transition: all 0.24s ease;
  visibility: visible !important;
  width: 34px;
  z-index: 1;
}

#c2568 .teaser-slider__item-link::before {
  background: #111;
  content: "";
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.24s ease;
  width: 12px;
}

#c2568 .teaser-slider__item-link::after {
  color: transparent;
  content: "\2192";
  font-size: 11px;
  left: 50%;
  line-height: 1;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.24s ease;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__item-link {
  border-color: #111;
  height: 36px;
  transform: rotate(45deg);
  width: 36px;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__item-link::before {
  opacity: 0;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__item-link::after {
  color: #111;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#c2568 .teaser-slider__item-link:focus-visible {
  border-color: #111;
}

#c2568
  .teaser-slider__item:not(.is-active)
  .teaser-slider__item-link:focus-visible::before {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.14);
}

#c2568 .teaser-slider__item.is-active .teaser-slider__item-link:focus-visible {
  background: #111;
}

#c2568
  .teaser-slider__item.is-active
  .teaser-slider__item-link:focus-visible::after {
  color: #fff;
}

/* c2568 compatibility: original Kaindl right-side markup */
#c2568 .teaser-slider__swiper-box {
  background: #f7f7f7;
  margin-left: 0;
  min-height: auto;
  padding: 20px 16px 14px;
  position: relative;
  z-index: 2;
}

#c2568 .teaser-slider__swiper-container {
  overflow: visible;
}

#c2568 .teaser-slider__swiper-wrapper {
  position: relative;
}

#c2568 .teaser-slider__swiper-wrapper::after {
  background: #d5d5d5;
  bottom: 40px;
  content: "";
  position: absolute;
  right: 12px;
  top: 40px;
  width: 1px;
}

#c2568 .teaser-slider__swiper-slide {
  border-top: 1px solid #cfcfcf;
  height: auto !important;
  min-height: 54px;
  opacity: 1;
  transition: opacity 0.28s ease;
}

#c2568 .teaser-slider__swiper-slide:last-child {
  border-bottom: 1px solid #cfcfcf;
}

#c2568 .teaser-slider__swiper-slide.is-active,
#c2568 .teaser-slider__swiper-slide.swiper-slide-active {
  min-height: 54px;
}

#c2568 .teaser-slider__slide-inner {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 34px;
  min-height: inherit;
}

#c2568 .teaser-slider__slide-title {
  color: #747474;
  cursor: pointer;
  font-size: clamp(30px, 8.4vw, 38px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 12px 0;
  text-transform: uppercase;
  transform: scale(0.6);
  transform-origin: 100% 50%;
  transition:
    transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

#c2568 .teaser-slider__swiper-slide.is-active .teaser-slider__slide-title,
#c2568
  .teaser-slider__swiper-slide.swiper-slide-active
  .teaser-slider__slide-title {
  color: #111;
  transform: scale(1);
}

#c2568 .teaser-slider__slide-control-line {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 43px;
  z-index: 1;
}

#c2568 .teaser-slider__slide-btn {
  align-items: center;
  border: 1px solid transparent;
  color: transparent;
  display: inline-flex !important;
  height: 20px !important;
  justify-content: center;
  opacity: 1 !important;
  left: auto !important;
  position: relative !important;
  transform: none !important;
  top: auto !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  visibility: visible !important;
  width: 20px !important;
  border: none !important;
}

#c2568 .teaser-slider__slide-btn::before {
  background: #111;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.2s ease;
  width: 12px;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__slide-btn::before {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  box-shadow: 0 0 0 1px #000;
}

#c2568 .teaser-slider__item p {
  margin: 0;
}

#c2568 .teaser-slider__slide-btn::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  opacity: 0;
  position: absolute;
  background: #000;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12L3.64645 11.6464L3.29289 12L3.64645 12.3536L4 12ZM19 12.5C19.2761 12.5 19.5 12.2761 19.5 12C19.5 11.7239 19.2761 11.5 19 11.5V12.5ZM9.64645 5.64645L3.64645 11.6464L4.35355 12.3536L10.3536 6.35355L9.64645 5.64645ZM3.64645 12.3536L9.64645 18.3536L10.3536 17.6464L4.35355 11.6464L3.64645 12.3536ZM4 12.5H19V11.5H4V12.5Z' fill='black' transform='translate(24,0) scale(-1,1)'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12L3.64645 11.6464L3.29289 12L3.64645 12.3536L4 12ZM19 12.5C19.2761 12.5 19.5 12.2761 19.5 12C19.5 11.7239 19.2761 11.5 19 11.5V12.5ZM9.64645 5.64645L3.64645 11.6464L4.35355 12.3536L10.3536 6.35355L9.64645 5.64645ZM3.64645 12.3536L9.64645 18.3536L10.3536 17.6464L4.35355 11.6464L3.64645 12.3536ZM4 12.5H19V11.5H4V12.5Z' fill='black' transform='translate(24,0) scale(-1,1)'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  transition: opacity 0.2s ease;
}

#c2568 .teaser-slider__item.is-active .teaser-slider__slide-btn::after {
  opacity: 1;
}

#c2568 .teaser-slider__slide-btn .teaser-slider__slide-btn-inner,
#c2568 .teaser-slider__slide-btn .svg-icon {
  opacity: 0;
  pointer-events: none;
}

#c2568 .teaser-slider__slide-btn:focus-visible {
  border-color: #111;
}

/* Teaser slider #c2568: wide desktop overrides */
@media (min-width: 1280px) {
  #c2568 .teaser-slider__layout {
    max-width: 1100px;
  }

  #c2568 .teaser-slider__body {
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  }

  #c2568 .teaser-slider__media-swiper.swiper {
    height: 520px;
  }

  #c2568 .teaser-slider__list {
    margin-left: -32px;
    min-height: 468px;
    padding: 36px 34px;
  }

  #c2568 .teaser-slider__swiper-box {
    margin-left: -32px;
    min-height: 468px;
    padding: 36px 34px;
  }

  #c2568 .teaser-slider__item {
    min-height: 58px;
  }

  #c2568 .teaser-slider__item.is-active {
    min-height: 58px;
  }

  #c2568 .teaser-slider__item-title {
    font-size: clamp(36px, 3.1vw, 48px);
  }

  #c2568 .teaser-slider__slide-title {
    font-size: clamp(36px, 3.1vw, 48px);
  }

  #c2568 .teaser-slider__swiper-slide.is-active,
  #c2568 .teaser-slider__swiper-slide.swiper-slide-active {
    min-height: 58px;
  }

  #c2568 .teaser-slider__items::after {
    bottom: 46px;
    right: 16px;
    top: 46px;
  }

  #c2568 .teaser-slider__swiper-wrapper::after {
    bottom: 46px;
    right: 16px;
    top: 46px;
  }

  #c2568 .teaser-slider__slide-control-line {
    width: 34px;
  }

  #c2568 .teaser-slider__swiper-slide {
    min-height: 58px;
  }
}

/* Teaser slider #c2568: full-width overrides */
@media (min-width: 1536px) {
  #c2568 .teaser-slider__layout {
    max-width: var(--kaindl-container-max);
  }

  #c2568 .teaser-slider__media-swiper.swiper {
    height: 692px;
  }

  #c2568 .teaser-slider__list {
    margin-left: -66px;
    min-height: 560px;
    padding: 50px 80px;
  }

  #c2568 .teaser-slider__swiper-box {
    margin-left: -66px;
    min-height: 560px;
    padding: 50px 52px;
  }

  #c2568 .teaser-slider__item {
    min-height: 64px;
  }

  #c2568 .teaser-slider__item.is-active {
    min-height: 64px;
  }

  #c2568 .teaser-slider__item-title {
    font-size: clamp(35px, 1vw, 44px);
  }

  #c2568 .teaser-slider__slide-title {
    font-size: clamp(44px, 3.6vw, 56px);
  }

  #c2568 .teaser-slider__swiper-slide.is-active,
  #c2568 .teaser-slider__swiper-slide.swiper-slide-active {
    min-height: 64px;
  }

  #c2568 .teaser-slider__swiper-slide {
    min-height: 64px;
  }
}

/* Section: c2323 - Career / Apprenticeship teasers */
body.path-frontpage .layout-main {
  padding-bottom: 0;
}

#c2323.collection-teasers.content-element {
  background: #efefef;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 52px 0;
  position: relative;
  right: 50%;
  width: 100vw;
}

#c2323 .collection-teasers__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

#c2323 .collection-teasers__item {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
}

#c2323 .collection-teasers__item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 20px 22px;
}

#c2323 .collection-teasers__item-upper {
  max-width: none;
}

#c2323 .collection-teasers__item-title {
  color: #050505;
  font-size: clamp(2rem, 7vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 14px;
  text-transform: uppercase;
}

#c2323 .collection-teasers__item-subtitle {
  color: #717171;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  line-height: 1.42;
  margin: 0;
}

#c2323 .collection-teasers__item-lower {
  margin-top: 22px;
}

#c2323 .collection-teasers__item-media {
  min-height: 100%;
}

#c2323 .collection-teasers__item-img {
  display: block;
  height: 100%;
  height: 340px;
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

#c2323[data-home-animate="true"].is-observing:not(.is-inview)
  .collection-teasers__item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

#c2323 .collection-teasers__item {
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#c2323.is-inview .collection-teasers__item {
  opacity: 1;
  transform: none;
}

#c2323.is-inview .collection-teasers__item:nth-child(2) {
  transition-delay: 0.12s;
}

/* Collection teasers #c2323: wide desktop overrides */
@media (min-width: 1280px) {
  #c2323 .collection-teasers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #c2323 .collection-teasers__item {
    grid-template-columns: minmax(0, 0.96fr) minmax(248px, 1fr);
    min-height: 300px;
  }

  #c2323 .collection-teasers__item-content {
    padding: 34px 26px 28px;
  }

  #c2323 .collection-teasers__item-upper {
    max-width: 28ch;
  }

  #c2323 .collection-teasers__item-title {
    font-size: clamp(1.5rem, 1.8vw, 2rem);
    margin-bottom: 16px;
  }

  #c2323 .collection-teasers__item-lower {
    margin-top: 26px;
  }

  #c2323 .collection-teasers__item-img {
    min-height: auto;
  }
}

#c2568.teaser-slider[data-home-animate="true"].is-observing:not(.is-inview)
  .teaser-slider__media {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}

#c2568.teaser-slider[data-home-animate="true"].is-observing:not(.is-inview)
  .teaser-slider__list {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

#c2568 .teaser-slider__media,
#c2568 .teaser-slider__list {
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#c2568.teaser-slider.is-inview .teaser-slider__media,
#c2568.teaser-slider.is-inview .teaser-slider__list {
  opacity: 1;
  transform: none;
}

#c2568.teaser-slider.is-inview .teaser-slider__list {
  transition-delay: 0.12s;
}

@media (hover: hover) and (pointer: fine) {
  .home-hero__nav:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
  }

  #c6621 a.page-teaser__card-link:hover {
    background: #111;
    border-color: #111;
    color: #fff;
  }

  #c6621 .page-teaser__card.bg-dark_blue a.page-teaser__card-link:hover {
    background: #fff;
    border-color: #fff;
    color: #0a2f4d;
  }

  #c2568 .teaser-slider__item-link:hover {
    border-color: #111;
  }

  #c2568
    .teaser-slider__item:not(.is-active)
    .teaser-slider__item-link:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.14);
  }

  #c2568 .teaser-slider__item.is-active .teaser-slider__item-link:hover {
    background: #111;
  }

  #c2568 .teaser-slider__item.is-active .teaser-slider__item-link:hover::after {
    color: #fff;
  }

  #c2568 .teaser-slider__slide-btn:hover {
    border-color: #111;
  }
}

@media (hover: none), (pointer: coarse) {
  .home-hero__nav:active {
    background: #fff;
    border-color: #fff;
    color: #000;
  }

  #c6621 a.page-teaser__card-link:active {
    background: #111;
    border-color: #111;
    color: #fff;
  }

  #c6621 .page-teaser__card.bg-dark_blue a.page-teaser__card-link:active {
    background: #fff;
    border-color: #fff;
    color: #0a2f4d;
  }

  #c2568 .teaser-slider__item-link:active {
    border-color: #111;
  }

  #c2568
    .teaser-slider__item:not(.is-active)
    .teaser-slider__item-link:active::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.14);
  }

  #c2568 .teaser-slider__item.is-active .teaser-slider__item-link:active {
    background: #111;
  }

  #c2568
    .teaser-slider__item.is-active
    .teaser-slider__item-link:active::after {
    color: #fff;
  }

  #c2568 .teaser-slider__slide-btn:active {
    border-color: #111;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-image-content .text-image-content__headline,
  #c6621 .page-teaser__title h2,
  #c2323 .collection-teasers__item,
  #c6621 .page-teaser__background-img,
  #c6621 .page-teaser__card,
  #c2568 .teaser-slider__media,
  #c2568 .teaser-slider__list {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
