.mls-atlas {
    --mls-bg: #07111f;
    --mls-panel: #0f1d31;
    --mls-panel-2: #14243a;
    --mls-line: rgba(148, 163, 184, .24);
    --mls-text: #f8fafc;
    --mls-muted: #a8b4c7;
    --mls-blue: #38bdf8;
    --mls-green: #22c55e;
    --mls-yellow: #facc15;
    --mls-orange: #fb923c;
    --mls-red: #ef4444;
    color: var(--mls-text);
    background: linear-gradient(145deg, #07111f 0%, #0d1a2b 52%, #091321 100%);
    border: 1px solid var(--mls-line);
    border-radius: 24px;
    padding: 22px;
    width: min(1320px, calc(100vw - 24px));
    max-width: none;
    margin: 0 auto 34px;
    transform: none;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .32);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mls-atlas * {
    box-sizing: border-box;
}

.mls-atlas a {
    color: inherit;
}

.mls-atlas-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .32fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 18px;
}

.mls-atlas-hero > div:first-child {
    border: 1px solid var(--mls-line);
    background: linear-gradient(145deg, rgba(20, 36, 58, .96), rgba(8, 18, 32, .96));
    border-radius: 20px;
    padding: 22px;
}

.mls-atlas-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(56, 189, 248, .36);
    background: rgba(56, 189, 248, .1);
    color: #dff6ff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mls-atlas h1,
.mls-atlas h2,
.mls-atlas h3 {
    color: var(--mls-text);
    margin-top: 0;
}

.mls-atlas h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1;
    margin: 16px 0 12px;
    font-weight: 950;
}

.mls-atlas p {
    color: #cbd5e1;
    line-height: 1.65;
}

.mls-atlas-hero p {
    max-width: 840px;
    margin: 0;
    font-size: 1.02rem;
}

.mls-atlas-live {
    border: 1px solid var(--mls-line);
    background: linear-gradient(180deg, rgba(34, 197, 94, .16), rgba(15, 29, 49, .98));
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.mls-atlas-live span {
    color: #bbf7d0;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.mls-atlas-live strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.1;
}

.mls-atlas-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.mls-atlas-stat {
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .055);
    border-radius: 16px;
    padding: 15px;
    min-height: 118px;
    display: grid;
    align-content: space-between;
    gap: 8px;
}

.mls-atlas-stat i {
    color: var(--mls-blue);
    font-size: 1.25rem;
}

.mls-atlas-stat span {
    color: var(--mls-muted);
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.mls-atlas-stat strong {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.mls-atlas-brief {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.mls-atlas-brief-card {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .048);
    border-radius: 16px;
    padding: 13px;
}

.mls-atlas-brief-card > i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--mls-blue);
    background: rgba(56, 189, 248, .11);
}

.mls-atlas-brief-card.is-official > i {
    color: #fecaca;
    background: rgba(239, 68, 68, .16);
}

.mls-atlas-brief-card.is-forecast > i {
    color: #fef08a;
    background: rgba(250, 204, 21, .14);
}

.mls-atlas-brief-card strong,
.mls-atlas-brief-card span {
    display: block;
}

.mls-atlas-brief-card strong {
    color: #fff;
    line-height: 1.25;
    margin-bottom: 4px;
}

.mls-atlas-brief-card span {
    color: #cbd5e1;
    font-size: .82rem;
    line-height: 1.45;
}

.mls-atlas-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .34fr);
    gap: 14px;
    margin-bottom: 18px;
}

.mls-atlas-map-shell,
.mls-atlas-locator {
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .045);
    border-radius: 18px;
    overflow: hidden;
}

.mls-atlas-map-shell {
    position: relative;
    min-height: 520px;
}

.mls-atlas-map {
    height: 520px;
    min-height: 520px;
    background: #0b1726;
}

.mls-atlas-map .leaflet-layer {
    filter: saturate(.85) brightness(.82) contrast(1.08);
}

.mls-atlas-map .leaflet-popup-content-wrapper,
.mls-atlas-map .leaflet-popup-tip {
    background: #0f1d31;
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .28);
}

.mls-atlas-popup {
    display: grid;
    gap: 6px;
    min-width: 220px;
}

.mls-atlas-popup strong {
    color: #fff;
    font-size: .98rem;
}

.mls-atlas-popup span {
    color: #cbd5e1;
    font-size: .82rem;
}

.mls-atlas-popup em {
    justify-self: start;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 999px;
    padding: 4px 8px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, .62);
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
}

.mls-atlas-popup.is-official em {
    border-color: rgba(239, 68, 68, .6);
    color: #fecaca;
    background: rgba(239, 68, 68, .15);
}

.mls-atlas-popup.is-forecast em {
    border-color: rgba(250, 204, 21, .56);
    color: #fef08a;
    background: rgba(250, 204, 21, .12);
}

.mls-atlas-popup small {
    color: #94a3b8;
    font-size: .76rem;
    line-height: 1.4;
}

.mls-atlas-popup a {
    color: #7dd3fc;
    font-weight: 900;
    text-decoration: none;
}

.mls-atlas-marker {
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .13), 0 8px 24px rgba(0, 0, 0, .34);
}

.mls-atlas-div-marker {
    display: grid;
    place-items: center;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    border: 2px solid rgba(255, 255, 255, .92);
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 0 7px rgba(239, 68, 68, .2), 0 8px 24px rgba(0, 0, 0, .35);
}

.mls-atlas-div-marker i {
    font-size: 15px;
    line-height: 1;
}

.mls-atlas-map-legend {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 460;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: calc(100% - 24px);
}

.mls-atlas-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(7, 17, 31, .88);
    color: #e2e8f0;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: .72rem;
    font-weight: 900;
}

.mls-atlas-map-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mls-green);
}

.mls-atlas-map-legend i[data-kind="official"] {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--mls-red);
}

.mls-atlas-map-legend i[data-kind="forecast-watch"] {
    background: var(--mls-yellow);
}

.mls-atlas-map-legend i[data-kind="forecast-marked"] {
    background: var(--mls-orange);
}

.mls-atlas-locator {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mls-atlas-locator h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 1.25rem;
}

.mls-atlas-locator h2 i {
    color: var(--mls-blue);
}

.mls-atlas-locator p {
    margin: 0;
    font-size: .92rem;
}

.mls-atlas-locate-btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: #38bdf8;
    color: #03111f;
    min-height: 46px;
    padding: 10px 14px;
    font-weight: 950;
    font: inherit;
}

.mls-atlas-locate-btn:hover,
.mls-atlas-locate-btn:focus-visible {
    background: #7dd3fc;
    outline: 2px solid rgba(125, 211, 252, .42);
    outline-offset: 2px;
}

