/* =======================================
| Update Style Jan 2025 - Palm Code
======================================= */ 

/* Typography Settings */
.budi-text p {
    color: inherit;
    font-size: 20px;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: 0.05em;
}

h1.budi-h1,
h2.budi-h2 {
    margin: 0;
    text-align: inherit;
    line-height: 1.3em;
    font-weight: 600;
}
h1.budi-h1 {
    font-size: 40px;
}
h2.budi-h2 {
    font-size: 40px;
}

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

    h1.budi-h1 {
        font-size: 38px;
    }

    h2.budi-h2 {
        font-size: 34px;
    }
}

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

    .budi-text p{
        font-size: 18px;
    }

    h1.budi-h1 {
        font-size: 34px;
    }

    h2.budi-h2 {
        font-size: 32px;
    }

}

/* Button */
div.budi_button a.btn.budi-button-outline,
div.budi_button a.btn.budi-button-fill,
div.budi_button a.btn.budi-button-fill-white{
    padding: 14px 20px;
    font-size: 20px !important;
    font-weight: 400;
}

div.budi_button a.btn.budi-button-outline{
    background: transparent;
    border: 1px solid var(--color-main) !important;
    color: var(--color-main);
}

div.budi_button a.btn.budi-button-fill{
    background: var(--color-main);
    border: 1px solid var(--color-main) !important;
    color: #fff;
}

div.budi_button a.btn.budi-button-fill-white{
    background: #fff;
    border: 1px solid #fff !important;
    color: var(--color-main);
}

.bg-color-main div.budi_button a.btn.budi-button-outline{
    border: 1px solid #fff !important;
    color: #fff;
}

@media (max-width: 767px) {
    div.budi_button a.btn.budi-button-outline,
    div.budi_button a.btn.budi-button-fill,
    div.budi_button a.btn.budi-button-fill-white{
        font-size: 18px !important;
    }
}

/* Max Width */
.budi-mw-985{
    max-width: 985px;
}

/* Font Weight */
.font-weight-medium {
    font-weight: 500 !important;
}

.font-weight-semi-bold {
    font-weight: 600 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.font-weight-extra-bold {
    font-weight: 800 !important;
}

.font-weight-black {
    font-weight: 900 !important;
}

/* Text Color */
.text-color-default {
    color: var(--body-text-color);
}

.text-color-main {
    color: var(--color-main);
}

.text-color-sub {
    color: var(--color-sub);
}

.text-color-heavy {
    color: var(--color-heavy);
}

.text-color-custom {
    color: var(--color-custom);
}

.text-color-custom-2 {
    color: var(--color-custom-2);
}

.text-white p{
    color: #fff !important;
}

/* Background Settings */
.bg-norepeat {
    background-repeat: no-repeat;
}

.bg-position-center {
    background-position: center;
}

.bg-position-left-center {
    background-position: left center;
}

.bg-position-right-center {
    background-position: right center;
}

.bg-size-auto {
    background-size: auto;
}

.bg-size-cover {
    background-size: cover;
}

.bg-size-100-percent {
    background-size: 100%;
}

/* Background Color */
.bg-color-main {
    background-color: var(--color-main);
}

.bg-color-sub {
    background-color: var(--color-sub);
}

.bg-color-heavy {
    background-color: var(--color-heavy);
}

.bg-color-custom {
    background-color: var(--color-custom);
}

.bg-color-custom-2 {
    background-color: var(--color-custom-2);
}

/* Overlay */
.budi-section-overlay-white::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #FFFFFFD9;
}

/* =======================================
| Services page
======================================= */ 
/* Hero */
.budi-hero-img{
    position: absolute !important;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.budi-hero-img *{
    height: 100% !important;
}

.budi-hero-img img{
    object-fit: cover;
    object-position: center;
}

div.budi_button a.btn.budi-button-hero-white{
    background: transparent;
    border: 1px solid #fff !important;
    padding: 14px 20px;
    color: #fff;
    font-size: 20px !important;
    font-weight: 400;
}

@media (max-width: 767px) {
    div.budi_button a.btn.budi-button-hero-white{
        font-size: 18px !important;
    }

    .budi-hero-img .vc_single_image-wrapper::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(27, 31, 42, 0.75) 0%, rgba(27, 31, 42, 0.75) 100%);
    }

    .budi-hero-img{
        width: 100%;
    }

    .budi-hero .budi_button{
        justify-content: flex-start !important;
    }
}

