/* Homepage */
.homepage-welcome-main__header {
    margin-bottom: 40px;
}

/* more button */

.echo_more_button {
    float: right;

}

.home-hero-main__lead-switch-text {
    margin-top: 0;
    margin-bottom: 0;
}

@media only screen and (max-width:1200px) {
    .home-hero-main__lead-switch-text {
        margin-top: 30px;
        font-size: 39px;
    }

    .dynamic_testimonial .quotetext {
        width: 100%;
        display: block;
    }
}

@media only screen and (min-width:1200px) {
    .home-hero-main__lead-switch-text {
        margin-top: 30px;
        font-size: 60px;
    }
}



/* Landing page CPT */

.wrapper-cf7 {
    display: flex;
}

.wrapper-cf7 input {
    width: 95%;

}

.wrapper-cf7 input:first-child {
    margin-right: 20px;
}

.wrapper-cf7e {
    display: flex;
}

.wrapper-cf7e input:first-child {
    margin-right: 20px;
}

.wrapper-cf7e input[type="submit"] {
    height: 27px;
    margin-top: 23px;
    background-color: #c39d57;
    color: #fff;
    border: none;
}

@media screen and (max-width: 767px) {
    .wrapper-cf7e {
        display: block;
    }

    .wrapper-cf7e {
        display: block;
    }
}

.dynamic_testimonials {
    display: flex;
    /* gap: 30px; */
    color: #fff;
    margin: 30px 0;
    padding: 25px;
}

.dynamic_testimonials .dynamic_testimonial {
    /* padding: 0; */
    /* margin-left: 80px; */
}

.dynamic_testimonials .image {
    position: relative;
    display: flex;
    align-items: center;
    /* padding: 0; */
}

.dynamic_testimonials .image img {
    width: 100%;
}

.dynamic_testimonials.image-circle .image img {
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
}

.dynamic_testimonials h4 {
    margin-bottom: 15px;
    font-size: 21px;
    line-height: 38px;
    font-weight: 400;
}

.dynamic_testimonials svg {
    margin: 0;
    position: absolute;
    top: 50%;
    left: calc(50% + 40px);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

}

.dynamic_testimonials .regular_image {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.dynamic_testimonials .regular_image img {
    max-width: 150px;
}

.text_position-right .dynamic_testimonials {
    flex-direction: row-reverse;
}
.media_type-video .video {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.media_type-video .video-icon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media_type-video .video-icon-container .video-icon {
    width: 90px;
}

.media_type-video .dynamic_testimonial {
    padding-left: 30px;
}

@media screen and (max-width: 991px) {
    .dynamic_testimonials .image {
        padding: 0px 40px;
    }

    .dynamic_testimonials .dynamic_testimonial {
        margin-left: 40px;
    }

    .dynamic_testimonials svg {
        left: 50%;
    }
}


@media screen and (max-width: 767px) {
    .dynamic_testimonials {
        display: block;
        padding: 40px 20px 20px 20px;
    }

    .dynamic_testimonials .image img {
        display: block;
        margin: 0px auto;
    }

    .dynamic_testimonials h4 {
        text-align: center;
    }

    .dynamic_testimonials .dynamic_testimonial {
        margin-top: 40px;
        padding-bottom: 20px;
        margin-left: 0;
    }

    .dynamic_testimonials .regular_image {
        padding: 0;
    }

    .dynamic_testimonials .regular_image img {
        display: block;
        margin: 0px auto;
    }
}


/* Footer margin fix */
.mod-footer {
    margin-top: 45px;
}



/* reCaptcha */
.grecaptcha-badge {
    visibility: hidden;
}


.links-legal a {
    padding: 0px 5px;
}

button {
    outline: none !important;
}


.Bestellformular .wrapper-cf7 input {
    width: 100%;
}

.Bestellformular .wrapper-cf7 {
    gap: 20px;
    width: 100%;
    max-width: 746px;
}

.Bestellformular .wrapper-cf7 p {
    width: 100%;
}

.Bestellformular .half-column {
    width: 50%;
}

.Bestellformular .zip-city {
    display: flex;
    gap: 20px;
}

.Bestellformular .wrapper-cf7 input:first-child {
    margin-right: 0;
}

.Bestellformular .three-columns .zip {
    max-width: 117px;
}

.Bestellformular .three-columns .city {
    max-width: 225px;
}

.Bestellformular .bemerkung-container textarea {
    width: 100%;
}

.mobile- .Bestellformular .wpcf7-validates-as-number {
    max-width: 98px;
}

@media (max-width:992px) {
    .Bestellformular .three-columns .city {
        max-width: 163px;
    }
}

@media (max-width:768px) {
    .Bestellformular .three-columns .zip {
        max-width: 87px;
    }

    .Bestellformular .three-columns .city {
        max-width: 123px;
    }

    .Bestellformular .bemerkung-container {
        flex-direction: column;
    }

    .Bestellformular .bemerkung-container .half-column {
        width: 100%;
    }

    .Bestellformular .bemerkung-container>div:nth-child(1)>p>label {
        width: 100%;
    }
}

.page-id-438 .dynamic_echos .regular_image img {
    max-width: 300px;
}

.page-id-438 .dynamic_echos .regular_image {
    order: 1;
}

p>iframe {
    width: 100%;
}

.mobile-navbar {
    position: relative;
    top: 0;
    bottom: unset;
}

.testimonials__circle {
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
}


.testimonials-list {

    .testimonials__image {
        margin-top: 25px;
        position: relative;
    }

    .testimonials__circle {
        margin-top: 0;
        top: -2px;
    }

    .testimonials__face {
        margin-top: 0;
    }
}