/* Grundlegende Zurücksetzung für einheitliche Darstellung */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 20px;
}

/* Hauptcontainer zentrieren und Breite begrenzen */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    margin-bottom: 30px;
}

header h1 {
    font-size: 24px;
    color: #111827;
}

header p {
    color: #6b7280;
    font-size: 14px;
}

/* Kacheln (Cards) Styling */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Standard-Raster --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.metrics-grid h3 {
    font-size: 14px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

/* --- Standard-Aussehen für alle Werte (Temperatur, Wind, etc.) --- */
.value {
    font-size: 16px;
    font-weight: normal;
    color: #1f2937;
}

/* --- Sonnenzeiten --- */
.sun-times-container {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 20px;
}

.sun-time {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Exakt gleiche Schriftgröße, Stärke und Farbe wie .value */
    font-size: 16px;
    font-weight: normal;
    color: #1f2937;
}

.sun-icon {
    font-size: 1.15em;
}

/* --- Min/Max Werte für Temperatur und Wind --- */
.minmax-container {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 20px;
}

.minmax-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: normal;
    color: #1f2937;
}

.minmax-icon {
    /* Flex ist hier wichtig, damit das SVG exakt vertikal zentriert wird */
    display: flex;
    align-items: center;
}

/* --- Diagramm Container --- */
.chart-container h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

canvas {
    width: 100% !important;
    max-height: 400px;
}