/* Allgemeine Einstellungen */

:root {
    --body: #000;
    --primary: #ee7e07;
    --secondary: #F5F7FA;
    --tertiary: #F8FAF5;
    --darker: #1d1d1b;
    --lightgrey: #FBFAF9;
    --darkgrey: #222;
    --altgrey: #999;
    --white: #fff;
    --black: #000;
    --alternative: #ccc;

    --boxshadow: 0 6px 25px 0 rgba(0, 0, 0, 0.08);
    --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%);

    --narrow: 720px;
    --narrower: 440px;

    --primary_font: "Montserrat";
    --secondary_font: "Montserrat";
    --tertiary_font: "Montserrat";

    --border-radius: 0;
}

::selection {
    background: var(--primary);
}

::selection {
    color: var(--white);
}

body {
    font-family: var(--primary_font);
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 28px;
    font-style: normal;
    color: var(--body);
}

#main-content {
    overflow-x: hidden;
    -ms-overflow-x: hidden;
}

.et_pb_row {
    max-width: 1020px;
}

@media only screen and ( min-width: 981px ) {
    .page-template-content .et_pb_section_0 {
        padding-top: 49px;
    }
}

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

h1,
h2, .et_pb_text_inner h2 {
    font-family: var(--secondary_font);
    color: var(--primary);
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
}

h1 span,
h2 span, .et_pb_text_inner h2 span {
    display: block;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 28px;
    color: var(--body);
    text-transform: none;
    margin-top: 10px;
}

@media only screen and ( max-width: 980px ) {
    h1 {
        font-size: 30px;
        line-height: 37px;
    }

    h2, .et_pb_text_inner h2 {
        font-size: 30px;
        line-height: 37px;
    }

    h3 {
        font-size: 26px;
        line-height: 33px;
    }

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

p {
    padding-bottom: 26px;
}

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

.narrow {
    max-width: 720px;
    margin: 0 auto;
}

.wider {
    max-width: 1650px;
    margin: 0 auto;
}

.centered {
    text-align: center;
}

.teaser {
    max-width: var(--narrow);
}

.teaser.left-aligned {
    text-align: left;
    margin-left: 0;
}

.teaser.centered {
    margin: 0 auto;
}

.fullwidth {
    width: 100%;
    max-width: unset;
}

.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equal-height {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    direction: ltr;
}

#errorcode {
    font-size: 4.5em;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 50px;
}

@media only screen and ( max-width: 767px ) {
    #errorcode {
        font-size: 2.5em;
        line-height: 1.1em;
    }
}

.not-found-title {
    color: var(--body);
    font-size: 2em;
    line-height: 1.2em;
}

.not_found .entry {
    margin-bottom: 50px;
}

/* Snippets */

.et-search-form, .et_mobile_menu, .footer-widget li:before, .nav li ul, blockquote {
    border-color: var(--primary);
}

#et_search_icon:hover, .bottom-nav li.current-menu-item > a, .comment-reply-link, .entry-summary p.price ins, .et-social-icon a:hover, .et_password_protected_form .et_submit_button, .footer-widget h4, .form-submit .et_pb_button, .mobile_menu_bar:after, .mobile_menu_bar:before, .nav-single a, .posted_in a, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce #content input.button, .woocommerce #content input.button.alt, .woocommerce #content input.button.alt:hover, .woocommerce #content input.button:hover, .woocommerce #respond input#submit, .woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page #content input.button, .woocommerce-page #content input.button.alt, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit, .woocommerce-page #respond input#submit.alt, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page .star-rating span:before, .woocommerce-page a.button, .woocommerce-page a.button.alt, .woocommerce-page a.button.alt:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt.disabled, .woocommerce-page button.button.alt.disabled:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page button.button:hover, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price, .woocommerce-page input.button, .woocommerce-page input.button.alt, .woocommerce-page input.button.alt:hover, .woocommerce-page input.button:hover, .woocommerce .star-rating span:before, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce a.button:hover, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:hover, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce input.button, .woocommerce input.button.alt, .woocommerce input.button.alt:hover, .woocommerce input.button:hover, .wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: var(--primary);
}

