:root {
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-heavy: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.7);
    --accent: #82c8ff;
    --radius: 24px;
    --blur: blur(12px);
}

body {
    margin: 0; padding: 0;
    font-family: -apple-system, system-ui, sans-serif;
    color: var(--text);
    background-attachment: fixed;
    min-height: 100vh;
}

.v2-container { max-width: 1100px; margin: 0 auto; padding: 80px 16px 40px; }

/* Header & Nav */
.v2-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
}
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand h1 { font-size: 1.2rem; margin: 0; }
.brand h1 span { color: var(--accent); font-weight: 400; }
.live-dot { width: 8px; height: 8px; background: #ff4d4d; border-radius: 50%; box-shadow: 0 0 8px #ff4d4d; }
.v2-nav { display: flex; gap: 15px; }
.v2-nav a { text-decoration: none; color: var(--muted); font-size: 0.9rem; transition: color 0.3s; }
.v2-nav a.active, .v2-nav a:hover { color: var(--text); font-weight: bold; }

/* Hero */
.v2-hero { text-align: center; padding: 40px 0; }
.temp-display { font-size: 5rem; font-weight: 900; letter-spacing: -4px; }
.temp-display .unit { font-size: 2rem; vertical-align: top; letter-spacing: 0; }
.temp-sub { color: var(--muted); font-size: 1.1rem; }
.hero-status { margin-top: 20px; background: var(--glass-heavy); padding: 10px 20px; border-radius: 99px; display: inline-block; font-size: 0.9rem; border: 1px solid var(--glass-border); }

/* Grid & Cards */
.v2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.v2-card { background: var(--glass); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; color: var(--muted); }
.card-head h3 { margin: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.big-val { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; }
.big-val small { font-size: 1rem; color: var(--muted); }

/* Wind Rose */
.wind-box { display: flex; align-items: center; justify-content: flex-start; gap: 20px; }
.gauge-container { flex-shrink: 0; width: 80px; height: 80px; }
.rose-bg { fill: none; stroke: var(--glass-border); stroke-width: 2; }
.rose-arrow { fill: var(--accent); transition: transform 1s ease-out; }
.value-box { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }

/* Details Raster */
.v2-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; border-top: 1px solid var(--glass-border); padding-top: 12px; width: 100%; }
.stat-line { display: flex; flex-direction: column; }
.stat-line span { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; }
.stat-line b { font-size: 1.1rem; }

/* Range / Progress Bars */
.v2-range { margin-top: 10px; }
.range-bar { width: 100%; height: 6px; background: rgba(0,0,0,0.2); border-radius: 3px; overflow: hidden; }
.range-fill { height: 100%; background: var(--accent); width: 0%; transition: width 1s; }
.range-label { font-size: 0.8rem; margin-top: 8px; color: var(--muted); }

/* Mobile Adjustments (Navigation bleibt sichtbar) */
@media (max-width: 600px) {
    .temp-display { font-size: 3.5rem; }
    .v2-nav { 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 8px 12px;
        margin-top: 5px;
    } 
    .v2-nav a { font-size: 0.8rem; }
    .header-inner { flex-direction: column; padding: 10px; }
}

/* --- NEU: Symmetrie-Fix für die Luft-Seite --- */
.v2-grid-luft {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr; /* Mobil: 1 Spalte */
}

/* Ab 650px (Desktop/Tablet): Exakt 2 Spalten erzwingen und zentrieren */
@media (min-width: 650px) {
    .v2-grid-luft {
        grid-template-columns: repeat(2, 1fr);
        max-width: 750px; /* Begrenzt die maximale Breite des gesamten Blocks */
        margin: 0 auto;   /* Zentriert die Kacheln auf dem Bildschirm */
    }
    .luft-advice-card {
        grid-column: span 2; /* Die Empfehlung spannt über beide Spalten */
    }
}