/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 60px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-icon {
    width: 280px;
    height: 100px;
    background-image: url('../logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 16px;
}

.nav-link:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, #4527A0, #00BFA5);
    color: white !important;
    padding: 16px 32px !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-left: 20px;
    text-decoration: none;
    display: inline-block;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3e1f7c, #00a693);
    transition: left 0.3s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    left: 0;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(69, 39, 160, 0.3);
    color: white !important;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.hamburger:hover {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: scale(1.05);
}

.hamburger:focus {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger:active {
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.hamburger::before,
.hamburger::after {
    display: none !important;
}

/* Hamburger Lines Container */
.hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    position: relative;
}

/* Individual Lines */
.line {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    position: relative;
}

/* Line Colors */
.line-top {
    background-color: #4527A0; /* Lila */
}

.line-middle {
    background-color: #B0BEC5; /* Grau */
}

.line-bottom {
    background-color: #00BFA5; /* Türkis */
}

/* Active State - Transform to X */
.hamburger.active .line-top {
    transform: translateY(8.5px) rotate(45deg);
    background-color: #4527A0;
}

.hamburger.active .line-middle {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .line-bottom {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: #00BFA5;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu.active {
    right: 0;
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -320px;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        margin-left: 0;
        padding-left: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        border-left: 1px solid rgba(226, 232, 240, 0.8);
    }
    
    .nav-container {
        height: 50px;
        padding: 0 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav-logo {
        margin-right: 0;
    }
    
    .hamburger {
        display: flex !important;
        position: fixed !important;
        right: 20px !important;
        top: 22px !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        z-index: 1001 !important;
    }
    

    
    .nav-logo-icon {
        width: 180px;
        height: 60px;
    }
    
    .nav-link {
        text-align: center;
        width: 100%;
        padding: 16px;
    }
    
    .contact-btn {
        margin: 0;
        width: 200px;
        text-align: center;
        padding: 12px 24px !important;
    }
}

/* Tablet Navigation */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-container {
        padding: 0 30px;
        height: 80px;
    }
    
    .nav-logo-icon {
        width: 180px;
        height: 60px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .contact-btn {
        padding: 14px 24px !important;
        font-size: 0.95rem;
    }
} 