/*
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: WEBneo GmbH, onFire digital GmbH
Author URI: https://webneo.de/kontakt
Template: hello-elementor
Version: 2.2.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
*/

:root {
    /* Fallbacks */
    --e-global-color-primary: var(--e-global-color-primary, #03487B);
    --e-global-color-secondary: var(--e-global-color-secondary, #FBB03C);
    --e-global-color-text: var(--e-global-color-text, #000000);
    --e-global-color-accent: var(--e-global-color-accent, #9AB6CA);
    --e-global-color-085ea87: var(--e-global-color-085ea87, #CDDAE5);
    --e-global-color-2c4c783: var(--e-global-color-2c4c783, #F2F6F8);
    --e-global-color-a9ec159: var(--e-global-color-a9ec159, #FFFFFF);
    --e-global-typography-secondary-font-size: var(--e-global-typography-secondary-font-size, 14px);
    --e-global-typography-secondary-line-height: var(--e-global-typography-secondary-line-height, 1.5em);
    --e-global-typography-accent-font-size: var(--e-global-typography-accent-font-size, 18px);
    --e-global-typography-accent-font-weight: var(--e-global-typography-accent-font-weight, 500);
    --e-global-typography-accent-line-height: var(--e-global-typography-accent-line-height, 1.5em);
    --e-global-typography-b42dce1-font-family: var(--e-global-typography-b42dce1-font-family, "Signika");
    --e-global-typography-b42dce1-font-size: var(--e-global-typography-b42dce1-font-size, 24px);
    --e-global-typography-b42dce1-font-weight: var(--e-global-typography-b42dce1-font-weight, 500);
}

/*------------ALLGEMEIN------------*/
html {
    scroll-padding-top: calc(100px + var(--wp-admin--admin-bar--height, 0));
}

/*Button*/
/*Button mit Icon - die Größe muss angepasst werden*/
.elementor-widget-button svg {
    width: 12px;
    height: 12px;
}

/*Button mit Icon - die Größe muss angepasst werden*/
.elementor-widget-button .elementor-button-icon {
    font-size: 12px;
}

/*Line-height entfernen, damit Icons mittig platziert werden können*/
.elementor-icon-wrapper {
    line-height: 0;
}

/*Breadcrumbs*/
#breadcrumbs {
    font-weight: 400;
    color: var(--e-global-color-primary);
}

#breadcrumbs a, #breadcrumbs .customize-unpreviewable,
#breadcrumbs span a {
    text-transform: none !important;
    padding-right: 5px;
    font-size: 14px !important;
}

#breadcrumbs .breadcrumb_last {
    text-transform: uppercase !important;
    padding-left: 5px;
    font-size: 14px !important;
    font-weight: 800;
}

/*Tabs*/
.e-n-tabs-heading button {
    max-height: 44px !important;
}

/*Link-Boxen Hover Effekt*/

/* Bild soll nicht aus dem Container ragen */
.hover-zoom-container {
    overflow: hidden;
}

/* Ziel: nur das Bild innerhalb zoomen + abdunkeln */

@media screen and (min-width: 1025px) {
    .hover-zoom-container {
        background-size: 150% !important;
        transition: background-size 0.4s ease;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hover-zoom-container img {
        transition: transform 0.4s ease, filter 0.4s ease;
        transform: scale(1.0);
        filter: brightness(100%);
    }

    /* Effekt beim Hover über den gesamten Container */
    .hover-zoom-container:hover {
        background-size: 180% !important;
    }

    .hover-zoom-container:hover img {
        transform: scale(1.05);
        filter: brightness(70%);
    }
}

/*------------HEADER------------*/
/*on scroll soll der Header schrumpfen*/
/* Ursprungszustand */
.shrink-header {
    width: 100% !important;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Geschrumpfter Zustand beim Scroll */
.shrink-header.shrunk {
    height: 60px;
    background-color: #03487B99 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Logo mitschrumpfen */
.shrink-logo {
    transition: transform 0.4s ease;
}

/*onscroll wird Logo kleiner*/
.shrink-logo.shrunk {
    transform: scale(0.85);
}

/*onscroll wird Hintergrund anders*/
.shrink-header.shrunk .e-n-menu-content.e-active > div {
    background-color: #03487B99 !important;
}

.shrink-header #scroll-up {
    transition: all 0s ease;
    visibility: hidden;
}

.shrink-header.shrunk #scroll-up {
    visibility: visible;
}

#standort-sub ul.sub-menu.elementor-nav-menu--dropdown {
    display: block !important;
    position: relative !important;
}

#standort-sub li.menu-item a.has-submenu {
    pointer-events: none;
}

#standort-sub .sub-arrow {
    display: none;
}

#standort-sub {
    columns: 5; /* 5 Spalten */
    column-rule: 1px solid #fff;
    overflow: clip;
}

#standort-sub > * {
    margin-top: 0;
    margin-bottom: 0;
}