.mls-atlas-nearby {
    display: grid;
    gap: 9px;
    color: var(--mls-muted);
    font-size: .9rem;
}

.mls-atlas-nearby-card {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(15, 23, 42, .5);
    border-radius: 12px;
    padding: 10px;
    text-decoration: none;
}

.mls-atlas-nearby-card strong {
    color: #fff;
}

.mls-atlas-nearby-card span {
    color: #cbd5e1;
    font-size: .82rem;
}

.mls-atlas-nearby-card.is-warning {
    border-color: rgba(239, 68, 68, .68);
    background: rgba(239, 68, 68, .12);
}

.mls-atlas-nearby-card.is-marked {
    border-color: rgba(251, 146, 60, .62);
    background: rgba(251, 146, 60, .12);
}

.mls-atlas-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(170px, .45fr) minmax(190px, .55fr);
    gap: 12px;
    align-items: end;
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .045);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 22px;
}

.mls-atlas-controls label {
    display: grid;
    gap: 6px;
    margin: 0;
}

.mls-atlas-controls span {
    color: var(--mls-muted);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.mls-atlas-controls input,
.mls-atlas-controls select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .34);
    background: #07111f;
    color: #f8fafc;
    border-radius: 12px;
    min-height: 44px;
    padding: 9px 12px;
    font: inherit;
}

.mls-atlas-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    border-bottom: 1px solid var(--mls-line);
    padding: 4px 2px 12px;
    margin-bottom: 14px;
}

.mls-atlas-detail-head span {
    display: block;
    color: var(--mls-muted);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.mls-atlas-detail-head h2 {
    margin: 0;
    font-size: 1.55rem;
}

.mls-atlas-detail-head p {
    max-width: 580px;
    margin: 0;
    font-size: .9rem;
}

.mls-atlas-register {
    display: grid;
    gap: 24px;
}

.mls-atlas-state {
    display: grid;
    gap: 14px;
}

.mls-atlas-state[hidden],
.mls-atlas-county[hidden],
.mls-atlas-place[hidden] {
    display: none !important;
}

.mls-atlas-state-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    padding: 2px 2px 10px;
    border-bottom: 1px solid var(--mls-line);
}

.mls-atlas-state-head span {
    color: var(--mls-muted);
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mls-atlas-state-head h2 {
    margin: 3px 0 0;
    font-size: 1.7rem;
    line-height: 1.15;
}

.mls-atlas-state-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mls-atlas-state-metrics strong,
.mls-atlas-state-metrics span {
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(255, 255, 255, .045);
    border-radius: 999px;
    padding: 6px 10px;
    color: #e2e8f0;
    font-size: .78rem;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
}

.mls-atlas-county {
    display: grid;
    gap: 10px;
}

.mls-atlas-county h3 {
    margin: 0;
    color: #dbeafe;
    font-size: 1.05rem;
    font-weight: 950;
}

.mls-atlas-places {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mls-atlas-place {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 172px;
    text-decoration: none;
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .052);
    border-radius: 16px;
    padding: 14px;
    overflow: hidden;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.mls-atlas-place:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #64748b;
}

.mls-atlas-place:hover,
.mls-atlas-place:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, .7);
    background: rgba(56, 189, 248, .08);
    outline: none;
}

.mls-atlas-place.is-warning:before {
    background: var(--mls-red);
}

.mls-atlas-place.is-marked:before {
    background: var(--mls-orange);
}

.mls-atlas-place.is-watch:before {
    background: var(--mls-yellow);
}

.mls-atlas-place.is-quiet:before {
    background: var(--mls-green);
}

.mls-atlas-place-main {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    min-width: 0;
}

.mls-atlas-place-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(15, 23, 42, .54);
    border-radius: 12px;
    color: var(--mls-blue);
}

.is-warning .mls-atlas-place-icon {
    color: #fca5a5;
}

.is-marked .mls-atlas-place-icon {
    color: #fdba74;
}

.is-quiet .mls-atlas-place-icon {
    color: #86efac;
}

.mls-atlas-place-main strong {
    display: block;
    color: #fff;
    font-size: 1.06rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mls-atlas-place-main small {
    display: block;
    color: var(--mls-muted);
    margin-top: 2px;
    line-height: 1.35;
}

.mls-atlas-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mls-atlas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 999px;
    padding: 5px 8px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, .5);
    font-size: .72rem;
    font-weight: 900;
}

.badge-warning {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .55);
    background: rgba(239, 68, 68, .12);
}

.badge-source {
    color: #fef08a;
    border-color: rgba(250, 204, 21, .46);
    background: rgba(250, 204, 21, .1);
}

.badge-risk.risk-0 {
    color: #bbf7d0;
}

.badge-risk.risk-1 {
    color: #fef08a;
}

.badge-risk.risk-2 {
    color: #fef08a;
}

.badge-risk.risk-3,
.badge-risk.risk-4 {
    color: #fed7aa;
}

.mls-atlas-mini {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3px;
}

.mls-atlas-mini i {
    display: block;
    height: 20px;
    border-radius: 6px;
    background: #166534;
    border: 1px solid rgba(255, 255, 255, .08);
}

.mls-atlas-mini i[data-lvl="1"] {
    background: #854d0e;
}

.mls-atlas-mini i[data-lvl="2"] {
    background: #facc15;
}

.mls-atlas-mini i[data-lvl="3"] {
    background: #fb923c;
}

.mls-atlas-mini i[data-lvl="4"] {
    background: #ea580c;
}

.mls-atlas-place-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--mls-muted);
    font-size: .78rem;
    line-height: 1.35;
}

.mls-atlas-place-foot span:last-child {
    white-space: nowrap;
}

.mls-atlas-latest {
    margin-top: 24px;
}

.mls-atlas-latest-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.mls-atlas-latest-card {
    display: grid;
    gap: 5px;
    min-height: 116px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .044);
    border-radius: 14px;
    padding: 12px;
}

.mls-atlas-latest-card:hover,
.mls-atlas-latest-card:focus-visible {
    border-color: rgba(56, 189, 248, .66);
    background: rgba(56, 189, 248, .08);
    outline: none;
}

.mls-atlas-latest-card strong {
    color: #fff;
    line-height: 1.28;
}

.mls-atlas-latest-card span {
    color: #cbd5e1;
    font-size: .82rem;
    line-height: 1.38;
}

.mls-atlas-latest-card time {
    align-self: end;
    color: #7dd3fc;
    font-size: .76rem;
    font-weight: 900;
}

.mls-atlas-method {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
    gap: 18px;
    border-top: 1px solid var(--mls-line);
    margin-top: 26px;
    padding-top: 20px;
}

