.content-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.page-wrapper.noheader {
    padding-top: 18vw;
}

body.single .page-wrapper.noheader {
    padding-top: 12vw;
}

#single {
    background: var(--hellgrau);
}


/*----------------- BILDER ABGEDUNKELT -------------*/

.abgedunkelt .vce-single-image:after {
    display: block;
    position: relative;
    background: -moz-linear-gradient(top, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(7, 1, 1, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00070101', endColorstr='#4d000000', GradientType=0);
    /* IE6-9 */
    margin-top: -15vw;
    height: 15vw;
    width: 100%;
    content: ' ';
}

#cookie-law-info-bar {
    font-size: 0.8rem;
}

.cli-plugin-button,
.cli-plugin-button:visited,
.medium.cli-plugin-button,
.medium.cli-plugin-button:visited {
    font-size: 0.9rem;
    margin: 0 5px;
}


/*----------------- REFERENZEN -------------*/

.referenzen .content-wrapper {
    max-width: 1170px;
}

#back-button {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

#back-button button {
    pointer-events: all;
    cursor: pointer;
}

span.vce-button--style-basic-icon-text {
    display: flex;
    align-items: center;
}

#back-button a {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: block;
    font-size: 0.9rem;
    line-height: 1em;
}

#back-button a span:before {
    content: '';
    background: url(/wp-content/themes/visual-composer-starter-theme-child/img/pfeil.svg);
    background-size: contain;
    width: 1.5em;
    height: 1em;
    margin-right: 1em;
    background-repeat: no-repeat;
}

.referenzen h1 {
    margin: 0 0 0.5em;
}

.referenzen #acf-fields h2 {
    font-size: 0.9rem;
    height: 30px;
    display: flex;
    align-items: center;
    padding-left: 45px;
    position: relative;
    margin: 2em 0 5em 0;
}

.referenzen #acf-fields h2:before {
    content: '';
    background: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-marker.svg);
    width: 30px;
    height: 40px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    left: 0;
}

.referenzen-inhalt {
    margin: 0;
    display: flex;
    padding: calc(var(--margin-bottom-row)) 0 var(--margin-bottom-row) 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3vw;
}

.referenzen-inhalt h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.referenzen-inhalt .wp-video {
    max-width: 600px;
    height: auto;
}

.spalte-links,
.spalte-rechts {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
}

#referenzen-galerie {
    padding-bottom: calc(var(--margin-bottom-row) * 1.3);
}

#referenzen-galerie ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#referenzen-galerie ul li a {
    display: block;
}

div#referenzen-galerie img {
    height: auto !important;
}


/*----------------- Formulare-------------*/

h4.quform-group-title {
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.quform-options-columns.quform-options-style-button>.quform-option>.quform-option-label {
    padding: 10px 20px;
}

.quform-button-style-classic button {
    border-radius: 0;
}

.quform .quform-button-submit button,
.quform .quform-element-submit.quform-button-style-theme .quform-button-submit button {
    background-color: var(--grey);
}

.quform-button-size-fat .quform-option-label,
.quform-button-size-fat>.quform-upload-button,
.quform-element-submit.quform-button-size-fat button {
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-size: 110%;
    font-family: var(--fliesstext);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}


/*----------------- SITEMAP -------------*/

#wp-realtime-sitemap-pages h3 {
    display: none;
}

#wp-realtime-sitemap-pages ul li:before {
    content: none;
}

#wp-realtime-sitemap-pages a {
    text-decoration: none;
    line-height: 2.1;
}

#wp-realtime-sitemap-pages ul {
    -moz-column-count: 2;
    -moz-column-gap: 2vw;
    -webkit-column-count: 2;
    -webkit-column-gap: 2vw;
    column-count: 2;
    column-gap: 2vw;
    margin: 0;
    padding: 0;
}

#wp-realtime-sitemap-pages a {
    text-decoration: none;
    transition: all 0.5s ease 0s;
    position: relative;
}

#wp-realtime-sitemap-pages a:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #000;
    bottom: 0.1em;
    left: 0;
    transition: all .5s ease 0s;
}

#wp-realtime-sitemap-pages a:hover:after {
    width: 100%;
}

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1200px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
    .page-wrapper.noheader {
        padding-top: calc(var(--header-height) + 5vw);
    }
}

@media (max-width: 767px) {
    /*----------------- REFERENZEN -------------*/
    .referenzen-inhalt {
        flex-direction: column;
    }
    .referenzen-inhalt {
        gap: 0;
    }
    .referenzen-inhalt h2 {
        margin-top: 1.7rem;
        margin-bottom: 1.2rem;
    }
    div#single.referenzen a.vce-button--style-basic-icon,
    div#single.referenzen button.vce-button--style-basic-icon {
        padding: 0.8em 2.5em;
        font-size: 14px;
    }
    .referenzen ul {
        margin-bottom: 0;
    }
    #referenzen-galerie ul {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    #referenzen-galerie ul li a {
        display: flex;
    }
    #referenzen-galerie ul li a * {
        object-fit: contain !important;
    }
    #wp-realtime-sitemap-pages ul {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media (max-width: 576px) {
    .page-wrapper.noheader {
        padding-top: calc(var(--header-height) + 9vw);
    }
    a#cookie_action_close_header {
        display: block !important;
        margin-bottom: 5px;
    }
    #referenzen-galerie ul {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    #wp-realtime-sitemap-pages a:hover:after {
        width: 0;
    }
}

@media (max-width: 420px) {
    .referenzen #acf-fields h2 {
        margin: 2em 0 3em 0;
    }
    .referenzen-inhalt h2 {
        font-size: 1.16rem;
    }
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}