.et_overlay:before, .et_pb_bg_layout_light.et_pb_module.et_pb_button, .et_pb_bg_layout_light .et_pb_more_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_contact_submit, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .et_pb_member_social_links a:hover, .et_pb_pricing_table_button, .et_pb_pricing li a, .et_pb_sum {
    color: var(--primary);
}

.et-db #et-boc .et-l .et_overlay:before, .et-db #et-boc .et-l .et_pb_bg_layout_light.et_pb_module.et_pb_button, .et-db #et-boc .et-l .et_pb_bg_layout_light .et_pb_more_button, .et-db #et-boc .et-l .et_pb_bg_layout_light .et_pb_newsletter_button, .et-db #et-boc .et-l .et_pb_bg_layout_light .et_pb_promo_button, .et-db #et-boc .et-l .et_pb_contact_submit, .et-db #et-boc .et-l .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et-db #et-boc .et-l .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et-db #et-boc .et-l .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .et-db #et-boc .et-l .et_pb_member_social_links a:hover, .et-db #et-boc .et-l .et_pb_pricing_table_button, .et-db #et-boc .et-l .et_pb_pricing li a, .et-db #et-boc .et-l .et_pb_sum {
    color: var(--primary);
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
}

/* Ende Snippets */

/* Seitenlinks "more" */

a.more, a.read-more,
article .dgbm_blog_module .dgbm_post_item .dg_read_more_wrapper a {
    font-weight: bold;
    font-family: var(--tertiary_font);
    text-transform: uppercase;
}

a.more:after, a.read-more:after,
.et_pb_blurb_description a:after,
article .dgbm_blog_module .dgbm_post_item .dg_read_more_wrapper a:after {
    content: unset;
}

.dgbc_blog_carousel .dgbc_post_item .dg_read_more_wrapper a:after, .dgbc_blog_carousel .dgbc_post_item .dg_read_more_wrapper a span {
    border-bottom: 2px solid var(--primary);
}

/* DiviGear BlogModule */

article .dgbm_blog_module .dgbm_post_item .dg_read_more_wrapper a:after {
    margin-left: 0;
    vertical-align: unset;
    transform: translateY(1px);
}

/* Ende Seitenlinks "more" */

/* Buttons */