#standort-sub .elementor-sub-item {
    padding-right: 10px !important;
    padding-left: 24px !important;
}

#standort-sub li {
    break-inside: avoid;
}

#standort-sub .sub-menu.elementor-nav-menu--dropdown {
    width: 100%;
}

/*------------Mobiler HEADER---------*/
.e-off-canvas #main-menu nav ul li.menu-item, .e-off-canvas #submenu-unternehmen nav ul li.menu-item, .e-off-canvas #submenu-produkte nav ul li.menu-item, .e-off-canvas #submenu-standorte nav ul li.menu-item {
    border-bottom: solid 1px var(--e-global-color-a9ec159);

}

.e-off-canvas #main-menu nav ul li.menu-item a, .e-off-canvas #submenu-unternehmen nav ul li.menu-item a, .e-off-canvas #submenu-produkte nav ul li.menu-item a, .e-off-canvas #submenu-standorte nav ul li.menu-item a {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.e-off-canvas #main-menu nav ul li.menu-item:after, .e-off-canvas #submenu-unternehmen nav ul li.menu-item:after, .e-off-canvas #submenu-produkte nav ul li.menu-item:after, .e-off-canvas #submenu-standorte nav ul li.menu-item:after {
    content: "\e91d";
    font-family: 'flexliving' !important;
    font-size: 12px;
    color: var(--e-global-color-a9ec159);
    position: absolute;
    right: 0;
    top: 25%;
}

.e-off-canvas nav.uael-nav-menu__submenu-arrow ul li.menu-item-has-children:after {
    content: unset;
}

.e-off-canvas #main-menu nav ul li.menu-item, .e-off-canvas #submenu-unternehmen nav ul li.menu-item, .e-off-canvas #submenu-produkte nav ul li.menu-item, .e-off-canvas #submenu-standorte nav ul li.menu-item {
    border-bottom: solid 1px var(--e-global-color-a9ec159);

}

.e-off-canvas #main-menu nav ul li.menu-item a, .e-off-canvas #submenu-unternehmen nav ul li.menu-item a, .e-off-canvas #submenu-produkte nav ul li.menu-item a {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.e-off-canvas nav.uael-nav-menu__submenu-arrow ul li.menu-item-has-children .uael-has-submenu-container > a {
    padding-left: 0px !important;
    padding-right: 0px !important;
    pointer-events: none;
}

/*------------FOOTER------------*/
/*mobil*/
footer .e-n-accordion h2 {
    color: var(--e-global-color-a9ec159) !important;
}

footer #f-standort nav.uael-nav-menu__submenu-arrow ul li.menu-item-has-children .uael-has-submenu-container a {
    pointer-events: none;
}

footer #f-standort nav ul li.menu-item {
    border-bottom: solid 1px var(--e-global-color-a9ec159);
}

footer #f-standort nav ul li.menu-item-has-children:after {
    content: unset;
}

footer #f-standort nav ul li.menu-item .uael-has-submenu-container a {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

