﻿/* Feature styles (Wissen map, Statistik, POI modal). Base theme: tokens.css + components.css */

body.info-themed-pages.theme-blaulicht {
    background: var(--bl-bg);
    background-image: var(--bl-bg-gradient);
    background-attachment: scroll;
    color: #fff;
}

/* Guard: all public info text white on dark background */
body.info-themed-pages .page-title,
body.info-themed-pages .bl-page-head,
body.info-themed-pages .bl-page-desc,
body.info-themed-pages .text-muted,
body.info-themed-pages .info-breadcrumb,
body.info-themed-pages .info-breadcrumb-current,
body.info-themed-pages .info-breadcrumb-sep,
body.info-themed-pages .info-empty,
body.info-themed-pages .info-country-label,
body.info-themed-pages .section-title,
body.info-themed-pages .section-desc,
body.info-themed-pages .section-subtitle,
body.info-themed-pages h1,
body.info-themed-pages h2,
body.info-themed-pages h3,
body.info-themed-pages h4,
body.info-themed-pages p {
    color: #fff;
}

body.info-themed-pages .info-breadcrumb a,
body.info-themed-pages .bl-back,
body.info-themed-pages .link-back {
    color: #fff;
}

body.info-themed-pages .bl-card,
body.info-themed-pages .org-card,
body.info-themed-pages .info-division-card,
body.info-themed-pages .info-country-card,
body.info-themed-pages .info-area-card,
body.info-themed-pages .v-list-card,
body.info-themed-pages .bl-card-title,
body.info-themed-pages .org-card-title,
body.info-themed-pages .info-division-title,
body.info-themed-pages .info-vehicle-title,
body.info-themed-pages .bl-card-text,
body.info-themed-pages .org-card-text,
body.info-themed-pages .info-division-teaser,
body.info-themed-pages .bl-card-link,
body.info-themed-pages .org-card-link {
    color: #fff;
}

body.wissen-page.theme-blaulicht {
    background: var(--bl-bg-gradient);
    background-attachment: scroll;
}

