/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Verhindert horizontales Scrollen */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Sprachmenü korrekt positionieren */
.lang-item.lang-item-de,
html[lang="de"] .lang-item-de {
  margin-right: -40px !important;
}

.lang-item.lang-item-en {
  margin-left: 0px !important;
}


.startseite-video {
    height: 100vh; /* Immer volle Bildschirmhöhe */
    max-height: 1080px !important; /* Maximale Höhe auf 1920px begrenzen */
    width: 100%; /* Volle Breite */
    object-fit: cover; /* Stellt sicher, dass das Video proportional bleibt */
}

/* Pfeile in den Buttons */
.pfeil {
    font-family: sans-serif;
}

/* Bildunterschriften im Karussell */
.elementor-image-carousel-caption {
    font-style: normal;
    text-shadow: 
        -1px -1px 0 #376E64, 
         1px -1px 0 #376E64, 
        -1px  1px 0 #376E64, 
         1px  1px 0 #376E64;
    padding-bottom: 15px;
    padding-right: 30px;
    text-align: right;
	line-height: normal;
}

/* Buttons fürs Bild-Karussell */
.elementor-element .swiper .elementor-swiper-button-prev,.elementor-element .swiper~.elementor-swiper-button-prev,.elementor-lightbox .swiper .elementor-swiper-button-prev,.elementor-lightbox .swiper~.elementor-swiper-button-prev {
    left: 0px;
}

.elementor-element .swiper .elementor-swiper-button-next,.elementor-element .swiper~.elementor-swiper-button-next,.elementor-lightbox .swiper .elementor-swiper-button-next,.elementor-lightbox .swiper~.elementor-swiper-button-next {
    right: 0px
}

swiper-slide-image {
    aspect-ratio: 1;
}

@media screen and (max-width: 800px){
	.elementor-nav-menu .sub-arrow .e-font-icon-svg{
		color: #6EBE96 !important;
		fill: #6EBE96 !important;
	}
}

/* Startseite */
.small-picture {
    aspect-ratio: 1;
}

@media screen and (min-width: 1025px) and (max-width: 1300px) {
    .zielgruppe {
        margin-bottom: 5%;
    }
    .vorteil-icon {
        margin-right: 30px;
    }
}

.elementor-button-text {
    text-align: left;
}

/* Abschnitt: Unsere Lösungen */
.produktbild {
    aspect-ratio: 1;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.produktbild:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 766px) {
    .umbruch {
        display: none;
    }
}

@media screen and (min-width: 1500px) {
    .umbruch {
        display: none;
    }
}

/* Unsere Lösungen: Responsive Containerhöhen */ 
@media screen and (min-width: 1890px) {
    .text-container-size {
        min-height: 160px;
    }
	
	.text-container-size-en {
		min-height: 180px;
	}
}

@media screen and (min-width: 1657px) and (max-width: 1889px) {
    .text-container-size {
        min-height: 180px;
    }
	
	.text-container-size-en {
		min-height: 220px;
	}
}

@media screen and (min-width: 1463px) and (max-width: 1656px) {
    .text-container-size {
        min-height: 200px;
    }
	
	.text-container-size-en {
		min-height: 230px;
	}
}

@media screen and (min-width: 1349px) and (max-width: 1462px) {
    .text-container-size {
        min-height: 230px;
    }
	
	.text-container-size-en {
		min-height: 250px;
	}
}

@media screen and (min-width: 1297px) and (max-width: 1348px) {
    .text-container-size {
        min-height: 250px;
    }
	
	.text-container-size-en {
		min-height: 270px;
	}
}

@media screen and (min-width: 1207px) and (max-width: 1296px) {
    .text-container-size {
        min-height: 270px;
    }
	
	.text-container-size-en {
		min-height: 290px;
	}
}

@media screen and (min-width: 1102px) and (max-width: 1206px) {
    .text-container-size {
        min-height: 300px;
    }
	
	.text-container-size-en {
		min-height: 320px;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1101px) {
    .text-container-size {
        min-height: 320px;
    }
	
	.text-container-size-en {
		min-height: 340px;
	}
}

@media screen and (min-width: 922px) and (max-width: 1024px) {
    .text-container-size {
        min-height: 160px;
    }
	
	.text-container-size-en {
		min-height: 180px;
	}
}

@media screen and (min-width: 768px) and (max-width: 921px) {
    .text-container-size {
        min-height: 210px;
    }
	.text-container-size-en {
		min-height: 230px;
	}
}

/* Konfigurator */
.konfigurator input[type="radio"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    margin-right: 10px !important;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    display: inline-block !important;
}

/* Checkbox-Stil mit Pseudoelement */
.konfigurator input[type="radio"]::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff; /* Dunkelgrüne Umrandung */
    background-color: white;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
}

/* Wenn der Radio-Button aktiviert ist */
.konfigurator input[type="radio"]:checked::before {
    background-color: #0A3C37; /* Füllt die Checkbox mit dunkler Farbe */
    border-color: #0A3C37;
}

.konfigurator .elementor-field-option {
    display: table;
    align-items: center;
    vertical-align: middle;
    gap: 2px;
    margin-bottom: 15px;
    min-height: 30px;
    justify-content: flex-start;
}

.konfigurator .elementor-field-group {
    margin-left: 5px;
    width: 14% !important;
    border-right: 2px solid;
}

.konfigurator .elementor-field-type-submit {
    display: none !important;
}

.konfigurator .elementor-field-subgroup {
    display: inline-block;
    min-height: 320px;
    margin-top: 30px;
}

.konfigurator .elementor-field-group-gebaeudetyp {
    width: 10% !important;
}

.konfigurator .elementor-field-group-begruenungshoehe {
    width: 12% !important;
}

.konfigurator .elementor-field-group-wuchsform {
    width: 20% !important;
}

