/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.1.3
*/

/* fonts */

@font-face {
    font-family: "Stolzl";
    font-weight: 400;
    src: url('fonts/stolzl-book.woff2') format('woff2');
}

@font-face {
    font-family: "Stolzl";
    font-weight: 700;
    src: url('fonts/stolzl-medium.woff2') format('woff2');
}

/* root */
:root {
    --dark-gray: #2E2936;
    --dark-blue: #302999;
    --light-gray: #D9DBDB;
    --light-blue: #E0EAF8;
    --white: white;
    --black: black;
    --gradient-dark-blue: #040545;
    --gradient-lighter-blue: #2F3DE2;

    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h2-career-font-size: 2.25rem;
    --h3-font-size: 1.25rem;

    --p-font-size: 1rem;

    --btn-font-size: 1.2rem;
}

@media (min-width: 992px) {
    :root {
        --h1-font-size: 3.375rem;
        --h2-font-size: 2.25rem;
        --h2-career-font-size: 3.75rem;
        --h3-font-size: 1.625rem;

        --p-font-size: 1.3125rem;

        --btn-font-size: 1.625rem;
    }
}

/* general settings */

img {
    width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: "Stolzl";
    font-weight: 400;
}

#Content {
    padding-top: 0;
    background-color: var(--dark-gray);
    color: var(--white);
}

.the_content_wrapper {
    margin-bottom: 0 !important;
}

.wpb_wrapper>div {
    margin-bottom: 0;
}

.wpb_content_element+.spacer {
    margin-top: 0;
}

.vc_col-has-fill>.vc_column-inner,
.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,
.vc_row-has-fill>.vc_column_container>.vc_column-inner {
    padding-top: 0;
}

.teaser-card a {
    text-decoration: none !important;
}

.img-border-radius img {
    border-radius: 0 0 140px 0;
}

#back_to_top {
    background-color: var(--white) !important;
}

#Content a:not(.btn-default):not(.btn-custom1):not(.hp-hero-call-btn):not(.vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left.vc_tta-panel-title>a) {
    color: var(--white);
    text-decoration: underline;
}

#Content .box--lightblue a:not(.btn-default):not(.btn-custom1):not(.hp-hero-call-btn):not(.vc_tta.vc_tta-accordion .vc_tta-controls-icon-position-left.vc_tta-panel-title>a) {
    color: var(--dark-gray) !important;
}

/* typo */

h1,
.h1 {
    font-size: var(--h1-font-size);
    line-height: 1.3;
    color: var(--white);
    font-weight: 700;
}

h2,
.h2 {
    font-size: var(--h2-font-size);
    line-height: 1.3;
    color: var(--white);
    font-weight: 700;
}

h3,
.h3 {
    font-size: var(--h3-font-size);
    line-height: 1.3;
    color: var(--white);
    font-weight: 700;
}

p,
#Content li {
    font-size: var(--p-font-size);
    line-height: 1.3;
    color: var(--white);
}

.btn-default,
.btn-custom1 {
    font-size: var(--btn-font-size);
    padding: 10px 20px;
    border: 0 !important;
    font-weight: 700;
}

@media (min-width: 992px) {

    .btn-default,
    .btn-custom1 {
        padding: 10px 50px;
    }
}

.btn-default {
    background-color: var(--dark-gray);
}

.btn-custom1 {
    background-color: var(--light-blue);
}

.btn-default:hover,
.btn-default:focus {
    opacity: 1;
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-custom1:hover,
.btn-custom1:focus {
    opacity: 1;
    background-color: var(--white);
    color: var(--dark-gray);
}

li.list--check {
    display: flex;
    align-items: flex-start;
    list-style-image: none;
    margin-bottom: 30px !important;
}

li.list--check::before {
    content: '';
    display: inline-flex;
    width: 40px;
    min-width: 40px;
    height: 28px;
    background-image: url(img/haustechnik-poessnecker-check-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-right: 10px;
}

ul:has(li.list--check) {
    margin: 0;
}

/* header */

#Top_bar .menu>li>a {
    color: var(--white);
    font-weight: 700;
}

#Top_bar.is-sticky {
    background-color: var(--dark-gray) !important;
    opacity: 1 !important;
}

