/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body.bg-image-body {
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(rgba(12, 10, 25, 0.88), rgba(12, 10, 25, 0.88)), 
                url('../Bilder & Videos/Hauptseite.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Navbar */
.navbar {
    background-color: #12131c;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.nav-left { display: flex; align-items: center; gap: 20px; }
.menu-btn { width: 28px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 1001; }
.menu-btn .bar { width: 100%; height: 3px; background-color: white; border-radius: 2px; transition: all 0.3s ease; }
.menu-btn.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.logo { height: 36px; width: auto; cursor: pointer; }
.nav-center { flex-grow: 1; max-width: 450px; margin: 0 20px; }
.search-input { width: 100%; padding: 9px 18px; border-radius: 20px; border: 1px solid rgba(168, 85, 247, 0.3); outline: none; background-color: #1a1b29; color: white; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.icon-link, .profile-icon { display: flex; align-items: center; cursor: pointer; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #12131c;
    transition: left 0.3s ease;
    z-index: 999;
    border-right: 1px solid rgba(168, 85, 247, 0.2);
}
.sidebar.active { left: 0; }
.sidebar ul { list-style: none; padding: 20px; }
.sidebar ul li { margin-bottom: 15px; }
.sidebar ul li a { color: white; text-decoration: none; font-size: 18px; display: block; padding: 8px 12px; border-radius: 6px; }
.sidebar ul li a:hover { background-color: #1e1f2e; color: #a855f7; }

/* Hauptbereich */
.page-content {
    flex: 1;
    padding-top: 90px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 25px;
}

.main-title {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Karten Allgemein */
.time-card, .profile-card, .map-card {
    width: 90%;
    max-width: 750px;
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.95), rgba(30, 40, 70, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #bae6fd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

/* Uhrzeit Box */
.time-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 45, 70, 0.95), rgba(15, 25, 45, 0.9));
    border-color: #38bdf8;
}

.time-header {
    font-size: 0.9rem;
    color: #7dd3fc;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-display {
    font-size: 2.2rem;
    font-family: monospace;
    font-weight: bold;
    color: #38bdf8;
}

.date-display {
    font-size: 1.1rem;
    color: #e0f2fe;
    margin-top: 4px;
}

/* Steckbrief Grid */
.profile-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.label {
    font-weight: bold;
    color: #7dd3fc;
}

.value {
    color: #f0f9ff;
    text-align: right;
}

.sub-text {
    color: #94a3b8;
    font-size: 0.8rem;
    display: block;
}

.badge-na {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.highlight-currency {
    color: #38bdf8;
    font-weight: bold;
}

.law-link {
    color: #60a5fa;
    text-decoration: underline;
    margin-left: 5px;
}

/* Landkarte Platzhalter */
.map-placeholder {
    height: 180px;
    background: rgba(12, 18, 30, 0.7);
    border: 2px dashed rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7dd3fc;
    font-weight: bold;
}

/* Buttons Nebeneinander */
.actions-group {
    display: flex;
    gap: 15px;
    width: 90%;
    max-width: 750px;
}

.action-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    color: white;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.action-btn.disabled {
    background: #1e1b2e;
    color: #64748b;
    border: 1px solid #334155;
    cursor: not-allowed;
    box-shadow: none;
}

.badge {
    background: #1e3a8a;
    color: #dbeafe;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
}

footer {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #aaa;
    background-color: #12131c;
    margin-top: auto;
}

@media (max-width: 600px) {
    .actions-group { flex-direction: column; }
    .profile-item { flex-direction: column; align-items: flex-start; }
    .value { text-align: left; }
}

/* 1. Große Monitore / Extra Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 2. Normale Laptops & Desktop-Monitore */
@media (max-width: 1200px) {
    .page-content {
        width: 95%;
    }
}

/* 3. Tablets (Querformat) & kleinere Laptops */
@media (max-width: 992px) {
    .support-layout {
        grid-template-columns: 1fr; /* Wechsel von 2 auf 1 Spalte */
    }
}

/* 4. Tablets (Hochformat) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }
    
    .sidebar {
        width: 100%; /* Vollbild-Menü auf Mobilgeräten */
    }
}

/* 5. Smartphones */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .nav-center {
        display: none; /* Suchleiste ausblenden für mehr Platz */
    }

    h1 {
        font-size: 1.5rem;
    }
}