/* Allgemeine Einstellungen */

:root {
    --body: #000;
    --primary: #000;
    --secondary: #fff;
    --tertiary: #eee;
    --lighter: #ccc;
    --darker: #333;
    --lightgrey: #eee;
    --darkgrey: #222;
    --altgrey: #999;
    --white: #fff;
    --black: #000;
    --alternative: #ccc;

    --box-shadow: 0 2px 25px 0 rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.44) 63.99%, rgba(0, 0, 0, 0.6) 100%);

    --max-width: 1273px;
    --wide: 1056px;
    --narrow: 838px;
    --narrower: 555px;

    --primary_font: 'Source Sans Pro', sans-serif;
    --secondary_font: 'Playfair Display', serif;

    --border-color: #eee;
    --border-radius: 23px;

    --gap: 25px;
}

body {
    font-style: normal;
    color: var(--body);
    max-width: 1920px;
    margin: 0 auto;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

body.noscroll {
    overflow-y: hidden !important;
}

body, ul li {
    font-family: var(--primary_font);
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--secondary_font);
    -moz-hyphens: auto;
    hyphens: auto;
    font-weight: 700;
}

@media only screen and ( max-width: 767px ) {
    h1, h2, h3, h4, h5, h6 {
        -moz-hyphens: unset;
        hyphens: unset;
    }
}

h1 {
    font-family: var(--secondary_font);
    color: var(--primary);
    font-size: 40px;
    letter-spacing: 0;
    line-height: 1.4em;
    -moz-hyphens: unset;
    hyphens: unset;
}

.single h1 {
    max-width: var(--narrow);
    margin-bottom: 40px;
}

h2 {
    font-size: 36px;
    letter-spacing: 0;
    line-height: 44px;
}

.rechtliches h2 {
    font-size: 24px;
    line-height: 1em;
    margin-top: 2em;
}

.bd_section h2 {
    margin-bottom: 75px;
    padding-bottom: 0;
}

h3, .like3 {
    font-size: 26px;
    letter-spacing: 0;
    line-height: 38px;
}

.rechtliches h3 {
    font-size: 20px;
    line-height: .8em;
    margin-top: 1em;
}

h4 {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 20px;
}

@media only screen and ( max-width: 980px ) {
    body, ul li {
        font-size: 16px;
        line-height: 20px;
    }

    h1 {
        font-size: 30px;
        line-height: 36px;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .bd_section h2 {
        margin-bottom: 20px;
    }

    h3, .like3 {
        font-size: 20px;
        line-height: 30px;
    }

    h4 {
        font-size: 24px;
        line-height: 31px;
    }
}

a {
    color: var(--primary);
}

.narrow {
    max-width: var(--narrow);
    margin: 0 auto;
}

.wide {
    max-width: var(--wide);
    margin: 0 auto;
}

.centered {
    text-align: center;
}

.et_pb_row.et_pb_equal_columns .et_pb_column,
.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Scrollicon */

.et_pb_scroll_top.et-pb-icon {
    background: var(--primary);
    color: var(--white);
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    border-left: 1px solid var(--white);
}

/* Ende Scrollicon */

/* Sidebar Removal */

#main-content .container:before {
    background: none;
}

@media (min-width: 981px) {
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/* Stack Order */
@media only screen and (max-width: 980px) {

    /*** wrap row in a flex box ***/
    .et_pb_section.about .et_pb_row.rtl,
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        /* Safari 6.1+ */
        flex-wrap: wrap;
        padding-bottom: 0;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/

    .et_pb_section.about .et_pb_row.rtl .et_pb_column:nth-of-type(2),
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .et_pb_section.about .et_pb_row.rtl .et_pb_column:nth-of-type(2) .et_pb_text,
    .first-on-mobile img {
        margin-bottom: 30px;
    }

    .et_pb_section.about .et_pb_row.rtl .et_pb_column:nth-of-type(1),
    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }

    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* Stack Order Smartphone */
@media only screen and (max-width: 479px) {

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-smartphone {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-smartphone img {
        margin-bottom: 30px;
    }

    .second-on-smartphone {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-smartphone {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-smartphone {
        -webkit-order: 4;
        order: 4;
    }
}

/*================================================
    BorlabsCookie
================================================*/

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-btn,
#BorlabsCookieBox ._brlbs-refuse-btn a, #BorlabsCookieBox a._brlbs-refuse-btn,
#BorlabsCookieBox ._brlbs-manage-btn a {
    background: var(--primary);
    color: #fff;
}

#BorlabsCookieBox a,
#BorlabsCookieBox ._brlbs-manage a,
#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    color: var(--primary);
}

#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    filter: brightness(90%);
}

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-refuse-btn a:hover, #BorlabsCookieBox a._brlbs-refuse-btn:hover,
#BorlabsCookieBox ._brlbs-manage-btn a:hover {
    filter: brightness(90%);
    background: var(--primary);
    color: #fff;
}

.BorlabsCookie ._brlbs-btn-switch input:checked + ._brlbs-slider {
    background-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:checked ~ ._brlbs-checkbox-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox ._brlbs-checkbox-indicator {
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:disabled ~ ._brlbs-checkbox-indicator::after {
    border-color: #eee;
}