/*
 Theme Name:     Divi Child-Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Divi Child-Theme
 Author:         Divi.world
 Author URI:     https://divi.world
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Ab hier kannst du deine CSS-Anpassungen eintragen
------------------------------------------------------- */

:root {
    --c-white: #fff;
    --c-primary: #009289;
    --c-grey: #F2F2F2;
    --c-text: #3D3D3D;
    --swiper-theme-color: var(--c-primary);

    --font-size-text: clamp(18px, 1.7vw, 20px);
    --font-size-numbers: clamp(90px, 9vw, 120px);

    --font-size-h1: clamp(46px,5vw,68px);
    --font-size-h2: clamp(32px,3.2vw,48px);
    --font-size-h3: clamp(24px,2vw,30px);
}

body {
    font-size: var(--font-size-text) !important;
}

.nav li ul, .et_mobile_menu {
    border-color: transparent;
}

#main-header {
    box-shadow: none;
}

#et-top-navigation {
    padding-left: 0 !important;
}

#top-menu a {
    text-transform: uppercase !important;
}

#top-menu > .page_item {
    margin-left: clamp(30px, 2.5vw, 60px);
    padding-right: 0;
    position: relative;
}

#top-menu .page_item_has_children {
    position: relative;
    padding-right: 2em;
}

#top-menu .page_item_has_children::after {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    width: 1em;
    height: 1em;
    background-image: url(/wp-content/themes/divi-child/icons/arrow-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 1ch;
}

.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
    color: var(--c-primary);
}

.logo_container {
    position: relative;
    max-width: 50%;
    z-index: 50000;
}

.logo_container > a {
    position: absolute;
    top: 15px;
    height: 150%;
    width: 100%;
}



.logo_container img {
    height: 100% !important;
    max-height: 100% !important;
    /* width: auto !important;
    max-width: 80% !important; */
    width: 100% !important;
    max-width: 460px !important;
    /* object-fit: contain; */
    
}

@media (max-width: 1350px) {
    .logo_container {
        max-width: 40%;
        max-width: 280px;
    }
    .logo_container > a {
        top: 5px;
    }
    #logo {
        content: url("/wp-content/uploads/2024/02/trinkhelden_mobile.svg");
      }
}

@media (max-width: 980px) {
    #logo {
      content: url("/wp-content/uploads/2024/02/trinkhelden_mobile.svg");
    }
    .logo_container > a {
        top: 0;
    }
  }



@media (max-width: 768px) {
    .logo_container {
        max-width: calc(100% - 90px);
    }
    .logo_container > a {
        height: auto !important;
        width: 100% !important;
        max-width: 300px;
        top: 10px;
    }
    .logo_container img {
        height: auto !important;
        width: 100% !important;

    }
}

.header-video {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3;
}

.header-video .et_pb_image_wrap ,
.header-video .et_pb_code_inner {
    width: 100%;
}

.header-video .et_pb_image_wrap img {
    width: 100%;
    object-fit: cover;
}

.et_pb_button {
    text-transform: uppercase;
    border-radius: 100px;
    font-weight: bold;
    font-size: var(--font-size-text);
}

.icon-buttons .et_pb_button {
    padding-right: 3em !important;
}

.icon-buttons .et_pb_button::after ,
.icon-button::before {
    font-size: inherit !important;
    content: '' !important;
    width: 0.9ch;
    height: 0.9ch;
    background-image: url(/wp-content/themes/divi-child/icons/external-link.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 0.8ch !important;
    top: 50%;
    transform: translateY(-50%);
}

.bg-triangle {
    background: linear-gradient( to bottom right, var(--c-white) 50% , var(--c-grey) 50%);
}

.bg-triangle + .bg-triangle,
.et_pb_with_background + .bg-triangle {
    background: linear-gradient( to bottom right, var(--c-grey) 50% , var(--c-white) 50%);
}

.bg-primary {
    background-color: var(--c-primary);
}

h1, h2, h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
    max-width: 60ch;
}

h1 {
    font-size: var(--font-size-h1) !important;
}

h2 {
    font-size: var(--font-size-h2) !important;
}

h3 {
    font-size: var(--font-size-h3) !important;
    text-transform: uppercase;
}


.et_pb_testimonial.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.et_pb_testimonial.swiper-slide .et_pb_testimonial_portrait::before {
    display: none;
}

.et_pb_testimonial.swiper-slide .et_pb_testimonial_portrait {
    float: none;
    width: 80% !important;
    height: auto !important;
    aspect-ratio: 1;
    margin: 0 !important;
    border-radius: 999px;
}

.et_pb_testimonial.swiper-slide .et_pb_testimonial_description {
    margin-left: 0 !important;
    display: flex;
    flex-direction: column-reverse;
}

.et_pb_testimonial.swiper-slide .et_pb_testimonial_author {
    color: var(--c-primary);
    margin-bottom: 2.7ch;
    margin-top: 2.8ch;
}

.swiper.et_pb_row {
    width: calc(80% + 120px);
    max-width: calc(1800px + 120px);
    padding: 0 60px;
}

@media (max-width: 768px) {
    .swiper.et_pb_row {
        width: 100%;
        padding: 0 30px;
    }
}

