
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}
.modal.show {
    display: block;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}
.modal-backdrop.show {
    opacity: 1;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 48rem;
    pointer-events: none;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}
.modal-dialog-scrollable {
    height: calc(100% - 3.5rem);
}
.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    outline: 0;
}
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}
.modal.show .modal-dialog {
    transform: none;
}
.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}
.modal-body {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
}
.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #6b7280;
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}
.btn-close:hover {
    color: #1F3A5F;
    opacity: 1;
}
        body { 
            color: #334155; 
            font-size: 17px; 
            line-height: 1.7; 
            -webkit-font-smoothing: antialiased;
        }
        
        
        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: #f1f5f9; }
        ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
        ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

        
        input[type=range] {
            -webkit-appearance: none;
            background: transparent;
        }
        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            height: 28px;
            width: 28px;
            border-radius: 50%;
            background: #ffffff;
            border: 4px solid #3B82F6;
            cursor: pointer;
            margin-top: -10px; 
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            transition: transform 0.1s ease;
        }
        input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 8px;
            cursor: pointer;
            background: rgba(255,255,255,0.2);
            border-radius: 4px;
        }

        
        .hero-overlay {
            background: linear-gradient(90deg, #FFFFFF 0%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0) 100%);
        }
        
        
        #hero-fullpage-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }
        #hero-fullpage-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
        .hero-overlay-fullpage {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 25%, rgba(227,242,253,0.75) 50%, rgba(255,255,255,0.7) 100%);
        }
        
        
        section.bg-bg-soft,
        section.bg-white,
        section.bg-gradient-to-br {
            background: transparent !important;
        }
        footer.bg-white,
        footer[class*="border-t"] {
            background: rgba(255, 255, 255, 0.4) !important;
            backdrop-filter: blur(10px);
        }
        
        .section-card-glass {
            background: rgba(255, 255, 255, 0.75) !important;
            backdrop-filter: blur(12px);
        }
        .review-card {
            background: rgba(255, 255, 255, 0.7) !important;
            backdrop-filter: blur(10px);
        }
        .review-card:hover {
            background: rgba(255, 255, 255, 0.85) !important;
        }

        
        .modal-backdrop {
            background-color: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(8px);
        }
        
        
        .hover-lift { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease; }
        .hover-lift:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); }
        
        #map { height: 100%; min-height: 560px; width: 100%; border-radius: 2.5rem; overflow: hidden; }

        
        .hidden { display: none; }
        #nav-desktop { display: none; }
        #mobile-menu-btn { display: inline-flex; }
        #whatsapp-desktop { display: none; }
        #badge-desktop { display: none; }
        #badge-mobile { display: inline-flex; }

        
        #mobile-menu {
            max-height: 0;
            opacity: 0;
            transform: translateY(-6px);
            overflow: hidden;
            pointer-events: none;
            border-top: 0;
            margin-top: 0;
            padding-top: 0;
            padding-bottom: 0;
            transition: max-height 320ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 200ms ease, transform 220ms ease;
            will-change: max-height, opacity, transform;
        }
        #mobile-menu.is-open {
            max-height: 560px;
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
            border-top: 1px solid rgba(241, 245, 249, 1);
            margin-top: 12px;
            padding-top: 16px;
            padding-bottom: 20px;
        }
        @media (prefers-reduced-motion: reduce) {
            #mobile-menu,
            #mobile-menu.is-open {
                transition: none;
                transform: none;
            }
        }

        @media (min-width: 640px) {
            #whatsapp-desktop { display: inline-flex; }
            #badge-desktop { display: inline-flex; }
            #badge-mobile { display: none; }
        }

        @media (min-width: 1024px) {
            #nav-desktop { display: flex !important; }
            #mobile-menu-btn { display: none; }
            #mobile-menu { display: none !important; }
        }

        #whatsapp-sticky {
            display: inline-flex;
            position: fixed;
            right: 18px;
            bottom: 18px;
            z-index: 9998;
            transform: translateZ(0);
            transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease, filter 220ms ease;
        }
        #whatsapp-sticky:hover {
            transform: translateY(-6px) scale(1.06);
            filter: saturate(1.1);
        }
        #whatsapp-sticky:active {
            transform: translateY(-2px) scale(0.98);
        }
        #whatsapp-sticky:focus-visible {
            outline: 3px solid rgba(37, 211, 102, 0.35);
            outline-offset: 4px;
        }
        #whatsapp-sticky svg {
            transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        #whatsapp-sticky:hover svg {
            transform: rotate(-10deg) scale(1.06);
        }

        
        #how-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        @media (min-width: 768px) {
            #how-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        #rechner .how-card {
            background: #1F3A5F;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 2.5rem;
            padding: 2.25rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
        }
        #rechner .how-icon {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
            margin-bottom: 1.5rem;
        }
        #rechner .how-text {
            color: rgba(255, 255, 255, 0.85);
            font-weight: 600;
            line-height: 1.65;
        }
        #how-subtitle {
            margin-bottom: 32px;
        }
        #how-grid {
            margin-top: 12px;
        }