body.statistics-page.theme-blaulicht {
    background: linear-gradient(165deg, #0d1117 0%, #13111c 50%, #0f172a 100%);
    background-attachment: scroll;
}

/* Themed wrap overrides */

.info-themed-wrap {
    min-height: 40vh;
    background: var(--v-bg, #0d1117);
    color: #e6edf3;
}

.info-themed-wrap .section-modern {
    background: transparent;
}

.info-themed-card,
.info-themed-wrap .content-card {
    background: var(--v-card-bg, rgba(22, 27, 34, 0.85));
    border-color: rgba(255, 255, 255, 0.08);
}

.info-themed-wrap .text-muted {
    color: rgba(230, 237, 243, 0.65);
}

.info-themed-wrap .link-back {
    color: var(--v-primary, #e63946);
}


.wissen-map-section {
    margin-bottom: 2rem;
}

.wissen-map {
    height: 420px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.wissen-map-layers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.wissen-layer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    cursor: pointer;
}

.wissen-layer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.wissen-map-attribution {
    font-size: 0.75rem;
    opacity: 0.55;
    margin-top: 0.35rem;
}

.statistics-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.statistics-chart-card {
    margin-bottom: 1.5rem;
}

.statistics-sync {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.nav-infos-section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.55;
    padding: 0.5rem 1rem 0.25rem;
    margin: 0;
}

/* Page transitions */
@keyframes infoFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-fade-in {
    animation: infoFadeIn 0.45s ease-out;
}

.section-title-accent {
    position: relative;
    padding-bottom: 0.35rem;
}

.section-title-accent::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.35rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--v-primary, #e63946), transparent);
}

/* Nav: country â†’ area choice */
.nav-infos-choose-hint {
    font-size: 0.8rem;
    opacity: 0.65;
    margin: 0.35rem 0 0.5rem;
    padding: 0 0.25rem;
}

.nav-infos-area-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.nav-infos-country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.nav-infos-country-card:hover {
    border-color: var(--v-primary, #e63946);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.nav-infos-card-icon {
    color: var(--v-primary, #e63946);
}

.nav-infos-quick-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.5;
    margin: 0.5rem 0 0.25rem;
}

.nav-page-link-quick {
    font-size: 0.85rem;
}

/* Area picker polish */
.info-area-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.info-area-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.5), rgba(99, 102, 241, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.info-area-card-wissen::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(34, 197, 94, 0.3));
}

.info-area-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Wissen hero & categories */
.wissen-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.wissen-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.wissen-category-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wissen-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.wissen-category-icon {
    color: var(--v-primary, #e63946);
}

/* Rich content images */
.content-rich img,
.content-rich picture,
.content-rich-img {
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    border-radius: 8px;
}

/* Live map UI */
.wissen-map-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.75rem;
}

.wissen-map-wrap {
    position: relative;
}

.wissen-map {
    height: min(52vh, 480px);
    width: 100%;
}

.wissen-map.is-loading {
    opacity: 0.65;
    transition: opacity 0.3s;
}

.wissen-map-layers {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.wissen-map-legend {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 500;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    line-height: 1.3;
    pointer-events: none;
}

.wissen-map-legend-title {
    display: block;
    font-weight: 600;
}

.wissen-map-legend-hint {
    opacity: 0.6;
}

.wissen-marker-wrap {
    background: transparent;
    border: none;
}

.wissen-marker {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--marker-color, #e63946);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--marker-color, #e63946) 35%, transparent),
                0 0 12px color-mix(in srgb, var(--marker-color, #e63946) 55%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wissen-marker span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.wissen-cluster-wrap {
    background: transparent;
}

.wissen-cluster {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.wissen-popup-card {
    border-left: 4px solid var(--popup-accent, #e63946);
    padding-left: 0.65rem;
    min-width: 160px;
}

.wissen-popup-title {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.wissen-popup-layer {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    font-style: italic;
}

.wissen-popup-address {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.wissen-popup-link {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--popup-accent, #e63946);
}

/* Statistics dashboard */
body.statistics-page {
    --v-stat-1: #e63946;
    --v-stat-2: #3b82f6;
    --v-stat-3: #22c55e;
    --v-stat-4: #f97316;
    --v-stat-5: #a855f7;
    --v-stat-6: #eab308;
}

.statistics-pill-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.statistics-pill {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}

.statistics-pill:hover,
.statistics-pill.is-active {
    background: var(--v-primary, #e63946);
    border-color: var(--v-primary, #e63946);
    color: #fff;
}

.statistics-year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.statistics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.statistics-kpi-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
}

.statistics-kpi-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.statistics-kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.statistics-kpi-year {
    font-size: 0.8rem;
    opacity: 0.55;
}

.statistics-kpi-trend {
    font-size: 0.85rem;
    font-weight: 600;
}

.statistics-kpi-trend.trend-up {
    color: #22c55e;
}

.statistics-kpi-trend.trend-down {
    color: #ef4444;
}

.statistics-chart-wrap {
    position: relative;
    min-height: 200px;
}

.statistics-chart-wrap.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    animation: statSkeleton 1.2s infinite;
    border-radius: 8px;
}

@keyframes statSkeleton {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.statistics-empty-state {
    padding: 2rem;
    text-align: center;
}

@media (max-width: 640px) {
    .nav-infos-area-choice {
        grid-template-columns: 1fr;
    }

    .wissen-map {
        height: 360px;
    }
}

/* Wissen POI modal */
.wissen-poi-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.wissen-poi-modal[hidden] {
    display: none;
}

.wissen-poi-modal-dialog {
    position: relative;
    width: min(420px, 100%);
    max-height: 90vh;
    overflow: auto;
    border-radius: 14px;
    background: #161b22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    border-left: 5px solid var(--modal-accent, #e63946);
}

.wissen-poi-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2;
}

.wissen-poi-modal-inner {
    padding: 1.25rem;
    color: #e6edf3;
}

.wissen-poi-modal-image img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.wissen-poi-modal-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.wissen-poi-modal-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--modal-accent, #e63946) 20%, transparent);
    color: var(--modal-accent, #e63946);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.wissen-poi-modal-row {
    margin: 0.35rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.wissen-poi-modal-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--modal-accent, #e63946);
    font-size: 0.85rem;
}

.wissen-category-cover {
    margin: -0.25rem -0.25rem 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    max-height: 140px;
}

.wissen-category-cover img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

body.wissen-poi-modal-open {
    overflow: hidden;
}

/* —— Wachen-Kommando-Dashboard (KW1/5) —— */
.station-command .station-hero {
    position: relative;
    border-radius: var(--bl-radius-lg, 18px);
    overflow: hidden;
    min-height: 220px;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #121212 0%, #1a1f2e 100%);
    border: 1px solid rgba(255,255,255,0.1);
}
.station-command .station-hero.has-photo { min-height: 280px; }
.station-command .station-hero-media {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.02);
}
.station-command .station-hero-shade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,10,14,0.92) 0%, rgba(8,10,14,0.55) 55%, rgba(8,10,14,0.35) 100%);
}
.station-command .station-hero-content {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 1.25rem;
    padding: 2rem 1.75rem;
}
.station-command .station-crest {
    width: 72px; height: 72px; object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
}
.station-command .station-hero-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.1;
}
.station-command .station-hero-meta { margin: 0.4rem 0 0; opacity: 0.8; }
.station-command .station-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.station-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(16, 18, 24, 0.72);
    border: 1px solid color-mix(in srgb, var(--v-primary, #e63946) 55%, rgba(255,255,255,0.25));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--v-primary, #e63946) 22%, transparent),
        0 0 14px color-mix(in srgb, var(--v-primary, #e63946) 18%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.station-command .station-teaser { max-width: 52rem; margin-bottom: 1.5rem; opacity: 0.85; }

.station-facts-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.station-fact-tile {
    position: relative;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--bl-radius, 14px);
    padding: 1.15rem 1.25rem;
    backdrop-filter: blur(14px) saturate(1.15);
    color: #ffffff;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 40%, transparent),
        0 0 22px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 28%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: station-neon-pulse 3.2s ease-in-out infinite;
}
.station-fact-tile:hover, .station-fact-tile:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 0 28px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 45%, transparent);
}
.station-fact-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #e5e5e5; margin-bottom: 0.35rem; }
.station-fact-value { font-size: 1.65rem; font-weight: 800; color: #ffffff; }
@keyframes station-neon-pulse {
    0%, 100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 35%, transparent), 0 0 16px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 22%, transparent); }
    50% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 55%, transparent), 0 0 28px color-mix(in srgb, var(--v-primary, var(--bl-accent)) 38%, transparent); }
}

