/* style.css */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Georgia&display=swap');

/* --- Globale Stile & Variablen --- */
:root {
    --accent-color: #007bff; /* Das kräftige Blau aus dem Vorbild */
    --text-color: #333333;
    --background-card: rgba(255, 255, 255, 0.95); /* Leicht transparentes Weiß für den "Frosted" Look */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --footer-text-color: #cccccc;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    /* Der Farbverlauf aus dem Vorbild */
    background: linear-gradient(135deg, #2c3e50, #4a69bd);
    background-attachment: fixed; /* Hält den Verlauf beim Scrollen fest */
    color: var(--text-color);
}

/* --- Header & Navigation --- */
.site-header {
    background: rgba(0, 0, 0, 0.2); /* Dunkler, transparenter Header */
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.site-header .logo img {
    height: 45px;
    vertical-align: middle;
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent-color);
}

/* --- Hauptcontainer (Die "Karte") --- */
.main-container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--background-card);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

/* --- Inhalt innerhalb der Karte --- */
.main-container h2 {
    font-family: 'Georgia', serif; /* Wie auf der Vorbild-Seite */
    color: var(--accent-color);
    font-size: 2.2em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

.main-container h3 {
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    margin-top: 30px;
}

.main-container p {
    line-height: 1.7;
    font-size: 1.1em;
}

/* --- Uhrzeit & Datum --- */
.time-display {
    text-align: center;
    padding: 20px;
    background-color: rgba(0,0,0,0.03);
    border-radius: 8px;
    margin-bottom: 30px;
}

#clock {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
}

#date {
    font-size: 1.2em;
    color: #555;
}

/* --- Buttons & Links --- */
.action-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 50px; /* Voll abgerundete Ecken */
    text-decoration: none;
    font-weight: 700;
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #0056b3; /* Dunkleres Blau bei Hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    color: var(--footer-text-color);
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.site-footer .copyright {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- Responsivität --- */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 20px 15px;
    }
    .site-nav {
        margin-top: 15px;
    }
    .site-nav a {
        margin: 0 10px;
    }
    .main-container {
        margin: 20px;
        padding: 20px;
    }
    .main-container h2 {
        font-size: 1.8em;
    }
    #clock {
        font-size: 2.2em;
    }
}