:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4CAF50;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --shadow-color: rgba(76, 175, 80, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* Controls - Horizontale Anordnung innerhalb des Containers */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.color-palette-switcher {
    flex: 0;
}

.palette-select {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 120px;
    align-self: flex-start;
}

.palette-select:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.language-switcher {
    display: flex;
    flex: 0;
    gap: 10px;
}

.lang-btn {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

h1 {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 300;
    margin-top: 0;
}

.week-display {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color));
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 8px 16px var(--shadow-color);
}

.week-number {
    font-size: 4em;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.week-label {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.9;
}

.date-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #666;
}

.current-date {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.update-time {
    font-size: 0.9em;
    color: #888;
}

/* Responsive Design für mobile Geräte */
@media (max-width: 480px) {
    .controls {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .color-palette-switcher {
        order: 2;
    }
    
    .language-switcher {
        order: 1;
        justify-content: center;
    }
    
    .palette-select {
        min-width: auto;
        width: 100%;
    }
}