.mls-atlas-method h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.mls-atlas-method p {
    margin: 0;
}

.mls-atlas-method ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.mls-atlas-method li {
    display: flex;
    gap: 10px;
    color: #dbeafe;
    line-height: 1.5;
}

.mls-atlas-method i {
    color: var(--mls-blue);
    margin-top: 4px;
}

.mls-atlas-empty,
.mls-atlas-no-results {
    border: 1px dashed var(--mls-line);
    background: rgba(255, 255, 255, .04);
    border-radius: 16px;
    padding: 18px;
    color: var(--mls-muted);
    display: grid;
    gap: 6px;
}

.mls-atlas-empty strong,
.mls-atlas-no-results strong {
    color: #fff;
}

@media (max-width: 1100px) {
    .mls-atlas-hero,
    .mls-atlas-method,
    .mls-atlas-overview {
        grid-template-columns: 1fr;
    }

    .mls-atlas-stats,
    .mls-atlas-places,
    .mls-atlas-brief {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mls-atlas-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .mls-atlas {
        padding: 14px;
        border-radius: 18px;
    }

    .mls-atlas-hero > div:first-child,
    .mls-atlas-live,
    .mls-atlas-controls,
    .mls-atlas-place {
        border-radius: 14px;
    }

    .mls-atlas h1 {
        font-size: 2.2rem;
    }

    .mls-atlas-map-shell {
        min-height: 380px;
    }

    .mls-atlas-map {
        height: 380px;
        min-height: 380px;
    }

    .mls-atlas-stats,
    .mls-atlas-controls,
    .mls-atlas-places,
    .mls-atlas-brief,
    .mls-atlas-latest-grid {
        grid-template-columns: 1fr;
    }

    .mls-atlas-detail-head {
        display: grid;
        align-items: start;
    }

    .mls-atlas-state-head {
        display: grid;
        align-items: start;
    }

    .mls-atlas-state-metrics {
        justify-content: flex-start;
    }

    .mls-atlas-place-foot {
        display: grid;
    }

    .mls-atlas-place-foot span:last-child {
        white-space: normal;
    }
}

/* Meteoleitstelle Lageatlas 0.3.0: Karte zuerst, Quellen klar trennen, mobil kompakt */
.mls-atlas {
    --mls-purple: #a855f7;
    --mls-flood: #38bdf8;
}

.mls-atlas-hero-compact {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .24fr);
    margin-bottom: 12px;
}

.mls-atlas-hero-compact > div:first-child {
    padding: 18px 20px;
}

.mls-atlas-hero-compact h1 {
    font-size: clamp(1.85rem, 3.2vw, 3.05rem);
    margin: 12px 0 8px;
}

.mls-atlas-hero-compact p {
    font-size: .96rem;
    line-height: 1.5;
}

.mls-atlas-command {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .045);
    border-radius: 18px;
    padding: 10px;
    margin-bottom: 12px;
}

.mls-atlas-modebar,
.mls-atlas-radiusbar {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.mls-atlas-modebar button,
.mls-atlas-radiusbar button {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(15, 23, 42, .62);
    color: #dbeafe;
    border-radius: 999px;
    min-height: 38px;
    padding: 8px 12px;
    font: inherit;
    font-size: .84rem;
    font-weight: 950;
    white-space: nowrap;
}

.mls-atlas-modebar button:hover,
.mls-atlas-modebar button:focus-visible,
.mls-atlas-radiusbar button:hover,
.mls-atlas-radiusbar button:focus-visible {
    border-color: rgba(125, 211, 252, .72);
    background: rgba(56, 189, 248, .12);
    outline: none;
}

.mls-atlas-modebar button.is-active,
.mls-atlas-radiusbar button.is-active {
    background: #38bdf8;
    border-color: #7dd3fc;
    color: #03111f;
}

.mls-atlas-radiusbar {
    border-left: 1px solid var(--mls-line);
    padding-left: 10px;
}

.mls-atlas-radiusbar span {
    color: var(--mls-muted);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mls-atlas-command .mls-atlas-locate-btn {
    min-height: 40px;
    border-radius: 999px;
    padding-inline: 16px;
}

.mls-atlas-overview-mapfirst {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.mls-atlas-overview-mapfirst .mls-atlas-map-shell {
    min-height: 560px;
}

.mls-atlas-overview-mapfirst .mls-atlas-map {
    height: 560px;
    min-height: 560px;
}

.mls-atlas-map-status {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 460;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    max-width: calc(100% - 76px);
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(7, 17, 31, .9);
    color: #fff;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: .78rem;
    font-weight: 950;
    line-height: 1.25;
    text-align: right;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.mls-atlas-nearby-panel {
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .045);
    border-radius: 16px;
    padding: 12px;
}

.mls-atlas-nearby > strong,
.mls-atlas-nearby > span {
    display: block;
}

.mls-atlas-nearby > strong {
    color: #fff;
    line-height: 1.3;
}

.mls-atlas-nearby-card b {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
}

.mls-atlas-nearby-card small {
    color: #94a3b8;
    font-size: .78rem;
}

.mls-atlas-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 12px;
}

.mls-atlas-stat {
    min-height: 86px;
    padding: 12px;
}

.mls-atlas-stat strong {
    font-size: 1.55rem;
}

.mls-atlas-stat.cat-civil i,
.cat-civil .mls-atlas-place-icon,
.cat-civil .mls-atlas-priority-icon {
    color: #fecaca;
}

.mls-atlas-stat.cat-weather i,
.cat-weather .mls-atlas-place-icon,
.cat-weather .mls-atlas-priority-icon {
    color: #fef08a;
}

.mls-atlas-stat.cat-flood i,
.cat-flood .mls-atlas-place-icon,
.cat-flood .mls-atlas-priority-icon {
    color: #bae6fd;
}

.mls-atlas-stat.cat-police i,
.cat-police .mls-atlas-place-icon,
.cat-police .mls-atlas-priority-icon {
    color: #e9d5ff;
}

.mls-atlas-map-legend i[data-kind="civil"] {
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--mls-red);
}

.mls-atlas-map-legend i[data-kind="weather"] {
    background: var(--mls-yellow);
}

.mls-atlas-map-legend i[data-kind="flood"] {
    background: var(--mls-flood);
}

.mls-atlas-map-legend i[data-kind="police"] {
    background: var(--mls-purple);
}

.mls-atlas-div-marker.cat-civil {
    background: var(--mls-red);
    box-shadow: 0 0 0 7px rgba(239, 68, 68, .2), 0 8px 24px rgba(0, 0, 0, .35);
}

.mls-atlas-div-marker.cat-flood {
    background: var(--mls-flood);
    color: #04111f;
    box-shadow: 0 0 0 7px rgba(56, 189, 248, .2), 0 8px 24px rgba(0, 0, 0, .35);
}

.mls-atlas-div-marker.cat-police {
    background: var(--mls-purple);
    box-shadow: 0 0 0 7px rgba(168, 85, 247, .2), 0 8px 24px rgba(0, 0, 0, .35);
}

.mls-atlas-div-marker.cat-weather {
    background: var(--mls-orange);
    box-shadow: 0 0 0 7px rgba(251, 146, 60, .2), 0 8px 24px rgba(0, 0, 0, .35);
}

.mls-atlas-popup.cat-civil em,
.badge-category.cat-civil {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .55);
    background: rgba(239, 68, 68, .13);
}

