/* Reset & Basis-Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", sans-serif;
    min-height: 100vh;
    background: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow-x: hidden;
}

/* --- NEU: Schriftart für spezifische Elemente --- */
.logo,
h1,
h2,
footer {
    font-family: 'Courgette', cursive;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Hintergrund-Overlay */
.background-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.50)
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Haupt-Container */
.container {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header & Logo */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Logo mit pulsierender Glow-Animation & angepasster Größe für Schreibschrift */
.logo {
    font-size: 2.2rem;
    animation: glow 4s ease-in-out infinite;
}

/* Rechter Header-Bereich (Uhrzeit + Status) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Uhrzeit und Datumsanzeige */
.clock-display {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Status-Anzeige oben rechts */
.status-online {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 100px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Status-Punkt Animation */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #31ff7a;
    box-shadow: 0 0 20px #31ff7a;
    animation: pulse 2s infinite;
}

/* Basis-Klasse für die Glaskarten */
.glass-card, .hero-card {
    background: rgba(15, 20, 40, 0.55);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hero-Sektion oben */
.hero-card {
    padding: 40px;
    margin-bottom: 30px;
}

.hero-card h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Spezifischer Hover-Effekt für die Hero-Card */
.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 217, 255, 0.25);
}

/* Dashboard-Raster (Zwei Spalten) */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Hover-Effekt für die Standard-Dashboard-Karten */
.glass-card {
    padding: 25px;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.45);
}

.glass-card h2 {
    margin-bottom: 20px;
}

/* Monitor-Rahmen mit Tiefenschatten */
.monitor {
    background: black;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Bild-Vorbereitung für den Zoom-Effekt */
.monitor img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

/* Leichtes Vergrößern des Bildes bei Hover über die Monitor-Karte */
.monitor:hover img {
    transform: scale(1.03);
}

/* Service-Raster innerhalb der Status-Karte */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Einzelne Service-Kacheln */
.service {
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s, background-color 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

/* Status-Farbe "online" */
.service.online {
    background: rgba(49, 255, 122, 0.15);
    border: 1px solid rgba(49, 255, 122, 0.5);
}

/* Trennlinie */
.separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 30px 0;
}

/* Fakten-Liste */
.facts {
    list-style: none;
}

.facts li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.facts li:last-child {
    border-bottom: none;
}

/* Footer-Styling */
footer {
    margin-top: 40px;
    text-align: center;
    opacity: 0.8;
    padding-bottom: 20px;
}

/* --- Keyframes für Animationen --- */

/* Glow-Animation für das Logo */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #00d9ff;
    }
    50% {
        text-shadow: 0 0 25px #00d9ff;
    }
    100% {
        text-shadow: 0 0 10px #00d9ff;
    }
}

/* Pulsieren des Status-Punktes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- Zusammengefasste Responsive Anpassungen (< 1000px) --- */
@media (max-width: 1000px) {
    .container {
        padding: 20px;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-right {
        flex-direction: column;
        gap: 10px;
    }

    .dashboard-grid, .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-card h1 {
        font-size: 2rem;
    }
}
