/*
Theme Name: Leroux Child
Theme URI: https://leroux.qodeinteractive.com
Description: A child theme of Leroux
Author: Elated Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: leroux
Template: leroux
*/

/* ==========================================================================
   LEROUX CHILD THEME – THEMAtISCH GEORDNETE STYLES
   Die Reihenfolge abhängiger Regeln wurde beibehalten.
   Alle ursprünglichen aktiven CSS-Regeln sind unverändert enthalten.
   ========================================================================== */


/* ==========================================================================
   01 | TYPOGRAFIE UND HILFSKLASSEN
   ========================================================================== */

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-xxl,
.text-xxl h1,
.text-xxl h2{
	font-size: 68px!important;
	line-height: 74px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-xl,
.text-xl h1,
.text-xl h2 {
	font-size: 40px!important;
	line-height: 50px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-lg,
.text-lg h2,
.text-lg.quodef-m-title{
	font-size: 32px!important;
	line-height: 40px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-md,
.text-md h1,
.text-md h2,
.text-md h3 {
	font-size: 28px!important;
	line-height: 36px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-sm,
.h3-text-sm h3,
.h4-text-sm h4 {
	font-size: 20px!important;
	line-height: 32px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-xs{
	font-size: 16px!important;
	line-height: 24px!important;
	letter-spacing: 0px!important;
}

/* Typografie-Hilfsklasse: Schriftgröße, Zeilenhöhe und Buchstabenabstand. */
.text-xxs{
	font-size: 12px!important;
	line-height: 20px!important;
	letter-spacing: 0px!important;
}

/* Hilfsklasse zum Erzwingen normaler Schriftstärke. */
.font-weight-400,
.font-weight-400 h1,
.font-weight-400 h2{
	font-weight: 400!important;
}



/* ==========================================================================
   02 | HINTERGRUNDFARBEN
   ========================================================================== */

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-basic-white {
	background-color: #ffffff!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-blue-light {
	background-color: #a2b9c4!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-blue-mid {
	background-color: #82a1b0!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-blue-base {
	background-color: #5a8396!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-blue-dark {
	background-color: #41606e!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-anthrazid-base {
	background-color: #1a2f39!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-anthrazid-light {
	background-color: #4d5d66!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-anthrazid-dark {
	background-color: #081419!important;
}

/* Hintergrundfarben-Hilfsklasse: vorhandener Farbwert bleibt unverändert. */
.bg-grey {
	background-color: #F7F7F7 !important;
}


/* ==========================================================================
   03 | HEADER, LOGO UND NAVIGATION
   ========================================================================== */

/* Position verschachtelter Header-Untermenüs. */
.qodef-header-navigation ul li.qodef-menu-item--narrow ul ul{
	top: -28px;
}

/* Standardbreite des SVG-Logos. */
#qodef-page-header .qodef-header-logo-link.qodef-source--svg-path svg{
	width: 100px !important;
}




/* ==========================================================================
   04 | POLYLANG-SPRACHAUSWAHL (DESKTOP & MOBIL)
   ========================================================================== */

/* Gemeinsames Layout der Sprachlinks auf Desktop und Mobilgeräten. */
#qodef-page-header .polylang-item,
#qodef-page-mobile-header .polylang-item {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Weiße Schriftfarbe im Desktop-Header. */
#qodef-page-header .polylang-item a {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

/* Trennzeichen zwischen den Sprachen auf dem Desktop. */
#qodef-page-header .polylang-item:first-child::after {
    content: "|";
    display: inline-block;
    color: #ffffff;
    margin: 0 5px;
}

/* Hover-Effekt für die Desktop-Sprachlinks. */
#qodef-page-header .polylang-item a:hover {
    color: #69797d !important;
}

/* Flex-Layout des Sprachmenüs im mobilen Header. */
#qodef-page-mobile-header .pll-switcher ul {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0px 24px !important;
}

/* Schwarze Schriftfarbe für mobile Sprachlinks. */
#qodef-page-mobile-header .polylang-item a,
#qodef-page-mobile-header .polylang-item a span {
    color: #000000 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}


/* ==========================================================================
   03 | HEADER, LOGO UND NAVIGATION
   ========================================================================== */

/* Desktop-Layout: Logo, Claim und Navigation ab 1025 px. */
@media only screen and (min-width: 1025px) {

    

    #qodef-page-header .qodef-header-logo-link {
        display: inline-flex !important;
        align-items: center;
        gap: 16px;
        width: max-content;
        max-width: none;
        overflow: visible;
    }

    

    #qodef-page-header .qodef-header-logo-link::after {
        content: "eXperience meets eXcellence";
        display: inline-block;
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    

    #qodef-page-header .qodef-header-logo {
        width: 330px;
        min-width: 330px;
        flex: 0 0 330px;
    }

    

    #qodef-page-header
    .qodef-header-logo-link.qodef-source--svg-path svg {
        width: 100px !important;
    }

    

    #qodef-page-header .qodef-header-navigation {
        min-width: 0;
    }

    

    #qodef-page-header
    .qodef-header-navigation > ul {
        display: flex !important;
        align-items: center;
        justify-content: center !important;

        gap: clamp(12px, 1.5vw, 28px);

        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    

    #qodef-page-header
    .qodef-header-navigation > ul > li {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #qodef-page-header
    .qodef-header-navigation > ul > li > a {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}

/* Kompakteres Desktop-Layout zwischen 1025 px und 1439 px. */
@media (min-width: 1025px) and (max-width: 1439px) {

    
    #qodef-page-header .qodef-header-logo-link::after {
        display: none !important;
    }

    
    #qodef-page-header .qodef-header-logo {
        width: 200px;
        min-width: 200px;
        flex: 0 0 200px;
    }

    
    #qodef-page-header .qodef-header-navigation > ul {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}


/* HEADER – OVERLAY AUF TABLET & MOBILE - Navigation beeinflusst Hero-Höhe nicht */

@media (max-width: 1024px) {

    /* Mobile Navigation aus dem Layoutfluss nehmen */
    #qodef-page-mobile-header {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    /* Kein zusätzlicher Platz für den Header */
    #qodef-page-outer {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}



/* ==========================================================
   LEROUX – DROPDOWN HOVER ANIMATION
   ==========================================================
   - Hauptnavigation bleibt unverändert
   - Untermenüpunkte niemals dauerhaft unterstrichen
   - Schwarze Linie nur beim Hover
   - Animation von links nach rechts
   ========================================================== */

@media (min-width: 1025px) {

    /* 1. Vorhandene Linien auf Dropdown-Links entfernen */
    #qodef-page-header
    .qodef-header-navigation ul ul li > a {
        border-bottom: none !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    /* 2. Dropdown-Menütext vorbereiten */
    #qodef-page-header
    .qodef-header-navigation ul ul li > a
    .qodef-menu-item-text {

        display: inline !important;

        border: none !important;
        text-decoration: none !important;
        box-shadow: none !important;

        /* Schwarze Linie als Hintergrund */
        background-image:
            linear-gradient(#000000, #000000) !important;

        background-position: left bottom !important;
        background-repeat: no-repeat !important;
        background-size: 0% 1px !important;

        /* Weiche Animation */
        transition: background-size 0.35s ease !important;
    }

    /* 3. Hover – Linie von links nach rechts */
    #qodef-page-header
    .qodef-header-navigation ul ul li:hover > a
    .qodef-menu-item-text {

        background-size: 100% 1px !important;
    }

    /* 4. Alte Pseudoelement-Linien deaktivieren */
    #qodef-page-header
    .qodef-header-navigation ul ul li > a
    .qodef-menu-item-text::before,

    #qodef-page-header
    .qodef-header-navigation ul ul li > a
    .qodef-menu-item-text::after {

        content: none !important;
        display: none !important;
    }
}

/* 5. Tablet und Mobile – keine Active-Unterstreichung */
@media (max-width: 1024px) {

    #qodef-page-mobile-header ul ul li > a,
    #qodef-page-mobile-header ul ul li > a span {

        border-bottom: none !important;
        text-decoration: none !important;
        background-image: none !important;
        box-shadow: none !important;
    }

    #qodef-page-mobile-header ul ul li > a span::before,
    #qodef-page-mobile-header ul ul li > a span::after {

        content: none !important;
        display: none !important;
    }
}

/* 6. Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {

    #qodef-page-header
    .qodef-header-navigation ul ul li > a
    .qodef-menu-item-text {

        transition: none !important;
    }
}


/* ==========================================
   SCROLL INDICATOR – HERO
   Unten mittig im Hero positionieren
   ========================================== */

/* Hero als Bezugspunkt */
.hero-scroll-section {
    position: relative !important;
}

/* Elementor HTML-Widget positionieren */
.hero-scroll-section
.elementor-widget-html:has(.scroll-indicator) {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: none !important;
    z-index: 20;
}

/* Scroll Indicator selbst */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;

	width: 32px !important;
    height: 54px !important;
    
	border: 1.5px solid #ffffff;
    border-radius: 20px;

    position: relative;
    cursor: pointer;
    text-decoration: none;

    transition: opacity 0.3s ease;
}

/* Animierter Pfeil */
.scroll-indicator::after {
    content: "";
    width: 8px;
    height: 8px;
    top: 21px;

    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;

    transform: rotate(45deg);
    position: absolute;

    animation: scroll-arrow 1.8s infinite;
}

/* Pfeilanimation */
@keyframes scroll-arrow {
    0% {
        opacity: 0;
        translate: 0 -5px;
    }

    50% {
        opacity: 1;
        translate: 0 2px;
    }

    100% {
        opacity: 0;
        translate: 0 7px;
    }
}

/* Hover */
.scroll-indicator:hover {
    opacity: 0.65;
}

/* Tablet */
@media (max-width: 1024px) {
    .scroll-indicator {
        width: 30px !important;
        height: 50px !important;
    }

    .scroll-indicator::after {
        top: 19px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-scroll-section .scroll-indicator {
        display: none !important;
    }
}

/* Reduzierte Animation */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator::after {
        animation: none;
    }
}


/* ==========================================
   HERO – EXAKTE VIEWPORT-HÖHE
   TABLET & MOBILE
   ========================================== */

@media (max-width: 1024px) {

    /* Hero auf die sichtbare Bildschirmhöhe begrenzen */
    .hero-fullscreen {
        position: relative !important;
        box-sizing: border-box !important;

        height: 100vh !important;
        height: 100svh !important;

        min-height: 0 !important;
        max-height: 100svh !important;

        overflow: hidden;
    }

    /* Elementor-Container übernimmt die Hero-Höhe */
    .hero-fullscreen > .elementor-container {
        height: 100% !important;
        min-height: 0 !important;
    }

    /* Mindesthöhen der direkten Spalten zurücksetzen */
    .hero-fullscreen > .elementor-container > .elementor-column,
    .hero-fullscreen > .elementor-container > .elementor-column > .elementor-widget-wrap {
        min-height: 0 !important;
    }
}




/* ==========================================================================
   04 | POLYLANG-SPRACHAUSWAHL (DESKTOP & MOBIL)
   ========================================================================== */

/* Mobiles Trennzeichen zwischen den Sprachen. */
#qodef-page-mobile-header .polylang-item:first-child::after {
    content: "|";
    display: inline-block;
    color: #000000 !important;
    margin: 0 5px;
}