.mls-atlas-popup.cat-weather em,
.badge-category.cat-weather {
    color: #fef08a;
    border-color: rgba(250, 204, 21, .5);
    background: rgba(250, 204, 21, .11);
}

.mls-atlas-popup.cat-flood em,
.badge-category.cat-flood {
    color: #bae6fd;
    border-color: rgba(56, 189, 248, .55);
    background: rgba(56, 189, 248, .12);
}

.mls-atlas-popup.cat-police em,
.badge-category.cat-police {
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, .55);
    background: rgba(168, 85, 247, .13);
}

.mls-atlas-place.cat-civil:before,
.mls-atlas-priority-item.cat-civil:before {
    background: var(--mls-red);
}

.mls-atlas-place.cat-weather:before,
.mls-atlas-priority-item.cat-weather:before {
    background: var(--mls-yellow);
}

.mls-atlas-place.cat-flood:before,
.mls-atlas-priority-item.cat-flood:before {
    background: var(--mls-flood);
}

.mls-atlas-place.cat-police:before,
.mls-atlas-priority-item.cat-police:before {
    background: var(--mls-purple);
}

.mls-atlas-priority-item.cat-police,
.mls-atlas-priority-item.cat-civil,
.mls-atlas-priority-item.cat-flood {
    background: linear-gradient(90deg, rgba(255,255,255,.075), rgba(255,255,255,.045));
}

.mls-atlas-priority-item.cat-police {
    border-color: rgba(168, 85, 247, .32);
}

.mls-atlas-priority-item.cat-civil {
    border-color: rgba(239, 68, 68, .32);
}

.mls-atlas-priority-item.cat-flood {
    border-color: rgba(56, 189, 248, .32);
}

.mls-atlas-priority-wrap {
    margin-top: 8px;
}

.mls-atlas-priority {
    display: grid;
    gap: 8px;
}

.mls-atlas-priority-item {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(130px, .55fr) minmax(0, 1fr) minmax(120px, .28fr);
    gap: 10px;
    align-items: center;
    min-height: 74px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .052);
    border-radius: 15px;
    padding: 11px 12px 11px 16px;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.mls-atlas-priority-item:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #64748b;
}

.mls-atlas-priority-item:hover,
.mls-atlas-priority-item:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, .65);
    background: rgba(56, 189, 248, .08);
    outline: none;
}

.mls-atlas-priority-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 12px;
    background: rgba(15, 23, 42, .56);
}

.mls-atlas-priority-main strong,
.mls-atlas-priority-info b,
.mls-atlas-priority-main small,
.mls-atlas-priority-info small,
.mls-atlas-priority-time {
    display: block;
}

.mls-atlas-priority-main strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.mls-atlas-priority-main small,
.mls-atlas-priority-info small,
.mls-atlas-priority-time {
    color: #cbd5e1;
    font-size: .8rem;
    line-height: 1.35;
}

.mls-atlas-priority-info b {
    color: #fff;
    font-size: .84rem;
    margin-bottom: 2px;
}

.mls-atlas-priority-tag {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0 0 4px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 999px;
    padding: 3px 7px;
    background: rgba(15, 23, 42, .6);
    color: #e2e8f0;
    font-size: .68rem;
    font-style: normal;
    font-weight: 950;
    line-height: 1.1;
}

.cat-police .mls-atlas-priority-tag {
    color: #f3e8ff;
    border-color: rgba(168, 85, 247, .5);
    background: rgba(168, 85, 247, .16);
}

.cat-civil .mls-atlas-priority-tag {
    color: #fee2e2;
    border-color: rgba(239, 68, 68, .5);
    background: rgba(239, 68, 68, .16);
}

.cat-flood .mls-atlas-priority-tag {
    color: #e0f2fe;
    border-color: rgba(56, 189, 248, .5);
    background: rgba(56, 189, 248, .15);
}

.cat-weather .mls-atlas-priority-tag {
    color: #fef9c3;
    border-color: rgba(250, 204, 21, .45);
    background: rgba(250, 204, 21, .12);
}

.mls-atlas-priority-time {
    text-align: right;
}

.mls-atlas-priority-distance {
    display: inline-block;
    margin-right: 6px;
    color: #7dd3fc;
    font-weight: 950;
}

.mls-atlas-all-details,
.mls-atlas-latest,
.mls-atlas-method {
    border: 1px solid var(--mls-line);
    background: rgba(255, 255, 255, .04);
    border-radius: 16px;
    padding: 0;
    margin-top: 16px;
    overflow: hidden;
}

.mls-atlas-all-details > summary,
.mls-atlas-latest > summary,
.mls-atlas-method > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 16px;
    color: #fff;
    font-weight: 950;
    list-style: none;
}

.mls-atlas-all-details > summary::-webkit-details-marker,
.mls-atlas-latest > summary::-webkit-details-marker,
.mls-atlas-method > summary::-webkit-details-marker {
    display: none;
}

.mls-atlas-all-details[open] > summary,
.mls-atlas-latest[open] > summary,
.mls-atlas-method[open] > summary {
    border-bottom: 1px solid var(--mls-line);
}

.mls-atlas-all-details .mls-atlas-register,
.mls-atlas-latest .mls-atlas-latest-grid,
.mls-atlas-latest .mls-atlas-empty,
.mls-atlas-method .mls-atlas-method-grid {
    padding: 14px;
}

.mls-atlas-method {
    display: block;
    border-top: 1px solid var(--mls-line);
}

.mls-atlas-method-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
    gap: 18px;
}

.mls-atlas-method-grid h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.mls-atlas-method-grid p {
    margin: 0;
}

.mls-atlas-method-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.mls-atlas-method-grid li {
    display: flex;
    gap: 10px;
    color: #dbeafe;
    line-height: 1.5;
}

.mls-atlas-method-grid i {
    color: var(--mls-blue);
    margin-top: 4px;
}

