/*================================================
    Additional Content / SEO Texte
================================================*/

body.tax-product_cat.woocommerce.et-db #et-boc .et-l #additional_content {
    padding-bottom: 200px;
}

#additional_content .et_pb_row,
.et-db #et-boc .et-l #additional_content .et_pb_row {
    max-width: 670px;
    padding: 0;
    margin: 0 auto;
}


#additional_content h2,
.et-db #et-boc .et-l #additional_content h2 {
    font-size: 24px;
    letter-spacing: 3px;
    line-height: 28px;
    padding-bottom: 20px;
    font-family: var(--primary_font);
    color: var(--black);
}

#additional_content h2::after,
.et-db #et-boc .et-l #additional_content h2::after,
#additional_content h3::after,
.et-db #et-boc .et-l #additional_content h3::after{
    content: unset;
}

#additional_content h3,
.et-db #et-boc .et-l #additional_content h3 {
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 21px;
}

#additional_content h2:not(:first-of-type), #additional_content h3, #additional_content h4, #additional_content h5, #additional_content h6 {
    padding-top: 40px;
}

/* --- */

.et-db #et-boc .et-l .et_pb_section .intro.narrow .et_pb_text,
.intro.narrow .et_pb_text {
    text-align: center;
}

/* PAGETOP */

#pagetop {
    padding: 0;
    min-height: 640px;
    display: flex;
}

#pagetop.small {
    min-height: 540px;
}

#pagetop .intro {
    padding: 0;
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
}

/*#pagetop.startseite .intro,*/
#pagetop:not(.dark-font) .intro{
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 65%);
    max-width: unset;
    width: 100%;
    padding: 0 15%;
}

#pagetop .et_pb_column {
    max-width: 420px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/*
#pagetop.small .et_pb_column
#pagetop.small .et_pb_column {
    max-width: 500px;
}*/


#pagetop:not(.small) .et_pb_text {
    margin-bottom: 20px;
}

#pagetop h1,
#pagetop p,
#pagetop .et_pb_button_module_wrapper {
    text-align: center;
}

#pagetop.dark-font h1,
#pagetop.dark-font p {
    color: var(--black);
}

#pagetop p {
    margin-top: 20px;
}

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

    #pagetop {
        background-position: 42%;
        min-height: 400px;
    }

    #pagetop:not(.dark-font) .intro,
    #pagetop.dark-font .intro {
        background: rgba(0,0,0,0.3);
    }

}

#kacheln {
    background: var(--black);
    padding: 120px 0 140px 0;
}

#kacheln .intro {
    padding: 0 0 20px 0;
}

#kacheln .content {
    padding: 0;
}

#kacheln .content .et_pb_column {
    width: calc((100% - 80px) / 3);
}

#kacheln .content .et_pb_column:not(:nth-last-of-type(1)) {
    margin-right: 40px;
}

#kacheln .content .et_pb_column:nth-of-type(1),
#kacheln .content .et_pb_column:nth-last-of-type(1) {
    background: var(--primary);
    padding: 140px 50px 150px 50px;
}

#kacheln .content .et_pb_column:nth-of-type(2) {

}

#kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image,
#kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image .et_pb_image_wrap {
    height: 100%;
}

#kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image img {
    height: 100%;
    object-fit: cover;
}

#kacheln .content h3 {
    font-size: 40px;
    letter-spacing: 0;
    line-height: 45px;
    text-align: center;
    font-family: var(--headline_font);
    color: var(--black);
    padding-bottom: 20px;
    font-size: 35px;
    line-height: 1.2;
    hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
}

#kacheln .content p {
    color: var(--black);
    text-align: center;
}

.et-db #et-boc .et-l #serviceleistungen.et_pb_section,
#serviceleistungen {
    background: var(--background-dark);
    padding: 120px 0;
}

.et-db #et-boc .et-l .et_pb_section#serviceleistungen .intro,
#serviceleistungen .intro {
    padding: 0 0 50px 0;
}

.et-db #et-boc .et-l .et_pb_section#serviceleistungen .content,
#serviceleistungen .content {
    padding: 0;
}

#serviceleistungen .content .et_pb_main_blurb_image {
    margin-bottom: 20px;
}

#serviceleistungen .content h3 {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    font-weight: normal;
}

@media only screen and (min-width: 981px) {

    #serviceleistungen .content .et_pb_blurb {
        width: calc((100% - 160px) / 5);
        float: left;
    }

    #serviceleistungen .content .et_pb_blurb:not(:last-child) {
        margin-right: 40px;
    }

}

