.elementor-kit-6{--e-global-color-primary:#122035;--e-global-color-secondary:#10274D;--e-global-color-text:#585858;--e-global-color-accent:#DD3A25;--e-global-typography-primary-font-family:"Momo Trust Sans";--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Momo Trust Sans";--e-global-typography-secondary-font-weight:500;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* =========================
   GESAMTER GALERIEBEREICH
========================= */

.referenz-gallery {
    position: relative;
    display: block;
    width: 100%;
    height: 620px;
    min-height: 620px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
}

/* =========================
   GROSSES HAUPTBILD
========================= */

.referenz-gallery .referenz-main-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 125px;

    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.referenz-gallery .referenz-main-image .elementor-widget-container,
.referenz-gallery .referenz-main-image a,
.referenz-gallery .referenz-main-image img {
    width: 100%;
    height: 100%;
}

.referenz-gallery .referenz-main-image img {
    display: block;
    object-fit: cover;
    object-position: 50% 50%;
    transition: opacity 0.2s ease;
}

/* Kurzer Fade beim Bildwechsel */
.referenz-gallery .referenz-main-image.is-changing img {
    opacity: 0;
}

/* =========================
   SICHTBARE THUMBNAIL-LEISTE
========================= */

.referenz-gallery .referenz-thumbnails {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;

    width: 100%;
    height: 125px;
    margin: 0;
    padding-top: 5px;
    padding-left: 0px;

    padding-right: 0px;

    padding-bottom: 0px;

    box-sizing: border-box;
    background: transparent;
    z-index: 20;
}

/* Vom Script erzeugte Vorschaubilder */
.referenz-gallery .referenz-thumb-generated {
    display: block;
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;
    cursor: pointer;

    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;

    appearance: none;
    -webkit-appearance: none;

    transition:
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.referenz-gallery .referenz-thumb-generated img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.referenz-gallery .referenz-thumb-generated:hover {
    opacity: 0.85;
}

.referenz-gallery .referenz-thumb-generated.is-active {
    border-color: #E83A24;
}

/* =========================
   ACF-QUELLBILDER
   Außerhalb des Bildschirms,
   damit Elementor alle lädt
========================= */

.referenz-gallery .referenz-gallery-sources {
    position: fixed;
    top: 0;
    left: -10000px;

    display: flex;
    flex-direction: column;

    width: 300px;
    height: auto;

    margin: 0;
    padding: 0;

    opacity: 0;
    visibility: visible;
    pointer-events: none;
    overflow: visible;
}

.referenz-gallery .referenz-source-image {
    display: block;
    width: 300px;
    height: 200px;
    margin: 0;
    padding: 0;
}

.referenz-gallery .referenz-source-image .elementor-widget-container,
.referenz-gallery .referenz-source-image a,
.referenz-gallery .referenz-source-image img {
    display: block;
    width: 300px;
    height: 200px;
}

.referenz-gallery .referenz-source-image img {
    object-fit: cover;
    object-position: 50% 50%;
}

/* =========================
   PFEILE
========================= */

.referenz-gallery .referenz-prev,
.referenz-gallery .referenz-next {
    position: absolute;
    top: calc((100% - 125px) / 2);
    z-index: 30;

    width: auto;
    margin: 0;

    transform: translateY(-50%);
    cursor: pointer;
}

.referenz-gallery .referenz-prev {
    left: 18px;
}

.referenz-gallery .referenz-next {
    right: 18px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
    .referenz-gallery {
        height: 560px;
        min-height: 560px;
    }

    .referenz-gallery .referenz-main-image {
        bottom: 110px;
    }

    .referenz-gallery .referenz-thumbnails {
        height: 110px;
        padding: 4px;
        gap: 4px;
    }

    .referenz-gallery .referenz-prev,
    .referenz-gallery .referenz-next {
        top: calc((100% - 110px) / 2);
    }
}

/* =========================
   MOBIL
========================= */

/* =========================================
   OFF CANVAS – MOBILE
========================================= */

@media (max-width: 767px) {

    /*
     * Off-Canvas soll den gesamten Bildschirm abdecken.
     * Kein sichtbarer heller Seitenhintergrund darunter.
     */
    .referenz-offcanvas {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: rgba(8, 20, 40, 0.82);
        z-index: 99999;
    }

    /*
     * Der eigentliche Inhalt scrollt innerhalb des Fensters.
     */
    .referenz-offcanvas-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #ffffff;
        -webkit-overflow-scrolling: touch;
    }

    /*
     * Galerie auf Mobile kompakter.
     */
    .referenz-gallery {
        flex: 0 0 auto;
        width: 100%;
        height: 390px;
        min-height: 390px;
        margin: 0;
        padding: 0;
    }

    .referenz-gallery .referenz-main-image {
        bottom: 74px;
    }

    .referenz-gallery .referenz-thumbnails {
        height: 74px;
        padding: 3px 0 0;
        gap: 3px;
    }

    /*
     * Pfeile auf dem Handy ausblenden.
     * Navigation funktioniert über die Thumbnails.
     */
    .referenz-gallery .referenz-prev,
    .referenz-gallery .referenz-next {
        display: none;
    }

    /*
     * Textbereich mit deutlich weniger Außenabstand.
     */
    .referenz-project-content {
        width: 100%;
        margin: 0;
        padding: 28px 20px 48px;
        box-sizing: border-box;
        background: #ffffff;
    }

    /*
     * Genug Luft unter dem letzten CTA-Button.
     */
    .referenz-project-content .elementor-button-wrapper {
        margin-bottom: 24px;
    }

    .referenz-project-content .elementor-button {
        width: 100%;
    }
}

/* Sehr kleine Handys */
@media (max-width: 390px) {
    .referenz-gallery {
        height: 350px;
        min-height: 350px;
    }

    .referenz-gallery .referenz-main-image {
        bottom: 68px;
    }

    .referenz-gallery .referenz-thumbnails {
        height: 68px;
    }

    .referenz-project-content {
        padding: 24px 16px 44px;
    }
}

@media (max-width: 767px) {
    body.e-off-canvas-open {
        overflow: hidden;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 200;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-ExtraLight.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-Medium.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'Momo Trust Sans';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/MomoTrustSans-ExtraBold.ttf') format('truetype');
}
/* End Custom Fonts CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 300;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_28pt-Thin.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_28pt-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_24pt-Medium.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_24pt-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_24pt-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 800;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_24pt-ExtraBold.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 900;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_18pt-Black.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 200;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_28pt-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100;
	font-display: auto;
	src: url('https://nordlux.de/wp-content/uploads/2026/08/Inter_24pt-ExtraLight.ttf') format('truetype');
}
/* End Custom Fonts CSS */