.teaser-box {
    --teaser-box-bg-primary: var(--primary);
    --teaser-box-bg-secondary: #30a1d1;
    --teaser-box-bg-tertiary: #66b9dd;
}

/**
 * card-flat
 */
.teaser-box--type-card-flat .card__body,
.teaser-box--type-card-flat .card__footer {
    padding-right: 0;
    padding-left: 0;
}

.teaser-box--type-card-flat .card__footer {
    padding-top: 0;
}

@media screen and (max-width: 991px) {
    .teaser-box--type-card-flat .teaser-box__item {
        margin-bottom: calc(var(--grid-gutter) * 2);
    }
}
.teaser-box--type-card-flat .teaser-box__item .card {
    border: 0;
}
.teaser-box--type-card-flat .teaser-box__item .card .card__title,
.teaser-box--type-card-flat .teaser-box__item .card .card__title a {
    color: var(--primary);
}

/**
 * product
 */
.teaser-box--type-product .teaser-box__item {
    padding: 0;
}

.teaser-box--type-product .teaser-box__item ul {
    list-style: none;
    padding-left: 0;

}

.teaser-box--type-product .teaser-box__item ul li {
    color: #ffffff;
    padding-left: 0;
    list-style: none;
    border-bottom: 1px solid #ffffff;
    padding-bottom: calc(var(--spacer-xs) / 2);
    padding-top: calc(var(--spacer-xs) / 2);
    position: relative;
}
.teaser-box--type-product .teaser-box__item ul li > * {
    display: block;
    width: 100%;
}
.teaser-box--type-product .teaser-box__item ul li > *::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1092 1024'%3E%3Cpath fill='%23ffffff' d='M308.271 1024l512.017-511.999-512.017-512.001-36.316 36.316 475.691 475.685-475.685 475.685z'%3E%3C/path%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    position: absolute;
    left: auto;
    right: 0;
    top: 50%;
    margin-top: -10px;
    bottom: 0;
    width: 21px;
    height: 21px;
}

@media (max-width: 767px) {
    .teaser-box--type-product .teaser-box__item {
        margin-bottom: calc(var(--grid-gutter) * 2);
    }
}
@media (min-width: 768px) {
    .teaser-box--type-product .teaser-box__item--first {
        padding-left: var(--grid-gutter);
    }
    .teaser-box--type-product .teaser-box__item--last {
        padding-right: var(--grid-gutter);
    }
}

.teaser-box--type-product .card {
    border: 0;
}
.teaser-box--type-product .card .card__title {
    font-size: var(--h4-font-size);
    margin-bottom: var(--grid-gutter);
}

.teaser-box--type-product .card__body {
    background: transparent;
    padding-top: 220px;
    position: relative;
    color: #fff;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding-bottom: calc(var(--grid-gutter) * 2);
}

@media (min-width: 768px) {
    .teaser-box--type-product .card__body {
        padding-top: 70px;
    }
}

@media (min-width: 992px) {
    .teaser-box--type-product .card__body {
        padding-top: 140px;
    }
}

.teaser-box--type-product .card__body a,
.teaser-box--type-product .card__title {
    color: #fff;
}

.teaser-box--type-product .card {
    overflow: hidden;
}

.teaser-box--type-product .card:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 120px;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: background-color .25s cubic-bezier(.645,.045,.355,1),transform .25s;
}

.teaser-box--type-product .card__image {
    height: 140px;
    padding-left: calc(var(--grid-gutter) * 2);
    padding-right: calc(var(--grid-gutter) * 2);
}
.teaser-box--type-product .card__image::after {
    padding-bottom: 120px;
}
.teaser-box--type-product .card__image img {
    height: auto !important;
    max-height: 400px;
    position: relative !important;
    object-fit: contain!important;
    z-index: 1;
}

/**
 * industry
 */
.teaser-box--type-industry {
    --teaser-box-image-height: 300px;
    padding-bottom: 0 !important;
}
.teaser-box--type-industry .teaser-box__item {
    padding: 0;
}
@media (max-width: 767px) {
    .teaser-box--type-industry {
        --teaser-box-image-height: 200px;
    }
}

.teaser-box--type-industry .card__footer {
    padding: calc(var(--grid-gutter)*2);
    padding-top: 0;
}

@media (min-width: 768px) {
    .teaser-box--type-industry .teaser-box__items .container {
      padding-left: calc(var(--grid-gutter)*2);
      padding-right: calc(var(--grid-gutter)*2);
    /*
    .teaser-box--type-industry .teaser-box__item--first {
        padding-left: var(--grid-gutter);
    }
    .teaser-box--type-industry .teaser-box__item--last {
        padding-right: var(--grid-gutter);
    }
    */
}
.teaser-box--type-industry .teaser-box__items {
    position: relative;
    padding-bottom: var(--padding-bottom);
}
.teaser-box--type-industry .teaser-box__items::after {
    content: "";
    background: rgba(217,218,220,0.3);
    position: absolute;
    top: calc(var(--teaser-box-image-height) - 44px);
    width: 100%;
    bottom: 0;
}

.teaser-box--type-industry .card__body {
    background: rgba(3, 52, 80, 0.5);
    position: relative;
    height: calc(100% - var(--teaser-box-image-height));
    color: #fff;
    padding: calc(var(--grid-gutter) * 2);
    z-index: 2;
}

.teaser-box--type-industry .card__footer {
    background: rgba(3, 52, 80, 0.5);
    position: relative;
    z-index: 2;
}

.teaser-box--type-industry .card__body a,
.teaser-box--type-industry .card__title {
    color: #fff;
}

.teaser-box--type-industry .card {
    border: 0;
    overflow: hidden;
}

.teaser-box--type-industry .card:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 120px;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: background-color .25s cubic-bezier(.645,.045,.355,1),transform .25s;
}