#teaser_team {
    background: var(--black);
    padding: 125px 0;
}

#teaser_team .intro {
    padding: 0;
}

#teaser_team .et_pb_column:first-child {
    width: 70%;
    margin-right: 40px;
}

#teaser_team .et_pb_column:last-child {
    margin-right: 30%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#teaser_team .et_pb_column:first-child .et_pb_image,
#teaser_team .et_pb_column:first-child .et_pb_image .et_pb_image_wrap {
    height: 100%;
}

#teaser_team .et_pb_column:first-child .et_pb_image img {
    height: 100%;
    object-fit: cover;
}

#produkte_tabs {
    background: var(--black);
    padding: 0 0 300px 0;
}

#produkte_tabs .intro {
    padding: 0 0 50px 0;
}

#produkte_tabs .content {
    padding: 0;
}

#produkte_tabs .et_pb_tabs {
    border: 0;
}

#produkte_tabs ul.et_pb_tabs_controls {
    background: unset;
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding-bottom: 60px !important;
}

#produkte_tabs ul.et_pb_tabs_controls li {
    background: unset;
    padding: 0;
    border: unset;
}

#produkte_tabs ul li:not(:nth-last-of-type(1)) {
    margin-right: 30px;
    border: unset;
}

#produkte_tabs ul.et_pb_tabs_controls li a {
    text-transform: uppercase;
    color: var(--white) !important;
    padding: 0 10px;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease all;
}

#produkte_tabs ul.et_pb_tabs_controls li a:hover,
#produkte_tabs ul.et_pb_tabs_controls li.et_pb_tab_active a {
    border-color: var(--primary);
    color: var(--primary) !important;
    transition: 0.3s ease all;
}

#produkte_tabs ul.et_pb_tabs_controls:after {
    display: none;
}

#produkte_tabs .et_pb_all_tabs {
    background: unset;
    padding: 0;
}

#produkte_tabs .et_pb_tab {
    padding: 0;
}

#produkte_tabs ul {
    margin: 0;
}

#produkte_tabs ul li {
    width: calc((100% - 150px) / 4);
    margin-right: 50px;
    margin-bottom: 30px;
    padding: 0;
}

#produkte_tabs ul li:nth-of-type(4n) {
    margin-right: 0;
}

#produkte_tabs ul li:nth-last-of-type(1),
#produkte_tabs ul li:nth-last-of-type(2),
#produkte_tabs ul li:nth-last-of-type(3),
#produkte_tabs ul li:nth-last-of-type(4) {
    margin-bottom: 0;
}

#produkte_tabs ul li .et_shop_image {
    height: 100%;
}

#produkte_tabs ul li .et_shop_image img {
    margin-bottom: 0 !important;
    height: 100%;
}

#produkte_tabs li.product h2,
#produkte_tabs li.product .price,
#produkte_tabs li.product .wc-gzd-additional-info  {
    display: none;
}

.et-db #et-boc .et-l .et_pb_section#teaser_kontakt,
#teaser_kontakt {
    background: var(--primary);
    padding: 120px 0;
}

.et-db #et-boc .et-l .et_pb_section#teaser_kontakt .intro,
#teaser_kontakt .intro {
    padding: 0;
}

#teaser_kontakt h2,
#teaser_kontakt .et_pb_text_inner {
    color: var(--black);
}

.wpcf7-form .form-row {
    line-height: 0;
}

.wpcf7-form .form-row:nth-of-type(2) .column-full {
    margin-bottom: 10px;
}

.wpcf7-form .form-row:nth-of-type(2) .column-full input {
    width: 100%;
}

.woocommerce #teaser_kontakt form .form-row {
    padding: 0;
    margin: 0;
}

.woocommerce #teaser_kontakt form .form-row:nth-last-of-type(3),
.wpcf7-form .form-row:nth-last-of-type(3) {
    line-height: 1.2;
    margin: 15px 0;
}

.woocommerce #teaser_kontakt form .form-row:nth-last-of-type(3) a {
    color: var(--white);
    text-decoration: underline;
    transition: 0.3s ease all;
}

.woocommerce #teaser_kontakt form .form-row:nth-last-of-type(3) a:hover {
    color: var(--black);
    transition: 0.3s ease all;
}

.woocommerce #teaser_kontakt form .form-row:nth-last-of-type(2),
.wpcf7-form .form-row:nth-last-of-type(2) {
    margin: 0 0 20px 0;
}

.wpcf7-form .form-row .column-half {
    width: calc((100% - 10px) / 2);
    float: left;
    margin-bottom: 10px;
}

