/* =========================================
   Grundlegende Resets & Windows 10 Typografie
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F3F3F3; /* Typischer Windows 10 Hintergrund */
    color: #1A1A1A;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Header Container (Feste Höhe, Acrylic-Style)
   ========================================= */
.service-desk-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px; /* Feste Höhe, die sich nie ändert */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    
    /* Windows 10/11 "Acrylic" Light-Effekt */
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Subtile Abgrenzung nach unten */
    border-bottom: 1px solid #E5E5E5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* =========================================
   Linke Seite: Logo (Dimensions-Sicher)
   ========================================= */
.header-left {
    display: flex;
    align-items: center;
}

.logo-container {
    /* Dieser Container gibt die maximale Höhe vor (z.B. 40px von 64px Header) */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    height: 100%;       /* Nimmt maximal die Höhe des Containers ein */
    width: auto;        /* Breite passt sich proportional an */
    max-width: 250px;   /* Verhindert, dass extrem breite Logos das Layout sprengen */
    object-fit: contain; /* Stellt sicher, dass das PNG nicht verzerrt wird */
    display: block;
}

/* =========================================
   Rechte Seite: Benutzerprofil
   ========================================= */
.header-right {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 4px; /* Typisch Windows 10 Hover-Radius */
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

/* Windows 10 typischer Hover-Effekt (leichtes Grau) */
.user-profile:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Text wird rechtsbündig am Avatar ausgerichtet */
    line-height: 1.3;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.user-department {
    font-size: 12px;
    font-weight: 400;
    color: #666666; /* Etwas abgedunkelt für Hierarchie */
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Perfekt abgerundet */
    object-fit: cover;
    border: 2px solid #FFFFFF; /* Hebt das Bild leicht vom Hintergrund ab */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); /* Subtile Tiefe */
    transition: transform 0.15s ease-in-out;
}

/* Kleiner interaktiver Effekt beim Hover über das ganze Profil */
.user-profile:hover .user-avatar img {
    transform: scale(1.05);
}

/* =========================================
   Nur für Demo-Zwecke: Inhaltsbereich
   ========================================= */
.content-placeholder {
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-placeholder h1 {
    font-weight: 300; /* Windows 10 Settings Stil: Dünne, große Überschriften */
    font-size: 28px;
    margin-bottom: 16px;
    color: #0078D7; /* Windows 10 Akzentfarbe (Blau) */
}

.content-placeholder p {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* =========================================
   PROFESSIONELLER FOOTER - Fixed Bottom
   ========================================= */

/* Body braucht Padding für den fixierten Footer */
body {
    padding-bottom: 48px; /* Platz für den fixierten Footer */
}

.service-desk-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #2B2B2B; /* Dunkler, professioneller Hintergrund */
    border-top: 1px solid #1A1A1A;
    padding: 12px 24px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Linke Sektion: Copyright & Version */
.footer-left {
    font-size: 12px;
    color: #A0A0A0;
}

.footer-copyright {
    font-weight: 500;
}

.footer-version {
    color: #666666;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    padding: 2px 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

/* Mittlere Sektion: Links */
.footer-center {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.15s ease;
    position: relative;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0078D7;
    transition: width 0.2s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Rechte Sektion: Status-Indikator */
.footer-right {
    font-size: 12px;
    color: #A0A0A0;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #4CAF50; /* Grün für "operational" */
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 12px rgba(76, 175, 80, 0.9);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-section {
        justify-content: center;
    }
    
    .footer-center {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .service-desk-footer {
        padding: 10px 16px;
    }
    
    .footer-link {
        font-size: 11px;
    }
    
    .footer-left,
    .footer-right {
        font-size: 11px;
    }
}

/* =========================================
   FOOTER - 3-Spalten-Layout (Nockeck.co-Stil)
   ========================================= */

.service-desk-footer {
    background-color: #0F1724; /* Dunkles Navy-Blau wie im Beispiel */
    color: #C8D0DA;
    padding: 60px 24px 0;
    margin-top: auto; /* Schiebt Footer ans Ende bei Flex-Body */
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Linke Spalte etwas breiter */
    gap: 48px;
    padding-bottom: 48px;
}

/* --- Linke Spalte: Branding --- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: #3B82F6; /* Akzent-Blau */
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: #3B82F6;
}

.footer-quote {
    font-size: 15px;
    font-style: italic;
    color: #9AA5B4;
    line-height: 1.6;
    max-width: 320px;
    font-family: 'Georgia', serif; /* Serif für eleganteren Zitat-Look */
}

/* --- Spalten: Navigation & Rechtliches --- */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.heading-icon {
    width: 20px;
    height: 20px;
    color: #3B82F6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9AA5B4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

.footer-links li a:hover {
    color: #FFFFFF;
}

.link-arrow {
    color: #3B82F6;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.15s ease;
    display: inline-block;
}

.footer-links li a:hover .link-arrow {
    transform: translateX(3px); /* Pfeil wandert leicht nach rechts beim Hover */
}

/* --- Footer Bottom: Trennlinie + Copyright --- */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Dezente Trennlinie */
    font-size: 13px;
    color: #6B7685;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1; /* Branding nimmt volle Breite ein */
    }
}

@media (max-width: 600px) {
    .service-desk-footer {
        padding: 40px 20px 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-quote {
        max-width: 100%;
    }
}