button, button:hover,
.et_pb_button, .et_pb_button:hover,
.et_pb_module .et_pb_button, .et_pb_module .et_pb_button:hover,
.btn-primary, .btn-primary:hover,
.btn-secondary, .btn-secondary:hover,
.btn-transparent, .btn-transparent:hover,
.leistungsbox .et_pb_blurb_description a {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 18px;
    font-family: var(--tertiary_font);
    text-transform: uppercase;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.et_pb_button:before, .et_pb_button:after,
.leistungsbox .et_pb_blurb_description a:before, .leistungsbox .et_pb_blurb_description a:after {
    display: none;
}

.btn-primary,
.et_pb_bg_layout_light.btn-primary {
    color: var(--white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover,
.et_pb_bg_layout_light.btn-primary:hover {
    filter: brightness(90%);
    color: var(--white);
    background-color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary,
.et_pb_bg_layout_light.btn-secondary,
.leistungsbox .et_pb_blurb_description a {
    color: var(--primary);
    background: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover,
.et_pb_bg_layout_light.btn-secondary.et_pb_button:hover,
.leistungsbox .et_pb_blurb_description a:hover {
    filter: brightness(90%);
    color: var(--primary);
    background-color: var(--white);
    border: 2px solid var(--primary);
}

.btn-transparent,
.et_pb_bg_layout_light.btn-transparent.et_pb_button {
    color: var(--white);
    background-color: unset;
    border: 2px solid var(--white);
}

.btn-transparent:hover,
.et_pb_bg_layout_light.btn-transparent.et_pb_button:hover {
    filter: brightness(90%);
    color: var(--white);
    background-color: unset;
    border: 2px solid var(--white);
}

.btn-white,
.et_pb_bg_layout_light.btn-white {
    color: var(--black);
    background-color: var(--white);
    border: 2px solid var(--white);
}

.btn-white:hover,
.et_pb_bg_layout_light.btn-white:hover {
    filter: brightness(90%);
    color: var(--black);
    background-color: var(--white);
    border: 2px solid var(--white);
}

.btn-black,
.et_pb_bg_layout_light.btn-black {
    color: var(--white);
    background-color: var(--black);
    border: 2px solid var(--black);
}

.btn-black:hover,
.et_pb_bg_layout_light.btn-black:hover {
    filter: brightness(90%);
    color: var(--white);
    background-color: var(--black);
    border: 2px solid var(--black);
}

/* Ende Buttons */

/* Divi Carousel */

.dica-container .swiper-button-next,
.dica-container .swiper-button-prev {
    border-radius: 50%;
}

.dica_divi_carousel_0.dica_divi_carousel .dica-container .swiper-button-next,
.dica_divi_carousel_0.dica_divi_carousel .dica-container .swiper-button-prev,
.dica_divi_carousel_1.dica_divi_carousel .dica-container .swiper-button-next,
.dica_divi_carousel_1.dica_divi_carousel .dica-container .swiper-button-prev,
.dica_divi_carousel_2.dica_divi_carousel .dica-container .swiper-button-next,
.dica_divi_carousel_2.dica_divi_carousel .dica-container .swiper-button-prev {
    background-color: unset !important;
    border: 2px solid var(--primary);
    width: 44px;
    height: 44px;
    font-size: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dica_divi_carousel_0 .dica-container .swiper-button-next:before,
.dica_divi_carousel_0 .dica-container .swiper-button-prev:before,
.dica_divi_carousel_1 .dica-container .swiper-button-next:before,
.dica_divi_carousel_1 .dica-container .swiper-button-prev:before,
.dica_divi_carousel_2 .dica-container .swiper-button-next:before,
.dica_divi_carousel_2 .dica-container .swiper-button-prev:before {
    color: var(--primary) !important;
}

.dica-container .swiper-buttton-container .swiper-button-prev {
    left: 5%;
}

.dica-container .swiper-buttton-container .swiper-button-next {
    right: 5%;
}

/* Ende Divi Carousel */

/* Divi Blog Module */

article .dgbm_blog_module_0 .dgbm_post_item .dg_read_more_wrapper,
article .dgbm_blog_module_1 .dgbm_post_item .dg_read_more_wrapper,
article .dgbm_blog_module_2 .dgbm_post_item .dg_read_more_wrapper {
    text-align: center;
}

article.dgbm_post_item .post-content {
    margin-bottom: 20px;
}

/* Ende Divi Blog Module */

/* Page-Navi */

.wp-pagenavi {
    text-align: center;
    border-top: 2px solid var(--alternative);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    padding-top: 8px;
    margin-top: 40px;
}

.wp-pagenavi a, .wp-pagenavi span {
    font-family: var(--primary_font);
    font-size: 16px !important;
    letter-spacing: 0;
    line-height: 24px;
    text-align: center;
    padding: 10px 18px;
}

.wp-pagenavi span.current {
    background-color: var(--secondary);
    border-top: 2px solid var(--body) !important;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    color: var(--primary) !important;
}

/* Allgemeine Layout-Einstellungen */

#additional_infotext::before {
    content: '';
    width: 80%;
    max-width: 1420px;
    height: 1px;
    background-color: var(--alternative);
    display: block;
    margin: 0 auto;
}

#additional_infotext .et_pb_text {
    max-width: 920px;
    margin: 0 auto;
}

#additional_infotext h2, #additional_infotext h3, #additional_infotext h4 {
    font-family: var(--primary_font);
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
}

#additional_infotext h2:first-of-type {
    margin-top: 0;
}

/* Ende Allgemeine Layout-Einstellungen */

/* Suche */

.et_pb_search {
    max-width: 459px;
    margin: 0 auto;
    border: 0;
}

input.et_pb_s, .et_pb_search input.et_pb_s {
    -webkit-appearance: none;
    border: 2px solid var(--primary);
    border-radius: 25px;
    font-family: var(--primary_font);
    font-size: 16px;
    color: var(--primarry);
    letter-spacing: 0;
    line-height: 24px;
    height: 44px !important;
}

/* Ende Suche */

/* Suchergebnisse */

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

#search_teaser,
#search_box {
    margin: 0 auto;
    max-width: var(--narrower);
    text-align: center;
}

#search_results h2 {
    font-family: var(--secondary_font);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 24px;
    padding-bottom: 15px;
}