.menu-btn span {
    color: var(--dark-gray);
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    z-index: -1;
    transition: background-color 0.3s ease;
}

.menu-btn:hover::before {
    background-color: var(--light-blue);
}

#Top_bar .logo {
    margin: 0;
}

.top_bar_left {
    margin: 0 30px;
}

#Top_bar a.responsive-menu-toggle i {
    color: var(--white) !important;
}

#Top_bar.is-sticky #logo img.logo-sticky {
    width: 145px;
}

@media only screen and (min-width: 1240px) {
    #Top_bar.is-sticky .logo {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    #Top_bar {
        background-color: var(--dark-gray) !important;
    }

    .mobile-header-mini #Top_bar .logo {
        margin-left: 0 !important;
    }

    #Top_bar #logo img.logo-mobile,
    #Top_bar #logo img.logo-mobile-sticky {
        width: 160px !important;
    }
}

#Side_slide {
    background-color: var(--dark-gray) !important;
    border-color: transparent !important;
}

#Top_bar .menu>li.current-menu-item>a,
#Top_bar .menu>li.current_page_item>a {
    color: var(--light-blue);
}

#Top_bar .menu>li ul {
    background-color: white;
}

#Top_bar .menu li ul li a span {
    font-weight: 700;
}

#Top_bar .menu>.menu-item.submenu.hover>a {
    color: var(--light-blue) !important;
}

.menu-main>.menu-item>a:hover {
    color: var(--light-blue) !important;
}

.menu-main>li.current-page-parent>a {
    color: var(--light-blue) !important;
}

#Side_slide #menu ul li {
    border-top: 0 !important;
}

#Side_slide #menu>ul>li span {
    color: var(--white);
    font-weight: 700;
}

#Side_slide #menu>ul>li.menu-btn span {
    color: var(--dark-gray);
}

#Side_slide .close i::before {
    color: var(--white);
    font-weight: 700;
}

/* footer */

#Footer {
    background-color: var(--black);
}

#Footer p,
#Footer a {
    color: var(--white);
}

.icon-instagram:before {
    font-size: 37px;
}

.footer-tel,
.footer-mail,
.footer-map {
    margin: 0;
}

.footer-tel::before {
    content: '';
    display: inline-block;
    background-image: url(./img/haustechnik-poessnecker-telefon-icon-white.svg);
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-right: 10px;
}

.footer-mail::before {
    content: '';
    display: inline-block;
    background-image: url(./img/haustechnik-poessnecker-mail-icon.svg);
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-right: 10px;
}

.footer-map::before {
    content: '';
    display: inline-block;
    background-image: url(./img/haustechnik-poessnecker-map-icon.svg);
    width: 20px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-right: 10px;
}


#Footer .footer_copy .one {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

.mfn-footer .footer_copy {
    border-top: 0 none !important;
}

#Footer .widget {
    margin: 0 !important;
}

#Footer .widgets_wrapper {
    padding: 60px 0;
}

#Footer .widgets_wrapper .container>.column {
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    #Footer .widgets_wrapper {
        padding: 120px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1239px) {

    .tablet-one-fourth.column,
    .tablet-four.columns {
        width: 50%;
    }
}

/* content */

.box--lightblue {
    background-color: var(--light-blue);
    border-radius: 24px;
    padding: 20px 20px 40px 20px;
}

.text--lightblue {
    color: var(--light-blue);
}

@media (min-width: 1240px) {
    .box--lightblue {
        padding: 60px 140px;
    }
}

@media (min-width: 992px) {

    .image-text__image,
    .image-text__content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1240px) {

    .image-text__image,
    .image-text__content {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1240px) {
    .image-text__image {
        margin-top: 30px;
    }
}

.box--lightblue p,
.box--lightblue h2,
#Content .box--lightblue li {
    color: var(--dark-gray);
}

@media (max-width: 767px) {
    .box--lightblue .vc_row .vc_col-sm-6:first-child {
        margin-bottom: 15px;
    }
    .box--lightblue .vc_row .vc_col-sm-6:first-child ul li.list--check:last-child {
        margin-bottom: 15px !important;
    }
}

