.accordion-teaser {
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
}

.accordion-teaser :is(h1, h2, h3, h4, h5, h6, p) {
    color: inherit;
}

.accordion-teaser__item {
    display: flex;
    flex: 1;
    transition: flex 0.5s;
}

.accordion-teaser__item-direction--noreverse {
    flex-flow: column nowrap;
}

.accordion-teaser__item-direction--reverse {
    flex-flow: column-reverse nowrap;
}

.accordion-teaser__item--active {
    display: flex;
    flex: 2;
    transition: flex 0.5s;
}

.accordion-teaser__item--active .item__image {
    height: 323px;
}

.accordion-teaser .item__content {
    transition: flex 0.5s;
    flex: 1;
}

.accordion-teaser .item__content--active {
    flex: 2;
}

.accordion-teaser .item__image {
    flex: 1;
    transition: flex 0.5s;
}

.accordion-teaser .item__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.accordion-teaser .item__content {
    padding: 25px;
    display: flex;
    gap: 25px;
    flex-flow: column nowrap;
}

.accordion-teaser .content__title {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
}

.accordion-teaser .content__descriptions {
    position: relative;
    height: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    transition: height 0.5s;
}

.accordion-teaser .description__short {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s;
}

.accordion-teaser .description__short--visible {
    position: unset;
    opacity: 1;
    transition: opacity 0.5s;
}

.accordion-teaser .description__full {
    position: absolute;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.5s;
    z-index: -1;
}

.accordion-teaser .description__full p {
    color: inherit; /* using the parent's color setting, instead of the default text color */
}

.accordion-teaser .description__full--visible {
    position: unset;
    opacity: 1;
    transition: opacity 0.5s;
}

.accordion-teaser .content__button {
    display: flex;
    justify-content: space-between;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 135%;
    z-index: 1000;
}

.accordion-teaser .content__button button {
    display: flex;
    box-sizing: border-box;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.accordion-teaser .button__icon {
    font-weight: 300;
    font-size: 40px;
    line-height: 40px;
}

.accordion-teaser .contact__cta {
    display: flex;
    align-items: center;
    height: 50px;
    cursor: pointer;
    border: 2px solid var(--color-white);
    line-height: 50px;
    padding: 0 25px;
    border-radius: 25px;
}

@media only screen and (max-width: 1200px) {
    .accordion-teaser .item__image {
        display: none;
    }

    .accordion-teaser {
        display: flex;
        flex-flow: column nowrap;
    }
}