#search_results .search_excerpt {
    padding-bottom: 20px;
}

article.search_result:not(:last-of-type) {
    margin-bottom: 80px;
}

#search_box .et_pb_search {
    max-width: 420px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 60px;
}

#search_box input.et_pb_searchsubmit,
#search_box .widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

#search_box input.et_pb_s,
#search_box .widget_search input#s {
    padding-right: 55px !important;
}

#search_box .et_pb_searchform:before,
#search_box .widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
}

/* Ende Suchergebnisse */

/* 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 ***/
    .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;
    }

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

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

    .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;
    }
}

/*================================================
        Header
================================================*/

@media only screen and ( min-width: 981px ) {
    .et_pb_svg_logo #logo {
        max-width: 300px;
    }

    .et_header_style_left #et-top-navigation nav > ul > li.special > a {
        border: 2px solid var(--white);
        padding: 6px 15px;
    }

    #top-menu li a:before {
        content: "";
        position: absolute;
        z-index: -2;
        left: 0;
        right: 100%;
        bottom: 40%;
        background: var(--white);
        height: 2px;
        -webkit-transition-property: right;
        transition-property: right;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }

    #top-menu li.icon a::before {
        height: 0;
    }

    #top-menu li a:hover {
        opacity: 1 !important;
    }

    #top-menu li a:hover:before {
        right: 0;
    }

    #top-menu li li a:before {
        bottom: 10%;
    }
}

@media only screen and ( min-width: 1100px ) {
    #top-menu li {
        padding-right: 28px;
    }
}

@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) {
    #main-header .container {
        width: 90%;
    }
}

#top-menu a,
#top-menu li.current-menu-item > a {
    color: var(--white);
    font-family: var(--tertiary_font);
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

/* Mobile Navi */

@media only screen and (max-width: 980px) {
    #main-header {
        position: fixed !important;
        background: var(--white) !important;
    }

    .mobile_menu_bar:after, .mobile_menu_bar:before {
        color: #707070;
        font-size: 80px;
    }

    #mobile_menu {
        display: block;
        min-height: 100vh;
        height: 100%;
        top: 0;
        right: 0;
        position: fixed;
        z-index: 9998;
        overflow: scroll;
        border-top: none;
        padding-top: 30vh;
    }

    .et_mobile_menu li a {
        color: var(--white);
        width: 100%;
        float: left;
        border: none;
        text-align: left;
        margin: 3px 0;
        transition: .2s;
        text-transform: uppercase;
        font-size: 20px;
    }

    .et_mobile_menu li.icon.menu-item {
        display: inline-block;
        padding-left: 5%;
    }

    .sub-menu li a {
        font-size: 1em;
        padding-bottom: 0;
    }

    .sub-menu li:last-of-type a {
        padding-bottom: 15px;
    }

    .mobile_nav ul#mobile_menu .current_page_item > a {
        color: var(--white);
    }

    .mobile_nav.closed #mobile_menu {
        -moz-background-size: cover;
        -o-background-size: cover;
        -webkit-background-size: cover;
        background: var(--primary);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
    }

    .mobile_nav.opened #mobile_menu {
        -moz-background-size: cover;
        -o-background-size: cover;
        -webkit-background-size: cover;
        background: var(--primary);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        -webkit-overflow-scrolling: touch;
        -webkit-transition: -webkit-transform 0.4s 0s;
        -moz-transition: -moz-transform 0.4s 0s;
        transition: transform 0.4s 0s;
    }

    #main-header .container.clearfix.et_menu_container {
        width: 100%;
    }

    .mobile_nav.opened .mobile_menu_bar:before {
        content: '\4d';
        z-index: 9999;
        color: var(--white);
        border: 0;
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
}


