/* Globale Variablen für das Celestial-Farbkonzept */
:root {
    --bg-color: #f4f6f8; /* Sehr weiches, fast unsichtbares Hellblau/Grau */
    --card-bg: #ffffff; /* Reinweiß für die Kacheln */
    --text-main: #1c232b; /* Tiefes Schiefergrau, weicher als Schwarz */
    --text-muted: #7b8b9e;
    --accent-gold: #c9a25b; /* Sonniges, edles Gold */
    --accent-blue: #a3bcdb; /* Das Wolken-Blau aus deinem Profilbild */
    --border-color: rgba(28, 35, 43, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden; /* Verhindert Scrollen auf dem Desktop */
    display: flex;
    align-items: center;
}

/* Der Container mit der Sicherheitszone für das Dock */
.bento-container {
    width: 100%;
    height: 100%;
    padding: 40px;
    padding-left: 120px; /* HIER IST DER PLATZ FÜRS DOCK */
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    max-height: 800px;
}

/* Grund-Styling der einzelnen Bento-Kacheln */
.bento-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Minimalistische, fast scharfe Kanten für Print-Look */
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

/* Typografie & Titel */
.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    position: absolute;
    top: 32px;
    left: 32px;
}

/* --- Uhr Widget --- */
.widget-clock {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-items: center;
    text-align: center;
}

.clock-display {
    font-family: 'Playfair Display', serif;
    font-size: 6.5rem; /* Etwas größer gemacht, da es jetzt einheitlich ist */
    color: var(--text-main);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.colon {
    color: var(--accent-gold);
    font-weight: 400;
    position: relative;
    top: -4px; /* Korrigiert die vertikale Mitte des Doppelpunkts leicht */
}

.date-display {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.celestial-accent {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-top: 16px;
    opacity: 0.6;
}

/* --- Wetter Widget --- */
.widget-weather {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-top: 4px solid var(--accent-blue);
}

.weather-content {
    margin-top: 24px;
}

.weather-temp {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
}

.weather-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Kalender Widget --- */
.widget-calendar {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    justify-content: flex-start;
    padding-top: 80px;
}

.calendar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calendar-item {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.calendar-item:last-child {
    border-bottom: none;
}

.time-accent {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    min-width: 60px;
}

.event-name {
    font-weight: 400;
}

/* --- Dagens Ord Widget --- */
.widget-word {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.word-content {
    margin-top: 24px;
}

.serif-word {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: var(--text-main);
}

.word-trans {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.weather-desc i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}