/* Created by Content Blocks */
.contentflextext {
  font-family: var(--heading-font);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tertiary-text-color);
  font-size: var(--h3-size);
  line-height: var(--h3-lineheight);
  margin-bottom: 80px;
  margin-top: 58px;
}

.contentflextext span {
    color: var(--secondary-text-color);
}

.contentflextextright {
  margin-top: 140px;
  hyphens: auto;
}

.contentflextextspace {
  margin-top: 210px;
}

.frame-type-compuart_contentflex a {
  font-family: var(--heading-font);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tertiary-text-color);
  font-size: var(--h4-size);
  line-height: var(--h4-lineheight);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.frame-type-compuart_contentflex a::after {
  content: "";
  display: inline-block;
  width: 27px;
  height: 17px;
  margin-left: 15px;
  background: url("Pfeil-Link.svg") no-repeat center;
  transition: margin-left 0.2s ease;
}

.frame-type-compuart_contentflex a:hover::after {
  margin-left: 20px;  
}

.frame-type-compuart_contentflex a span {
    position: relative;
    text-decoration: none;
}

.frame-type-compuart_contentflex a span:after {
    background: var(--tertiary-text-color);
    bottom: -2px;
    content: "";
    height: 1.5px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    width: 100%;
}

.frame-type-compuart_contentflex a span:hover:after {
  transform:scaleX(1)
}


.stoerercontentflex {
  align-items: center;
  background: #c88200;
  border-radius: 100%;
  top: -95px;
  color: #fff;
  display: flex;
  font-family: var(--heading-font);
  font-weight: 400;
  height: 220px;
  justify-content: center;
  position: absolute;
  right: 5%;
  text-align: center;
  text-transform: uppercase;
  width: 220px;
  font-size: var(--h3-size);
  line-height: 1;
}
.stoerercontentflex span {
  padding: 0 15px;
  hyphens: auto;
  margin-top: 8px;
}
.umschalter {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tertiary-text-color);
  font-size: var(--h4-size);
  line-height: var(--h4-lineheight);
  background: transparent;
  border: 0;
  line-height: 1;
}

#contentflex-umschalter {
    margin-top: 75px;
    padding: 0
}

#contentflex-umschalter li {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
  cursor: pointer;
  padding-left: 0 !important;
}


#contentflex-umschalter li .umschalter {
  padding: 0;
  position: relative;
}

.textlink.textlinkumschalter .contentflextextright {
  margin-top: 50px;
}

.textlinkumschalter-wrap .textlinkumschalter {
  display: none;
}

.textlinkumschalter-wrap .textlinkumschalter.is-active {
  display: block;
}

button.umschalter::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--tertiary-text-color);
    transform: scaleX(0);
}

.is-active button.umschalter::after {
    transform: scaleX(1);
}

button.umschalter:hover::after {
    transform: scaleX(1);
}

.frame-type-compuart_contentflex .col-md-5 img, .frame-type-compuart_contentflex .video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

.frame-type-compuart_contentflex .col-md-4 img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
}

.frame-type-compuart_contentflex .contentflex-tabimage {
    display: none;
}
.frame-type-compuart_contentflex .contentflex-tabimage.is-active {
    display: block;
}

/* Default-Bilder immer sichtbar, JS übernimmt nur wenn Tab-Bilder vorhanden */
.contentflex-tabimage--default-left,
.contentflex-tabimage--default-right {
    display: block;
}

@media screen and (max-width: 1400px) {
    .frame-type-compuart_contentflex .col-md-5 img, .frame-type-compuart_contentflex .video {
        height: 515px;
    }

    .frame-type-compuart_contentflex .col-md-4 img {
        height: 305px;
    }
}

@media screen and (max-width: 1200px) {
    .frame-type-compuart_contentflex .col-md-5 img, .frame-type-compuart_contentflex .video {
        height: 425px;
    }

    .frame-type-compuart_contentflex .col-md-4 img {
        height: 250px;
    }
}
@media screen and (max-width: 992px) {
    .frame-type-compuart_contentflex .col-md-2, .frame-type-compuart_contentflex .col-md-1 {
        width: 5%;
        padding: 0;
    }
    .frame-type-compuart_contentflex .col-md-5, .frame-type-compuart_contentflex .col-md-4 {
        width: 45%;
    }
    .stoerercontentflex {
        height: 160px;
        width: 160px;
    }
    .contentflextextspace {
        margin-top: 180px;
    }
    .contentflextext {
        margin-top: 38px;
    }
    .frame-type-compuart_contentflex .col-md-5 img, .frame-type-compuart_contentflex .video {
        height: 335px;
    }

    .frame-type-compuart_contentflex .col-md-4 img {
        height: 260px;
    }
}

@media screen and (max-width: 768px) {
    .textlink.textlinkumschalter .contentflextextright {
        margin-top: 0;
    }
    .frame-type-compuart_contentflex .col-md-2, .frame-type-compuart_contentflex .col-md-1 {
        width: 100%;
    }
    .frame-type-compuart_contentflex .col-md-5, .frame-type-compuart_contentflex .col-md-4 {
        width: 100%;
    }
    .frame-type-compuart_contentflex .col-md-4 {
        display: grid;
        position: relative;
        margin-bottom: 0px;
    }
    .frame-type-compuart_contentflex .col-md-4 .img-wrap, .frame-type-compuart_contentflex .contentflex-img-wrap-right {
        order: 2;
    }
    .frame-type-compuart_contentflex .col-md-4 .textlink {
        order: 1;
    }
    .contentflextext {
        margin-bottom: 35px;
        margin-top: 0;
    }
    .contentflextextright {
        margin-top: 70px;
    }   
    .textlink {
        margin-bottom: 50px;
    }
    .contentflextextspace {
        margin-top: 0;
    }
    .stoerercontentflex {
        right: unset;
        top: unset;
        bottom: -80px;
        left: 15%;
    }
    .listumschlater {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 100px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: left;
    }
    .frame-type-compuart_contentflex .col-md-5 img, .frame-type-compuart_contentflex .video {
        height: 600px;
    }
    .frame-type-compuart_contentflex .col-md-4 .img-wrap {
        width: 100%;
        overflow: hidden;
    }
    .frame-type-compuart_contentflex .col-md-4 img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        object-position: center;
    }
    #contentflex-umschalter {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        margin-bottom: 0px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-top: 35px;
    }
    .textlink.textlinkumschalter .contentflextextright {
        margin-top: 20px;
    }
}

@media screen and (max-width: 576px) {
    .frame-type-compuart_contentflex
    .col-md-5 > picture{
        position: relative;
        left: -40px;
        width: calc(100% + 40px);
        max-width: none;
        display: block;
    }

    .frame-type-compuart_contentflex
    .col-md-5 > picture img{
        width: 100%;
        height: auto;
        display: block;
    }
    .frame-type-compuart_contentflex .col-md-5 img {
        height: auto;
    }
    .frame-type-compuart_contentflex .col-md-4 picture {
        margin-right: -2.25rem;
        padding-right: 0;
        padding-left: 28%;
    }
    .stoerercontentflex {
        font-size: 22px;
        line-height: 27px;
        left: 10%;
    }
    .frame-type-compuart_contentflex .col-md-4 img {
        height: 100%;
        min-height: 250px;
    }
    .frame-type-compuart_contentflex .col-md-4 .img-wrap {
        overflow: unset;
    }
    .frame-type-compuart_contentflex .video {
        height: 100%;
        position: relative;
        left: -40px;
        width: calc(100% + 40px);
        max-width: none;
        display: block;
    }
}