/* Image Content Right & Left */
.budi-image-content-gradient-left__section,
.budi-image-content-gradient-right__section{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.budi-image-content__row{
    min-height: 600px;
}

@media (max-width: 767px) {
    .budi-image-content__row{
        min-height: 100%;
    }
}

/* Left */
.budi-image-content-left{
    position: absolute !important;
    z-index: -1;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
}

.budi-image-content-left *{
    height: 100% !important;
}

.budi-image-content-left img{
    object-fit: cover;
}

.budi-image-content-gradient-left__section:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(27, 31, 42, 0.00) 30%, #1B1F2A 70%, #1B1F2A 100%);
}

@media (max-width: 767px) {
    .budi-image-content-left{
        position: relative !important;
        width: 100%;
        z-index: 1;
    }

    .budi-image-content-left img{
        height: 90vw !important;
    }

    .budi-image-content-left .vc_single_image-wrapper::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #FFF 11.9%, rgba(255, 255, 255, 0.00) 100%);
    }

    .budi-image-content-gradient-right__section{
        background-color: #fff;
    }

    .budi-image-content-gradient-right__section:before{
        display: none;
    }
}

/* Right */
.budi-image-content-right{
    position: absolute !important;
    z-index: -1;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
}

.budi-image-content-right *{
    height: 100% !important;
}

.budi-image-content-right img{
    object-fit: cover;
}

.budi-image-content-gradient-right__section:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #FFF 0%, #FFF 30%, rgba(255, 255, 255, 0.00) 70%);
}

@media (max-width: 767px) {
    .budi-image-content-right{
        position: relative !important;
        width: 100%;
        z-index: 1;
    }

    .budi-image-content-right img{
        height: 90vw !important;
    }

    .budi-image-content-right .vc_single_image-wrapper::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #1B1F2A 11.9%, rgba(255, 255, 255, 0.00) 100%);
    }

    .budi-image-content-gradient-left__section{
        background-color: var(--color-main);
    }

    .budi-image-content-gradient-left__section:before{
        display: none;
    }
}

/* Card Image */
.budi-card-image{
    overflow: hidden;
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px 28px;
}

.budi-card-image .budi-content-box__title{
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

.budi-card-image figure.budi-content-box__image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: -1;
}

.budi-card-image figure.budi-content-box__image:before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(27, 31, 42, 0.80) 100%);
}

.budi-card-image figure.budi-content-box__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .budi-card-image{
        padding: 80px 30px 20px 20px;
        margin-bottom: 18px;
        min-height: 43.6vw;
    }

    .budi-card-image .budi-content-box__title{
        font-size: 20px;
    }

    .budi-card-image figure.budi-content-box__image:before{
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(27, 31, 42, 0.80) 100%);
    }
}

/* Icon List Box */
.budi-icon-list-box__wrapper>.wpb_column>.vc_column-inner>.wpb_wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1048px;
    margin: 0 auto;
}

.budi-icon-list-box__wrapper .budi-content-box__wrapper{
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 36px;
    align-items: center;
    padding: 36px 48px;
    background: #ECECEC;
}

.budi-icon-list-box__wrapper .budi-content-box__wrapper img{
    width: 100%;
    height: auto;
}

.budi-icon-list-box__wrapper .budi-content-box__wrapper *{
    margin: 0;
}

.budi-icon-list-box__wrapper .budi-content-box__title{
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5em;
}