.box--darkblue-gradient {
    background: linear-gradient(130deg, var(--gradient-dark-blue) 0%, var(--gradient-lighter-blue) 100%);
    border-radius: 20px;
    padding: 20px;
}

.box--darkblue-gradient h2 {
    font-size: var(--h2-career-font-size);
}

@media (min-width: 992px) {
    .box--darkblue-gradient {
        padding: 140px;
    }
}

.box--darkblue-gradient img {
    border-radius: 0 !important;
}

.vc_column-gap-30.vc_row-o-equal-height .box--lightblue {
    background: transparent;
}

.vc_column-gap-30.vc_row-o-equal-height .box--lightblue>.vc_column-inner {
    padding: 40px;
    background: var(--light-blue);
    border-radius: 24px;
}

@media (min-width: 1240px) {
    .vc_column-gap-30.vc_row-o-equal-height .box--lightblue>.vc_column-inner {
        padding: 60px 140px;
    }
}

@media (min-width: 1240px) {
    .vc_column-gap-30.vc_row-o-equal-height .box--lightblue.vc_col-lg-4>.vc_column-inner {
        padding: 60px;
    }
}

.box--lightblue.vc_col-sm-4>.vc_column-inner {
    padding: 60px !important;
}

/* hero */

.two-images-and-text .container {
    position: absolute;
    bottom: 140px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
}

.page-id-10 .two-images-and-text .container {
    top: 40px;
}

.schmuckschrift {
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .two-images-and-text .container {
        bottom: 40px;
    }

    .page-id-10 .two-images-and-text .container {
        top: 140px;
        bottom: unset;
    }
}

@media (min-width: 992px) {
    .schmuckschrift {
        font-size: 60px;
        line-height: 69px;
    }

    .two-images-and-text .container {
        bottom: 70px;
    }

    .page-id-10 .two-images-and-text .container {
        top: unset;
        bottom: 70px;
    }
}

@media (min-width: 1240px) {
    .schmuckschrift {
        font-size: 90px;
        line-height: 99px;
    }

    .two-images-and-text .container {
        bottom: 100px;
    }

    .page-id-10 .two-images-and-text .container {
        top: unset;
        bottom: 100px;
    }
}

@media only screen and (min-width: 1240px) and (max-width: 1699px) {
    .two-images-and-text .container {
        margin: 0 30px;
    }
}

.cta-box {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 20px;
}

@media (min-width: 992px) {
    .cta-box {
        padding-top: 50px;
    }
}

.box-and-line::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--white);
}

.box-and-line {
    width: 150px;
    height: 8px;
    background: var(--white);
    position: relative;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .box-and-line {
        width: 100px;
    }
}

@media (min-width: 1240px) {
    .box-and-line {
        width: 400px;
    }
}

.hp-hero-call-btn {
    background-color: var(--white);
    color: var(--dark-gray) !important;
    font-size: 34px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 992px) {
    .hp-hero-call-btn {
        font-size: 44px;
        padding: 19px;
    }
}

@media (min-width: 1240px) {
    .hp-hero-call-btn {
        font-size: 64px;
        padding: 25px;
    }
}

.hp-hero-call-btn svg {
    width: 32px;
    height: 32px;
    transition: fill 0.3s ease;
}

@media (min-width: 992px) {
    .hp-hero-call-btn svg {
        width: 62px;
        height: 62px;
    }
}

.hp-hero-call-btn svg path {
    fill: currentColor;
}

.hp-hero-call-btn:hover {
    background-color: var(--dark-blue);
    color: var(--white) !important;
    text-decoration: none;
}