.teaser-box--type-industry .card__image {
    height: var(--teaser-box-image-height);
}
.teaser-box--type-industry .card__image::after {
    padding-bottom: 120px;
}
.teaser-box--type-industry .card__image img {
    height: auto !important;
    position: relative !important;;
    object-fit: contain !important;
    z-index: 1  !important;
}
.teaser-box__second-headline {
    font-family: var(--h2-font-family);
    font-weight: var(--h2-font-weight);
    color: var(--primary);
    font-size: var(--h2-font-size);
}
@media (min-width: 992px) {
    .teaser-box__second-headline {
        font-size: 40px;
        line-height: 55px;
        padding-left: calc(var(--grid-gutter) * 1);
        padding-right: calc(var(--grid-gutter) * 1);
    }
}

/**
 * image-link-card
 */
@media (max-width: 767px) {
    .teaser-box--type-image-link-card .teaser-box__item {
        margin-bottom: calc(var(--grid-gutter) * 2);
    }
}

.teaser-box--type-image-link-card .card {
    border: 0;
}
.teaser-box--type-image-link-card .card .card__title {
    font-size: var(--h4-font-size);
    margin-bottom: var(--grid-gutter);
    padding-right: calc(var(--grid-gutter) * 2);
    position: relative;
}

.teaser-box--type-image-link-card .card .card__title::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1092 1024'%3E%3Cpath fill='%23ffffff' d='M308.271 1024l512.017-511.999-512.017-512.001-36.316 36.316 475.691 475.685-475.685 475.685z'%3E%3C/path%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    position: absolute;
    left: auto;
    right: 0;
    top: 50%;
    margin-top: -10px;
    bottom: 0;
    width: 36px;
    height: 36px;
}

.teaser-box--type-image-link-card .card__body {
    background: transparent;
    padding-top: 140px;
    position: relative;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.teaser-box--type-image-link-card .card__body a,
.teaser-box--type-image-link-card .card__title {
    color: #fff;
}

.teaser-box--type-image-link-card .card {
    overflow: hidden;
}

.teaser-box--type-image-link-card .card:after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 120px;
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: background-color .25s cubic-bezier(.645,.045,.355,1),transform .25s;
}

.teaser-box--type-image-link-card .card__image {
    height: 140px;
    padding-left: calc(var(--grid-gutter) * 2);
    padding-right: calc(var(--grid-gutter) * 2);
}
.teaser-box--type-image-link-card .card__image::after {
    padding-bottom: 120px;
}
.teaser-box--type-image-link-card .card__image img {
    height: auto !important;
    max-height: 400px !important;
    position: relative !important;
    object-fit: contain !important;
    z-index: 1 !important;
}

/**
 * image-hero-card
 */
.teaser-box--type-image-hero-card {
    --teaser-box-image-height: 100px;
    padding-bottom: 0 !important;
}
.teaser-box--type-image-hero-card .teaser-box__item {
    padding: 0;
}
@media (max-width: 767px) {
    .teaser-box--type-image-hero-card {
        --teaser-box-image-height: 100px;
    }
}

.teaser-box--type-image-hero-card .card__footer {
    padding: calc(var(--grid-gutter)*2);
    padding-top: 0;
}

@media (min-width: 768px) {
    .teaser-box--type-image-hero-card .teaser-box__item--first {
        padding-left: var(--grid-gutter);
    }
    .teaser-box--type-image-hero-card .teaser-box__item--last {
        padding-right: var(--grid-gutter);
    }
}
.teaser-box--type-image-hero-card .teaser-box__items {
    position: relative;
    padding-bottom: var(--padding-bottom);
}

.teaser-box--type-image-hero-card .card__body {
    background: #D9DADC;
    position: relative;
    height: calc(100% - var(--teaser-box-image-height));
    color: #000;
    padding: calc(var(--grid-gutter) * 2);
    z-index: 2;
}

.teaser-box--type-image-hero-card .teaser-box__item:nth-child(1n) .card__body {
    background: rgba(217, 218, 220, 0.3);
}
.teaser-box--type-image-hero-card .teaser-box__item:nth-child(2n) .card__body {
    background: rgba(178, 179, 181, 0.3);
}

.teaser-box--type-image-hero-card .teaser-box__item:nth-child(3n) .card__body {
    background: #D9DADC;
}

.teaser-box--type-image-hero-card .card__body a {
    color: #000;
}

.teaser-box--type-image-hero-card .card {
    border: 0;
    overflow: hidden;
}

.teaser-box--type-image-hero-card .card__title {
    background-color: #008BC6;
    color: #fff;
    font-size: 24px;
    padding: var(--grid-gutter);
    text-align: center;
    margin: 0;
}

.teaser-box--type-image-hero-card .card__image,
.teaser-box--type-image-hero-card .card__image img {
    max-height:var(--teaser-box-image-height);
}

.teaser-box--type-image-hero-card .card__image {

}

.teaser-box--type-image-hero-card .card__image img {
    height: auto;
    position: relative;
    object-fit: contain !important;
    padding: var(--grid-gutter);
    z-index: 1;
}

.teaser-box--type-image-hero-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.teaser-box--type-image-hero-card ul li {
    font-weight: 500;
    line-height: 2rem;
    position: relative;
    padding-left: var(--spacer-xs);
}

.teaser-box--type-image-hero-card ul li::before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1092 1024'%3E%3Cpath fill='%23000000' stroke-width='2' d='M308.271 1024l512.017-511.999-512.017-512.001-36.316 36.316 475.691 475.685-475.685 475.685z'%3E%3C/path%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    position: absolute;
    left: 0;
    right: auto;
    top: 10px;
    bottom: 0;
    width: 10px;
    height: 10px;
}
