/* ----------------------------------------------------
   Lokal gehostete Outfit-Schriftarten (100% DSGVO-konform)
   ---------------------------------------------------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/outfit-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-latin-700.woff2') format('woff2');
}

/* ----------------------------------------------------
   Weatherly CSS – Design-System & Premium-Animationen
   ---------------------------------------------------- */

:root {
    /* Basisfarben (Dunkelmodus als Standard) */
    --bg-dark: #0a0e17;
    --bg-dark-rgb: 10, 14, 23;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-blue: #3b82f6;
    --accent-blue-rgb: 59, 130, 246;
    
    /* Dynamische Themen-Glows (werden per JS/Klasse angepasst) */
    --theme-glow: rgba(59, 130, 246, 0.15);
    --theme-accent: #3b82f6;

    /* Typografie (Apple SF Pro System Stack) */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Outfit", system-ui, -apple-system, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Emil Kowalski Animation & Easing Curves */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Wetter-spezifische Farbthemen */
body.theme-sunny {
    --bg-dark: #0f100c;
    --theme-glow: rgba(245, 158, 11, 0.25);
    --theme-accent: #f59e0b;
    --card-bg: rgba(245, 158, 11, 0.05);
    --card-border: rgba(245, 158, 11, 0.15);
}

/* Klares Wetter bei Nacht (Mondschein-Look statt Goldsonne) */
body.theme-sunny.night {
    --bg-dark: #04060a;
    --theme-glow: rgba(226, 232, 240, 0.15);
    --theme-accent: #94a3b8;
    --card-bg: rgba(226, 232, 240, 0.04);
    --card-border: rgba(255, 255, 255, 0.06);
}

body.theme-cloudy {
    --bg-dark: #0c0f14;
    --theme-glow: rgba(148, 163, 184, 0.15);
    --theme-accent: #94a3b8;
    --card-bg: rgba(148, 163, 184, 0.07);
    --card-border: rgba(148, 163, 184, 0.14);
}

body.theme-rain {
    --bg-dark: #060912;
    --theme-glow: rgba(59, 130, 246, 0.22);
    --theme-accent: #3b82f6;
    --card-bg: rgba(59, 130, 246, 0.06);
    --card-border: rgba(59, 130, 246, 0.16);
}

body.theme-storm {
    --bg-dark: #05050f;
    --theme-glow: rgba(139, 92, 246, 0.28);
    --theme-accent: #8b5cf6;
    --card-bg: rgba(139, 92, 246, 0.08);
    --card-border: rgba(139, 92, 246, 0.2);
}

body.theme-snow {
    --bg-dark: #070e14;
    --theme-glow: rgba(45, 212, 191, 0.22);
    --theme-accent: #2dd4bf;
    --card-bg: rgba(45, 212, 191, 0.06);
    --card-border: rgba(45, 212, 191, 0.16);
}

body.theme-windy {
    --bg-dark: #090c10;
    --theme-glow: rgba(16, 185, 129, 0.18);
    --theme-accent: #10b981;
    --card-bg: rgba(16, 185, 129, 0.06);
    --card-border: rgba(16, 185, 129, 0.15);
}

/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: background-color 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 45% 30%, var(--theme-glow) 0%, transparent 65%),
                radial-gradient(circle at 80% 65%, rgba(59, 130, 246, 0.07) 0%, transparent 55%),
                radial-gradient(circle at 20% 85%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
    transition: background 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.9;
    animation: auroraFlow 22s ease-in-out infinite alternate;
}

@keyframes auroraFlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate3d(-2%, 2.5%, 0) scale(1.04) rotate(1.2deg);
    }
    100% {
        transform: translate3d(2%, -2%, 0) scale(0.98) rotate(-1deg);
    }
}

/* App Wrapper */
.app-wrapper {
    width: 100%;
    max-width: 1240px;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-wrapper.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Platzhalter-Zustand bis die ersten Live-Daten da sind (Beispielwerte unlesbar weichgezeichnet) */
.app-wrapper.awaiting-data .dashboard-grid {
    position: relative;
}

.app-wrapper.awaiting-data .dashboard-grid > * {
    filter: blur(7px) saturate(0.6);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
    animation: climanu-skeleton-pulse 1.6s ease-in-out infinite;
}

.app-wrapper.awaiting-data .dashboard-grid::after {
    content: "Wetterdaten werden geladen …";
    position: absolute;
    top: 7rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
}

@keyframes climanu-skeleton-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .app-wrapper.awaiting-data .dashboard-grid > * {
        animation: none;
    }
}

.app-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.logo-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 13px;
    object-fit: cover;
    border: 1.8px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.logo:hover .logo-avatar-img {
    transform: scale(1.08) rotate(2deg);
    border-color: var(--theme-accent);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
}

