/* Base widget visibility - IMPORTANT: Absolute overrides */
.elementor-widget-bp_navigation_desktop_7da2590b {
	display: block !important;
}

/* Outer Wrapper */
.bp-nav-desktop__wrapper {
	position: sticky;
    top: 8px;
    z-index: 9999;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

/* Inner Container (The Expanding Pill) */
.bp-nav-desktop__container {
    max-width: 1330px; 
    width: 100%;
    margin: 0 auto;
    
    /* Standard-Zustand (hell, transparent) */
    background: rgba(113, 214, 221, 0.16);
    backdrop-filter: blur(40.8px);
    -webkit-backdrop-filter: blur(40.8px);
    
    border-radius: 40px;
    box-sizing: border-box;
    transition: background 0.3s ease, height 0.3s ease;
    
    /* Crucial for unified expanding box */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    height: 84px; /* Default closed height */
}

/* Container Hover State */
.bp-nav-desktop__container.is-open {
    background: rgba(0, 38, 44, 0.7);
}

/* Top Bar (The permanent 84px part) */
.bp-nav-desktop__topbar {
    width: 100%;
    height: 84px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(16px, 3vw, 64px);
    padding: 12px 32px;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Logo */
.bp-nav-desktop__logo-container {
    width: 221px;
    height: 68px;
    padding: 4px 0 4px 3px; /* 3px left padding to move right */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.bp-nav-desktop__logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.bp-nav-desktop__logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain;
}

/* Ensure SVG logos display correctly inside link */
.bp-nav-desktop__logo-link svg {
    height: 60px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
}

/* Menu */
.bp-nav-desktop__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 64px);
    flex: 1 0 0;
    flex-wrap: nowrap;
    height: 100%;
}

.bp-nav-desktop__item {
    display: flex;
    align-items: center;
    height: 100%;
}

.bp-nav-desktop__link {
    font-family: 'ff-nuvo-web-pro', 'Nuvo OT', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%; 
}

/* Active and Hover states for main links */
.bp-nav-desktop__link:hover,
.bp-nav-desktop__item.is-active .bp-nav-desktop__link,
.bp-nav-desktop__container.is-open .bp-nav-desktop__loesungen-trigger .bp-nav-desktop__link {
    color: #00ADC6 !important;
}

.bp-nav-desktop__icon {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    transition: stroke 0.2s ease;
}

.bp-nav-desktop__link:hover .bp-nav-desktop__icon svg,
.bp-nav-desktop__item.is-active .bp-nav-desktop__link svg,
.bp-nav-desktop__container.is-open .bp-nav-desktop__loesungen-trigger .bp-nav-desktop__link svg {
    stroke: #00ADC6 !important;
}


/* Expanded Dropdown Area */
.bp-nav-desktop__dropdown-area {
    width: 100%;
    padding: 0 0 40px 0; /* JS handles left padding */
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    
    /* Flex container to position the links */
    display: flex;
    justify-content: flex-start;
}

.bp-nav-desktop__container.is-open .bp-nav-desktop__dropdown-area {
    opacity: 1;
    pointer-events: auto;
}

/* Dropdown Content Box */
.bp-nav-desktop__dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-left: 0; 
}

.bp-nav-desktop__dropdown-link {
    font-family: 'ff-nuvo-web-pro', 'Nuvo OT', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    white-space: nowrap;
    padding: 10px 0;
    display: block;
    transition: color 0.2s ease;
}

.bp-nav-desktop__dropdown-link:hover,
.bp-nav-desktop__dropdown-link.is-active,
.bp-nav-desktop__dropdown-link.current-menu-item {
    color: #00ADC6 !important;
}


/* CTA Button */
.bp-nav-desktop__cta-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: -3px; /* Move button 3px to the left */
}

/* Button Base Styles - DEFAULT Desktop (Large) */
.bp-nav-desktop__cta-button {
    background: #EA664F !important;
    border-radius: 72px !important;
    padding: 16px 40px !important;
    min-width: 240px;
    box-sizing: border-box;
    font-family: 'ff-nuvo-web-pro', 'Nuvo OT', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.bp-nav-desktop__cta-button:hover {
    background: #00ADC6 !important;
    color: #FFFFFF !important;
}

.bp-nav-desktop__cta-icon {
    display: none; /* Hidden by default on large screens */
}

.bp-nav-desktop__cta-text {
    display: block; /* Visible by default on large screens */
}

/* Breakpoint 1025px - 1200px: Shrink button to circular icon */
@media (min-width: 1025px) and (max-width: 1200px) {
    .bp-nav-desktop__menu {
        gap: clamp(20px, 2.5vw, 40px) !important;
    }
    
    .bp-nav-desktop__cta-text {
        display: none !important;
    }
    
    .bp-nav-desktop__cta-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .bp-nav-desktop__cta-button {
        min-width: 56px !important;
        width: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        border-radius: 50% !important; /* Perfect circle */
    }
}