.contrast-tile {
    background: rgba(20, 20, 20, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--card-accent, var(--v-primary)) 45%, transparent),
        0 0 20px color-mix(in srgb, var(--card-accent, var(--v-primary)) 28%, transparent) !important;
    color: #ffffff;
    backdrop-filter: blur(14px);
}
.contrast-tile-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}
.contrast-tile-icon {
    display: inline-flex;
    color: var(--card-accent, var(--v-primary));
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--card-accent, var(--v-primary)) 55%, transparent));
}
.contrast-tile-body,
.contrast-tile .content-rich,
.contrast-tile p,
.contrast-tile strong {
    color: #e5e5e5 !important;
}
.contrast-tile .station-topic-title,
.contrast-tile h2,
.contrast-tile h3 {
    color: #ffffff !important;
}
.station-public-video {
    width: 100%;
    max-height: 420px;
    border-radius: 16px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
}
.station-upload-zone {
    border: 1px dashed rgba(148,163,184,0.45);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    background: rgba(15,23,42,0.35);
    color: #cbd5e1;
}
.station-upload-zone.is-drag,
.station-upload-zone.is-busy {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.12);
}
.station-crew-breakdown {
    display: none; gap: 0.65rem; flex-wrap: wrap;
    margin-top: 0.75rem; font-size: 0.85rem; opacity: 0.85;
}
.station-fact-crew:hover .station-crew-breakdown,
.station-fact-crew:focus-within .station-crew-breakdown { display: flex; }

.station-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.station-topic-card {
    background: rgba(18,18,18,0.88);
    border-radius: var(--bl-radius, 14px);
    padding: 1.15rem 1.25rem;
    border-left: 3px solid var(--v-primary, var(--bl-accent));
    border-top: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.station-topic-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.65rem; }

.station-content-card { margin-bottom: 1.5rem; padding: 1.25rem; }

.station-section-title {
    font-size: 1.25rem; font-weight: 700; margin: 0 0 0.85rem;
}
.station-map {
    height: 280px; border-radius: var(--bl-radius-lg, 18px);
    overflow: hidden; margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0b0f14;
}
.station-map-placeholder {
    height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0.35rem;
    opacity: 0.7;
}
.station-map .leaflet-container { height: 100%; width: 100%; background: #0b0f14; }

.station-fleet-cta {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.35rem 1.5rem; margin-bottom: 1.75rem;
    border-radius: var(--bl-radius-lg, 18px);
    background: rgba(18,18,18,0.95);
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--bl-accent)) 45%, transparent);
    box-shadow: 0 0 32px color-mix(in srgb, var(--card-accent, var(--bl-accent)) 22%, transparent);
    text-decoration: none; color: inherit;
    transition: transform 0.2s ease;
}
.station-fleet-cta:hover { transform: translateY(-2px); color: inherit; }
.station-fleet-pulse {
    width: 3.25rem; height: 3.25rem; border-radius: 50%;
    background: var(--card-accent, var(--bl-accent));
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-accent, var(--bl-accent)) 55%, transparent);
    animation: info-fleet-pulse 1.8s ease-out infinite;
    flex-shrink: 0;
}
.station-fleet-icon { font-size: 1.75rem; }
.station-fleet-cta-title { margin: 0 0 0.2rem; font-size: 1.35rem; }