.logo-icon {
    color: var(--theme-accent);
    filter: drop-shadow(0 0 8px var(--theme-accent));
    transition: color 0.5s ease, filter 0.5s ease;
    animation: pulseLogo 3s infinite ease-in-out;
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, var(--theme-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.5s ease;
}

.brand-container {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.by-author {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    align-self: flex-end;
    margin-top: -0.15rem;
}

.author-name {
    background: linear-gradient(135deg, #f59e0b 20%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.2));
}

/* Suchleiste & Autocomplete */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    flex: 1 1 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 0.25rem 0.5rem 0.25rem 1.25rem;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(13, 17, 28, 0.88);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 16px 36px rgba(0, 0, 0, 0.55);
    z-index: 150;
    max-height: 240px;
    overflow-y: auto;
    transform-origin: top center;
    transform: scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.autocomplete-dropdown.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.autocomplete-item {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background-color 160ms var(--ease-out), padding-left 160ms var(--ease-out);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.autocomplete-item:hover, .autocomplete-item:active {
    background: rgba(255, 255, 255, 0.08);
    padding-left: 1.4rem;
}

.autocomplete-country {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Lokale Uhrzeit */
.local-time {
    font-size: 0.9rem;
    color: var(--theme-accent);
    font-weight: 500;
    margin-top: 0.35rem;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
    opacity: 0.95;
    transition: color 0.5s ease;
    font-variant-numeric: tabular-nums;
}

.search-bar:focus-within {
    border-color: var(--theme-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 3px rgba(var(--accent-blue-rgb), 0.2), 0 8px 24px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    flex: 1;
    height: 40px;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-bar button {
    background: var(--theme-accent);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.2s ease;
    touch-action: manipulation;
}

.search-bar button:hover {
    transform: scale(1.06);
    box-shadow: 0 0 12px var(--theme-accent);
}

.search-bar button:active {
    transform: scale(0.92) !important;
}

/* Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

/* Karten Basis & Apple Glassmorphismus */
.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 1.35rem 1.45rem;
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.18), 0 12px 36px -4px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.25), 0 16px 42px -4px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

/* Glüheffekt für Karten */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--theme-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    transition: background 1s ease;
}

/* Haupt-Wetterkarte (Hero - Kompakt & Breit ausgenutzt) */
.hero-card {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--theme-accent);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
    transform: skewX(-22deg);
    animation: heroCardShimmer 10s cubic-bezier(0.23, 1, 0.32, 1) infinite;
    pointer-events: none;
}

@keyframes heroCardShimmer {
    0%, 75% {
        left: -150%;
    }
    100% {
        left: 250%;
    }
}

.hero-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hero-city-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hero-city-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-city-title h2 {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.local-time {
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 500;
    margin: 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.last-updated-pill {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.08rem 0.38rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hero-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.hero-temp-column {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 auto;
}

.temp-container {
    font-size: 3.8rem;
    font-weight: 250;
    line-height: 0.92;
    display: flex;
    align-items: flex-start;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    margin: 0;
}

.temp-unit {
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 0.2rem;
    color: var(--theme-accent);
    letter-spacing: -0.02em;
}

.hero-condition-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#weather-description {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-transform: capitalize;
    letter-spacing: -0.01em;
}

.quick-stats-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.quick-stats-compact strong {
    color: #f1f5f9;
    font-weight: 600;
}

.stat-divider {
    color: rgba(255, 255, 255, 0.25);
}

.hero-icon-column {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.weather-icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroIconFloat 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    filter: drop-shadow(0 8px 20px var(--theme-glow));
    transform-origin: center center;
    transition: filter 0.6s ease;
}

@keyframes heroIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-4px) rotate(1deg) scale(1.02);
    }
}

.weather-icon-large svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

/* Wetter-Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    min-width: 0;
}

@keyframes emilStaggerIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.detail-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    min-width: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14), 0 8px 24px -2px rgba(0, 0, 0, 0.35);
    animation: emilStaggerIn 260ms var(--ease-out) both;
}

.detail-card:nth-child(1) { animation-delay: 20ms; }
.detail-card:nth-child(2) { animation-delay: 50ms; }
.detail-card:nth-child(3) { animation-delay: 80ms; }
.detail-card:nth-child(4) { animation-delay: 110ms; }
.detail-card:nth-child(5) { animation-delay: 140ms; }
.detail-card:nth-child(6) { animation-delay: 170ms; }

.detail-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-accent);
    transition: color 0.5s ease;
}

.detail-info h3 {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.55);
}

.detail-value {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.detail-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.15rem;
    font-variant-numeric: tabular-nums;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.label-low {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.label-mod {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.label-high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* 7-Tage-Vorhersage */
.forecast-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.forecast-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.forecast-list {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.forecast-list:active, .forecast-list.is-dragging {
    cursor: grabbing;
}

.forecast-list::-webkit-scrollbar {
    display: none;
    height: 0;
}

.forecast-day-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    width: 100%;
}

.forecast-day {
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.forecast-date {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.forecast-item {
    flex: 0 0 84px;
    min-width: 84px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 0.65rem 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    touch-action: pan-x pan-y;
    scroll-snap-align: start;
}

.forecast-item:nth-child(1) { animation-delay: 25ms; }
.forecast-item:nth-child(2) { animation-delay: 55ms; }
.forecast-item:nth-child(3) { animation-delay: 85ms; }
.forecast-item:nth-child(4) { animation-delay: 115ms; }
.forecast-item:nth-child(5) { animation-delay: 145ms; }
.forecast-item:nth-child(6) { animation-delay: 175ms; }
.forecast-item:nth-child(7) { animation-delay: 205ms; }

.forecast-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
}

.forecast-item:active {
    transform: scale(0.95) !important;
    transition: transform 0.08s ease-out !important;
}

.forecast-item.active {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: var(--theme-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 16px var(--theme-glow);
}

.forecast-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forecast-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.forecast-temp {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.forecast-temp-max {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}

.forecast-temp-min {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}



/* ----------------------------------------------------
   Wetter-Partikel-Engine (Lokal gerendert & GPU-optimiert)
   ---------------------------------------------------- */

.weather-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Regenpartikel */
.drop {
    position: absolute;
    width: 1.5px;
    height: 38px;
    background: linear-gradient(to bottom, transparent 0%, rgba(147, 197, 253, 0.25) 30%, rgba(224, 242, 254, 0.9) 100%);
    box-shadow: 0 0 5px rgba(147, 197, 253, 0.5);
    border-radius: 2px;
    animation: rain linear infinite;
    pointer-events: none;
}

.drop.drizzle {
    width: 1px;
    height: 18px;
    background: linear-gradient(to bottom, transparent 0%, rgba(186, 230, 253, 0.45) 100%);
    box-shadow: none;
}

@keyframes rain {
    0% {
        transform: translateY(-50px) rotate(14deg);
    }
    100% {
        transform: translateY(105vh) rotate(14deg);
    }
}

/* Dunst & Nebel-Partikel (GPU-sicher per weichem Farbverlauf) */
.mist-particle {
    position: absolute;
    background: radial-gradient(circle at 50% 50%, rgba(148, 163, 184, 0.12) 0%, rgba(148, 163, 184, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    animation: floatMist linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatMist {
    0% {
        transform: translateY(0) translateX(-10vw) scale(0.9);
    }
    50% {
        transform: translateY(-20px) translateX(10vw) scale(1.1);
    }
    100% {
        transform: translateY(0) translateX(30vw) scale(1);
    }
}

/* Schneeflocken (3D-Tiefe) */
.snowflake-near {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
    animation: snow linear infinite;
    z-index: 0;
}

.snowflake-far {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    animation: snow linear infinite;
    z-index: 0;
}

@keyframes snow {
    0% {
        transform: translateY(-20px) translateX(0);
    }
    50% {
        transform: translateY(50vh) translateX(35px);
    }
    100% {
        transform: translateY(105vh) translateX(-15px);
    }
}

/* Windlinien */
.wind-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: wind linear infinite;
    border-radius: 50%;
    z-index: 0;
}

@keyframes wind {
    0% {
        transform: translateX(-20vw);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% {
        transform: translateX(120vw);
        opacity: 0;
    }
}

/* Gewitterblitz-Effekt */
.lightning-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    z-index: 95;
}

.flash-active {
    animation: lightning 0.4s ease-out;
}

@keyframes lightning {
    0%, 100% { opacity: 0; background: #ffffff; }
    10%, 30% { opacity: 0.8; background: #ffffff; }
    15%, 25% { opacity: 0.15; background: #5b21b6; } /* Farbwechsel zu tiefem Violett */
    20% { opacity: 0.95; background: #ffffff; }
}

/* Sonnenstrahlen (Glow-Ringe & schwimmende Sonnenstaubpartikel) */
.sunray {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    animation: pulseSunray 6s infinite ease-in-out;
    z-index: 0;
}

@keyframes pulseSunray {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.solar-dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(245, 158, 11, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
    animation: floatSolarDust linear infinite;
    z-index: 0;
}

@keyframes floatSolarDust {
    0% {
        transform: translateY(105vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-5vh) translateX(30px);
        opacity: 0;
    }
}

/* Wolken-Drift (GPU-sicher per weichem radialem Gradienten) */
.cloud-drift-slow {
    position: absolute;
    background: radial-gradient(ellipse at 50% 50%, rgba(148, 163, 184, 0.09) 0%, rgba(100, 116, 139, 0.03) 45%, transparent 70%);
    border-radius: 50%;
    animation: driftCloud linear infinite;
    z-index: 0;
    pointer-events: none;
}

.cloud-drift-fast {
    position: absolute;
    background: radial-gradient(ellipse at 50% 50%, rgba(186, 230, 253, 0.08) 0%, rgba(148, 163, 184, 0.02) 45%, transparent 70%);
    border-radius: 50%;
    animation: driftCloud linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes driftCloud {
    0% {
        transform: translateX(-35vw);
    }
    100% {
        transform: translateX(120vw);
    }
}

/* Regentropfen-Rippeln (Glasaufschlag) */
.rain-ripple {
    position: fixed;
    border: 1.5px solid rgba(186, 230, 253, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 90;
    animation: ripple 0.9s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes ripple {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(0.2);
        box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.4), 0 0 8px rgba(147, 197, 253, 0.3);
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

/* Wirbelndes Laub (Laub-Partikel bei Wind) */
.leaf {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    animation: windLeaf linear infinite;
}

.leaf svg {
    width: 100%;
    height: 100%;
}

@keyframes windLeaf {
    0% {
        transform: translate(-10vw, 0vh) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.85;
    }
    100% {
        transform: translate(110vw, 25vh) rotate(1080deg) scale(1.2);
        opacity: 0;
    }
}

/* Responsive CSS-Regeln wurden ans Ende der Datei verschoben */

/* ----------------------------------------------------
   Nacht-Effekt-Styles (Mond, Sterne, Fledermäuse)
   ---------------------------------------------------- */

body.night {
    --bg-dark: #04060a;
    --theme-glow: rgba(30, 41, 59, 0.4);
    --theme-accent: #475569;
}

/* Mond */
.moon {
    position: absolute;
    top: 12%;
    right: 18%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: inset -14px 4px 0 0 #e2e8f0;
    filter: drop-shadow(0 0 15px rgba(226, 232, 240, 0.45));
    opacity: 0.85;
    z-index: 1;
    animation: floatMoon 10s infinite ease-in-out;
}

@keyframes floatMoon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

/* Sterne */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.15; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Fledermäuse */
.bat {
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0;
    width: 70px;
    height: 35px;
    pointer-events: none;
    z-index: 100;
    animation-timing-function: linear;
    animation-fill-mode: both;
}

.bat-svg {
    width: 100%;
    height: 100%;
}

.left-wing {
    transform-origin: 30px 14px;
    animation: flapLeft 0.12s alternate infinite ease-in-out;
}

.right-wing {
    transform-origin: 34px 14px;
    animation: flapRight 0.12s alternate infinite ease-in-out;
}

@keyframes flyBatLTR {
    0% {
        transform: translate(-10vw, 0) scale(0.4) rotate(10deg);
        opacity: 0;
    }
    10% { opacity: 0.85; }
    90% { opacity: 0.85; }
    100% {
        transform: translate(110vw, -15vh) scale(0.75) rotate(-10deg);
        opacity: 0;
    }
}

@keyframes flyBatRTL {
    0% {
        transform: translate(110vw, 0) scale(0.4) rotate(-10deg) scaleX(-1);
        opacity: 0;
    }
    10% { opacity: 0.85; }
    90% { opacity: 0.85; }
    100% {
        transform: translate(-10vw, -15vh) scale(0.75) rotate(10deg) scaleX(-1);
        opacity: 0;
    }
}

@keyframes flapLeft {
    0% {
        transform: rotate(-25deg);
    }
    100% {
        transform: rotate(35deg);
    }
}

@keyframes flapRight {
    0% {
        transform: rotate(25deg);
    }
    100% {
        transform: rotate(-35deg);
    }
}

/* ----------------------------------------------------
   Icon-Animationen (Wetter-Visuals im Dashboard)
   ---------------------------------------------------- */
.animate-spin-slow {
    animation: spinSlow 14s infinite linear;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float {
    animation: floatIcon 4.5s infinite ease-in-out;
}

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

.animate-pulse {
    animation: pulseIcon 2s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.03); opacity: 1; }
}

.animate-wind-icon {
    animation: windIcon 3.5s infinite ease-in-out;
}

@keyframes windIcon {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* Interne Element-Animationen (Parallaxe & Bewegung für SVG-Elemente) */
.svg-cloud {
    animation: svgCloudFloat 6s infinite ease-in-out;
    transform-origin: center;
}

@keyframes svgCloudFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3px, -2px); }
}

.svg-moon {
    animation: svgMoonFloat 8s infinite ease-in-out;
    transform-origin: center;
}

@keyframes svgMoonFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2px, 1px) rotate(2deg); }
}

.svg-rain-drop {
    animation: svgRainDrop 1.4s infinite linear;
    transform-origin: center;
}

@keyframes svgRainDrop {
    0% { transform: translateY(-3px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(6px); opacity: 0; }
}

/* ----------------------------------------------------
   GPS-Button & Favoriten-Pins
   ---------------------------------------------------- */
.geo-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    margin-right: 0.25rem;
    transition: transform 160ms var(--ease-out), color 160ms ease, background-color 160ms ease;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    touch-action: manipulation;
}

.geo-btn:hover {
    color: var(--theme-accent);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.08);
}

.geo-btn:active {
    transform: scale(0.9) !important;
}

.pin-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pin-btn:hover {
    color: #eab308;
    transform: scale(1.15);
}

.pin-btn.pinned {
    color: #eab308;
    fill: #eab308;
}

.favorites-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    width: 100%;
}

.fav-chip {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    user-select: none;
    touch-action: manipulation;
}

.fav-chip-label {
    display: inline-block;
    cursor: pointer;
}

.fav-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.fav-chip:active {
    transform: scale(0.92) !important;
    transition: transform 0.08s ease-out !important;
}

.fav-chip-remove {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 0.2rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.fav-chip-remove:hover {
    color: #ef4444;
}

/* ----------------------------------------------------
   Windkompass Rose
   ---------------------------------------------------- */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.compass-rose {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    position: relative;
    background: rgba(255, 255, 255, 0.01);
}

.compass-rose::before {
    content: "N";
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    color: var(--text-secondary);
}

.compass-pointer {
    width: 3px;
    height: 22px;
    background: linear-gradient(to bottom, var(--theme-accent) 50%, #ef4444 50%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: 50% 50%;
    border-radius: 1.5px;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 3px var(--theme-accent));
}

/* ----------------------------------------------------
   Stündliche 24h-Vorhersage
   ---------------------------------------------------- */
.hourly-card {
    grid-column: 1;
    overflow: hidden;
}

.hourly-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.section-title-row h3 {
    margin-bottom: 0 !important;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-badge-hint {
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.15rem 0.5rem;
}

.hourly-header-controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.hourly-view-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hourly-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.22rem 0.65rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.hourly-toggle-btn:hover {
    color: var(--text-primary);
}

.hourly-toggle-btn.active {
    background: var(--theme-accent, #38bdf8);
    color: #031124;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

/* ----------------------------------------------------
   Option B: 24-Stunden-Spalten (Horizontale Wischkacheln)
   ---------------------------------------------------- */
.hourly-columns-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hourly-scroll-track {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    padding: 0.35rem 0.2rem 0.6rem 0.2rem;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scroll-snap-type: x proximity;
}

.hourly-scroll-track:active,
.hourly-scroll-track.is-dragging {
    cursor: grabbing;
}

.hourly-scroll-track::-webkit-scrollbar {
    display: none;
    height: 0;
}

.hourly-col {
    flex: 0 0 78px;
    min-width: 78px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.75rem 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.hourly-col:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}

.hourly-col:active {
    transform: scale(0.96) !important;
}

.hourly-col.active {
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0.03) 100%);
    border-color: var(--theme-accent, #38bdf8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 16px var(--theme-glow, rgba(56, 189, 248, 0.25));
    transform: translateY(-2px);
}

.hourly-col.is-current {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.hourly-col-time {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.hourly-col.is-current .hourly-col-time {
    color: var(--theme-accent, #38bdf8);
    font-weight: 800;
}

.hourly-col-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hourly-col-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.hourly-col-temp {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hourly-col-rain {
    font-size: 0.76rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 6px;
    padding: 0.12rem 0.4rem;
    white-space: nowrap;
}

.hourly-col-rain.rain-hidden {
    visibility: hidden;
    opacity: 0;
    padding: 0.12rem 0.4rem;
}

/* ----------------------------------------------------
   24-Stunden-Wetterkurve & Interaktiver Scrubber (Optional via Toggle)
   ---------------------------------------------------- */
.hourly-curve-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    width: 100%;
}

.hourly-scrubber-pill {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hourly-scrubber-pill.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
    transform: scale(1.02);
}

.scrubber-pill-time {
    font-weight: 700;
    color: #38bdf8;
}

.scrubber-pill-temp {
    font-weight: 700;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.scrubber-pill-desc {
    color: var(--text-secondary);
}

.scrubber-pill-rain {
    font-size: 0.75rem;
    font-weight: 600;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
    margin-left: 0.2rem;
}

.scrubber-pill-dot {
    opacity: 0.4;
}

.hourly-chart-svg-container {
    width: 100%;
    position: relative;
    user-select: none;
    touch-action: none;
    cursor: crosshair;
}

.hourly-curve-svg {
    width: 100%;
    height: 185px;
    display: block;
    overflow: visible;
}

.hourly-markers-group text {
    font-family: inherit;
    letter-spacing: -0.01em;
}

/* ----------------------------------------------------
   Alltags-Helfer (Everyday Advisor)
   ---------------------------------------------------- */
.advisor-card {
    grid-column: 2;
}

.advisor-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.advisor-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.advisor-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease;
    cursor: default;
    touch-action: manipulation;
}

.advisor-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.advisor-item:active {
    transform: scale(0.98);
}

.advisor-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-accent);
    transition: color 0.5s ease;
}

.advisor-icon-box svg {
    width: 20px;
    height: 20px;
}

.advisor-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.advisor-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.advisor-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.advisor-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: auto;
}

.status-green {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-yellow {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.status-red {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* ----------------------------------------------------
   Zeitreise-Status (Time Travel Mode)
   ---------------------------------------------------- */
.forecast-item {
    cursor: pointer;
    user-select: none;
}

.forecast-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--theme-accent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.reset-day-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.reset-day-btn:hover {
    background: var(--theme-accent);
    border-color: var(--theme-accent);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ----------------------------------------------------
   Niederschlags-Info in 7-Tage-Vorhersage
   ---------------------------------------------------- */
.forecast-rain-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: -0.15rem;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.22);
    padding: 0.12rem 0.45rem;
    border-radius: 10px;
    white-space: nowrap;
    box-sizing: border-box;
}

.forecast-rain-prob {
    color: #60a5fa; /* Schönes Hellblau */
    font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------
   Wetterwarnungen (Alerts)
   ---------------------------------------------------- */
.alerts-banner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0.5rem;
    z-index: 10;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.4;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: pulseAlert 4s infinite ease-in-out;
}

.alert-item.danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.alert-item.warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fde047;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.alert-item.info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.alert-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.alert-text-content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.alert-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.alert-desc {
    opacity: 0.95;
}

@keyframes pulseAlert {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.005);
    }
}

/* ----------------------------------------------------
   Sonnenstand Kachel & Umlaufbahn
   ---------------------------------------------------- */
.sun-arc-container {
    width: 100%;
    max-width: 110px;
    margin: 0.85rem auto 0.65rem auto;
    display: flex;
    justify-content: center;
}

.sun-arc-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

#sun-marker {
    transition: all 0.5s ease;
}

.sun-times-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.4rem;
}

.moon-phase-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.35rem;
}

.sun-time-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sun-hours-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
}

.detail-sub-highlight {
    font-size: 0.74rem;
    font-weight: 600;
    color: #38bdf8;
    margin-top: 0.2rem;
    display: block;
}

.detail-sub-highlight strong {
    color: #f1f5f9;
}

/* ----------------------------------------------------
   Hero Header Actions & Meta Status
   ---------------------------------------------------- */
.hero-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
}

.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-action-btn:active {
    transform: scale(0.9) !important;
    transition: transform 0.08s ease-out !important;
}

.hero-action-btn.active {
    background: var(--theme-accent);
    color: #ffffff;
    border-color: var(--theme-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 14px var(--theme-glow);
}

.hero-action-btn#pin-button.pinned,
.hero-action-btn.pinned {
    background: rgba(234, 179, 8, 0.18);
    color: #eab308;
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-action-btn#pin-button.pinned svg,
.hero-action-btn.pinned svg {
    fill: #eab308;
    stroke: #eab308;
    color: #eab308;
    transform: scale(1.15);
}

.hero-action-btn.star-pop {
    animation: starPopAnim 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes starPopAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.38) rotate(18deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.hero-action-btn.spin-anim svg {
    animation: rotateRefresh 0.55s var(--ease-out);
}

@keyframes rotateRefresh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* cliManu Modern Toast Notification */
.climanu-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(25px) scale(0.94);
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.2);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    user-select: none;
}

.climanu-toast.show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.climanu-toast.toast-success {
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(234, 179, 8, 0.3);
    color: #fef08a;
}

.climanu-toast.toast-remove {
    border-color: rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
}

.climanu-toast.toast-error {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.climanu-toast .toast-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.meta-status-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
    margin-bottom: 0.2rem;
}

.meta-status-row .local-time {
    margin: 0;
}

.last-updated-pill {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
}

/* ----------------------------------------------------
   Live-Niederschlagsradar (Leaflet + RainViewer)
   ---------------------------------------------------- */
.radar-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radar-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.radar-title-icon {
    color: var(--theme-accent);
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    animation: pulseRadarDot 1.5s infinite;
}

@keyframes pulseRadarDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.radar-timestamp {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.radar-map-box {
    width: 100%;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #090d18;
}

.radar-map {
    width: 100%;
    height: 100%;
    background: #0a0e17;
    z-index: 1;
}

/* Leaflet Dark-Mode Overrides */
.leaflet-container {
    background-color: #090d18 !important;
    font-family: var(--font-sans) !important;
}

/* Base OSM Map Dark Theme Filter */
.radar-map-box .leaflet-tile-pane img:not([src*="rainviewer"]):not([src*="tilecache"]) {
    filter: brightness(0.6) invert(1) contrast(2.6) hue-rotate(195deg) saturate(0.35) brightness(0.8);
}

.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-bar a {
    background-color: rgba(15, 23, 42, 0.85) !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px);
}

.leaflet-bar a:hover {
    background-color: rgba(30, 41, 59, 0.95) !important;
    color: var(--theme-accent) !important;
}

.leaflet-control-attribution {
    background: rgba(9, 13, 24, 0.75) !important;
    color: #64748b !important;
    font-size: 10px !important;
    border-radius: 6px 0 0 0;
    backdrop-filter: blur(4px);
}

.leaflet-control-attribution a {
    color: #94a3b8 !important;
}

.radar-player-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
}

.radar-play-btn {
    background: var(--theme-accent);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
    box-shadow: 0 4px 12px var(--theme-glow);
    touch-action: manipulation;
}

.radar-play-btn:hover {
    transform: scale(1.08);
}

.radar-play-btn:active {
    transform: scale(0.92) !important;
}

.radar-slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.radar-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.radar-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--theme-accent);
    cursor: pointer;
    box-shadow: 0 0 8px var(--theme-glow);
    transition: transform 140ms var(--ease-out);
}

.radar-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.radar-time-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 80px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.radar-quick-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.35rem;
}

.radar-quick-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
    touch-action: manipulation;
}

.radar-quick-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.18);
}