/* Hover-Effekt für mobile Sprachlinks. */
#qodef-page-mobile-header .polylang-item a:hover,
#qodef-page-mobile-header .polylang-item a:hover span {
    color: #69797d !important;
}

/* Aktuelle Sprache bleibt im mobilen Menü schwarz. */
#qodef-page-mobile-header .polylang-item.current-lang a,
#qodef-page-mobile-header .polylang-item.current-lang a span {
    color: #000000 !important;
}


/* ==========================================================================
   05 | FOOTER UND SICHTBARKEIT
   ========================================================================== */

/* Englischsprachige Seiten: deutsche Footer-Bausteine ausblenden. */
html[lang^="en"] .footer-de {
    display: none !important;
	margin: 0px !important;
}

/* Deutschsprachige Seiten: englische Footer-Bausteine ausblenden. */
html[lang^="de"] .footer-en {
    display: none !important;
	margin: 0px !important;
}

/* Abstand von Footer-Abschnittsüberschriften. */
#qodef-page-footer .wp-block-widget-area
.footer-section-title {
    margin-block-start: 0 !important;
}

/* Blendet den unteren Inhaltsbereich des Themes aus. */
#qodef-content-bottom {
    display: none;
}

/* Entfernt margin des Impressum Footer-Elements für schönere Mobile-Ansicht */
#block-38 {
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   06 | TEAM-BEREICH
   ========================================================================== */