.opening-hours {
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.opening-hours p {
    margin: 0;
}

.opening-hours-1 p:first-child,
.opening-hours-2 p:first-child {
    flex: 0 0 7rem;
    max-width: 7rem;
}

.opening-hours-1,
.opening-hours-2 {
    display: flex;
    gap: 10px;
}

@media (max-width: 991px) {
    .opening-hours {
        position: absolute;
        top: calc(100% + 30px);
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .two-images-and-text .mobile-image {
        display: block;
    }

    .two-images-and-text .desktop-image {
        display: none;
    }
}

@media (min-width: 768px) {
    .two-images-and-text .desktop-image {
        display: block;
    }

    .two-images-and-text .mobile-image {
        display: none;
    }
}

/* swiper */

.swiper-scrollbar {
    height: 4px !important;
    background: var(--white);
    border-radius: 0;
    width: 100% !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.swiper-wrapper {
    padding-bottom: 30px;
}

.swiper--pb {
    padding-bottom: 0;
}

.swiper-scrollbar-drag {
    height: 12px;
    top: -4px;
    background: var(--white);
    border-radius: 0;
}

.swiper .teaser-card {
    padding-bottom: 0;
    position: relative;
    border-radius: 0 0 100px 0;
    overflow: hidden;
}

.swiper .teaser-card img {
    display: block;
}

.swiper .teaser-card__content {
    padding: 0;
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    text-align: left;
}

.swiper .teaser-card__image {
    padding-bottom: 0;
}

/* contact form */

.cf-row {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .cf-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

.cf-btn {
    text-align: center;
}

input,
textarea,
select {
    box-shadow: none !important;
}

/* teaser card */

.teaser-card {
    background-color: transparent;
    padding-bottom: 0;
    border-radius: 0;
    position: relative;
    border-radius: 0 0 60px 0;
    overflow: hidden;
}

.teaser-card__image {
    padding-bottom: 0;
}

.teaser-card__content {
    padding: 30px 30px 20px 30px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.teaser-card-dark-font .teaser-card__content__text * {
    color: var(--dark-gray);
}

.teaser-card__image {
    position: relative;
}

.teaser-card__image__img__hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.teaser-card__image:hover .teaser-card__image__img__hover {
    opacity: 1;
}

/* image text */

.image-text img {
    border-radius: 0px 0px 140px 0px;
}

@media (max-width: 767px) {
    .image-text img {
        border-radius: 0px 0px 100px 0px;
    }
}

/* people boxes */

.people-boxes .teaser-card {
    padding: 30px;
    background-color: var(--light-blue);
    border-radius: 24px;
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 992px) {
    .people-boxes .teaser-card {
        padding: 80px 140px;
    }
}

.people-boxes .teaser-card__content {
    padding: 0;
    padding-bottom: 10px;
    text-align: left;
    position: relative;
    width: 100%;
}

@media (min-width: 992px) {
    .people-boxes .teaser-card__content {
        padding-bottom: 40px;
    }
}

.people-boxes .teaser-card__content * {
    color: var(--dark-gray);
}

/* akkordion */

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading {
    background-color: var(--light-blue) !important;
    border: 0 none !important;
    border-top: 2px solid var(--dark-blue) !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel:first-child .vc_tta-panel-heading {
    border-top: 0 none !important;
}

.vc_tta-title-text {
    color: var(--dark-gray) !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_active .vc_tta-panel-heading .vc_tta-controls-icon:after,
.vc_tta-color-grey.vc_tta-style-classic .vc_active .vc_tta-panel-heading .vc_tta-controls-icon:before,
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon:after,
.vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon:before {
    border-color: var(--dark-gray) !important;
}

.vc_tta-accordion p {
    color: var(--dark-gray) !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body {
    background-color: var(--white) !important;
    border: 0 none !important;
}

.vc_tta.vc_tta-style-classic .vc_tta-panel.vc_active+.vc_tta-panel .vc_tta-panel-heading,
.vc_tta.vc_tta-style-classic .vc_tta-panel:not(:first-child) .vc_tta-panel-heading {
    margin-top: 0px !important;
}

.vc_tta.vc_tta-shape-rounded .vc_tta-panel .vc_tta-panel-heading {
    border-radius: 10px;
}

.vc_tta.vc_general .vc_tta-panel-title>a {
    padding: 20px !important;
    padding-left: 50px !important;
}

.vc_tta.vc_general .vc_tta-panel-body {
    padding: 20px 50px !important;
}

@media (max-width: 767px) {
    .vc_tta-title-text {
        font-size: 1rem;
    }
}