.konfigurator .elementor-field-group-verankerungsgrad {
    width: 18% !important;
}

.konfigurator .elementor-field-label {
    display: table-cell;
    vertical-align: top;
    color: #0A3C37 !important;
    font-weight: bold !important;
}

.systemempfehlung {
    display: block !important; /* Immer sichtbar */
    padding: 5px 10px;
    font-size: 16px;
    background-color: transparent; /* Standard-Hintergrund */
    transition: background-color 0.3s ease-in-out;
}

.systemempfehlung.active {
    background-color: #03302e; /* Dunkelgrüne Hervorhebung */
    color: white; /* Textfarbe für bessere Lesbarkeit */
    font-weight: bold;
}

.keine-empfehlung {
    display: none; /* Standardmäßig versteckt */
    padding: 5px 10px;
    font-size: 16px;
    background-color: #03302e; /* Standard-Hintergrund */
    transition: background-color 0.3s ease-in-out;
}

@media screen and (max-width: 1420px) {
    .konfigurator .elementor-field-group-gebaeudetyp {
        width: 12% !important;
    }
    
    .konfigurator .elementor-field-group-begruenungsform {
        width: 17% !important;
    }

    .konfigurator .elementor-field-group-begruenungshoehe {
        width: 17% !important;
    }

    .konfigurator .elementor-field-group-wuchsform {
        width: 15% !important;
    }

    .konfigurator .elementor-field-group-verankerungsgrad {
        width: 18% !important;
    }
    
    .formular-margin {
        margin-right: -15% !important;
    }
}

@media screen and (max-width: 1024px) {
    .konfigurator .elementor-field-group-gebaeudetyp {
        width: 30% !important;
    }
    
    .konfigurator .elementor-field-group-begruenungsform {
        width: 30% !important;
    }

    .konfigurator .elementor-field-group-begruenungshoehe {
        width: 30% !important;
    }

    .konfigurator .elementor-field-group-wuchsform {
        width: 30% !important;
    }

    .konfigurator .elementor-field-group-verankerungsgrad {
        width: 30% !important;
    }
}

@media screen and (max-width: 767px) {
    .konfigurator .elementor-field-group-gebaeudetyp {
        width: 100% !important;
    }
    
    .konfigurator .elementor-field-group-begruenungsform {
        width: 100% !important;
    }

    .konfigurator .elementor-field-group-begruenungshoehe {
        width: 100% !important;
    }

    .konfigurator .elementor-field-group-wuchsform {
        width: 100% !important;
    }

    .konfigurator .elementor-field-group-verankerungsgrad {
        width: 100% !important;
    }
    
    .konfigurator .elementor-field-option {
        margin-bottom: 5px !important;
    }
    
    .konfigurator .elementor-field-group {
        border: none;
    }
    
    .konfigurator .elementor-field-subgroup {
        min-height: 170px !important;
        margin-top: 15px !important;
    }
    
    .elementor-field-group-gebaeudetyp .elementor-field-subgroup {
        min-height: 230px !important;
    }
    
    .elementor-field-group-wuchsform .elementor-field-subgroup {
        min-height: 200px !important;
    }
    
    .konfigurator input[type="radio"] {
        margin-right: 20px;
    }
}

/* LivingPANELS */
.living-image {
    aspect-ratio: 1 !important;
}

/* LivingWALL Umbruch */
@media screen and (min-width: 1490px) {
    .break {
        display: none;
    }
}

/* Unterseiten-Karusselle */
@media screen and (min-width: 1025px) and (max-width: 1380px) {
    .karussell-container {
        margin-top: 2% !important;
        margin-right: 0% !important;
    }
}

@media screen and (min-width: 1381px) and (max-width: 1650px) {
    .karussell-container {
        margin-top: 1% !important;
    }
}

/* Custom Swiper auf den Unterseiten */
/* Custom Swiper Container */
.custom-swiper {
    width: 100%;
    padding: 20px 0;
}

/* Custom Swiper Wrapper */
.custom-swiper-wrapper {
    display: flex;
    gap: 30px;
}

/* Custom Swiper Slides */
.custom-swiper-slide {
    flex-shrink: 0;
    width: calc(33.333% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Bilder im Custom Karussell */
.custom-swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.3s ease-in-out;
}

/* Hover-Effekt */
.custom-swiper-slide a:hover img {
    transform: scale(1.02);
}

/* Bildunterschriften über das Bild legen */
.custom-gallery-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-style: normal;
    font-size: 18px;
    text-shadow: 
        -1px -1px 0 #376E64, 
         1px -1px 0 #376E64, 
        -1px  1px 0 #376E64, 
         1px  1px 0 #376E64;
    padding-right: 30px;
    text-align: right;
	line-height: normal;
    padding: 5px 10px;
}

/* Custom Swiper Navigation Buttons */
.custom-swiper-button-next,
.custom-swiper-button-prev {
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
        position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-swiper-button-next {
    right: 0;
}

.custom-swiper-button-prev {
    left: 0;
}

.custom-swiper-button-prev::after,
.custom-swiper-button-next::after {
    display: none;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .custom-swiper-slide {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .custom-swiper-slide {
        width: 100%;
    }
}

/* Service */
/* Stellt sicher, dass der übergeordnete Container eine relative Positionierung hat */
.e-n-accordion-item-title {
    position: relative; /* Container für die absolute Positionierung des Icons */
}

/* Positionierung der Icons */
.e-n-accordion-item-title-icon {
    position: absolute;
    margin-left: auto;
}

.elementor-field-type-email {
    margin-bottom: 10px !important;
}

/* Englischer Button auf Unterseiten, damit der Text nicht umbricht */
.click-here-button .elementor-button-content-wrapper  {
  min-width: 140px; 
}