/* Schriftgröße der Namen im Team-List-Widget. */
.elementor-widget-leroux_core_team_list .qodef-grid-item .qodef-e-title .entry-title h3 {
	font-size: 28px!important;
	line-height: 36px!important;
	letter-spacing: 0px!important;
}

/* Abstand und Ausrichtung der Team-Karteninhalte. */
.qodef-team-list.qodef-item-layout--info-below .qodef-e-content{
	justify-content: flex-start;
    gap: 15px;
}

/* Abstand vor dem E-Mail-Icon. */
.icon_mail:before{
	margin-top:2px;
}


/* ==========================================================================
   07 | HORIZONTAL ACCORDION SHOWCASE
   ========================================================================== */

/* Große Accordion-Tab-Überschrift. */
/* Ursprünglich auskommentierter, inaktiver CSS-Code (unverändert):
.qi-horizontal-accordion .qodef-m-item.qodef--active .qodef-m-title {
    font-size: 26px;
}
*/
.qodef-horizontal-accordion-showcase h2.qodef-m-title {
    font-size: 28px!important;
	line-height: 36px!important;
	letter-spacing: 0px!important;
    font-weight: 600;
}

/* Accordion-Inhaltsüberschrift. */
.qodef-horizontal-accordion-showcase h4.qodef-m-title {
    font-size: 28px!important;
	line-height: 36px!important;
	letter-spacing: 0px!important;
}

