/* CB3: Hero-Slider – responsive Bildflaechen und Texte. */
.cb-cb3 .swiper{overflow:hidden;line-height:0}
.cb-cb3 .swiper .swiper-slide{position:relative;z-index:1}
.cb-cb3 .swiper figure{position:relative;margin:0;padding:0;width:100%;height:clamp(250px,58vw,360px);overflow:hidden}
.cb-cb3 .swiper figure img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.cb-cb3 .swiper figure figcaption{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:100%;max-width:900px;box-sizing:border-box;padding:0 clamp(16px,4vw,36px);color:#fff;text-shadow:0 0 16px rgba(0,0,0,.33);font-style:normal;line-height:normal;text-align:center;overflow-wrap:break-word}
.cb-cb3 .swiper figure figcaption span.title{font-size:clamp(18px,2.5vw,36px)}
.cb-cb3 .swiper figure figcaption span.description{font-size:var(--ro-type-hero-size,58px);font-weight:900;line-height:normal}
@media (min-width:768px){.cb-cb3 .swiper figure{height:clamp(360px,45vw,520px)}}
@media (min-width:1200px){.cb-cb3 .swiper figure{height:clamp(540px,48vw,700px)}}

/* CB3: Mobil – Caption im normalen Layout, mit Freiraum fuer Wellen und Pagination. */
@media (max-width: 767.98px) {
  .cb-cb3 .swiper .swiper-slide {
    display: flex;
    height: auto;
  }

  .cb-cb3 .swiper figure {
    display: grid;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    min-height: clamp(320px, 68vw, 430px);
  }

  .cb-cb3 .swiper figure img {
    position: absolute;
    inset: 0;
  }

  .cb-cb3 .swiper figure figcaption {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    justify-self: center;
    padding: 60px clamp(16px, 4vw, 36px) 110px;
  }

  .cb-cb3 .swiper figure figcaption span.title {
    display: block;
    line-height: 1.2;
  }

  .cb-cb3 .swiper figure figcaption span.title br {
    display: none;
  }

  .cb-cb3 .swiper figure figcaption span.description {
    display: block;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.15;
    text-wrap: balance;
  }

  #main .cb-cb3 .swiper .swiper-pagination {
    bottom: 66px;
  }
}