@media (max-width: 1100px) {
    .mls-atlas-command {
        grid-template-columns: 1fr;
    }

    .mls-atlas-radiusbar {
        border-left: 0;
        border-top: 1px solid var(--mls-line);
        padding: 10px 0 0;
    }

    .mls-atlas-stats {
        grid-template-columns: repeat(5, minmax(100px, 1fr));
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .mls-atlas-priority-item {
        grid-template-columns: 44px minmax(110px, .7fr) minmax(0, 1fr);
    }

    .mls-atlas-priority-time {
        grid-column: 2 / -1;
        text-align: left;
    }
}

@media (max-width: 720px) {
    .mls-atlas {
        width: min(100%, calc(100vw - 10px));
        padding: 10px;
        border-radius: 16px;
    }

    .mls-atlas-hero-compact {
        gap: 8px;
        margin-bottom: 10px;
    }

    .mls-atlas-hero-compact > div:first-child,
    .mls-atlas-live {
        padding: 13px;
    }

    .mls-atlas-hero-compact h1 {
        font-size: 1.75rem;
        line-height: 1.05;
    }

    .mls-atlas-hero-compact p {
        font-size: .88rem;
    }

    .mls-atlas-live strong {
        font-size: 1.15rem;
    }

    .mls-atlas-command {
        padding: 8px;
        border-radius: 14px;
    }

    .mls-atlas-modebar,
    .mls-atlas-radiusbar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .mls-atlas-modebar button,
    .mls-atlas-radiusbar button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: .78rem;
    }

    .mls-atlas-command .mls-atlas-locate-btn {
        width: 100%;
    }

    .mls-atlas-overview-mapfirst .mls-atlas-map-shell {
        min-height: 420px;
        border-radius: 14px;
    }

    .mls-atlas-overview-mapfirst .mls-atlas-map {
        height: 420px;
        min-height: 420px;
    }

    .mls-atlas-map-status {
        top: 8px;
        right: 8px;
        left: auto;
        max-width: calc(100% - 62px);
        font-size: .72rem;
        padding: 6px 9px;
    }

    .mls-atlas-map-legend {
        left: 8px;
        right: 8px;
        bottom: 8px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mls-atlas-map-legend span {
        justify-content: flex-start;
        font-size: .68rem;
        padding: 5px 7px;
    }

    .mls-atlas-nearby-panel {
        border-radius: 14px;
        padding: 10px;
    }

    .mls-atlas-stats {
        grid-template-columns: repeat(5, 104px);
        gap: 7px;
        margin-bottom: 10px;
    }

    .mls-atlas-stat {
        min-height: 74px;
        padding: 10px;
    }

    .mls-atlas-stat strong {
        font-size: 1.3rem;
    }

    .mls-atlas-controls {
        padding: 10px;
        margin-bottom: 14px;
    }

    .mls-atlas-detail-head {
        gap: 7px;
        margin-bottom: 10px;
    }

    .mls-atlas-detail-head h2 {
        font-size: 1.25rem;
    }

    .mls-atlas-detail-head p {
        font-size: .82rem;
    }

    .mls-atlas-priority {
        gap: 7px;
    }

    .mls-atlas-priority-item {
        grid-template-columns: 36px minmax(0, 1fr);
        min-height: 0;
        gap: 8px;
        padding: 10px 10px 10px 13px;
        border-radius: 13px;
    }

    .mls-atlas-priority-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .mls-atlas-priority-info,
    .mls-atlas-priority-time {
        grid-column: 2 / -1;
        text-align: left;
    }

    .mls-atlas-priority-info small {
        display: none;
    }

    .mls-atlas-all-details > summary,
    .mls-atlas-latest > summary,
    .mls-atlas-method > summary {
        padding: 12px;
        font-size: .92rem;
    }

    .mls-atlas-all-details .mls-atlas-register,
    .mls-atlas-latest .mls-atlas-latest-grid,
    .mls-atlas-latest .mls-atlas-empty,
    .mls-atlas-method .mls-atlas-method-grid {
        padding: 10px;
    }

    .mls-atlas-method-grid {
        grid-template-columns: 1fr;
    }

    .mls-atlas-places {
        gap: 7px;
    }

    .mls-atlas-place {
        min-height: 0;
        gap: 8px;
        padding: 11px;
    }

    .mls-atlas-place-main strong {
        font-size: .98rem;
    }

    .mls-atlas-place-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .mls-atlas-mini {
        display: none;
    }

    .mls-atlas-badge {
        font-size: .67rem;
        padding: 4px 7px;
    }

    .mls-atlas-place-foot {
        font-size: .72rem;
    }
}

.mls-atlas-nearby-source {
    color: #fbbf24 !important;
    font-size: .78rem;
    line-height: 1.35;
}


/* Meteoleitstelle Lageatlas 0.3.2: Leaflet-Performance und Tile-Stabilität */
.mls-atlas-map-shell {
    background: #0b1726;
    contain: layout paint;
}

.mls-atlas-map {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

.mls-atlas-map .leaflet-tile,
.mls-atlas-map .leaflet-marker-icon,
.mls-atlas-map .leaflet-overlay-pane svg {
    backface-visibility: hidden;
}

.mls-atlas-map .leaflet-tile-container,
.mls-atlas-map .leaflet-map-pane {
    will-change: transform;
}

.mls-atlas-map .leaflet-tile {
    image-rendering: auto;
}

.mls-atlas-map .leaflet-mls-atlas-boundaries-pane svg path {
    fill: none !important;
    pointer-events: none !important;
}

.mls-atlas-map .leaflet-mls-atlas-warning-areas-pane svg path {
    cursor: pointer;
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, .24));
    transition: fill-opacity .16s ease, stroke-width .16s ease, opacity .16s ease;
    vector-effect: non-scaling-stroke;
}

.mls-atlas-map .leaflet-mls-atlas-warning-areas-pane svg path.cat-civil {
    stroke-linejoin: round;
}

.mls-atlas-map .leaflet-mls-atlas-warning-areas-pane svg path.cat-flood {
    stroke-dasharray: 8 5;
}

.mls-atlas-map .leaflet-mls-atlas-warning-areas-pane svg path.cat-police {
    stroke-dasharray: 3 4;
}


/* Meteoleitstelle Lageatlas 0.3.9: Werkzeugleiste kollisionsfrei neben/unter den Leaflet-Zoomcontrols */
.mls-atlas.mls-atlas-is-fullwidth {
    width: calc(100vw - 16px);
    max-width: none;
    margin-left: calc(50% - 50vw + 8px);
    margin-right: calc(50% - 50vw + 8px);
    border-radius: 18px;
}

