.hwt-hero{
  position: relative;
  border-radius: var(--r, 28px);
  overflow: hidden;
}

.hwt-hero__viewport{ position: relative; }
.hwt-hero__track{
  list-style:none;
  margin:0;
  padding:0;
  position: relative;

  display: grid;
  min-height: 320px;
}

.hwt-hero__slide{
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  z-index: 1;

  /* ✅ Fade der Slides */
  transition: opacity 0.6s ease;
}

.hwt-hero__slide.is-active{
  opacity: 1;
  z-index: 3;
}

.hwt-hero__bg{
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
}

.hwt-hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.hwt-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ✅ TEXT: Startzustand */
.hwt-hero__overlay .layout-container{
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ✅ TEXT: aktiv */
.hwt-hero__slide.is-active .hwt-hero__overlay .layout-container{
  opacity: 1;
  transform: translateX(0);
}

.hwt-hero .layout-container:not(.ab-layout) {
  width: 100%;
}

.hwt-hero .layout-container.ab-layout{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 10;
}

.hwt-hero__controls{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 12px;
  pointer-events: none;
}

.hwt-hero__arrow,
.hwt-hero__dot{
  pointer-events: auto;
}

.hwt-hero__arrow{
  border:0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor:pointer;
  display:grid;
  place-items:center;
  background: none;
  color:#fff;
  font-size: 1rem;
  line-height: 1;
}

.hwt-hero__dots{
  display:flex;
  gap: 1.25rem;
  align-items:center;
}

.hwt-hero__dot{
  width: 0.75rem !important;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .25s ease;
}

/* Hover */
.hwt-hero__dot:hover{
  border-color: #fff;
}

/* Active */
.hwt-hero__dot[aria-selected="true"]{
  background: #fff;
  border-color: #fff;
}

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

.hwt-hero__slide {
  position: relative;
}

.hwt-hero__logos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  z-index: 5;
}

/* ✅ LOGOS: Startzustand */
.hwt-hero__logos-inner {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 3.125rem;
  flex-wrap: wrap;

  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ✅ LOGOS: aktiv */
.hwt-hero__slide.is-active .hwt-hero__logos-inner{
  opacity: 1;
  transform: translateX(0);
}

/* Einzelne Logos */
.hwt-hero__logo {
  height: 5.313rem !important;
  width: auto;
  object-fit: contain;
  pointer-events: auto;
}

.hwt-ehs-placeholder{
  background:#e6e6e6;
  border:1px dashed #bdbdbd;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#333;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
}

@media (prefers-reduced-motion: reduce){
  .hwt-hero__slide,
  .hwt-hero__overlay .layout-container,
  .hwt-hero__logos-inner{
    transition: none !important;
    transform: none !important;
  }
}