.cookie-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cookie-overlay img {
    position: absolute;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.cookie-overlay__message {
    background-color: var(--c-grey);
    padding: 40px 30px;
}


.big-gaps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 60px;
}

.big-gaps > .et_pb_column {
    display: flex;
    align-items: center;
}

.big-gaps .et_pb_image .et_pb_image_wrap img[src*=".svg"] {
    width: 100%;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

@media (max-width: 1250px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
}

.custom-grid:after,
.big-gaps:after {
    display: none;
}

.big-gaps .et_pb_column,
.custom-grid .et_pb_column {
    margin: 0 !important;
    width: 100% !important;
}

@media (max-width: 980px) {
    .big-gaps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .big-gaps {
        grid-template-columns: 1fr;
    }
}

.call-to-action-tile .et_pb_module_header {
    padding-bottom: 0.2em;
}

.number-tile .et_pb_module_header {
    font-size: var(--font-size-numbers) !important;
    padding-bottom: 0.5ch;
}


/* @media (max-width: 1350px) and (min-width:981px) { */
@media (max-width: 1350px) {
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 30px;
    }
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > * {
        width: 100%;
        margin: 0;
    }
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > .et_pb_column_1_2 {
        grid-row: span 2;
    }
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > .et_pb_column_1_4 {
        grid-column: 2/3;
    }
}

@media (max-width: 768px) {
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > .et_pb_column_1_2 {
        grid-row: span 1;
    }
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > *,
    .et_pb_row:has(.et_pb_column_1_4 > .call-to-action-tile) > .et_pb_column_1_4 {
        grid-column: span 2;
    }
}

.et_pb_column .et_pb_module.et_pb_code {
    margin-bottom: 0 !important;
}


footer .et_pb_section {
    padding: 0;
}

footer a {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--c-text);
}

.social-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}
/* Snippet - Disable Burger Menu in Footer */
.lwp-hide-mobile-menu.et_pb_menu .et_pb_menu__menu,.lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu { display: flex!important; } .lwp-hide-mobile-menu .et_mobile_nav_menu { display: none; }

@media (max-width: 980px) {
    footer .et_pb_menu__wrap {
        justify-content: center !important;
    }
    footer .et_pb_column {
        width: 48.5%;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    footer .et_pb_column {
        width: 100%;
        margin-bottom: 30px;
    }
    .social-links ul {
        justify-content: center;
    }
}


.social-links a {
    display: block;
    height: 30px;
}

.social-links a svg {
    height: 100%;
    object-fit: contain;
} 

@media (max-width: 768px) {
    .et_pb_row, .container {
        width: 92%;
    }
}


.et_pb_promo_description > div {
    display: flex;
    justify-content: center;
}


/* Prevent Fixed Nav Animation */

@media (min-width: 981px) {
    #page-container.et-animated-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 33px !important;
    }
    
    .et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a {
        padding-bottom: 33px !important;
    }
}



.et_pb_section.et_pb_with_background .et_pb_contact p input, 
.et_pb_section.et_pb_with_background .et_pb_contact p textarea {
    background-color: #fff;
}

.et_pb_section.et_pb_with_background .et_pb_contact p input[type=checkbox]+label i, 
.et_pb_section.et_pb_with_background .et_pb_contact p input[type=radio]+label i {
    background-color: #fff;
}


/* Contact Form */

.et_pb_contact_form_container {
    padding: 60px 30px;
}

.et_pb_contact_form {
    margin-left: 0;
}

.et_pb_contact {
    display: flex;
    justify-content: center;
}

.et_pb_contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 600px;
    max-width: 100%;
}

.et-pb-contact-message {
    width: 600px;
    max-width: 100%;
    margin: auto;
}

body .et_pb_contact_field {
    padding: 0;
    margin: 0;
    float: none;
    width: 100% !important;
}

.et_pb_contact_field_options_title {
    display: none;
}

.et_pb_contact_field_options_list {
    color: #fff;
}

.et_contact_bottom_container {
    justify-content: flex-end;
}

.et_pb_contact p input[type=checkbox]:checked+label i:before {
    color: var(--c-primary);
}

.et-pb-contact-message {
    color: #fff;
}

/* .et_pb_contact .et_pb_contact_form p.et_contact_error input[type=checkbox]+label {
    color: #fff !important;
} */

/* #et-main-area {
    margin-top: 80px;
} */

/* body {
    margin-top: 80px;
} */

#page-container {
    padding-top: 80px !important;
}

@media (min-width: 981px) {
    #page-container.et-animated-content {
        padding-top: 80px !important;

    }
}

.cookie-overlay {
    background-color: red;
    color: #fff;
    position: absolute;
    inset: 0;
    z-index: 500;
    background-color: #f2f2f2;
    color: #3D3D3D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.cookie-overlay .et_pb_button {
    margin-top: 20px;
    color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 100px;
    font-weight: 700 !important;
    background-color: #009289;
    cursor: pointer;
}

.cookie-overlay .et_pb_button::after {
    display: none;
}

.cookie-overlay .et_pb_button:hover {
    padding: 0.3em 1em;
}