@media (min-width: 1024px) {
    .mls-atlas.mls-atlas-is-fullwidth {
        padding-inline: clamp(18px, 2vw, 34px);
    }

    .mls-atlas.mls-atlas-is-fullwidth .mls-atlas-overview-mapfirst .mls-atlas-map-shell {
        min-height: min(78vh, 860px);
    }

    .mls-atlas.mls-atlas-is-fullwidth .mls-atlas-overview-mapfirst .mls-atlas-map {
        height: min(78vh, 860px);
        min-height: 640px;
    }
}

.mls-atlas-map .leaflet-control-zoom {
    margin-top: 12px;
    margin-left: 12px;
    z-index: 485;
}

.mls-atlas-map-actions {
    position: absolute;
    top: 12px;
    left: 62px;
    right: 12px;
    z-index: 470;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: calc(100% - 74px);
    pointer-events: auto;
}

.mls-atlas-map-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 999px;
    background: rgba(7, 17, 31, .92);
    color: #f8fafc;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
    cursor: pointer;
    font-size: .74rem;
    font-weight: 950;
    line-height: 1;
    padding: 8px 11px;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.mls-atlas-map-actions button:hover,
.mls-atlas-map-actions button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, .72);
    background: rgba(14, 36, 60, .96);
    outline: none;
}

.mls-atlas-map-actions button[aria-pressed="true"] {
    color: #03111f;
    border-color: #7dd3fc;
    background: #38bdf8;
}

.mls-atlas-map-actions button:disabled {
    opacity: .72;
    cursor: wait;
    transform: none;
}

.mls-atlas-point-marker {
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    cursor: pointer;
    pointer-events: auto !important;
    background: transparent !important;
    border: 0 !important;
}

.mls-atlas-point-hit {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .38));
}

.mls-atlas-point-hit::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.mls-atlas-point-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .96);
    border-radius: 999px;
    background: var(--mls-atlas-point-color, #22c55e);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 0 0 11px rgba(56, 189, 248, .10);
}

.mls-atlas-point-marker.risk-3 .mls-atlas-point-dot,
.mls-atlas-point-marker.risk-4 .mls-atlas-point-dot {
    width: 21px;
    height: 21px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .16), 0 0 0 13px rgba(251, 146, 60, .14);
}

.mls-atlas-map .leaflet-mls-atlas-forecast-points-pane,
.mls-atlas-map .leaflet-mls-atlas-forecast-points-pane * {
    pointer-events: auto !important;
}

.mls-atlas-map .leaflet-mls-atlas-warning-areas-pane {
    pointer-events: auto;
}

.mls-atlas-map .leaflet-popup {
    z-index: 700;
}

.mls-atlas-map-shell:fullscreen {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    background: #07111f;
}

.mls-atlas-map-shell:fullscreen .mls-atlas-map {
    height: 100vh;
    min-height: 100vh;
}

.mls-atlas-map-shell:fullscreen .mls-atlas-map-legend {
    bottom: 18px;
}

@media (max-width: 720px) {
    .mls-atlas-map .leaflet-control-zoom {
        margin-top: 8px;
        margin-left: 8px;
    }

    .mls-atlas-map-actions {
        top: 58px;
        left: 8px;
        right: 8px;
        max-width: calc(100% - 16px);
        gap: 5px;
    }

    .mls-atlas-map-actions button {
        flex: 1 1 auto;
        min-height: 32px;
        padding: 7px 8px;
        font-size: .68rem;
    }

    .mls-atlas-map-status {
        top: 100px;
        max-width: calc(100% - 16px);
    }
}

