/* ==========================================================================
   [01] HEADER-STRUKTUR
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 5px solid var(--brand-primary);
    box-shadow: 0 4px 15px rgba(255, 153, 216, 0.2);
}

/* Die schräge Navy-Fläche als absolutes Overlay */
.header-bg-slash {
    position: absolute;
    top: 0;
    right: 0;
    width: 7%;
    height: 100%;
    background: var(--brand-primary);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
    z-index: 1;
    padding: 0 20px;
    gap: 21%;
}

.status-container {
    pointer-events: auto;
    display: flex;
    gap: 20px;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Roboto Mono', monospace;
}

.header-logo {
    height: 48px;
    width: auto;
    display: block;
}

.domain-logo {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #004e7a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 800px;
}

.status-drawer { 
    background: #ffffff; 
    border: 1px solid #e8e8e8;  
    width: 100%; 
    box-sizing: border-box;
    color: var(--brand-primary);
    font-family: 'Roboto Mono', monospace;
    overflow: hidden;
    white-space: nowrap;
}

#drawer-current-title {
    display: inline-block;
    font-weight: bold;
    font-size: 0.85rem;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

.status-select-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.status-select-toggle .status-dot {
    position: static;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.status-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.2);
    padding: 8px;
    border-radius: 0 12px 0 12px;
    z-index: 1005;
    min-width: 220px;
}

.status-select-menu.open {
    display: block;
}

.status-select-header {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(var(--brand-primary-rgb), 0.6);
    padding: 4px 10px 8px;
}

.status-select-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--brand-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.status-select-item:hover {
    background: rgba(var(--brand-primary-rgb), 0.1);
}

.status-select-item .status-dot {
    position: static;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
}