/* Beschreibungstext des Accordion-Inhalts. */
.qodef-horizontal-accordion-showcase .qodef-m-description {
	font-size: 20px!important;
	line-height: 32px!important;
	letter-spacing: 0px!important;
    font-weight: 400;
}

/* Beschriftung von Accordion-Schaltflächen. */
.qodef-horizontal-accordion-showcase .qodef-m-button {
    font-size: 14px!important;
	line-height: 24px!important;
	letter-spacing: 0px!important;

	
}

/* Schriftausrichtung vertikaler Accordion-Titel. */
.qodef-horizontal-accordion-showcase .qodef-m-header .qodef-m-title{
	text-orientation: sideways;
}

/* Mindesthöhe des Accordion-Widgets ab 755,99 px. */
@media (min-width: 755.99px) {
	.elementor-widget-leroux_core_horizontal_accordion_showcase{
		min-height: 80vh;
	}
}


/* ==========================================================================
   08 | KONTAKTFORMULAR (CONTACT FORM 7)
   ========================================================================== */

/* Schriftgröße der Formular-Sendeschaltfläche (bestehende Regel). */
.qodef-contact-form-7 .qodef-main-form.qodef-cf7-skin--light .contact-submit{
	font-size: 14px;
}

/* Beschriftungen der Eingabefelder. */
.qodef-main-form.qodef-cf7-skin--light .qodef-input-holder label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Grundgestaltung des Auswahlfelds. */
.qodef-main-form.qodef-cf7-skin--light .qodef-input-holder select {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #fff;
    background: transparent;
    padding: 0 0 12px 0;
    margin: 0;
    color: #f5f5f5;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/* ==========================================================================
   07 | HORIZONTAL ACCORDION SHOWCASE
   ========================================================================== */

/* Schriftstärke für das Pseudoelement vor dem Accordion-Titel. */
.qodef-horizontal-accordion-showcase .qodef-m-header .qodef-m-title::before{
	font-weight: normal;
}


/* ==========================================================================
   08 | KONTAKTFORMULAR (CONTACT FORM 7)
   ========================================================================== */

/* Darstellung des mehrzeiligen Textfelds. */
.qodef-main-form.qodef-cf7-skin--light .qodef-input-holder textarea {
	background: white;
	color: black;
	margin-top: 10px;
}

/* Relative Positionierung des Eingabefeld-Containers. */
.qodef-main-form.qodef-cf7-skin--light .qodef-input-holder {
    position: relative;
}

/* Ergänzungen des Select-Felds inklusive integriertem SVG-Pfeil. */
.qodef-main-form.qodef-cf7-skin--light .qodef-input-holder select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px bottom 10px;
	background-size: 10px;
	padding: 5px 8px;
}