@media (max-width: 767px) {
    .budi-icon-list-box__wrapper>.wpb_column>.vc_column-inner>.wpb_wrapper{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .budi-icon-list-box__wrapper .budi-content-box__wrapper{
        grid-template-columns: 40px 1fr;
        gap: 24px;
        padding: 20px 12px 20px 24px;
    }

    .budi-icon-list-box__wrapper .budi-content-box__title{
        font-size: 18px;
    }
}

/* Fallbeispiel section */
.fallbeispiel-section__img{
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 120%;
    overflow: hidden;
}

.fallbeispiel-section__img *{
    height: 100% !important;
}

.fallbeispiel-section__img img{
    object-fit: contain;
    object-position: center bottom;
}

@media (max-width: 767px) {
    .fallbeispiel-section__img{
        position: relative;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
}

/* =======================================
| Contact page
======================================= */ 
/* Hero */
.budi-hero-img--contact{
    position: absolute !important;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.budi-hero-img--contact *{
    height: 100% !important;
}

.budi-hero-img--contact img{
    object-fit: cover;
    object-position: center;
}

@media (min-width: 767px){
    .budi-hero-bg--contact > .vc_column-inner{
        background-image: none !important;
    }
}

@media (max-width: 767px) {
    /* .budi-hero-img--contact .vc_single_image-wrapper::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(27, 31, 42, 0.75) 0%, rgba(27, 31, 42, 0.75) 100%);
    }

    .budi-hero-img--contact{
        width: 100%;
    } */
}

/* Icon list */
.budi-contact-icon-list{
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.budi-contact-icon-list .budi-content-box__image{
    margin: 0;
}

.budi-contact-icon-list .budi-content-box__title{
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5em;
    margin: 0;
}

@media (max-width: 767px) {
    .budi-contact-icon-list{
        grid-template-columns: 20px 1fr;
        gap: 12px;
    }

    .budi-contact-icon-list .budi-content-box__title{
        font-size: 18px;
    }
}

/* Form */
.budi-cf7.budi-contact{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
    padding: 42px 40px;
    max-width: 500px;
    min-height: 600px;
    margin-right: 0;
}

@media (max-width: 767px) {
    .budi-cf7.budi-contact{
        max-width: 100%;
        padding: 40px 24px;
        min-height: 400px;
    }
}

/* CF 7 */
.budi-cf7{
    padding: 0;
}

.wpcf7 .budi-cf7 h2{
    margin: 0;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.wpcf7 .budi-cf7 input[type="url"], 
.wpcf7 .budi-cf7 input[type="email"], 
.wpcf7 .budi-cf7 input[type="tel"], 
.wpcf7 .budi-cf7 input[type="text"], 
.wpcf7 .budi-cf7 .wpcf7-validates-as-number, 
.wpcf7 .budi-cf7 textarea, 
.wpcf7 .budi-cf7 footer input, 
.wpcf7 .budi-cf7 select,
.custom-field-wieso__wrapper{
    background: transparent;
    border: none !important;
    border-bottom: 1px solid #5D5D5D !important;
    border-radius: 0 !important;
    outline: none;
    margin-top: 30px;
    padding: 12px 0;
    min-height: 40px;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5em;
}

.wpcf7 .budi-cf7 input[type="url"]::placeholder, 
.wpcf7 .budi-cf7 input[type="email"]::placeholder, 
.wpcf7 .budi-cf7 input[type="tel"]::placeholder, 
.wpcf7 .budi-cf7 input[type="text"]::placeholder, 
.wpcf7 .budi-cf7 .wpcf7-validates-as-number::placeholder, 
.wpcf7 .budi-cf7 textarea::placeholder, 
.wpcf7 .budi-cf7 footer input::placeholder, 
.wpcf7 .budi-cf7 select::placeholder,
.custom-field-wieso__wrapper{
    color: #363739;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5em;
}

.wpcf7 .budi-cf7 input[type="submit"] {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
}

.wpcf7 .budi-cf7 .wpcf7-spinner{
    position: absolute;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
}

.budi-form-note p{
    color: #363739;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin: 20px 0;
}

.budi-form-note a:hover{
    font-weight: 300 !important;
}

.budi-cf7-thank-you{
    padding: 24px 48px;
}

.budi-cf7-thank-you p{
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

@media (max-width: 767px) {
    .budi-cf7{
        padding: 0;
    }

    .wpcf7 .budi-cf7 h2{
        font-size: 28px;
    }
    
    .wpcf7 .budi-cf7 input[type="url"], 
    .wpcf7 .budi-cf7 input[type="email"], 
    .wpcf7 .budi-cf7 input[type="tel"], 
    .wpcf7 .budi-cf7 input[type="text"], 
    .wpcf7 .budi-cf7 .wpcf7-validates-as-number, 
    .wpcf7 .budi-cf7 textarea, 
    .wpcf7 .budi-cf7 footer input, 
    .wpcf7 .budi-cf7 select,
    .custom-field-wieso__wrapper{
        font-size: 18px;
    }
    
    .wpcf7 .budi-cf7 input[type="url"]::placeholder, 
    .wpcf7 .budi-cf7 input[type="email"]::placeholder, 
    .wpcf7 .budi-cf7 input[type="tel"]::placeholder, 
    .wpcf7 .budi-cf7 input[type="text"]::placeholder, 
    .wpcf7 .budi-cf7 .wpcf7-validates-as-number::placeholder, 
    .wpcf7 .budi-cf7 textarea::placeholder, 
    .wpcf7 .budi-cf7 footer input::placeholder, 
    .wpcf7 .budi-cf7 select::placeholder,
    .custom-field-wieso__wrapper{
        font-size: 18px;
    }

    .budi-cf7-thank-you{
        padding: 24px;
    }

    .budi-cf7-thank-you p{
        font-size: 24px;
    }
}

/* Response output - general */
.wpcf7 form .wpcf7-response-output {
    margin: 1em 0 0 0;
    padding: 0.5em 1em;
    border: 2px solid #00a0d2;
    max-width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Response output - contact page */
.budi-contact-form .wpcf7 form .wpcf7-response-output {
    margin: 1em 0 0 auto;
    padding: 0.5em 1em;
    border: 2px solid #00a0d2;
    max-width: 500px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.budi-contact-form .wpcf7 form.init .wpcf7-response-output,
.budi-contact-form .wpcf7 form.resetting .wpcf7-response-output,
.budi-contact-form .wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.budi-contact-form .wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
    background: #46b450;
	border-color: #46b450;
    display: none;
}

.budi-contact-form .wpcf7 form.failed .wpcf7-response-output,
.budi-contact-form .wpcf7 form.aborted .wpcf7-response-output {
    color: #fff;
    background: #dc3232;
	border-color: #dc3232;
}

.budi-contact-form .wpcf7 form.spam .wpcf7-response-output {
    color: #fff;
    background: #f56e28;
	border-color: #f56e28;
}

.budi-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.budi-contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.budi-contact-form .wpcf7 form.payment-required .wpcf7-response-output {
    color: #fff;
    background: #ffb900;
	border-color: #ffb900;
}

@media (max-width: 767px) {
    .budi-contact-form .wpcf7 form .wpcf7-response-output {
        max-width: 100%;
    }
}

/* Custom dropdown */
.custom-field-wieso{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    display: none;
    position: absolute;
    z-index: 1;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

.custom-field-wieso__wrapper{
    position: relative;
}

.custom-field-wieso__wrapper::after{
    content: '';
    position: absolute;
    width: 15px;
    height: 9px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9' fill='none'%3E%3Cpath d='M-0.000115395 0.980556L0.882384 0L7.05801 6.86181C7.17521 6.99199 7.33416 7.06513 7.49988 7.06513C7.66561 7.06513 7.82455 6.99199 7.94176 6.86181L14.1055 0.0118057L14.9893 0.99375L8.82551 7.84236C8.47389 8.23293 7.99707 8.45234 7.49988 8.45234C7.0027 8.45234 6.52587 8.23293 6.17426 7.84236L-0.000115395 0.980556Z' fill='%23363739'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

.custom-field-wieso__wrapper.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-field-wieso .wpcf7-list-item{
    margin: 0;
}

.custom-field-wieso *{
    width: 100%;
}

.custom-field-wieso input{
    display: none;
}

.custom-field-wieso .wpcf7-list-item-label{
    margin: 0;
    width: 100%;
    background: #F2F2F2;
    padding: 14px 16px;
    display: block;
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.2em;
    transition: background 0.3s ease;
}

.custom-field-wieso input:checked + .wpcf7-list-item-label {
    background: #464952;
    color: #fff;
    font-weight: 400;
}

.custom-field-wieso span.wpcf7-list-item label{
    margin: 0;
}

@media (max-width: 767px) {
    .custom-field-wieso .wpcf7-list-item-label{
        font-size: 18px;
    }
}

/* =======================================
| Marktplaz page
======================================= */ 
/* Hero */
.budi-hero-img-light{
    position: absolute !important;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.budi-hero-img-light *{
    height: 100% !important;
}

.budi-hero-img-light img{
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .budi-hero-img-light .vc_single_image-wrapper::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%);
    }

    .budi-hero-img-light{
        width: 100%;
    }
}

.budi-marktplatz-icon-list__wrapper>.wpb_column>.vc_column-inner>.wpb_wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 48px;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__wrapper{
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__image,
.budi-marktplatz-icon-list__wrapper .budi-content-box__title {
    margin: 0;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__image{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__image img{
    width: 100%;
    height: 30px;
    object-fit: contain;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__title{
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.budi-marktplatz-icon-list__wrapper .budi-content-box__title b,
.budi-marktplatz-icon-list__wrapper .budi-content-box__title strong{
    font-weight: 400;
}

@media (max-width: 767px) {
    .budi-marktplatz-icon-list__wrapper>.wpb_column>.vc_column-inner>.wpb_wrapper{
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .budi-marktplatz-icon-list__wrapper .budi-content-box__title{
        font-size: 18px;
    }
}