/* Meteozentrale Warnzentrum Standalone: Portalbreite, große Karte, Theme-unabhängig */
html,body{margin:0;min-height:100%;background:#050b14;color:#f8fafc;scroll-behavior:smooth}
body.mzwz-standalone{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 15% -10%,rgba(56,189,248,.20),transparent 28%),radial-gradient(circle at 95% 10%,rgba(239,68,68,.12),transparent 25%),#050b14;color:#f8fafc}
.mzwz-page{width:min(1840px,calc(100vw - 22px));margin:0 auto;padding:18px 0 44px}.mzwz-page a{color:inherit}.mzwz-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(148,163,184,.22);background:rgba(7,17,31,.72);backdrop-filter:blur(14px);border-radius:20px;padding:12px 16px;margin-bottom:14px;position:sticky;top:8px;z-index:900}.mzwz-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:950;letter-spacing:.02em}.mzwz-brand i{color:#38bdf8}.mzwz-topnav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.mzwz-topnav a{border:1px solid rgba(148,163,184,.24);background:rgba(255,255,255,.04);border-radius:999px;padding:7px 10px;text-decoration:none;color:#dbeafe;font-size:.82rem;font-weight:850}.mzwz-topnav a:hover{border-color:rgba(56,189,248,.7);background:rgba(56,189,248,.10)}.mzwz-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.55fr);gap:16px;margin-bottom:16px}.mzwz-hero-main,.mzwz-hero-side,.mzwz-section,.mzwz-card{border:1px solid rgba(148,163,184,.22);background:linear-gradient(145deg,rgba(15,29,49,.92),rgba(7,17,31,.88));border-radius:24px;box-shadow:0 22px 64px rgba(0,0,0,.26)}.mzwz-hero-main{padding:clamp(20px,3vw,38px);position:relative;overflow:hidden}.mzwz-hero-main:after{content:"";position:absolute;right:-110px;top:-150px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.28),transparent 66%);pointer-events:none}.mzwz-kicker{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(56,189,248,.38);background:rgba(56,189,248,.10);color:#e0f2fe;border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.mzwz-hero h1{font-size:clamp(2.55rem,5.3vw,6.4rem);line-height:.92;margin:18px 0 14px;font-weight:1000;letter-spacing:-.07em;color:#fff;max-width:1040px}.mzwz-lead{font-size:clamp(1.02rem,1.35vw,1.28rem);line-height:1.65;color:#cbd5e1;max-width:980px;margin:0 0 18px}.mzwz-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.mzwz-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(148,163,184,.28);border-radius:999px;min-height:44px;padding:10px 14px;text-decoration:none;font-weight:950;color:#f8fafc;background:rgba(255,255,255,.055);cursor:pointer}.mzwz-btn.primary{background:#38bdf8;color:#03111f;border-color:#7dd3fc}.mzwz-btn:hover{transform:translateY(-1px);border-color:rgba(125,211,252,.72)}.mzwz-hero-side{padding:18px;display:grid;align-content:start;gap:12px}.mzwz-livebox{border:1px solid rgba(34,197,94,.28);background:rgba(34,197,94,.10);border-radius:18px;padding:16px}.mzwz-livebox span{display:block;color:#bbf7d0;font-size:.74rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em;margin-bottom:5px}.mzwz-livebox strong{display:block;color:#fff;font-size:1.45rem;line-height:1.12}.mzwz-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.mzwz-mini{border:1px solid rgba(148,163,184,.20);background:rgba(255,255,255,.045);border-radius:16px;padding:13px}.mzwz-mini span{display:block;color:#94a3b8;font-size:.72rem;font-weight:950;text-transform:uppercase}.mzwz-mini strong{display:block;color:#fff;font-size:1.55rem;margin-top:4px}.mzwz-section{padding:20px;margin:16px 0}.mzwz-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.mzwz-section h2{font-size:clamp(1.45rem,2.1vw,2.15rem);line-height:1.1;margin:0;color:#fff;letter-spacing:-.035em}.mzwz-section p{color:#cbd5e1;line-height:1.7}.mzwz-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mzwz-card{padding:17px}.mzwz-card i{color:#38bdf8;font-size:1.28rem}.mzwz-card h3{color:#fff;margin:12px 0 7px;font-size:1.08rem}.mzwz-card p{margin:0;color:#cbd5e1;font-size:.93rem}.mzwz-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mzwz-article{display:block;text-decoration:none;border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.045);border-radius:18px;overflow:hidden}.mzwz-article img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#0b1726}.mzwz-article div{padding:13px}.mzwz-article strong{display:block;color:#fff;line-height:1.3;margin-bottom:6px}.mzwz-article span{display:block;color:#94a3b8;font-size:.84rem}.mzwz-faq details{border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.045);border-radius:16px;padding:14px;margin-top:10px}.mzwz-faq summary{cursor:pointer;color:#fff;font-weight:950}.mzwz-faq p{margin:10px 0 0}.mzwz-noscript{border:1px solid rgba(251,146,60,.5);background:rgba(251,146,60,.12);border-radius:18px;padding:16px;margin:16px 0;color:#fed7aa}.mls-atlas{width:100%;margin:0;border-radius:24px;padding:18px;background:linear-gradient(145deg,#07111f 0%,#0d1a2b 54%,#07111f 100%)}.mls-atlas-hero{display:none}.mls-atlas-command{margin-bottom:14px}.mls-atlas-overview.mls-atlas-overview-mapfirst{grid-template-columns:minmax(0,1fr) minmax(320px,.25fr);gap:14px}.mls-atlas-overview-mapfirst .mls-atlas-map-shell{min-height:min(74vh,920px)}.mls-atlas-overview-mapfirst .mls-atlas-map{height:min(74vh,920px);min-height:650px}.mls-atlas-map-actions{top:14px;left:auto;right:14px;max-width:calc(100% - 86px);justify-content:flex-end;z-index:650}.mls-atlas-map .leaflet-control-zoom{margin-top:14px;margin-left:14px;z-index:660}.mls-atlas-map-status{left:14px;right:auto;top:70px;max-width:min(520px,calc(100% - 28px));z-index:640}.mls-atlas-map-legend{z-index:640}.mls-atlas-point-marker,.mls-atlas-point-marker *{pointer-events:auto!important;cursor:pointer}.mls-atlas-div-marker,.mls-atlas-div-marker *{pointer-events:auto!important;cursor:pointer}.mls-atlas-map-shell:fullscreen .mls-atlas-map-actions{top:18px;right:18px}.mls-atlas-map-shell:fullscreen .mls-atlas-map-status{top:76px;left:18px}.mls-atlas.mls-atlas-is-fullwidth{width:calc(100vw - 16px);margin-left:calc(50% - 50vw + 8px);margin-right:calc(50% - 50vw + 8px)}.mzwz-footer{color:#94a3b8;text-align:center;padding:18px;font-size:.86rem}.mzwz-footer a{color:#bfdbfe}@media(max-width:1100px){.mzwz-hero,.mls-atlas-overview.mls-atlas-overview-mapfirst,.mzwz-grid-3,.mzwz-article-grid{grid-template-columns:1fr}.mzwz-topbar{position:relative;top:auto;align-items:flex-start;flex-direction:column}.mls-atlas-overview-mapfirst .mls-atlas-map{height:62vh;min-height:460px}.mls-atlas-overview-mapfirst .mls-atlas-map-shell{min-height:460px}}@media(max-width:720px){.mzwz-page{width:calc(100vw - 12px);padding-top:8px}.mzwz-hero h1{font-size:2.7rem}.mzwz-section,.mzwz-hero-main,.mzwz-hero-side{border-radius:18px;padding:15px}.mzwz-mini-grid{grid-template-columns:1fr}.mls-atlas{padding:10px;border-radius:18px}.mls-atlas-map-actions{top:58px;left:8px;right:8px;max-width:calc(100% - 16px);justify-content:stretch}.mls-atlas-map-status{top:102px;left:8px}.mls-atlas-overview-mapfirst .mls-atlas-map{height:68vh;min-height:430px}.mzwz-topnav a{font-size:.78rem}}


/* Phase 1.4: Bundesland-Stammbaum auf der Kopfseite */
.mzwz-state-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mzwz-state-card{position:relative;display:flex;flex-direction:column;gap:14px;background:linear-gradient(145deg,rgba(19,35,58,.96),rgba(7,17,31,.92));border:1px solid rgba(148,163,184,.22);border-radius:22px;padding:18px;box-shadow:0 14px 34px rgba(0,0,0,.22);overflow:hidden}
.mzwz-state-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#38bdf8,#fb923c,#ef4444)}
.mzwz-state-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.mzwz-state-card-head span{display:block;color:#93c5fd;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.mzwz-state-card-head h3{font-size:1.45rem;margin:0;color:#fff;letter-spacing:-.025em}
.mzwz-state-card-head strong{white-space:nowrap;border:1px solid rgba(56,189,248,.32);background:rgba(56,189,248,.1);color:#e0f2fe;border-radius:999px;padding:6px 10px;font-size:.8rem}
.mzwz-state-metrics{display:flex;flex-wrap:wrap;gap:8px}.mzwz-state-metrics span{border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.045);border-radius:999px;padding:6px 9px;color:#cbd5e1;font-size:.8rem;font-weight:800}
.mzwz-state-hotspots{display:grid;gap:8px}.mzwz-state-hotspots a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#e2e8f0;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.045);border-radius:14px;padding:10px}.mzwz-state-hotspots a:hover{border-color:rgba(56,189,248,.6);background:rgba(56,189,248,.09)}.mzwz-state-hotspots i{color:#fb923c}.mzwz-state-hotspots b{display:block;color:#fff}.mzwz-state-hotspots small{display:block;color:#94a3b8;font-size:.78rem;margin-top:2px}.mzwz-state-link{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;text-decoration:none;border:1px solid rgba(56,189,248,.3);background:rgba(56,189,248,.1);color:#e0f2fe;border-radius:14px;padding:11px 12px;font-weight:950}.mzwz-state-link.is-disabled{color:#94a3b8;background:rgba(255,255,255,.04);border-color:rgba(148,163,184,.18)}
@media(max-width:1050px){.mzwz-state-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.mzwz-state-grid{grid-template-columns:1fr}}

.mzwz-state-empty{display:flex;align-items:center;gap:8px;border:1px solid rgba(34,197,94,.36);border-radius:14px;padding:10px;color:#bbf7d0;background:rgba(34,197,94,.10);font-weight:900;font-size:.84rem}.mzwz-state-empty i{color:#22c55e}.mzwz-card.is-ok{border-color:rgba(34,197,94,.34);background:linear-gradient(145deg,rgba(34,197,94,.10),rgba(7,17,31,.88))}.mzwz-card.is-ok i{color:#22c55e}


/* Phase 1.9: freundlichere Keine-Meldung-Zustände */
.mls-atlas-empty{border-color:rgba(34,197,94,.36);background:rgba(34,197,94,.08);color:#bbf7d0}.mls-atlas-empty strong{color:#dcfce7}.mls-atlas-empty:before{content:"\f058";font-family:"Font Awesome 6 Free";font-weight:900;color:#22c55e;font-size:1.15rem}.mzwz-section-head p{max-width:760px}

/* Phase 2.2: Bundeslandseiten als echte Warnseiten */
.mls-state-hero-warnpage .mls-state-readable-note{max-width:920px;color:#cbd5e1;line-height:1.65;margin:14px 0 0;font-size:1rem}.mls-state-ok-box{border:1px solid rgba(34,197,94,.35);background:rgba(34,197,94,.10);color:#bbf7d0;border-radius:14px;padding:10px;margin-top:10px;font-weight:850}.mls-state-map-panel{border:1px solid rgba(56,189,248,.20);background:linear-gradient(145deg,rgba(8,18,31,.95),rgba(10,26,43,.90));border-radius:24px;padding:18px}.mls-state-map-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.28fr);gap:14px;align-items:stretch}.mls-state-map{height:clamp(380px,52vh,620px);min-height:380px;border:1px solid rgba(148,163,184,.24);border-radius:20px;overflow:hidden;background:#07111f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}.mls-state-map .leaflet-layer{filter:invert(100%) hue-rotate(180deg) brightness(92%) contrast(90%)}.mls-state-map .leaflet-popup-content-wrapper,.mls-state-map .leaflet-popup-tip{background:#0b1726;color:#e5eefc;border:1px solid rgba(148,163,184,.30)}.mls-state-map .leaflet-popup-content a{color:#7dd3fc;font-weight:900}.mls-state-map-legend{border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.045);border-radius:20px;padding:16px;color:#dbeafe}.mls-state-map-legend strong{display:block;color:#fff;font-size:1.05rem;margin-bottom:8px}.mls-state-map-legend p{margin:0 0 12px;color:#cbd5e1;font-size:.92rem;line-height:1.55}.mls-state-legend-row{display:flex;align-items:center;gap:9px;border-top:1px solid rgba(148,163,184,.18);padding:9px 0;color:#e2e8f0;font-weight:850;font-size:.88rem}.mls-state-legend-row span{width:13px;height:13px;border-radius:50%;display:inline-block;box-shadow:0 0 0 3px rgba(255,255,255,.06)}.mls-state-legend-row span[data-cat="civil"]{background:#ef4444}.mls-state-legend-row span[data-cat="weather"]{background:#f97316}.mls-state-legend-row span[data-cat="flood"]{background:#38bdf8}.mls-state-legend-row span[data-cat="police"]{background:#a855f7}.mls-state-warning-grid-strong{grid-template-columns:repeat(3,minmax(0,1fr))}.mls-state-warning-card[data-cat="weather"]{border-color:rgba(249,115,22,.48)}.mls-state-warning-card[data-cat="weather"]:before{background:#f97316}.mls-state-warning-card[data-cat="civil"]{border-color:rgba(239,68,68,.48)}.mls-state-warning-card[data-cat="civil"]:before{background:#ef4444}.mls-state-warning-card[data-cat="flood"]{border-color:rgba(56,189,248,.48)}.mls-state-warning-card[data-cat="flood"]:before{background:#38bdf8}.mls-state-warning-card[data-cat="police"]{border-color:rgba(168,85,247,.48)}.mls-state-warning-card[data-cat="police"]:before{background:#a855f7}.mls-state-empty-ok{border-color:rgba(34,197,94,.38)!important;background:rgba(34,197,94,.09)!important;color:#d1fae5}.mls-state-empty-ok strong{color:#bbf7d0}.mls-state-switcher-compact{display:flex!important;flex-wrap:wrap;gap:8px;opacity:.82}.mls-state-switcher-compact a{flex:0 1 auto;min-width:auto;padding:9px 11px}.mls-state-switcher-compact a span{display:none}.mls-state-search-card{background:linear-gradient(145deg,rgba(14,33,54,.94),rgba(7,17,31,.88));border-color:rgba(56,189,248,.22)}@media(max-width:1100px){.mls-state-map-grid,.mls-state-warning-grid-strong{grid-template-columns:1fr}.mls-state-map{height:52vh}}@media(max-width:680px){.mls-state-map-panel{padding:12px;border-radius:18px}.mls-state-map{min-height:330px;height:56vh;border-radius:16px}.mls-state-map-legend{border-radius:16px;padding:13px}.mls-state-hero-warnpage .mls-state-readable-note{font-size:.94rem}}


/* v2.4 Kopfseite: Transparenz als sichtbarer Abschnitt, bessere Mobil-FAQ */
.mzwz-transparency .mzwz-card p strong{color:#fff}.mzwz-faq details[open]{border-color:rgba(56,189,248,.32);background:rgba(56,189,248,.06)}.mzwz-faq p{max-width:1100px}@media(max-width:720px){.mzwz-hero-actions .mzwz-btn{width:100%}.mzwz-section-head{display:block}.mzwz-state-grid{grid-template-columns:1fr!important}.mzwz-state-card{padding:14px}.mzwz-state-metrics{gap:6px}.mzwz-state-metrics span{font-size:.74rem}.mzwz-topnav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.mzwz-topnav a{text-align:center}.mzwz-article-grid{grid-template-columns:1fr}.mzwz-grid-3{grid-template-columns:1fr!important}}