/* Darstellung des Absende-Buttons. */
.qodef-main-form.qodef-cf7-skin--light .contact-submit {
    padding: 2px 20px !important;
    border: none;
    color: #fff!important;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
}


/* ==========================================================================
   09 | SCHALTFLÄCHEN
   ========================================================================== */

/* Abstände und Schriftgröße allgemeiner Qode-Linkbuttons. */
.qodef-button.qodef-html--link{
	margin: 20px 0px 0px 0px;
	padding: 2px 20px 2px 20px;
	font-size: 14px;
}

/* Entfernt den oberen Außenabstand einer bestimmten Qode-Schaltfläche. */
#leroux_core_button-12 .qodef-button{
	margin-top: 0;
}


/* ==========================================================================
   10 | BILD-WIDGET
   ========================================================================== */

/* Abmessungen eines spezifischen Bild-/SVG-Widgets. */
body .qodef-widget-block-f2fa37e2 .qi-block-single-image .qodef-m-image svg,
body .qodef-widget-block-f2fa37e2 .qi-block-single-image .qodef-m-image img{
  height: 66px !important;
  width: auto !important;
  max-width: none !important;
}


/* ==========================================================================
   11 | INTERAKTIVE STANDORTE / KARTE
   ========================================================================== */

/* Zeiger-Cursor und weicher Übergang für Standortspalten. */
.emex-location {
    cursor: pointer;
    transition: opacity 0.25s ease;
}

/* Transparenzänderung beim Überfahren einer Standortspalte. */
.emex-location:hover {
    opacity: 0.65;
}

/* Hervorhebung des ausgewählten Standorts. */
.emex-location.active .emex-map-link a {
    color: #5a8396 !important;
}

/* Darstellung der Standort-Links. */
.emex-location .emex-map-link a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Container für die Standortkarte. */
#emex-location-map {
    width: 100%;
    overflow: hidden;
}

/* Grundgröße des eingebetteten Karten-Iframes. */
#emex-google-map {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* Kartenhöhe auf Mobilgeräten bis 767 px. */
@media (max-width: 767px) {

    #emex-google-map {
        height: 350px;
    }

}


/* ==========================================================================
   12 | RESPONSIVE TYPOGRAFIE UND ACCORDION
   ========================================================================== */