.station-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem;
}
.station-vehicle-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: var(--bl-radius, 14px); overflow: hidden;
    background: #121212; text-decoration: none; color: inherit;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.station-vehicle-card:hover {
    border-color: var(--card-accent, var(--bl-accent));
    box-shadow: 0 0 28px color-mix(in srgb, var(--card-accent, var(--bl-accent)) 35%, transparent);
    transform: translateY(-3px); color: inherit;
}
.station-vehicle-card:hover .station-vehicle-thumb img,
.station-vehicle-card:hover .station-vehicle-thumb picture img {
    transform: scale(1.05);
}
.station-vehicle-status {
    position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid #0d1117;
}
.station-vehicle-status.is-ready {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.55);
    animation: station-status-pulse 1.8s ease-out infinite;
}
.station-vehicle-status.is-workshop { background: #eab308; }
@keyframes station-status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}
.station-vehicle-thumb {
    aspect-ratio: 16/10; overflow: hidden; background: #1a1f2a;
}
.station-vehicle-thumb img,
.station-vehicle-thumb picture img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.35s ease;
}
.station-vehicle-body { padding: 0.9rem 1rem 1.1rem; }
.station-vehicle-title { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 700; }
.station-vehicle-meta { margin: 0; font-size: 0.82rem; opacity: 0.72; line-height: 1.35; }

@media (max-width: 800px) {
    .station-facts-bento { grid-template-columns: 1fr; }
    .station-hero-content { flex-direction: column; align-items: flex-start; }
}

/* Station Command v2 — Hero / 3-col / Gallery / Social */
.station-command--v2 .station-title-bar {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 1rem;
}
.station-hero-cinematic {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: clamp(220px, 38vw, 420px);
    margin-bottom: 1.75rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.station-hero-cinematic-media {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.station-hero-cinematic-media--empty {
    background: linear-gradient(135deg, #1a1f2a, #0d1117);
}
.station-hero-cinematic-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,10,16,0.25) 0%, rgba(8,10,16,0.55) 45%, rgba(8,10,16,0.88) 100%);
    pointer-events: none;
}
.station-fleet-neon-btn {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--v-primary)) 70%, #fff);
    background: rgba(12,12,16,0.72);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--card-accent, var(--v-primary)) 40%, transparent),
        0 0 22px color-mix(in srgb, var(--card-accent, var(--v-primary)) 35%, transparent);
    animation: station-neon-pulse 2.8s ease-in-out infinite;
}
.station-fleet-neon-btn:hover,
.station-fleet-neon-btn:focus-visible {
    color: #fff;
    text-decoration: none;
}
body.station-fleet-open {
    overflow: hidden;
}
.station-fleet-count {
    display: inline-flex;
    min-width: 1.6rem;
    justify-content: center;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--card-accent, var(--v-primary)) 28%, transparent);
    font-size: 0.85rem;
}

.station-facts-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}
.station-fact-tile--compact {
    padding: 0.85rem 1rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    backdrop-filter: blur(8px);
    animation: station-neon-pulse 3.2s ease-in-out infinite;
}
.station-fact-tile--compact .station-fact-label {
    margin-bottom: 0;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
}
.station-fact-tile--compact .station-fact-value {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.15;
    word-break: break-word;
}

.station-main-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.4fr) minmax(220px, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}
.station-main-grid--v3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.station-col-side--balanced {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}
.station-col-side--balanced .station-radar,
.station-col-side--balanced .station-social-hub {
    margin-top: 0;
    height: 100%;
}
.station-col-side--balanced .station-map {
    min-height: 260px;
    height: calc(100% - 2.5rem);
}