.wpcf7-form .form-row .column-half:first-child {
    margin-right: 10px;
}

.wpcf7-form .form-row .column-half input {
    width: 100%;
}
.wpcf7-form .form-row textarea {
    width: 100%;
}

.wpcf7-form textarea,
.wpcf7-form input {
    padding: 10px;
    color: var(--black);
}

.wpcf7-form .wpcf7-submit {
    box-shadow: unset;
    border: unset;
    background: var(--black);
    color: var(--body);
    font-size: 15px;
    padding: 10px 15px;
}

#kontakt .wpcf7-form .wpcf7-submit {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--white);
    transition: 0.3s ease all;
}

#kontakt .wpcf7-form .wpcf7-submit:not(:disabled):hover {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    transition: 0.3s ease all;
    cursor: pointer;
}

#kontakt .wpcf7-form .wpcf7-submit:after {
    content: url('/wp-content/themes/vrmdc/img/icon_arrow_right.svg');
    height: 10px;
    width: 10px;
    position: absolute;
    right: 0;
    top: 0;
}

#teaser_kontakt .wpcf7-form .wpcf7-submit {
    border: 2px solid var(--black);
    transition: 0.3s ease all;
}

#teaser_kontakt .wpcf7-form .wpcf7-submit:not(:disabled):hover {
    background: unset;
    border: 2px solid var(--black);
    color: var(--black);
    transition: 0.3s ease all;
    cursor: pointer;
}

.wpcf7-form .wpcf7-submit:disabled {
    filter: brightness(0.7);
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.et-db #et-boc .et-l .et_pb_section.seo_text,
.seo_text {
    background: var(--background-light);
    padding: 150px 0;
}

.et-db #et-boc .et-l .et_pb_section.seo_text .intro,
.seo_text .intro {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.seo_text h2,
.seo_text h3 {
    color: var(--font-grey);
    font-family: "Playfair Display";
    font-size: 24px;
    line-height: 35px;
}

.seo_text h3 {
    margin-top: 30px;
}

.seo_text .et_pb_text_inner {
    color: var(--font-grey);
}

/* TEAM */

#team {
    background: var(--black);
    padding: 125px 0 80px 0;
}

#team .intro {
    padding: 0 0 50px 0;
}

#team .content {
    padding: 0;
}

#team .et_pb_team_member_image {
    max-width: unset;
    margin-right: 0;
}

#team .et_pb_team_member_description {
    width: 100%;
    display: flex;
    height: fit-content;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

#team .et_pb_team_member .et_pb_module_header {
    color: var(--body);
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 20px;
}

#team .et_pb_member_position {
    color: var(--body);
}

@media only screen and (min-width: 981px) {

    #team .content .et_pb_team_member {
        width: calc((100% - 140px) / 3);
        float: left;
        margin-right: 70px;
    }

    #team .content .et_pb_team_member:nth-of-type(3),
    #team .content .et_pb_team_member:nth-of-type(6) {
       margin-right: 0;
    }

    #team .content .et_pb_team_member:nth-of-type(1),
    #team .content .et_pb_team_member:nth-of-type(2),
    #team .content .et_pb_team_member:nth-of-type(3) {
        margin-bottom: 100px;
    }

    #team .content .et_pb_team_member:nth-of-type(4),
    #team .content .et_pb_team_member:nth-of-type(5),
    #team .content .et_pb_team_member:nth-of-type(6) {
        margin-bottom: 0;
    }

}

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

    #team .content .et_pb_team_member {
        margin-bottom: 50px;
    }

    #team .content .et_pb_team_member:nth-last-of-type(1) {
        margin-bottom: 0;
    }

    #team .et_pb_team_member_image {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    #team .et_pb_team_member .et_pb_module_header {
        padding-top: 15px;
    }
}

#kontakt {
    padding: 200px 0;
    background: var(--black);
}

#kontakt .intro {
    padding: 0 0 100px 0;
}

#kontakt .content {
    padding: 0;
}

#kontakt h2,
#kontakt h3 {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 30px;
    font-family: var(--headline_font);
}

#kontakt h2 {
    padding-bottom: 10px;
}

#kontakt h3 {
    padding-bottom: 15px;
}

#kontakt a {
    color: var(--body);
    transition: 0.3s ease all;
}

#kontakt a:hover {
    color: var(--primary);
    transition: 0.3s ease all;
}

#kontakt .content .et_pb_text {
    margin-bottom: 0;
}

#kontakt .content .wpcf7-form {
    max-width: 700px;
}