/* Bestehender Media-Query-Block für kleinere Bildschirme einschließlich Accordion-Schriftgrößen. */
@media (max-width: 755.98px) {
	.text-xxl,
	.text-xxl h1,
	.text-xxl h2{
		font-size: 30px!important;
		line-height: 40px!important;
		letter-spacing: 0px!important;
	}
	.text-xl,
	.text-xl h1,
	.text-xl h2 {
		font-size: 22px!important;
		line-height: 30px!important;
		letter-spacing: 0px!important;
	}
	.text-lg,
	.text-lg h2,
	.text-lg.quodef-m-title{
		font-size: 20px!important;
		line-height: 24px!important;
		letter-spacing: 0px!important;
	}
	.text-md,
	.text-md h1,
	.text-md h2,
	.text-md h3 {
		font-size: 18px!important;
		line-height: 20px!important;
		letter-spacing: 0px!important;
	}
	.text-sm,
	.h3-text-sm h3,
	.h4-text-sm h4 {
		font-size: 16px!important;
		line-height: 28px!important;
		letter-spacing: 0px!important;
	}
	.text-xs{
		font-size: 14px!important;
		line-height: 22px!important;
		letter-spacing: 0px!important;
	}
	.text-xxs{
		font-size: 12px!important;
		line-height: 20px!important;
		letter-spacing: 0px!important;
	}
	
	
	
	
	.ui-accordion-header h2.qodef-m-title {
		font-size: 18px!important;
		line-height: 20px!important;
		letter-spacing: 0px!important;
		font-weight: 600;
	}

	
	.ui-accordion-content h4.qodef-m-title {
		font-size: 16px!important;
		line-height: 28px!important;
		letter-spacing: 0px!important;
	}

	
	.ui-accordion-content .qodef-m-description {
		font-size: 12px!important;
		line-height: 20px!important;
		font-weight: 400;
	}

}



/* ==========================================================
   BENEFITS – RESPONSIVE GRID
   LeRoux Child Theme / Elementor
   ==========================================================
   Desktop: 3 Spalten
   Tablet:  2 Spalten
   Mobile:  2 Spalten mit Space Between

   Titel und Untertitel:
   - gleiche Schriftgröße
   - proportional zur Widgetbreite
   - maximal 32px
   ========================================================== */


/* ----------------------------------------------------------
   1. GRID-CONTAINER
   ---------------------------------------------------------- */

.benefits-grid > .elementor-widget-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 60px;
    align-items: start;
    width: 100%;
}


/* ----------------------------------------------------------
   2. ELEMENTOR-ZWISCHENEBENEN AUFLÖSEN
   ---------------------------------------------------------- */

.benefits-grid .elementor-inner-section,
.benefits-grid .elementor-inner-section .elementor-container,
.benefits-grid .elementor-inner-section .elementor-column,
.benefits-grid .elementor-inner-section .elementor-widget-wrap {
    display: contents !important;
}


/* ----------------------------------------------------------
   3. EINZELNE BENEFIT-WIDGETS
   ---------------------------------------------------------- */

.benefits-grid .elementor-widget-leroux_core_icon_with_text {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    justify-self: stretch;

    /* Widgetbreite als Referenz für Schrift */
    container-type: inline-size;
}


/* ----------------------------------------------------------
   4. ICONS UND TEXTE AUSRICHTEN
   ---------------------------------------------------------- */

.benefits-grid .qodef-icon-with-text,
.benefits-grid .qodef-m-icon-wrapper,
.benefits-grid .qodef-m-content {
    text-align: left !important;
}

