.elementor-kit-1880{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-639647d:#B40000;--e-global-color-3ccb689:#2A2A2A;--e-global-color-bb5b746:#4D0000;--e-global-color-0048601:#8A0000;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-1880 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){margin-block-end: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 */<script>
(function () {
    let lastScrollY = 0;

    // Scrollposition merken
    document.addEventListener('scroll', function () {
        lastScrollY = window.scrollY;
    }, { passive: true });

    // Hash-Änderung unterdrücken
    window.addEventListener('hashchange', function (e) {
        history.replaceState(null, '', window.location.pathname + window.location.search);
    });

    // Beim Schließen von Elementor-Popups
    document.addEventListener('click', function (e) {
        const closeBtn = e.target.closest('.dialog-close-button, .elementor-popup-modal');

        if (!closeBtn) return;

        e.preventDefault();
        e.stopPropagation();

        const y = lastScrollY;

        // Fokus neutralisieren
        document.activeElement && document.activeElement.blur();

        // mehrfach zurücksetzen, bevor Elementor erneut eingreift
        requestAnimationFrame(() => window.scrollTo(0, y));
        setTimeout(() => window.scrollTo(0, y), 0);
        setTimeout(() => window.scrollTo(0, y), 50);
        setTimeout(() => window.scrollTo(0, y), 150);
    }, true);
})();
</script>/* End custom CSS */