@media only screen and (max-width: 980px) {

    .et_header_style_split .mobile_menu_bar,
    .et_header_style_left .mobile_menu_bar {
        z-index: 9999;
    }

    #et-top-navigation, .et_header_style_left #et-top-navigation {
        max-height: 74px;
        padding-right: 5px;
        padding-top: 0;
    }

    .logo_container {
        padding-left: 40px;
    }

    .mobile_menu_bar {
        right: 40px;
    }

    .et_header_style_left #logo, .et_header_style_split #logo,
    .et_pb_svg_logo #logo, #logo {
        height: 100%;
        max-height: 100%;
        width: auto;
        max-width: 100%;
    }

}

@media only screen and (min-width: 481px) {
    #mobile_menu {
        width: 340px;
        margin-left: calc(100% - 340px);
    }
}

@media only screen and (max-width: 480px) {
    #mobile_menu {
        width: 80%;
        max-width: 350px;
        margin-left: calc(100% - 80%);
    }
}

@media only screen and (max-width: 479px) {
    .logo_container {
        padding-left: 20px;
    }

    .mobile_menu_bar {
        right: 20px;
    }
}


/* Pageheader */

#pageheader {
    background-repeat: no-repeat;
    background-size: cover;
    height: 800px;
    margin-bottom: -50px;
    padding-bottom: 0;
}

#pageheader.sub {
    height: 300px;
    padding: 0;
    background: var(--primary);
}

@media only screen and ( min-width: 981px ) {
    #pageheader.sub {
        height: 450px;
    }
}

#pageheader.sub h1 {
    color: var(--white);
}

#pageheader.sub .et_pb_row {
    padding: 0;
    height: 100%;
}

#pageheader.sub .et_pb_column {
    position: absolute;
    bottom: 120px;
}

#pageheader.sub .et_pb_text_inner {
    padding-bottom: 40px;
}

@media only screen and ( max-width: 980px ) {
    #pageheader {
        height: 223px;
        margin-top: 74px;
    }
}

#pageheader::after {
    content: '';
    -moz-transform: scale(1.6) rotate(358deg);
    -webkit-transform: scale(1.6) rotate(358deg);
    -o-transform: scale(1.6) rotate(358deg);
    -ms-transform: scale(1.6) rotate(358deg);
    transform: scale(1.6) rotate(358deg);
    background: var(--white);
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0;
    bottom: 0;
}

@media only screen and ( max-width: 767px ) {
    #pageheader::after {
        height: 50px;
    }
}

#pageheader p {
    font-size: 21px;
    letter-spacing: 0;
    line-height: 28px;
    color: var(--white);
}

/*================================================
        Rechtliches
================================================*/

.page-template-content .et_pb_section_0 {
    padding: 57px 0 !important;
}

.page-template-content h2, .page-template-content h3, .page-template-content h4 {
    text-align: left;
}

.page-template-content .et_pb_column .et_pb_text:not(:last-of-type) {
    margin-bottom: 60px;
}

/*================================================
        Über uns
================================================*/

#about {
    padding-top: 0;
}

/*================================================
        Leistungen
================================================*/

#leistungen {
    margin-top: -50px;
    background-color: rgba(117, 116, 116, 0.11);
    padding: 150px 0;
}

#leistungen::before,
#leistungen::after {
    content: '';
    -moz-transform: scale(1.6) rotate(358deg);
    -webkit-transform: scale(1.6) rotate(358deg);
    -o-transform: scale(1.6) rotate(358deg);
    -ms-transform: scale(1.6) rotate(358deg);
    transform: scale(1.6) rotate(358deg);
    background: var(--white);
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0;
    top: -50px;
}

