.sr-sw {
--sw-flaeche: #fcfcfb;
--sw-seite: #f4f7f9;
--sw-text: #0b0b0b;
--sw-text-2: #52514e;
--sw-text-3: #6f6d68;
--sw-raster: #e1e0d9;
--sw-achse: #c3c2b7;
--sw-rand: rgba(11, 11, 11, 0.10);
--sw-s1: #2a78d6; --sw-s2: #eb6834; --sw-s3: #1baf7a; --sw-andere: #b5b3ab;
--sw-gut: #006300;
--sw-schlecht: #b8322f;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
color: var(--sw-text);
line-height: 1.5;
container-type: inline-size;
}
.sr-sw *, .sr-sw *::before, .sr-sw *::after { box-sizing: border-box; }
.sr-sw h2 { font-size: 1.3rem; margin: 2rem 0 .3rem; line-height: 1.3; }
.sr-sw h3 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.sr-sw p { margin: 0 0 .8rem; }
.sr-sw .sw-klein { font-size: .85rem; color: var(--sw-text-2); }
.sr-sw .sw-laden { padding: 2rem; text-align: center; color: var(--sw-text-2); } .sr-sw .sw-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1rem 0 .5rem; }
@container (max-width: 640px) { .sr-sw .sw-kacheln { grid-template-columns: 1fr; } }
.sr-sw .sw-kachel {
background: var(--sw-flaeche); border: 1px solid var(--sw-rand); border-radius: 10px; padding: 14px 16px;
}
.sr-sw .sw-kachel-titel { font-size: .85rem; color: var(--sw-text-2); margin-bottom: 4px; }
.sr-sw .sw-kachel-wert { font-size: 2rem; font-weight: 650; line-height: 1.15; }
.sr-sw .sw-kachel-wert small { font-size: 1rem; font-weight: 500; color: var(--sw-text-2); margin-left: 4px; }
.sr-sw .sw-kachel-zusatz { font-size: .85rem; color: var(--sw-text-2); margin-top: 4px; }
.sr-sw .sw-delta-gut { color: var(--sw-gut); font-weight: 600; }
.sr-sw .sw-delta-schlecht { color: var(--sw-schlecht); font-weight: 600; } .sr-sw .sw-karte {
background: var(--sw-flaeche); border: 1px solid var(--sw-rand); border-radius: 10px;
padding: 14px 16px 10px; margin: .8rem 0 1rem;
}
.sr-sw .sw-filter { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; margin-bottom: 10px; }
.sr-sw .sw-filter label { display: flex; flex-direction: column; font-size: .78rem; color: var(--sw-text-2); gap: 2px; }
.sr-sw .sw-filter select, .sr-sw .sw-filter button {
font: inherit; font-size: .92rem; color: var(--sw-text); background: #fff;
border: 1px solid var(--sw-achse); border-radius: 6px; padding: 5px 8px; min-height: 34px;
}
.sr-sw .sw-filter select { max-width: 230px; }
.sr-sw .sw-filter button { cursor: pointer; }
.sr-sw .sw-filter button:hover { background: var(--sw-seite); }
.sr-sw .sw-segment { display: inline-flex; border: 1px solid var(--sw-achse); border-radius: 6px; overflow: hidden; }
.sr-sw .sw-segment button { border: 0; border-radius: 0; min-height: 32px; }
.sr-sw .sw-segment button + button { border-left: 1px solid var(--sw-achse); }
.sr-sw .sw-segment button[aria-pressed="true"] { background: var(--sw-text); color: #fff; }
.sr-sw .sw-diagramm-titel { font-weight: 600; font-size: .95rem; margin: 4px 0 0; }
.sr-sw .sw-legende { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .82rem; color: var(--sw-text-2); margin: 4px 0 2px; }
.sr-sw .sw-legende span { display: inline-flex; align-items: center; gap: 6px; }
.sr-sw .sw-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sr-sw .sw-legende i.sw-linie { height: 3px; border-radius: 2px; width: 16px; }
.sr-sw .sw-legende i.sw-band { opacity: .22; }
.sr-sw .sw-plot { position: relative; width: 100%; }
.sr-sw .sw-plot svg { display: block; width: 100%; overflow: visible; }
.sr-sw .sw-plot text { font-size: 11px; fill: var(--sw-text-3); font-variant-numeric: tabular-nums; }
.sr-sw .sw-leer { padding: 40px 0; text-align: center; color: var(--sw-text-2); font-size: .9rem; }
.sr-sw .sw-tip {
position: absolute; pointer-events: none; z-index: 5; min-width: 150px; max-width: 260px;
background: #fff; border: 1px solid var(--sw-rand); border-radius: 8px;
box-shadow: 0 4px 16px rgba(0, 0, 0, .12); padding: 8px 10px; font-size: .82rem; line-height: 1.4;
}
.sr-sw .sw-tip b { display: block; margin-bottom: 3px; }
.sr-sw .sw-tip .sw-zeile { display: flex; justify-content: space-between; gap: 12px; }
.sr-sw .sw-tip .sw-zeile span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--sw-text-2); }
.sr-sw .sw-tip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sr-sw .sw-tip .sw-hinweis { color: var(--sw-text-2); margin-top: 4px; font-size: .78rem; }
.sr-sw details { margin: 6px 0 2px; font-size: .85rem; }
.sr-sw summary { cursor: pointer; color: var(--sw-text-2); }
.sr-sw .sw-tabelle-rahmen { overflow-x: auto; max-height: 320px; margin-top: 6px; }
.sr-sw table { border-collapse: collapse; width: 100%; font-size: .82rem; font-variant-numeric: tabular-nums; }
.sr-sw th, .sr-sw td { padding: 4px 8px; border-bottom: 1px solid var(--sw-raster); text-align: right; white-space: nowrap; }
.sr-sw th:first-child, .sr-sw td:first-child { text-align: left; }
.sr-sw th { position: sticky; top: 0; background: var(--sw-flaeche); font-weight: 600; } .sr-sw .sw-karte-box { position: relative; margin: 4px 0 10px; border-radius: 8px; overflow: hidden; border: 1px solid var(--sw-rand); }
.sr-sw .sw-map { height: 380px; background: #dfe9f0; }
@container (max-width: 640px) { .sr-sw .sw-map { height: 300px; } }
.sr-sw .sw-map-legende {
position: absolute; left: 8px; top: 8px; max-width: calc(100% - 60px); background: rgba(255, 255, 255, .94);
border: 1px solid var(--sw-rand); border-radius: 8px; padding: 6px 10px; font-size: .8rem; line-height: 1.45;
display: flex; flex-direction: column; gap: 1px; pointer-events: none;
}
.sr-sw .sw-map-legende b { font-weight: 600; margin-bottom: 2px; }
.sr-sw .sw-map-legende span { display: inline-flex; align-items: center; gap: 6px; }
.sr-sw .sw-map-legende i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; flex: none; }
.sr-sw .sw-map-hinweis {
position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
background: rgba(255, 255, 255, .7); font-size: .9rem; color: var(--sw-text-2);
}
.sr-sw .sw-map-hinweis[hidden] { display: none; }
.sr-sw .sw-map-hoch { height: 460px; }
@container (max-width: 640px) { .sr-sw .sw-map-hoch { height: 340px; } }
.sr-sw .sw-segment .sw-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.sr-sw .sw-segment button[aria-pressed="false"] .sw-punkt { opacity: .35; }
.maplibregl-popup.sw-popup .maplibregl-popup-content {
font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #0b0b0b;
padding: 8px 10px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.maplibregl-popup.sw-popup .maplibregl-popup-content span { color: #52514e; } @container (max-width: 640px) {
.sr-sw .sw-map-legende { position: static; max-width: none; border: 0; border-top: 1px solid var(--sw-rand); border-radius: 0; font-size: .8rem; }
}
.sr-sw .sw-map-legende[hidden] { display: none; }
.sr-sw .sw-satz { font-size: .95rem; margin: 6px 0 4px; }
.sr-sw .sw-hinweisbox {
background: var(--sw-seite); border-radius: 8px; padding: 12px 14px; font-size: .88rem; color: var(--sw-text-2);
}
.sr-sw .sw-hinweisbox ul { margin: .3rem 0 0; padding-left: 1.2rem; }