/*------------STARTSEITE------------*/
.dreieck-pfeil {
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

/*TEXT MUSS UMBRECHEN; SONST NICHT MEHR ZENTRIERT*/
.elementor-widget-icon-box {
    hyphens: auto;
}


/*------------Karusell-------------*/

/*Abstand oberhalb*/
.elementor-element.elementor-pagination-position-outside .swiper {
    padding-top: 30px
}

/*Bildüberlagerung*/
.swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right {
    background-color: rgba(211, 211, 211, 0.5);
    background-image: none;
}


@media screen and (min-width: 1025px) {
    .swiper-slide.swiper-slide-visible.swiper-slide-next {
        width: 740px !important;
        transform: translate3d(-116px, 0px, -0.0658328px) rotateX(0deg) rotateY(0.0329164deg) scale(1) !important;
    }

    .swiper-slide.swiper-slide-visible {
        transform: translate3d(-233px, 0px, -102.041px) rotateX(0deg) rotateY(-51.0204deg) scale(1) !important;
    }

    .swiper-slide.swiper-slide-visible.swiper-slide-active {
        transform: translate3d(0px, 0px, -101.975px) rotateX(0deg) rotateY(50.9875deg) scale(1) !important;
    }
}

/*----------ÜBER UNS-----------*/
/*Mitarbeiter*/
.person-card {
    overflow-y: hidden
}

.person-card .more-infos {
    top: 347px !important;
    transition: top 0.4s ease, background-color 0.4s ease;
}

.person-card:hover .more-infos {
    background-color: var(--e-global-color-2c4c783) !important;
    top: 0 !important;
}

/*damit keine weißen Pixel zusehen sind, weil Ecken von Akkordeon abgerundet*/
.mobil-person-card .more-infos .e-n-accordion .elementor-element {
    margin-top: -4px;
}

/*Untertitel soll anderen Fontstyle bekommen*/
.mobil-person-card .more-infos .e-n-accordion-item-title-text span {
    font-size: var(--e-global-typography-secondary-font-size);
    line-height: var(--e-global-typography-secondary-line-height);
}

/*----------Karriere-----------*/
@media screen and (max-width: 767px) {

    #joblisting-filter .personio-position-filter-select {
        align-items: normal !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 15px;
    }

    #joblisting-filter button {
        align-self: start;
    }
}


/*----------BLOG-----------*/
/*Seiten-Zähler unter Blog Archiv*/
.page-numbers {
    text-decoration: none !important;
    background-color: var(--e-global-color-2c4c783);
    padding: 10px 20px;
    border-radius: 4px;
}

.page-numbers:hover {
    background-color: var(--e-global-color-085ea87);
}

.page-numbers.current {
    background-color: var(--e-global-color-primary);
}

.page-numbers.next, .page-numbers.prev {
    background-color: unset;
}

/*Pfeil nach rechts */
.page-numbers.next::after {
    content: "\e91d";
    font-family: 'flexliving' !important;
    font-size: 12px;
    margin-left: 8px;
}

/*zurück - Pfeil nach links */
.page-numbers.prev::after {
    content: '\e928';
    font-family: 'flexliving' !important;
    font-size: 12px;
    margin-left: 8px;
}

/*----------BLOG BEITRÄGE-----------*/
/*Kommentare*/
#comments h2 {
    font-size: var(--e-global-typography-b42dce1-font-size);
    font-weight: var(--e-global-typography-b42dce1-font-weight);
}

#comments .says {
    display: none;
}

#comments .fn {
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
}

#comments .comment .avatar {
    top: 25%;
}

.comment-metadata {
    display: none;
}

#comments .comment .comment-body {
    border-color: var(--e-global-color-secondary)
}

#respond {
    margin-top: 40px
}

/*---------Kontakt-----------*/
/*Gravity Form*/
/*Abstände vom Kontakt-Grid anpassen*/
.kontakt-form .gform-theme--foundation .gform_fields {
    row-gap: 24px;
}

/*Feld-Beschriftungen anpassen*/
.kontakt-form .gfield_label {
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
    color: var(--e-global-color-primary);
}

/*Sections Überschriften h3 - Formatierung anpassen*/
.kontakt-form .gfield--type-section h3 {
    margin-bottom: 0 !important;
}

/*keine Border am Ende von H3*/
.kontakt-form .gform-theme--framework:where(:not(.gform_editor)) .gfield--type-section {
    border-block-end: none;
}

/*Taxt-area an standardformatierung anpassen*/
.kontakt-form .ginput_container_textarea textarea {
    border: none !important;
    background-color: var(--e-global-color-2c4c783) !important;
}