#leistungen::after {
    top: unset;
    bottom: -50px;
}

#leistungen .et_pb_main_blurb_image {
    width: 86px;
    height: 86px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    margin-bottom: 26px;
}

#leistungen .et_pb_main_blurb_image img {
    width: 86px;
    height: 86px;
}

#leistungen .et_pb_blurb h3 {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
}

#leistungen .et_pb_text_inner h3 {
    font-weight: bold;
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 0;
}

@media only screen and ( min-width: 981px ) {
    #leistungen .content .et_pb_column_3_5 {
        width: 54.8%;
        margin-right: 14%;
    }

    #leistungen .content .et_pb_column_2_5 {
        width: 31.2%;
    }
}

#leistungen .content ul {
    margin-top: 31px;
    padding-left: 0;
    padding-bottom: 0;
    list-style: none;
}

#leistungen .content ul li {
    position: relative;
    left: 30px;
    margin-bottom: 10px;
}

#leistungen .content ul li:last-of-type {
    margin-bottom: 0;
}

#leistungen .content ul li::before {
    content: '\4e';
    font-family: etmodules;
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
    margin-right: 12px;
    overflow: hidden;
    display: block;
    position: absolute;
    left: -30px;
}

/*================================================
        Jobs
================================================*/


#jobs ul {
    margin-top: 10px;
    padding-left: 0;
    padding-bottom: 0;
    list-style: none;
}

#jobs ul li {
    position: relative;
    left: 30px;
    margin-bottom: 10px;
}

#jobs ul li:last-of-type {
    margin-bottom: 0;
}

#jobs ul li::before {
    content: '\35';
    font-family: etmodules;
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
    margin-right: 12px;
    overflow: hidden;
    display: block;
    position: absolute;
    left: -30px;
}

/*================================================
        Kontakt
================================================*/

#jobs::before,
#kontakt::before {
    content: '';
    width: 197px;
    height: 3px;
    margin: 0 auto;
    background: var(--primary);
    -moz-transform: scale(1.6) rotate(358deg);
    -webkit-transform: scale(1.6) rotate(358deg);
    -o-transform: scale(1.6) rotate(358deg);
    -ms-transform: scale(1.6) rotate(358deg);
    transform: scale(1.6) rotate(358deg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

#kontakt h2 {
    text-align: left;
}

#kontakt a {
    font-weight: normal;
}

/*================================================
        Footer
================================================*/

#main-footer {
    background: unset;
}

footer .et_pb_section {
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgba(117, 116, 116, 0.11);
}

footer .et_pb_section .et_pb_row {
    padding: 32px 0;
}

footer img {
    width: 220px;
    height: auto;
}

@media only screen and ( min-width: 981px ) {
    #menu-footernav {
        text-align: right;
    }
}


@media only screen and ( max-width: 980px ) {
    .et_pb_column_2_3 {
        display: none;
    }

    #menu-footernav {
        display: table;
        table-layout: fixed;
        width: 100%;
    }

    #menu-footernav li {
        display: table-cell;
        width: 50%;
    }

    #menu-footernav li:last-of-type {
        text-align: right;
    }
}

#menu-footernav li a {
    text-transform: uppercase;
    color: #000;
}

footer .et_pb_text_inner a {
    color: #000;
}

/*================================================
    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;
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-caption {
    background-color: var(--primary);
}

.BorlabsCookie ._brlbs-video-youtube a._brlbs-btn,
.BorlabsCookie ._brlbs-video-youtube a._brlbs-btn:hover {
    background: var(--secondary);
    border-radius: 4px;
    color: var(--white);
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-caption a {
    color: var(--white);
    font-weight: bold;
}

.BorlabsCookie ._brlbs-video-youtube a._brlbs-btn:hover {
    filter: brightness(90%);
}

.borlabs-cookie-preference a {
    cursor: pointer;
}