@media only screen and (min-width: 981px) {

    #kontakt .intro .et_pb_column {
        width: calc((100% - 220px) / 3);
        margin-right: 120px;
        max-width: 200px;
    }

    #kontakt .intro .et_pb_column:nth-last-of-type(1) {
        margin-right: 0;
    }

}

#google_map,
#google_map .et_pb_row {
    padding: 0;
    width: 100%;
    max-width: unset;
}

#google_map ._brlbs-content-blocker,
#google_map .et_pb_module.et_pb_code {
    line-height: 0;
}

#google_map ._brlbs-btn {
    padding: 15px;
    line-height: 1;
}

#google_map .BorlabsCookie ._brlbs-content-blocker ._brlbs-embed.cus_cntblocker {
    max-width: unset;
    min-height: 500px;
}

span.tag {
    min-width: 55px;
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    text-align: left;
}

footer span.tag {
    min-width: 45px;
}

.woocommerce div.product form.cart .reset_variations {
    display: none !important;
}

#shop_produkte .prdctfltr_collector {
    margin: 0 0 10px 0;
}

#shop_produkte .prdctfltr_wc.prdctfltr_checkbox .prdctfltr_filter label.prdctfltr_active>span:after {
    color: var(--primary);
}

#shop_produkte .prdctfltr_wc.prdctfltr_checkbox .prdctfltr_filter label>span:before {
    background: unset;
}

@media only screen and (min-width: 981px) {

    #shop_produkte .et_pb_column:last-child .prdctfltr_collector.prdctfltr_collector_flat {
        display: none;

        width: 50%;
        float: left;
        border-bottom: 1px solid var(--white);
        height: 59px
    }

    #shop_produkte .et_pb_column:last-child .prdctfltr_filter_wrapper {

    }

}

#rechtliches {
    background: var(--black);
    padding: 100px 0;
}

#rechtliches .et_pb_row {
    padding: 0;
}

#rechtliches h1 {
	margin-bottom: 20px;
}

.page-id-341 #rechtliches .et_pb_row:not(:last-child) {
	padding-bottom: 30px;
}

.page-id-339 #main-content,
.page-id-340 #main-content,
.page-id-341 #main-content,
.page-id-342 #main-content {
    background: var(--black);
}

.page-id-339 #main-content .container,
.page-id-340 #main-content .container,
.page-id-341 #main-content .container,
.page-id-342 #main-content .container {
    padding: 100px 0 !important;
}

/*================================================
    Mobile Optimierung
================================================*/