/*Radio Button formatieren*/
.gfield_radio .gfield-choice-input {
    border-radius: 10px !important;
    border: 1px solid var(--e-global-color-primary) !important;
    background-color: unset !important;
    padding: 0 !important;
}

.kontakt-form .ginput_container_radio {
    float: inline-start !important;
}

.gfield--type-html {
    color: var(--e-global-color-accent);
}

/*Senden Button Position*/
.kontakt-form .gform_footer {
    padding: 0 !important;
}

/*Senden Button standard-formatierung*/
.kontakt-form .gform_footer input {
    background-color: var(--e-global-color-secondary) !important;
    color: var(--e-global-color-primary) !important;
    font-size: var(--e-global-typography-accent-font-size) !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    line-height: var(--e-global-typography-accent-line-height) !important;
}

/*Button zu anderen Unterseiten*/
@media screen and (min-width: 1025px) {
    .uael-dual-button-wrap {
        gap: 20px 0;
    }
}

/*-----------------------------*/

/*STEVE / STANDORTE */
.custom-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #CDDAE5;
    color: #03487B;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.custom-box:hover {
    background-color: #bfcddb;
}

.box-text {
    font-size: 16px;
    font-weight: 600;
}

.box-icon {
    color: #FBB03C;
    font-size: 18px;
    margin-left: 20px;

}

@media screen and (min-width: 900px) {
    .layout-left .hotspots-placeholder {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }
}


.ti-widget.ti-goog .ti-review-item > .ti-inner {
    border-style: solid !important;
    border-color: #dbdde1 !important;
    background: green !important;
    border-radius: 4px !important;
    padding: 20px !important;
    margin: 0 !important;
    display: block;
    position: relative;
}

/*JOBLISTING*/
#joblisting h2 {
    font-size: 36px;
}

#joblisting li:not(:has(h2)) {
    border: 1px solid #CDDAE5;
    border-radius: 4px;
    padding: 0px 10px;
    margin: 20px 0px;
}

#joblisting-filter button {
    height: 40px;
    border-radius: 3px !important
}

#joblisting-filter button:hover {
    background: #FBB03C !important;
    color: #03487B !important;
}

.personio-integration-application-button {
    border-radius: 4px !important;
    padding: 8px 20px 9px 20px !important;
    margin-bottom: 0 !important;
}

#joblisting-filter .personio-position-filter-select {
    align-items: flex-end;
}

/* leere Stellen Hinweis ausblenden (.site-main taucht nur direkt bei Hinweis auf) */
#joblisting .elementor-widget-container > .site-main {
    display: none;
}

/*Required Info Formular ausblenden*/
p.gform_required_legend {
    display: none !important;
}

/*Datenschutz Akzeptanz formatieren*/
.ginput_container.ginput_container_consent {
    display: flex;
    align-items: baseline;
}

label.gform-field-label.gform-field-label--type-inline.gfield_consent_label {
    padding-left: 10px;
}

/*Fehlermeldung Formular formatieren*/
body .validation_error {

    color: #856404;
    padding: 1em;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1.5em;
    text-align: center;
}

.gform_wrapper.gravity-theme .validation_error {
    border-block-end: none !important;
    border-block-start: none !important;
    margin-block-end: 0px !important;
    padding-block: 0px !important;

}

body .validation_error {
    margin-bottom: 0px !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
    border: none !important;
}

/*ACF Swiper Library Darstellung*/
#acf-carousel {
    width: 100%;
    padding: 80px 0;
}

#acf-carousel .swiper-slide {
    width: 740px;
    border-radius: 4px;
    overflow: hidden;

}


#standort-swiper .swiper-slide.swiper-slide-visible.swiper-slide-active {
    transform: translate3d(0px, 0px, 0px) rotateX(0deg) rotateY(0deg) scale(1.2) !important;

}


#standort-swiper .swiper-slide.swiper-slide-visible.swiper-slide-prev {

    transform: translate3d(50px, 0px, 0px) rotateX(0deg) rotateY(50deg) scale(1) !important;


}

