.title::before {

    border: solid #CB1233;
    border-width: 0 .2em .2em 0;
    content: '';
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    left: 50vw;
    width: 1em;
    height: 1em;
    margin-top: -2em;

}


.content {
    padding: 50px min(50px, 5vw) 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content.content-bg {
    background-color: #FFF;
}

#intro-text {
    text-align: left;
    font: normal normal normal 40px/1.35em Segoe UI;
    font-size: min(40px, min(7vw, 8vh));
    text-shadow: 0px 0px 8px black;

    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    padding-bottom: 37px;
}

#intro-subtext {
    text-align: left;
    font: normal normal normal 30px/1em Segoe UI;
    font-size: min(30px, min(6vw, 6vh));
    text-shadow: 0px 0px 8px black;

    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    padding-bottom: 37px;
    max-width: 50vw;
}

.vertical-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13vw 0 0 0;
}

#intro-button {
    width: 196px;
    height: 63px;
    background: #CB1233 0% 0% no-repeat padding-box;
    border: 1px solid #707070;

    font: normal normal normal 20px/27px Segoe UI;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    letter-spacing: 0px;
    color: #FFFFFF;
}

#banner {
    background: transparent 0% 0% no-repeat padding-box;
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
    max-height: 100vw;
    z-index: -2;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 50px;
    overflow: hidden;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 50px;
    overflow: hidden;
}

.image img{
    width: 100%;
}

.h1{
    display: flex;
}

.h1 .title {
    padding-left: 30px;
    text-align: left;
    font: normal normal normal 75px/1.35em Segoe UI;
    font-size: min(75px, min(7vw, 7vh));
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    width: 100%;
    margin-top: -0.35em;
}

.h2{
    display: flex;
    justify-content: center;
}

.cube {
    width: min(45px, 2.5em);
    height: min(45px, 2.5em);
    background: #CB1233 0% 0% no-repeat padding-box;
    flex-shrink: 0;
}


.underline {
    width: 100%;
    height: 0px;
    border: 1px solid #707070;
}

.text {
    font: normal normal normal 20px/27px Segoe UI;
    color: #707070;
}

.creators {
    font: normal normal normal 75px/1.35em Segoe UI;
    font-size: min(65px, min(5vw, 5vh));
    color: #000000;
}

.image {
    width: 100%;
    height: 100%;
    min-height: max(50vw, 50vh);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.content-divider {
    width: 100%;
    height: 0px;
    border: 1px solid #707070;
    margin: 80px 0;
}

.h2 .title {
    padding-left: 20px;
    padding-bottom: 20px;
    text-align: left;
    font: normal normal normal 30px/40px Segoe UI;
    letter-spacing: 0px;
    color: #707070;
    text-transform: uppercase;
    opacity: 1;
    margin-top: -0.35em;
}

.accordion-button{
    display: flex;
    align-items: center;
    width: 100%;
    background: none !important;
    box-shadow: none !important;
    border: none;
    text-align: left;
    font: normal normal normal 25px/33px Segoe UI;
    letter-spacing: 0;
    color: #707070;
    padding: 0;
    text-transform: uppercase;
}

.accordion-button::after{
    content: "+";
    font: normal normal normal 30px/40px Segoe UI;
    letter-spacing: 0;
    color: #CB1233;
    text-align: center;
    margin-top: -25px;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
}

.accordion-button:not(.collapsed)::after{
    content: "-";
}

.accordion-item {
    border: none !important;
}

.accordion-body {
    font: normal normal normal 20px/27px Segoe UI;
    color: #707070;
}

.br50 {
    padding-top: 50px;
}

.mid-banner {
    height: 477px;
}

.mid-banner-image {
    position: fixed;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 0;
    background: no-repeat;
    background-size: cover;
    z-index: -100;
}

.banner-quote {
    padding: 20px 50px;
    max-width: 527px;
    max-height: 412px;

    text-align: left;
    font: normal normal normal 40px/1.35em Segoe UI;
    font-size: min(40px, min(6vw, 6vh));
    color: #707070;
}

.quote {
    text-align: left;
    font: normal normal normal 40px/1.35em Segoe UI;
    font-size: min(40px, min(6vw, 6vh));
    color: #707070;
}

.full-image {
    margin-left: max(-50px, -5vw);
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.image-grid img{
    width: 100%;
}


.chart{
    margin: 0 0 0 max(-100px, -5vw);
    background-color: #CB1233;
    padding: min(100px, 5vw) 0 0 min(100px, 5vw);
    height: 50%;
    width: calc(100% - min(100px, 5vw));
    position: relative;
    left: min(100px, 5vw);
    order: 1;
}

.chart-img{
    box-shadow: 0px 0px 10px #0000001c;
    max-width: calc(100vw - min(300px, 15vw));
}

.chart-button-row{
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.chart-button{
    font: 600 40px/100px Segoe UI;
    font-size: min(40px, min(3.6vw, 5vh));
    line-height: min(100px, min(4vw, 8vh));
    color: #707070;
    text-align: right;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    padding: 10px;
}

.chart-button.active:after{
    background-color: #CB1233;position: absolute;
    content: '';
    height: 8px;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    right: 0;
}

@media only screen and (min-width: 1016px) {
    .grid {
        grid-template-columns: 1fr 1fr;
        padding-left: 70px;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr 1fr;
    }

    .h1 .title {
        max-width: calc(50vw - 130px);
    }

    .chart-grid{
        padding-right: 70px;
    }

    .chart{
        margin: 0 0 0 -100px;
        left: 0;
        order: 0;
        width: 100%;
    }

    .chart-img{
        max-width: 60vw;
    }

    .chart-button{
        font-size: min(40px, min(2.2vw, 5vh));
        line-height: min(100px, min(4vw, 8vh));
    }

    .chart-button-row{
        flex-direction: column;
        align-items: end;
        justify-content: flex-start;
    }

    .chart-button.active:after{
        height: 12px;
        bottom: 10px;
    }
}

@media only screen and (max-width: 1015px) {
    body.mobile-banner{
        background-image: url("/img/md-charts/titelbild-mobile.jpg");
        height: unset;
        overflow-y: unset;
    }
    body.mobile-banner.raumkonzept{
        background-image: url("/img/rd-charts/titelbild-mobile.jpg");
        height: unset;
        overflow-y: unset;
    }
    body.mobile-banner.mode{
        background-image: url("/img/md-charts/titelbild-mobile.jpg");
        height: unset;
        overflow-y: unset;
    }

    #banner.mobile-banner{
        background-image: none !important;
    }

    .content.content-bg.mobile-banner {
        background-color: unset;
    }
}

@media only screen and (max-width: 991px) {
    .image-grid img{
        padding: 0 !important;
    }
}