.radar-quick-btn:active {
    transform: scale(0.94) !important;
}

.radar-quick-btn.active {
    background: rgba(239, 68, 68, 0.18);
    border-color: #ef4444;
    color: #fca5a5;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.radar-quick-btn.future.active {
    background: rgba(168, 85, 247, 0.18);
    border-color: #a855f7;
    color: #d8b4fe;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

.radar-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.legend-title {
    font-weight: 600;
    color: var(--text-muted);
}

.legend-chip {
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.legend-chip.c-light { color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); }
.legend-chip.c-mod { color: #34d399; border-color: rgba(52, 211, 153, 0.3); }
.legend-chip.c-heavy { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); }
.legend-chip.c-extreme { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }

/* ----------------------------------------------------
   Luftqualität (AQI) & Pollenflug
   ---------------------------------------------------- */
.air-quality-card {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.aqi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aqi-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.aqi-title-icon {
    color: #10b981;
}

.aqi-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.aqi-meter-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aqi-circle-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    margin: 0 auto;
    transition: border-color 350ms var(--ease-out), background-color 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}

.aqi-val {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.aqi-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.aqi-summary-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}

.pollutants-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.pol-chip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pol-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.pol-amount {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Pollen Overview */
.pollen-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pollen-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pollen-bars {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pollen-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pollen-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.pollen-name {
    font-weight: 500;
}

.pollen-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 6px;
}

.pollen-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.pollen-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 500ms var(--ease-out), background-color 400ms ease;
}

/* Status-Farben */
.level-none { color: #94a3b8; background: rgba(148, 163, 184, 0.12); }
.level-low { color: #10b981; background: rgba(16, 185, 129, 0.15); }
.level-moderate { color: #f59e0b; background: rgba(245, 158, 11, 0.15); }
.level-high { color: #ef4444; background: rgba(239, 68, 68, 0.15); }

.bar-none { width: 4%; background: #94a3b8; }
.bar-low { width: 30%; background: #10b981; }
.bar-moderate { width: 65%; background: #f59e0b; }
.bar-high { width: 100%; background: #ef4444; }

.aqi-good { border-color: #10b981; color: #10b981; background: rgba(16, 185, 129, 0.12); }
.aqi-fair { border-color: #34d399; color: #34d399; background: rgba(52, 211, 153, 0.12); }
.aqi-moderate { border-color: #f59e0b; color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.aqi-poor { border-color: #f97316; color: #f97316; background: rgba(249, 115, 22, 0.12); }
.aqi-very-poor { border-color: #ef4444; color: #ef4444; background: rgba(239, 68, 68, 0.12); }

/* ----------------------------------------------------
   Responsive Anpassungen (Am Dateiende für Kaskadierung)
   ---------------------------------------------------- */
@media (max-width: 960px) {
    /* Layout & Spacing */
    .app-wrapper {
        padding: 0.75rem 0.65rem 6rem 0.65rem;
        gap: 0.85rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .dashboard-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 0.85rem;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .grid-col {
        display: contents !important;
        gap: 0.85rem;
    }
    
    .details-grid {
        display: contents !important;
        gap: 0.85rem;
    }
    
    .card {
        padding: 1rem 0.95rem;
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Header & Branding */
    .app-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.65rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }

    .logo-avatar-wrap {
        width: 40px;
        height: 40px;
    }

    .logo h1 {
        font-size: 1.75rem;
    }
    
    .brand-container {
        align-items: center;
    }
    
    .by-author {
        align-self: center;
        margin-top: 0.1rem;
    }
    
    .search-wrapper {
        width: 100%;
        max-width: 100%;
        flex: none;
        box-sizing: border-box;
    }
    
    .favorites-chips {
        justify-content: center;
        margin-top: 0.35rem;
        flex-wrap: wrap;
        width: 100%;
    }

    /* Hero Card (Main Weather - Kompakt, sauberer Header ohne Überlauf) */
    .hero-card {
        grid-column: 1 / -1 !important;
        min-height: auto;
        border-left: 3.5px solid var(--theme-accent);
        padding: 0.85rem 0.95rem;
        gap: 0.45rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-card::after, .card-glow {
        display: none !important;
    }
    
    .hero-top-bar {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hero-city-meta {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 145px);
        overflow: hidden;
    }
    
    .hero-city-title {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .hero-city-title h2 {
        font-size: 1.25rem;
        margin: 0;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .local-time {
        font-size: 0.72rem;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        color: var(--text-secondary);
        margin-top: 1px;
    }
    
    .hero-actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 3px;
        flex-shrink: 0;
    }
    
    .hero-action-btn {
        width: 25px;
        height: 25px;
        min-width: 25px;
        max-width: 25px;
        padding: 0;
        border-radius: 50%;
        flex-shrink: 0;
    }
    
    .hero-action-btn svg {
        width: 12px;
        height: 12px;
    }

    .hero-main-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hero-temp-column {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .temp-container {
        font-size: 2.7rem;
        line-height: 0.92;
    }
    
    .temp-unit {
        font-size: 1.35rem;
    }
    
    .hero-icon-column {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .weather-icon-large {
        width: 58px;
        height: 58px;
        max-width: 58px;
        max-height: 58px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .weather-icon-large svg {
        width: 100%;
        height: 100%;
    }
    
    #weather-description {
        font-size: 0.9rem;
    }
    
    .quick-stats-compact {
        font-size: 0.72rem;
        gap: 4px;
        flex-wrap: wrap;
    }
    
    .reset-day-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        margin-top: 0.3rem;
    }
    
    /* Details Grid */
    .details-grid {
        grid-column: 1 / -1 !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    .detail-card {
        padding: 0.85rem;
        gap: 0.65rem;
    }
    
    .detail-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .detail-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .compass-rose {
        width: 36px;
        height: 36px;
    }
    
    .compass-pointer {
        height: 18px;
    }
    
    .detail-value {
        font-size: 1.05rem;
        margin-top: 0.1rem;
    }
    
    .detail-sub {
        font-size: 0.72rem;
    }
    
    /* Hourly Forecast Card */
    .hourly-card {
        grid-column: 1 / -1 !important;
    }
    
    /* Advisor Card */
    .advisor-card {
        grid-column: 1 / -1 !important;
    }

    /* Radar & AQI Cards Mobile */
    .radar-card {
        grid-column: 1 / -1 !important;
    }

    .radar-map-box {
        height: 280px;
    }

    .radar-player-controls {
        padding: 0.5rem 0.75rem;
        gap: 0.6rem;
    }

    .radar-time-tag {
        min-width: 62px;
        font-size: 0.76rem;
        flex-shrink: 0;
    }

    .radar-quick-nav {
        justify-content: center;
        gap: 0.35rem;
    }

    .radar-quick-btn {
        padding: 0.28rem 0.5rem;
        font-size: 0.72rem;
    }

    .air-quality-card {
        grid-column: 1 / -1 !important;
    }

    .aqi-columns {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
    
    /* 7-Tage-Vorhersage (Horizontaler Slider) */
    .forecast-card {
        grid-column: 1 / -1 !important;
    }
    
    .forecast-list {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.65rem;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: auto;
    }
    
    .forecast-list::-webkit-scrollbar {
        display: none;
        height: 0;
    }
    
    .forecast-item {
        flex: 0 0 78px;
        min-width: 78px;
        padding: 0.55rem 0.3rem;
        gap: 0.3rem;
        border-radius: 14px;
        touch-action: pan-x pan-y;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    /* Alerts Banner Mobil-Anpassung */
    .alert-item {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        gap: 0.65rem;
    }
    
    .alert-title {
        font-size: 0.72rem;
    }
}

/* ====================================================
   App Footer (Rechtliches & Quick-Actions)
   ==================================================== */
.app-footer {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2.2rem 0.8rem 6.5rem 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.8rem;
    z-index: 10;
    position: relative;
}

/* 1. Obere Reihe: Interaktive Quick-Action Chips */
.footer-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 9px 16px;
    color: #f1f5f9;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-action-chip .chip-icon {
    font-size: 1rem;
    line-height: 1;
}

.footer-action-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(56, 189, 248, 0.25);
}

.footer-action-chip:active {
    transform: translateY(0);
}

.footer-action-chip.chip-instagram {
    border-color: rgba(244, 63, 94, 0.4);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
}

.footer-action-chip.chip-instagram:hover {
    border-color: #f43f5e;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(244, 63, 94, 0.35);
}

.chip-badge-pulse {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
}

/* 2. Untere Reihe: Rechtliches & Copyright (dezent getrennt) */
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-top: 1.2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    color: #94a3b8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-legal-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--theme-accent, #38bdf8);
    text-decoration: underline;
}

.footer-copyright-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    opacity: 0.85;
}

.footer-dot {
    opacity: 0.35;
}

@media (max-width: 768px) {
    .app-footer {
        gap: 1.1rem;
        padding-bottom: 7.5rem;
    }
    .footer-actions-row {
        gap: 0.5rem;
    }
    .footer-action-chip {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    .footer-bottom-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 0.6rem;
    }
    .footer-legal-links, .footer-copyright-text {
        justify-content: center;
    }
}

/* ----------------------------------------------------
   Apple Design Accessibility: Reduced Motion & Transparency
   ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .weather-particles, .sunray, .solar-dust, .wind-line, .lightning-flash, .cloud-drift-slow, .cloud-drift-fast, .pulse-dot {
        display: none !important;
    }
    
    .app-wrapper {
        transition: opacity 0.2s ease !important;
        transform: none !important;
    }
    
    .card, .detail-card, .forecast-item, .hourly-item, .hero-action-btn, .search-bar button {
        transition: none !important;
        transform: none !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .card, .detail-card, .hourly-card, .advisor-card, .radar-card, .air-quality-card, .forecast-card, .autocomplete-dropdown {
        background: #0d131f !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .search-bar {
        background: #151d2e !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* ====================================================
   cliManu KI-Copilot (FAB, Glass-Sheet & Chat-System)
   ==================================================== */

/* Floating Action Button Group */
.floating-fab-group {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.floating-fab-group > * {
    pointer-events: auto;
}

/* Instagram Floating Quick-Pill */
.instagram-fab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px 6px 10px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.94) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1.5px solid rgba(244, 63, 94, 0.45);
    border-radius: 100px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(244, 63, 94, 0.25);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.instagram-fab:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: #f43f5e;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 24px rgba(244, 63, 94, 0.5);
    color: #ffffff;
}

.instagram-fab:active {
    transform: translateY(0) scale(0.97);
}

.insta-fab-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.insta-badge-new {
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #a855f7 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1.5px 5.5px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
    animation: pulseInsta 2.5s infinite ease-in-out;
}

@keyframes pulseInsta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.copilot-fab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 10px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.88) 0%, rgba(15, 23, 42, 0.96) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.45);
    border-radius: 100px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.25);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.copilot-fab:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: #38bdf8;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(56, 189, 248, 0.45);
}

.copilot-fab:active {
    transform: translateY(0) scale(0.97);
}

@media (max-width: 600px) {
    .floating-fab-group {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: calc(20px + env(safe-area-inset-right, 0px));
        gap: 8px;
        z-index: 990;
    }
    .instagram-fab {
        padding: 6px 13px 6px 9px;
        font-size: 0.78rem;
        gap: 6px;
        white-space: nowrap;
    }
    .copilot-fab {
        padding: 6px 14px 6px 7px;
        font-size: 0.85rem;
        gap: 7px;
        white-space: nowrap;
    }
    .fab-avatar-container {
        width: 30px;
        height: 30px;
    }
}

.fab-avatar-container {
    position: relative;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.fab-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.8));
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    display: block;
}

.fab-online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #0f172a;
    box-shadow: 0 0 6px #10b981;
}

.fab-label {
    letter-spacing: 0.2px;
}

/* Modal / Sheet Overlay */
.copilot-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.copilot-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.copilot-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Copilot Sheet */
.copilot-sheet {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    height: 74dvh;
    max-height: calc(100dvh - 75px);
    min-height: 360px;
    background: linear-gradient(180deg, #111a2e 0%, #090d18 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-bottom: none;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.copilot-modal.active .copilot-sheet {
    transform: translateY(0);
}

/* Desktop View (Centered Modal) */
@media (min-width: 768px) {
    .copilot-modal {
        align-items: center;
    }
    
    .copilot-sheet {
        border-radius: 32px;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.16);
        width: 640px;
        max-width: 92vw;
        height: 740px;
        max-height: 88vh;
        transform: scale(0.95) translateY(20px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .copilot-modal.active .copilot-sheet {
        transform: scale(1) translateY(0);
    }
}

/* Header */
.copilot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.copilot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copilot-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.copilot-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.8));
    border: 2px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
    display: block;
}

.copilot-online-dot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #111a2e;
    box-shadow: 0 0 8px #10b981;
}

.copilot-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.copilot-subtitle {
    font-size: 0.78rem;
    color: var(--theme-accent);
    font-weight: 500;
}

.copilot-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copilot-icon-btn, .copilot-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.copilot-icon-btn.active {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.12);
}

.copilot-icon-btn:hover, .copilot-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* Chips Scroll */
.copilot-chips-scroll {
    display: flex;
    gap: 8px;
    padding: 8px 1.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.copilot-chips-scroll::-webkit-scrollbar {
    display: none;
}

.copilot-chip {
    white-space: nowrap;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copilot-chip:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Chat Messages */
.copilot-messages {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    scroll-behavior: smooth;
}

.copilot-msg {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: fadeIn 0.25s ease;
}

.copilot-msg.bot {
    align-self: flex-start;
}

.copilot-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.8);
    display: block;
}

.copilot-msg.user .msg-avatar {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 9px;
    font-size: 0.9rem;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.copilot-msg.bot .msg-bubble {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border-top-left-radius: 4px;
}

.copilot-msg.user .msg-bubble {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.msg-bubble p:not(:last-child) {
    margin-bottom: 0.5rem;
}

.msg-bubble strong {
    color: #ffffff;
}

/* Typing Indicator */
.typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #38bdf8;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-5px); opacity: 1; }
}

/* Input Bar */
.copilot-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
    background: #0d1424;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    z-index: 10;
}

.copilot-input {
    flex: 1 1 0%;
    min-width: 0 !important;
    width: auto;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 10px 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.2s ease;
}

.copilot-input:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.copilot-mic-btn, .copilot-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.copilot-mic-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

.copilot-mic-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.copilot-mic-btn.listening {
    background: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    animation: micPulse 1.2s infinite ease-in-out;
}

@keyframes micPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.copilot-send-btn {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.copilot-send-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

.copilot-send-btn:active {
    transform: scale(0.95);
}

/* Mobile Fine-Tuning */
@media (max-width: 480px) {
    .copilot-sheet {
        height: 74dvh;
        max-height: calc(100dvh - 70px);
        min-height: 340px;
        border-radius: 24px 24px 0 0;
    }
    
    .copilot-header {
        padding: 0.8rem 1rem;
    }
    
    .copilot-chips-scroll {
        padding: 6px 1rem;
    }
    
    .copilot-messages {
        padding: 0.8rem 1rem;
    }
    
    .copilot-input-bar {
        padding: 8px 10px 14px 10px;
        gap: 6px;
    }
    
    .copilot-input {
        padding: 8px 12px;
        font-size: 0.84rem;
    }
    
    .copilot-mic-btn, .copilot-send-btn {
        width: 36px;
        height: 36px;
    }
}

/* ====================================================
   cliManu Dashboard-Anpassung (Kachel-Settings Modal)
   ==================================================== */

/* Ausblend-Klasse für entschlacktes Grid */
.card-hidden {
    display: none !important;
}

.details-grid.all-hidden {
    display: none !important;
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: color 0.2s ease;
}

.footer-link-btn:hover {
    color: var(--theme-accent);
    text-decoration: underline;
}

/* Settings Modal & Backdrop */
.settings-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.settings-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.settings-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Settings Sheet */
.settings-sheet {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: 82dvh;
    max-height: calc(100dvh - 50px);
    min-height: 400px;
    background: linear-gradient(180deg, #111a2e 0%, #090d18 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.settings-modal.active .settings-sheet {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .settings-modal {
        align-items: center;
    }
    
    .settings-sheet {
        max-width: 580px;
        border-radius: 32px;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.16);
        height: 720px;
        max-height: 88vh;
        transform: scale(0.95) translateY(20px);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .settings-modal.active .settings-sheet {
        transform: scale(1) translateY(0);
    }
}

/* Header */
.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.settings-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-avatar-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.14);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.settings-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.settings-subtitle {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.settings-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.settings-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* Schnell-Profile (Presets) */
.settings-presets-section {
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.35);
    flex-shrink: 0;
    overflow-x: hidden;
}

.settings-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 8px;
}

.settings-presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.preset-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #f1f5f9;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 0;
}

.preset-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.preset-btn:active {
    transform: translateY(0) scale(0.97);
}

.preset-icon {
    font-size: 1.15rem;
}

.preset-text {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 600px) {
    .settings-presets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .preset-btn {
        padding: 8px 6px;
        border-radius: 12px;
        flex-direction: row;
        gap: 6px;
    }
    .preset-icon {
        font-size: 1.05rem;
    }
    .preset-text {
        font-size: 0.74rem;
    }
}

/* Scroll Body & Groups */
.settings-scroll-body {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.settings-scroll-body::-webkit-scrollbar {
    width: 5px;
}

.settings-scroll-body::-webkit-scrollbar-track {
    background: transparent;
}

.settings-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

/* ====================================================
   Universal Touch & Mouse Drag & Drop Settings List
   ==================================================== */
.settings-cards-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    position: relative;
}

.setting-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    width: 100%;
    box-sizing: border-box;
    cursor: grab;
}

.setting-item-row:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.setting-item-row.is-dragging {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.35) !important;
    transform: scale(1.03) !important;
    z-index: 100 !important;
    opacity: 0.95;
    cursor: grabbing;
}

.setting-item-row.drag-placeholder {
    opacity: 0.25;
    border: 1.5px dashed #38bdf8;
    background: rgba(56, 189, 248, 0.05);
}

.drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 36px;
    color: rgba(255, 255, 255, 0.4);
    cursor: grab;
    cursor: -webkit-grab;
    touch-action: none;
    flex-shrink: 0;
    border-radius: 8px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.drag-handle:hover,
.setting-item-row:hover .drag-handle {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.drag-handle:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    color: #ffffff;
}

.drag-handle svg {
    pointer-events: none;
}

.toggle-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
}