#standort-swiper .swiper-slide.swiper-slide-visible.swiper-slide-next {

    transform: translate3d(0px, 0px, 0px) rotateX(0deg) rotateY(-50deg) scale(1) !important;

}

.swiper-button-prev,
.swiper-button-next {
    color: #03487B !important;
}

.swiper-pagination-bullet {

    background: #9AB6CA !important;
}

.swiper-pagination-bullet-active {
    background: #03487B !important;
}


.swiper-3d .swiper-slide-shadow-left {
    background-image: none !important;
    background-color: rgba(211, 211, 211, 0.75) !important;
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: none !important;
    background-color: rgba(211, 211, 211, 0.75) !important;
}


/* Mobile Anpassung */
@media screen and (max-width: 768px) {
    #acf-swiper-coverflow {
        height: 300px;
        padding: 40px 0;
    }

    #acf-swiper-coverflow .swiper-slide {
        width: 90vw; /* responsive Breite */
    }
}

@media screen and (max-width: 768px) {
    #acf-swiper-coverflow {
        height: 300px;
        padding: 40px 0 60px; /* extra Abstand nach unten für Pagination */
    }

    #acf-swiper-coverflow .swiper-slide {
        width: 90vw;
    }

    /* Pagination-Punkte anpassen */
    #acf-swiper-coverflow .swiper-pagination {
        bottom: 0px !important;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 6px !important;
        background: #000;
        opacity: 0.4;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
    }

    /* Optional: Grauschleier über vorherigen/nächsten Slides unterdrücken */
    #acf-swiper-coverflow .swiper-slide-prev,
    #acf-swiper-coverflow .swiper-slide-next {
        filter: none !important;
        opacity: 1 !important;
    }
}


/* ------ GLOBAL ---- */

/*WPML Sprachswitcher Aktive Farbe erzwingen*/


.wpml-ls-current-language a {
    color: #fbb03c !important;
}


/*Personio Detailseite => Formular formatieren*/

.personio-de .personio-integration-form-wrapper::before {
    content: "Jetzt bewerben und Teil vom flex living Team werden!";
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1em;
}

/* Englisch */
.personio-en .personio-integration-form-wrapper::before {
    content: "Apply now and become part of the flex living team!";
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1em;
}

/* Polnisch */
.personio-pl .personio-integration-form-wrapper::before {
    content: "Aplikuj teraz i zostań częścią zespołu flex living!";
    display: block;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 1em;
}

.personio-integration-form-wrapper {
    margin-top: 50px;
}

/*Größe des Formulars anpassen*/
.personio-application-form-wrapper form {
    width: 50%;
}

.personio-application-form-wrapper form label {
    font-weight: 500;
}

.personio-application-form-wrapper form input {
    padding: 10px !important;
}

@media screen and (max-width: 1040px) {
    .personio-application-form-wrapper form {
        width: 75%;
    }
}

@media screen and (max-width: 767px) {
    .personio-application-form-wrapper form {
        width: 100%;
    }
}

/*Trustindex*/
/* Platzhalter-Höhe, damit nichts springt */
#trustindex-block {
    min-height: 260px;
}

/* Optional: weiches Einblenden, wenn geladen */
#trustindex-block.loaded {
    transition: opacity .3s ease;
    opacity: 1;
}

#trustindex-block {
    opacity: 0.001; /* praktisch unsichtbar bis geladen */
}


/*Formulare*/
/* Show spinner when gravity form forgets it */
[data-active-form="true"] .gform-page-footer:not(:has(.gform-loader))::after {
    display: inline-block;
}

.gform-page-footer::after {
    /* copied from .gform-loader */
    align-self: center;
    animation: gformLoader 1.1s infinite linear;
    block-size: 8em;
    border-block-end: 1.1em solid #000;
    border-block-start: 1.1em solid #fff;
    border-inline-end: 1.1em solid #fff;
    border-inline-start: 1.1em solid #000;
    border-radius: 50%;
    display: inline-block;
    font-size: 2px;
    inline-size: 8em;
    margin-inline-start: 2em;
    position: relative;
    transform: translateZ(0);
    vertical-align: middle;

    /* custom */
    content: '';
    display: none;
}