/* Gleichmäßiges Themen-Bento */
.station-col-story {
    position: relative;
    min-width: 0;
}
.station-bento,
.station-bento--even {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    position: relative;
    perspective: 1100px;
    align-items: stretch;
}
.station-bento-tile {
    grid-column: span 1;
    position: relative;
    min-height: 180px;
    height: 100%;
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid color-mix(in srgb, var(--card-accent, #e63946) 35%, rgba(255,255,255,0.12));
    background:
        linear-gradient(145deg, rgba(18, 22, 34, 0.92), rgba(10, 12, 20, 0.88));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 18%, transparent);
    transition:
        transform 0.28s ease,
        opacity 0.32s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        filter 0.32s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.station-bento-tile.is-featured,
.station-bento-tile.is-wide,
.station-bento-tile[style*="--bento-span: 12"] {
    grid-column: 1 / -1;
    min-height: 200px;
}
.station-bento-tile.is-short {
    min-height: 160px;
}
.station-bento-tile:hover,
.station-bento-tile:focus-visible {
    border-color: color-mix(in srgb, var(--card-accent, #e63946) 78%, #fff);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 55%, transparent),
        0 0 28px color-mix(in srgb, var(--card-accent, #e63946) 42%, transparent),
        0 14px 32px rgba(0, 0, 0, 0.35);
    outline: none;
}
.station-bento-glow {
    pointer-events: none;
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    opacity: 0;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 90%, #fff);
    transition: opacity 0.25s ease;
}
.station-bento-tile:hover .station-bento-glow,
.station-bento-tile:focus-visible .station-bento-glow {
    opacity: 1;
    animation: station-bento-border-flash 0.85s ease-out 1;
}
.station-bento-bg-icon {
    position: absolute;
    right: -0.35rem;
    bottom: -0.55rem;
    opacity: 0.08;
    color: var(--card-accent, #e63946);
    transform: rotate(-8deg) scale(1);
    transition: transform 0.55s ease, opacity 0.35s ease;
    pointer-events: none;
}
.station-bento-tile:hover .station-bento-bg-icon,
.station-bento-tile:focus-visible .station-bento-bg-icon {
    opacity: 0.18;
    transform: rotate(4deg) scale(1.06);
}
.station-bento-face {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    height: 100%;
    min-width: 0;
}
.station-bento-icon {
    display: inline-flex;
    color: var(--card-accent, #e63946);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--card-accent, #e63946) 45%, transparent));
    flex: 0 0 auto;
}
.station-bento-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.station-bento-excerpt {
    margin: 0;
    margin-top: auto;
    color: #c8c8c8;
    font-size: clamp(0.88rem, 1.1vw, 0.98rem);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.station-bento-tile.is-short .station-bento-excerpt {
    -webkit-line-clamp: 3;
}
.station-bento-tile.is-featured .station-bento-excerpt,
.station-bento-tile.is-wide .station-bento-excerpt {
    -webkit-line-clamp: 5;
}
.station-bento-detail {
    position: relative;
    z-index: 2;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #e5e5e5;
    line-height: 1.6;
    max-height: min(52vh, 420px);
    overflow: auto;
    animation: station-bento-detail-in 0.38s ease both;
}
.station-bento-detail-title {
    margin: 0 2rem 0.65rem 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #fff;
    overflow-wrap: anywhere;
}
.station-bento-detail-body {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.station-bento-close {
    position: absolute;
    top: 0.85rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, #ef4444 75%, #000);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 16px color-mix(in srgb, #ef4444 55%, transparent);
}
.station-bento-close:hover {
    background: #ef4444;
}
.station-bento.is-morphing .station-bento-tile.is-away {
    /* Unsichtbare Kacheln dürfen kein Raster mehr belegen — sonst entsteht die riesige Leere */
    display: none !important;
}
.station-bento-tile.is-expanded {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    overflow: visible;
    z-index: 5;
    cursor: default;
    transform: none !important;
    border-color: color-mix(in srgb, var(--card-accent, #e63946) 70%, #fff);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 50%, transparent),
        0 0 40px color-mix(in srgb, var(--card-accent, #e63946) 35%, transparent);
}
.station-bento-tile.is-expanded .station-bento-face {
    flex: 0 0 auto;
    height: auto;
}
.station-bento-tile.is-expanded .station-bento-excerpt {
    display: none;
}
.station-bento-tile.is-expanded .station-bento-detail {
    display: block;
    flex: 1 1 auto;
    margin-top: 0.75rem;
    max-height: min(60vh, 520px);
}
.station-bento-tile.is-expanded .station-bento-bg-icon {
    opacity: 0.12;
}

@keyframes station-bento-border-flash {
    0% { opacity: 0.15; box-shadow: 0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 40%, #fff); }
    35% { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 24px color-mix(in srgb, var(--card-accent, #e63946) 80%, transparent); }
    100% { opacity: 0.55; box-shadow: 0 0 0 1px color-mix(in srgb, var(--card-accent, #e63946) 70%, #fff); }
}
@keyframes station-bento-detail-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .station-facts-strip { grid-template-columns: 1fr; }
    .station-col-side--balanced { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .station-bento,
    .station-bento--even {
        grid-template-columns: 1fr;
    }
    .station-bento-tile,
    .station-bento-tile.is-short,
    .station-bento-tile.is-wide,
    .station-bento-tile.is-featured {
        grid-column: 1 / -1;
        min-height: 150px;
    }
    .station-bento-excerpt { -webkit-line-clamp: 3; }
}
.station-col-side .station-map {
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
}
.station-social-hub {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
}
.station-social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.station-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #c4c4c4;
    transition: color 0.2s ease, transform 0.2s ease;
}
.station-social-icon {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    position: relative;
}
.station-social-icon::before {
    content: '';
    position: absolute; inset: 22%;
    background: currentColor;
    mask-size: contain; -webkit-mask-size: contain;
    mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
    mask-position: center; -webkit-mask-position: center;
    /* generic link */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}
.station-social-link:hover {
    color: var(--card-accent, var(--v-primary, #e63946));
    transform: translateX(2px);
}
.station-social-link--instagram:hover { color: #e1306c; }
.station-social-link--facebook:hover { color: #1877f2; }
.station-social-link--youtube:hover { color: #ff0000; }
.station-social-link--tiktok:hover { color: #69c9d0; }
.station-social-status { font-size: 0.9rem; color: inherit; }

.station-gallery-stream { margin-bottom: 1.5rem; }
.station-gallery-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}
.station-gallery-item {
    flex: 0 0 auto;
    width: min(220px, 70vw);
    aspect-ratio: 4/3;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}
.station-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.85) brightness(0.72);
    transition: filter 0.35s ease, transform 0.35s ease;
}
.station-gallery-item:hover img {
    filter: none;
    transform: scale(1.04);
}
.station-gallery-add {
    flex: 0 0 auto;
    width: min(140px, 40vw);
    aspect-ratio: 4/3;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--v-primary, #e63946) 55%, #fff);
    background: rgba(20,20,24,0.55);
    color: var(--v-primary, #e63946);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
}
.station-gallery-add.is-busy { opacity: 0.5; pointer-events: none; }

.station-fleet-overlay {
    position: fixed !important;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}
.station-fleet-overlay[hidden] { display: none !important; }
.station-fleet-overlay-backdrop {
    position: absolute; inset: 0;
    background: rgba(6,8,14,0.62);
    opacity: 0; transition: opacity 0.25s ease;
}
.station-fleet-overlay.is-open .station-fleet-overlay-backdrop { opacity: 1; }
.station-fleet-overlay-panel {
    position: relative; z-index: 1;
    width: min(920px, 100%);
    max-height: min(82vh, 720px);
    overflow: auto;
    padding: 1.25rem 1.35rem;
    border-radius: 18px;
    background: rgba(16,18,24,0.94);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--v-primary, #e63946) 35%, transparent), 0 24px 60px rgba(0,0,0,0.55);
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.station-fleet-overlay.is-open .station-fleet-overlay-panel {
    transform: none; opacity: 1;
}
.station-fleet-overlay-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}
.station-fleet-overlay-x {
    width: 2rem; height: 2rem; border: 0; border-radius: 999px;
    background: rgba(255,255,255,0.08); color: #fff; font-size: 1.25rem; cursor: pointer;
}
.station-fleet-overlay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

@media (max-width: 980px) {
    .station-main-grid:not(.station-main-grid--v3) { grid-template-columns: 1fr 1fr; }
    .station-col-stats { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .station-col-stats .station-fact-tile { flex: 1 1 140px; }
    .station-facts-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .station-main-grid { grid-template-columns: 1fr; }
    .station-facts-strip { grid-template-columns: 1fr; }
    .station-fleet-neon-btn { width: calc(100% - 2rem); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .station-fleet-neon-btn,
    .station-col-stats .station-fact-tile,
    .station-fact-tile--compact { animation: none; }
    .station-gallery-item img { transition: none; }
    .station-bento-tile,
    .station-bento-bg-icon,
    .station-bento-glow,
    .station-bento-detail { transition: none; animation: none; }
}