.toggle-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cat-pill {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.cat-pill.cat-blue {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.cat-pill.cat-cyan {
    background: rgba(6, 182, 212, 0.18);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.cat-pill.cat-purple {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.cat-pill.cat-emerald {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cat-pill.cat-amber {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.cat-pill.cat-indigo {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.setting-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.toggle-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.toggle-info > div {
    min-width: 0;
    flex: 1 1 0;
    overflow: hidden;
}

.toggle-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.toggle-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toggle-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* Apple-Style Toggle Switch */
.switch-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.switch-wrap input.apple-switch {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.switch-slider {
    position: relative;
    width: 42px;
    height: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    flex-shrink: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.switch-slider::before {
    content: "";
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.switch-wrap input.apple-switch:checked + .switch-slider {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.switch-wrap input.apple-switch:checked + .switch-slider::before {
    transform: translateX(17px);
}

/* Footer Actions */
.settings-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0.9rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.5);
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
}

.settings-secondary-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    padding: 8px 14px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto;
    text-align: center;
    transition: all 0.2s ease;
}

.settings-secondary-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.settings-primary-btn {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    border: none;
    border-radius: 100px;
    padding: 8px 22px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.settings-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

.settings-primary-btn:active {
    transform: translateY(0) scale(0.97);
}

/* Mobile Fine-Tuning für Einstellungen */
@media (max-width: 480px) {
    .settings-sheet {
        width: 100%;
        max-width: 100%;
        height: 85dvh;
        max-height: calc(100dvh - 50px);
        min-height: 360px;
        border-radius: 24px 24px 0 0;
        margin: 0;
    }
    .settings-header {
        padding: 0.85rem 1rem;
    }
    .settings-presets-section {
        padding: 0.75rem 1rem;
    }
    .settings-scroll-body {
        padding: 0.75rem 1rem;
        gap: 0.9rem;
    }
    .setting-item-row {
        padding: 6px 10px 6px 6px;
        gap: 6px;
    }
    .reorder-controls {
        gap: 2px;
    }
    .reorder-btn {
        width: 22px;
        height: 17px;
        font-size: 0.55rem;
    }
    .setting-toggle-item {
        gap: 6px;
    }
    .toggle-info {
        gap: 6px;
    }
    .toggle-title {
        font-size: 0.82rem;
    }
    .toggle-desc {
        font-size: 0.68rem;
    }
    .switch-slider {
        width: 38px;
        height: 22px;
    }
    .switch-slider::before {
        width: 16px;
        height: 16px;
        top: 3px;
        left: 3px;
    }
    .switch-wrap input.apple-switch:checked + .switch-slider::before {
        transform: translateX(16px);
    }
    .settings-footer {
        padding: 0.85rem 1rem;
        gap: 8px;
    }
    .settings-secondary-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
    }
    .settings-primary-btn {
        padding: 7px 18px;
        font-size: 0.82rem;
    }
}

/* ====================================================
   Card Title Info Badges (Keine Überlagerung mehr)
   ==================================================== */
.card-title-group,
.card-title-header-row,
.detail-title-row,
.sun-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.35rem;
}

.detail-title-row h3,
.sun-header-row h3 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

.card-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.card-title-info,
.card-corner-info {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}

.card-title-info:hover,
.card-corner-info:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.55);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.card-title-info:active,
.card-corner-info:active {
    transform: scale(0.92);
}

/* ====================================================
   Frag Manu Copilot Schnellstart-Kachel
   ==================================================== */
.copilot-banner-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(56, 189, 248, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease;
}

.copilot-banner-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
}

.copilot-banner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.copilot-banner-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.copilot-banner-avatar-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.copilot-banner-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.copilot-banner-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copilot-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copilot-banner-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.copilot-banner-open-btn:hover {
    background: #38bdf8;
    color: #090d18;
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.copilot-quick-prompts {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.copilot-quick-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 5px 11px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    touch-action: manipulation;
}

.copilot-quick-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

.copilot-quick-chip:active {
    transform: scale(0.94);
}

/* ====================================================
   Custom Modern Glass Scrollbars (Kein hässliches Grau mehr)
   ==================================================== */
.copilot-messages::-webkit-scrollbar,
.copilot-faq-drawer::-webkit-scrollbar,
.guide-scroll-body::-webkit-scrollbar,
.settings-scroll-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.copilot-messages::-webkit-scrollbar-track,
.copilot-faq-drawer::-webkit-scrollbar-track,
.guide-scroll-body::-webkit-scrollbar-track,
.settings-scroll-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.copilot-messages::-webkit-scrollbar-thumb,
.copilot-faq-drawer::-webkit-scrollbar-thumb,
.guide-scroll-body::-webkit-scrollbar-thumb,
.settings-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copilot-messages::-webkit-scrollbar-thumb:hover,
.copilot-faq-drawer::-webkit-scrollbar-thumb:hover,
.guide-scroll-body::-webkit-scrollbar-thumb:hover,
.settings-scroll-body::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.45);
}

.copilot-messages,
.copilot-faq-drawer,
.guide-scroll-body,
.settings-scroll-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgba(255, 255, 255, 0.02);
}

/* ====================================================
   Frag Manu (Copilot) Transparency Banner & FAQ Explorer
   ==================================================== */
.copilot-transparency-pill {
    margin: 8px 1.3rem 4px 1.3rem;
    padding: 8px 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.4;
    flex-shrink: 0;
}

.copilot-transparency-pill .pill-badge {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    white-space: nowrap;
}

.copilot-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 1.3rem 8px 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.copilot-chip.faq-toggle-chip {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
    color: #fef08a;
    font-weight: 600;
}

.copilot-chip.faq-toggle-chip:hover {
    background: rgba(234, 179, 8, 0.25);
    border-color: rgba(234, 179, 8, 0.6);
    color: #ffffff;
}

/* FAQ Accordion Drawer */
.copilot-faq-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.copilot-faq-drawer.open {
    max-height: 280px;
    overflow-y: auto;
}

.faq-drawer-inner {
    padding: 10px 1.3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.faq-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-cat-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 2px;
}

.faq-question {
    background: none;
    border: none;
    text-align: left;
    color: #94a3b8;
    font-size: 0.74rem;
    padding: 3px 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

/* ====================================================
   Wetter-Wissen & Guide Modal
   ==================================================== */
.guide-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.guide-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.guide-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.guide-sheet {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 680px;
    max-height: 85vh;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.guide-modal.active .guide-sheet {
    transform: translateY(0) scale(1);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-avatar-icon {
    font-size: 1.8rem;
}

.guide-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
}

.guide-subtitle {
    margin: 2px 0 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.guide-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.guide-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.guide-scroll-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

.guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.guide-card.highlight {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
    width: 100%;
    min-width: 0;
}

.guide-card-header h4 {
    margin: 0;
    font-size: 0.98rem;
    color: #f1f5f9;
    word-break: break-word;
    overflow-wrap: break-word;
}

.guide-topic-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.guide-card p {
    margin: 0 0 0.6rem 0;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: break-word;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.84rem;
    color: #cbd5e1;
    width: 100%;
}

.guide-list li {
    display: block;
    line-height: 1.55;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.guide-badge {
    display: inline-block;
    vertical-align: baseline;
    margin-right: 6px;
    margin-bottom: 2px;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.74rem;
    white-space: nowrap;
}

.badge-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.badge-yellow { background: rgba(234, 179, 8, 0.15); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.badge-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

.guide-footer {
    padding: 0.9rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .guide-sheet {
        width: 95%;
        max-height: 90vh;
        max-height: 90dvh;
        border-radius: 20px;
    }
    
    .guide-header {
        padding: 0.85rem 1rem;
    }
    
    .guide-avatar-icon {
        font-size: 1.5rem;
    }
    
    .guide-title {
        font-size: 0.98rem;
    }
    
    .guide-subtitle {
        font-size: 0.72rem;
    }
    
    .guide-scroll-body {
        padding: 0.9rem 1rem;
        gap: 0.9rem;
    }
    
    .guide-card {
        padding: 0.8rem 0.95rem;
        flex-shrink: 0;
    }
    
    .guide-card p {
        font-size: 0.82rem;
    }
    
    .guide-list {
        font-size: 0.8rem;
    }
    
    .guide-badge {
        font-size: 0.7rem;
        padding: 1.5px 6px;
    }
}

.guide-primary-btn {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    border: none;
    border-radius: 100px;
    padding: 8px 24px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
    transition: all 0.2s ease;
}

.guide-primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.55);
}

/* ====================================================
   Semantischer SEO-, Feature- & FAQ-Bereich (E-E-A-T)
   ==================================================== */
.seo-feature-section {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.seo-section-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.2rem 2.4rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.seo-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.seo-badge {
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.seo-section-header h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
}

.seo-lead-text {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    max-width: 900px;
}

.seo-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.seo-highlight-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.seo-highlight-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

.seo-highlight-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}

.seo-highlight-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.seo-highlight-content h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.seo-highlight-content p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

/* FAQ Block */
.seo-faq-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.seo-faq-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.4rem 0;
}

.seo-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.seo-faq-item[open] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(56, 189, 248, 0.25);
}

.seo-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    list-style: none;
    user-select: none;
}

.seo-faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    font-size: 0.85rem;
    color: #38bdf8;
    transition: transform 0.2s ease;
}

.seo-faq-item[open] .faq-toggle-icon {
    transform: rotate(180deg);
}

.seo-faq-answer {
    padding: 0 1.2rem 1rem 1.2rem;
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.55;
}

.seo-faq-answer p {
    margin: 0;
}

.seo-faq-answer strong {
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .seo-section-card {
        padding: 1.4rem 1.2rem;
        gap: 1.3rem;
        border-radius: 18px;
    }

    .seo-section-header h2 {
        font-size: 1.18rem;
    }

    .seo-lead-text {
        font-size: 0.84rem;
    }

    .seo-highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .seo-highlight-item {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    .seo-faq-question {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .seo-faq-answer {
        padding: 0 1rem 0.85rem 1rem;
        font-size: 0.8rem;
    }
}

/* ====================================================
   18. VIP Early-Adopter Opt-In (Brevo Integration)
   ==================================================== */
.vip-optin-section {
    display: none !important;
    width: 100%;
    max-width: 100%;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    box-sizing: border-box;
}

.vip-optin-card {
    background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%), rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: inset 0 1px 0 rgba(251, 191, 36, 0.2), 0 16px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
}

.vip-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.95rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 100px;
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.vip-card-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vip-card-header h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin: 0;
}

.vip-card-header p {
    font-size: 0.94rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    max-width: 680px;
}

.vip-benefit-highlight {
    color: #fbbf24 !important;
    font-weight: 600;
}

.vip-optin-form {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-sizing: border-box;
}

.vip-form-inputs {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.vip-input-wrap {
    width: 100%;
    box-sizing: border-box;
}

.vip-input {
    width: 100%;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.94rem;
    font-family: inherit;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    display: block;
}

.vip-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.vip-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.vip-submit-btn {
    min-height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: none;
    border-radius: 14px;
    padding: 0.75rem 1.5rem;
    color: #090d18;
    font-size: 0.94rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}

.vip-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
    filter: brightness(1.05);
}

.vip-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-top: 0.25rem;
    cursor: pointer;
    user-select: none;
}

.vip-checkbox-wrap input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #f59e0b;
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
}

.vip-checkbox-wrap a {
    color: #fbbf24;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.vip-checkbox-wrap a:hover {
    color: #fcd34d;
}

.vip-brevo-disclaimer {
    font-size: 0.73rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0.2rem 0 0 0;
    text-align: center;
    max-width: 620px;
}

.vip-brevo-disclaimer a {
    color: #94a3b8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.vip-brevo-disclaimer a:hover {
    color: #cbd5e1;
}

.vip-optin-form .hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .vip-optin-card {
        padding: 1.5rem 1.1rem;
        border-radius: 20px;
        gap: 1.1rem;
    }

    .vip-card-header h3 {
        font-size: 1.3rem;
    }

    .vip-card-header p {
        font-size: 0.88rem;
    }

    .vip-form-inputs {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .vip-submit-btn {
        width: 100%;
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 480px) {
    .vip-optin-card {
        padding: 1.25rem 0.9rem;
        border-radius: 18px;
        gap: 0.95rem;
    }

    .vip-card-header h3 {
        font-size: 1.2rem;
    }

    .vip-card-header p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .vip-input {
        font-size: 0.88rem;
        padding: 0.7rem 0.85rem;
        min-height: 44px;
    }

    .vip-submit-btn {
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
        min-height: 44px;
    }
}