/* SVG-Größe beibehalten */
.benefits-grid .qodef-m-icon-wrapper svg {
    max-width: 100%;
    height: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Exakt gleich hoher Icon-Bereich */
.benefits-grid .qodef-m-icon-wrapper {
    height: clamp(5rem, 7vw, 6.5625rem);
    display: flex !important;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Größere SVGs innerhalb des Bereichs halten */
.benefits-grid .qodef-m-icon-wrapper svg {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}


/* ----------------------------------------------------------
   5. RESPONSIVE SCHRIFT
   Haupttitel und Untertitel gleich groß
   Maximal 32px
   ---------------------------------------------------------- */

.benefits-grid .qodef-m-title,
.benefits-grid .qodef-m-title-text,
.benefits-grid .qodef-m-text {
    font-size: clamp(16px, 11.5cqw, 32px) !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}


/* ----------------------------------------------------------
   6. TABLET – 2 SPALTEN
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

    .benefits-grid > .elementor-widget-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 50px;
    }
}


/* ----------------------------------------------------------
   7. MOBILE – 2 SPALTEN MIT SPACE BETWEEN
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .benefits-grid > .elementor-widget-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 15px;
        row-gap: 45px;
        justify-content: space-between !important;
    }

    /* Widgets bleiben innerhalb ihrer Grid-Spalten */
    .benefits-grid .elementor-widget-leroux_core_icon_with_text {
        width: 100% !important;
        min-width: 0;
        max-width: none !important;
    }

    /* Rechte Spalte am rechten Rand ausrichten */
    .benefits-grid
    .elementor-widget-leroux_core_icon_with_text:nth-child(even) {
        justify-self: end;
    }

    /* Icons und Texte linksbündig */
    .benefits-grid .qodef-icon-with-text,
    .benefits-grid .qodef-m-icon-wrapper,
    .benefits-grid .qodef-m-content {
        text-align: left !important;
    }
}


/* ==========================================
   DIAGNOSTICS CARD – MOBILE LAYOUT FIX
   Verhindert überlappende Inhalte
   ========================================== */

@media (max-width: 767px) {

    /* Karteninhalte untereinander anordnen */
    .diagnostics-card {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;

        height: auto !important;
        min-height: 0 !important;

        align-items: stretch !important;
        justify-content: flex-start !important;

        gap: 20px;
    }

    /* Elementor-Widgets behalten ihre natürliche Höhe */
    .diagnostics-card > .elementor-element {
        position: relative !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        flex: 0 0 auto !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Bilder proportional anzeigen */
    .diagnostics-card .elementor-widget-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        object-fit: contain;
    }

    /* Überschriften dürfen umbrechen */
    .diagnostics-card .elementor-heading-title {
        overflow-wrap: break-word;
        white-space: normal !important;
    }

    /* Icon-Listen behalten ihre natürliche Höhe */
    .diagnostics-card .elementor-icon-list-items {
        height: auto !important;
    }
}

/* ==========================================
   KI-Bilder Kennzeichnung
   ========================================== */

.ai-image,
.ai-image-left {
    position: relative !important;
}

.ai-image::after,
.ai-image-left::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: 5px !important;
    top: auto !important;
    width: 24px !important;
    height: 24px !important;
    background: url('https://emex-group.de/wp-content/uploads/2026/11/LABEL_AI_white-transparent.png') no-repeat center center !important;
    background-size: contain !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

/* Siegel unten rechts */
.ai-image::after {
    right: 5px !important;
    left: auto !important;
}

/* Siegel unten links */
.ai-image-left::after {
    left: 5px !important;
    right: auto !important;
}


/* KI-Bilder im Horizontal Accordion */
.ai-accordion :has(> img[src*="0_RD"]),
.ai-accordion :has(> img[src*="0_TPM"]),
.ai-accordion :has(> img[src*="0_Diagnostik"]) {
    position: relative !important;
}

/* KI-Siegel */
.ai-accordion :has(> img[src*="0_RD"])::after,
.ai-accordion :has(> img[src*="0_TPM"])::after,
.ai-accordion :has(> img[src*="0_Diagnostik"])::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    top: auto !important;
    left: auto !important;
    width: 24px !important;
    height: 24px !important;
    background: url('https://emex-group.de/wp-content/uploads/2026/11/LABEL_AI_white-transparent.png')
        center / contain no-repeat !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

/* ==========================================
   MOBILE – HORIZONTALES SCROLLEN VERHINDERN
   ========================================== */

@media (max-width: 767px) {

    /* Horizontales Scrollen auf Seitenebene sperren */
    html,
    body {
        overflow-x: clip !important;
    }

    /* LeRoux-Seitencontainer begrenzen */
    #qodef-page-wrapper,
    #qodef-page-outer {
        max-width: 100%;
        overflow-x: clip !important;
    }

    /* Marquee-Animation innerhalb ihrer Fläche halten */
    .qodef-text-marquee {
        max-width: 100%;
        overflow: hidden !important;
    }
}
