/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {/**/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. CANVAS FIXIERUNG
   ========================================================================== */
#backgroundleinwand {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
}

/* ==========================================================================
   3. INHALTS-LAYOUT
   ========================================================================== */
.page-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: radial-gradient(circle at center, #0f172a 0%, #000000bd 10%);
}

/* ==========================================================================
   4. HEADER & NAVIGATION (Rechtsbündig + Button Style)
   ========================================================================== */
header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 48px;
    width: 100%;
    border-bottom: 1px solid #ffffff38;
    background: #36363638;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #38bdf8;
    border-radius: 2px;
}

#mainNav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

/* Standard Nav-Link (Kontakt) */
#mainNav .nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#mainNav .nav-link:hover {
    color: #38bff865;
    text-shadow: 0 0 12px #38bdf8;
}

/* Professioneller Login-Button (Ganz rechts) */
#mainNav .btn-login {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 34px;
    border-radius: 8px;
    background: #0f172a79;
    border: 1px solid #ffffff44;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

#mainNav .btn-login:hover {
    background: #0f172a79;
    border-color: #38bff8fd;
    box-shadow: 0 0 20px #38bff8fd;
    transform: translateY(-2px);
}

/* ==========================================================================
   5. WARTUNGSARBEITEN CARD
   ========================================================================== */
.wartungsarbeiten-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maintenance-message {
    background: #0f172a79;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #ffffff44;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 580px;
    width: 100%;
    text-align: center; 
    box-shadow: 0 20px 50px #ffffff1f, inset 0 1px 0 #ffffffb7;
}

.maintenance-message h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.maintenance-message p {
    font-size: 14px;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.maintenance-message .thanks {
    margin-top: 24px;
    font-weight: 600;
    color: #a0a0a0;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: #94a3b8;
    border-top: 1px solid #ffffff38;    
    background: #36363638;
}

/* ==========================================================================
   7. RESPONSIVE ANPASSUNGEN
   ========================================================================== */
@media (max-width: 768px) {
    header {
        padding: 20px 24px;
    }

    .maintenance-message {
        padding: 32px 24px;
        margin: 0 12px;
    }

    .maintenance-message h1 {
        font-size: 1.8rem;
    }

    .maintenance-message p {
        font-size: 0.95rem;
    }
}