/* Wetter-Block – eigener Namensraum, damit nichts anderes gestört wird */
.weather-shell {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.weather-dashboard {
    width: 100%;
    max-width: 1100px;
    background: #0f172a;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 16px 18px 20px;
    box-shadow: 0 18px 35px rgba(15,23,42,0.5);
    border: 1px solid rgba(148,163,184,0.4);
    box-sizing: border-box;
}

/* Kopfbereich */
.weather-dashboard header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.weather-dashboard .title-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-dashboard .title-block h1 {
    margin: 0;
    font-size: 1.4rem;
}

.weather-dashboard .title-pill {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #38bdf8;
}

.weather-dashboard .subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
}

.weather-dashboard .meta-info {
    text-align: right;
    font-size: 0.8rem;
    color: #9ca3af;
}

.weather-dashboard .meta-info span {
    display: block;
}

.weather-dashboard .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,118,110,0.16);
    color: #a5f3fc;
    font-size: 0.75rem;
}

.weather-dashboard .badge span {
    display: inline-block;
}

/* Grid-Layout */
.weather-dashboard .grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 768px) {
    .weather-dashboard .grid {
        grid-template-columns: 2fr 1.5fr;
    }
}

/* Karten */
.weather-dashboard .card {
    background: radial-gradient(circle at top left,
                                rgba(56,189,248,0.1),
                                rgba(15,23,42,0.98));
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(148,163,184,0.35);
}

.weather-dashboard .card h2 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
    color: #9ca3af;
}

/* Hauptwerte */
.weather-dashboard .card-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.weather-dashboard .temp-main {
    font-size: 2.3rem;
    font-weight: 600;
}

.weather-dashboard .temp-main small {
    font-size: 1.1rem;
    color: #9ca3af;
}

.weather-dashboard .temp-minmax {
    font-size: 0.8rem;
    color: #9ca3af;
}

.weather-dashboard .temp-minmax span {
    display: inline-block;
    margin-right: 10px;
}

/* Zeilen / Labels */
.weather-dashboard .rows {
    margin-top: 8px;
    display: grid;
    gap: 4px;
    font-size: 0.8rem;
}

.weather-dashboard .row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.weather-dashboard .row span:first-child {
    color: #9ca3af;
}

.weather-dashboard .row span:last-child {
    font-variant-numeric: tabular-nums;
}

.weather-dashboard .small-grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 600px) {
    .weather-dashboard .small-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/* Sonne / Hinweise */
.weather-dashboard .sun-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
}

.weather-dashboard .sun-row strong {
    font-variant-numeric: tabular-nums;
}

.weather-dashboard .flight-time {
    color: #fee2e2;
}

.weather-dashboard .subnote {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Icons + Footer */
.weather-dashboard .icon-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.weather-dashboard .icon-label img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.weather-dashboard .footer-note {
    margin-top: 8px;
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: right;
}

.weather-dashboard .accent {
    color: #38bdf8;
}
/* Böe-Zeile komplett weiß */
.gust-inline {
    color: #ffffff !important;
}
/* ===========================
   Sonnenzeiten – Layout
   =========================== */

.sun-shell {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.sun-dashboard {
    width: 100%;
    max-width: 1100px;
    background: #0f172a;
    color: #f9fafb;
    border-radius: 16px;
    padding: 16px 18px 22px;
    box-shadow: 0 18px 35px rgba(15,23,42,0.5);
    border: 1px solid rgba(148,163,184,0.4);
    box-sizing: border-box;
}

/* Karten */
.sun-card {
    background: radial-gradient(circle at top left,
                                rgba(56,189,248,0.1),
                                rgba(15,23,42,0.98));
    border-radius: 14px;
    padding: 12px 14px 14px;
    border: 1px solid rgba(148,163,184,0.35);
    margin-bottom: 14px;
}

.sun-card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.sun-card-title {
    margin: 4px 0 2px;
    font-size: 1.1rem;
}

.sun-card-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: #e5e7eb;
}

.sun-pill {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-weight: 600;
    color: #38bdf8;
}

.sun-card-meta {
    text-align: right;
    font-size: 0.8rem;
}

.sun-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,118,110,0.18);
    color: #a5f3fc;
}

/* Heutige Zeiten */
.sun-today-grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 600px) {
    .sun-today-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sun-today-column h3 {
    margin: 4px 0 6px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #e5e7eb;
}

.sun-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.sun-row span:first-child {
    color: #e5e7eb;
}

.sun-row span:last-child {
    font-variant-numeric: tabular-nums;
}

.sun-lastflight-highlight {
    color: #f97373;
    font-weight: 600;
}

/* Jahresübersicht – Tabelle */
.sun-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 6px;
}

.sun-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.sun-table thead {
    background: rgba(15,23,42,0.8);
}

.sun-table th,
.sun-table td {
    padding: 4px 6px;
    border-bottom: 1px solid rgba(148,163,184,0.25);
    text-align: center;
    white-space: nowrap;
}

.sun-table th {
    font-weight: 600;
    color: #e5e7eb;
}

.sun-head-sub th {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cbd5f5;
}

.sun-table tbody tr:nth-child(even) {
    background: rgba(15,23,42,0.75);
}

.sun-table tbody tr:nth-child(odd) {
    background: rgba(15,23,42,0.5);
}

/* Monats-Trenner */
.sun-month-row td {
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    padding-top: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(148,163,184,0.4);
    color: #bfdbfe;
}

/* Letzte Flugbewegung markieren */
.sun-lastflight-loc {
    color: #f97373;
    font-weight: 600;
}

.sun-lastflight-gmt {
    color: #facc15;
}

/* Jahr-Auswahl im Header */
.sun-year-form {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.sun-year-form label {
    margin-right: 4px;
}

.sun-year-form select,
.sun-year-form button {
    font-size: 0.8rem;
    padding: 3px 6px;
    border-radius: 6px;
    border: 1px solid rgba(148,163,184,0.6);
    background: #020617;
    color: #e5e7eb;
}

.sun-year-form button {
    cursor: pointer;
    background: #38bdf8;
    border-color: #38bdf8;
    color: #0f172a;
}

.sun-year-form button:hover {
    filter: brightness(1.05);
}