@media only screen and (min-width: 981px) and (max-width: 1199px) {


    #kacheln .content .et_pb_column:nth-of-type(1),
    #kacheln .content .et_pb_column:nth-last-of-type(1) {
        padding: 100px 30px;
    }

    #kacheln .content h3 {
        font-size: 35px;
        line-height: 1.2;
    }

}


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

    .et-db #main-content .shop_wrapper #et-boc .et-l #pagetop.et_pb_section.small {
        min-height: unset;
        padding: 50px 0;
    }

    .et-db #main-content .shop_wrapper #et-boc .et-l #pagetop.et_pb_section.small .et_pb_row.intro .et_pb_column {
        padding-bottom: 0;
    }

    #kacheln,
    #teaser_kontakt,
    .seo_text,
    #teaser_team,
    #serviceleistungen,
    #zuletzt_angesehen,
    #team,
    #kontakt,
    #produkt_infos,
    .et-db #et-boc .et-l .et_pb_section.seo_text,
    .et-db #et-boc .et-l .et_pb_section#teaser_team,
    .et-db #et-boc .et-l #serviceleistungen.et_pb_section,
    .et-db #et-boc .et-l .et_pb_section#teaser_kontakt {
        padding: 80px 0;
    }

    #kacheln .content .et_pb_column {
        width: 100%;
        margin-bottom: 50px;
    }

    #kacheln .content .et_pb_column:not(:nth-last-of-type(1)) {
        margin-right: 0;
    }

    #kacheln .content .et_pb_column:last-child {
        margin-bottom: 0;
    }

    #kacheln .content .et_pb_column:nth-of-type(1),
    #kacheln .content .et_pb_column:nth-last-of-type(1) {
        padding: 100px 50px;
    }

    #kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image,
    #kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image .et_pb_image_wrap {
        width: 100%;
    }

    #kacheln .content .et_pb_column:nth-of-type(2) .et_pb_image img {
        width: 100%;
        max-height: 380px;
    }

    #teaser_team .intro {
        display: flex;
        flex-wrap: wrap;
    }

    #teaser_team .et_pb_column:first-child {
        width: 100%;
        margin-right: 0;
        order: 2;
        margin-bottom: 0;
    }

    #teaser_team .et_pb_column:last-child {
        margin-bottom: 50px;
        order: 1;
    }

    #produkte_tabs {
        padding-bottom: 100px;
    }

    #produkte_tabs ul.et_pb_tabs_controls {
        padding-bottom: 50px;
    }

    #produkte_tabs ul li,
    #zuletzt_angesehen li.product {
        width: calc((100% - 20px) / 2) !important;
    }

    #produkte_tabs ul li:not(:nth-of-type(even)),
    #zuletzt_angesehen li.product:not(:nth-of-type(even)) {
        margin-right: 20px !important;
    }

    #produkte_tabs ul li:not(:last-child),
    #produkte_tabs ul li:not(:nth-last-of-type(2)),
    #zuletzt_angesehen li.product:not(:last-child),
    #zuletzt_angesehen li.product:not(:nth-last-of-type(2)){
        margin-bottom: 20px !important;
    }

    #shop_produkte .intro .et_pb_column:first-child {
        display: none;
    }

    #shop_produkte .intro .et_pb_column:last-child {
        width: 100%;
    }

    #shop_produkte ul.products.columns-3 li.product {
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
        margin-bottom: 40px;
        clear: unset;
    }

    #shop_produkte ul.products.columns-3 li.product:nth-of-type(even) {
        margin-right: 0;
    }

    #shop_produkte ul.products.columns-3 li.product:last-child,
    #shop_produkte ul.products.columns-3 li.product:nth-last-of-type(2) {
        margin-bottom: 0;
    }

    #kontakt .intro {
        padding-bottom: 60px;
    }

    #kontakt .et_pb_column:not(:nth-last-of-type(1)) {
        margin-bottom: 45px;
    }

    #google_map iframe {
        height: 350px;
    }

    #google_map .BorlabsCookie ._brlbs-content-blocker ._brlbs-embed.cus_cntblocker,
    #google_map .BorlabsCookie ._brlbs-content-blocker ._brlbs-embed.cus_cntblocker ._brlbs-caption {
        min-height: 350px !important;
    }

    #produkt_intro {
        padding: 50px 0 80px 0;
    }

}

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

    #produkte_tabs ul li,
    #zuletzt_angesehen li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }

    #produkte_tabs ul li:not(:last-child),
    #zuletzt_angesehen li.product:not(:last-child) {
        margin-bottom: 20px !important;
    }

    #shop_produkte ul.products.columns-4 li.product,
    #shop_produkte ul.products.columns-4 li.product:nth-last-of-type(2){
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    #shop_produkte ul.products.columns-4 li.product:last-child {
        /*margin-bottom: 0;*/
    }

    .wpcf7-form .form-row .column-half {
        width: 100%;
        float: left;
        margin-bottom: 10px;
    }

    .wpcf7-form .form-row .column-half:first-child {
        margin-right: 0;
    }

    #produkt_intro {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    #produkt_intro p.back-button {
        order: 1;
    }

    #produkt_intro #product_gallery {
        order: 3;
    }

    #produkt_intro #product_details {
        order: 2;
    }

    #produkt_infos .woocommerce-tabs ul.tabs li {
        border-bottom: unset !important;
    }

    #produkt_infos .woocommerce-tabs ul.tabs li:first-child {
        margin: 0 auto 20px auto;
    }

    #produkt_infos .woocommerce-tabs ul.tabs li {
        font-size: 20px;
        line-height: 1.2;
    }

    #produkt_infos .woocommerce-tabs ul.tabs li a {
        width: fit-content;
        width: -moz-fit-content;
    }

    #produkt_infos .woocommerce-tabs .panel {
        padding: 20px 0 0 0;
    }

    body.woocommerce .woocommerce-tabs #more_details .detail_row {
        flex-direction: column;
    }

    body.woocommerce .woocommerce-tabs #more_details .detail_row:not(:nth-last-of-type(1)) {
        margin-bottom: 25px;
    }

    body.woocommerce .woocommerce-tabs #more_details .detail_row .detail_info {
        width: 100% !important;
        max-width: unset !important;
        padding-bottom: 5px;
    }

}

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

    .woocommerce #produkt_intro form.cart .button {
        width: 180px;
    }

}

form.wpcf7 input #placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	font-size: 14px;
}

/* SUCHSEITE */

.search .et_pb_section {
	background: var(--black);
}

.search h1 {
	text-align: center;
}