/* Sybos-Anzeigen der Feuerwehr Ludesch. Farben ueber CSS-Variablen, das Template kann sie setzen. */
.sybos-uebersicht, .sybos-letzte, .sybos-band, .sybos-einsatz {
	--s-rot: var(--sybos-rot, #d42a2f);
	--s-blau: var(--sybos-blau, #3d6fb4);
	--s-tinte: var(--sybos-tinte, #1d2026);
	--s-grau: var(--sybos-grau, #5d636e);
	--s-hell: var(--sybos-hell, #8a909b);
	--s-linie: var(--sybos-linie, #e6e8ec);
	--s-flaeche: var(--sybos-flaeche, #f5f6f8);
	--s-radius: var(--sybos-radius, 14px);
}
.sybos-farbe-brand { background: var(--s-rot); }
.sybos-farbe-technisch { background: var(--s-blau); }
.sybos-hinweis { color: var(--s-grau); padding: 1rem 0; }
.sybos-code { font-size: .72rem; font-weight: 700; color: var(--s-grau); border: 1px solid var(--s-linie); border-radius: 6px; padding: 1px 6px; text-decoration: none; cursor: help; white-space: nowrap; font-style: normal; }
.sybos-klein { color: var(--s-hell); font-size: .8rem; margin: 6px 0 0; }

/* Uebersicht */
.sybos-kopf { margin-bottom: 20px; }
.sybos-titel { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.sybos-jahre { display: flex; gap: 4px; overflow-x: auto; padding: 3px; border: 1px solid var(--s-linie); border-radius: 12px; width: max-content; max-width: 100%; scrollbar-width: thin; }
.sybos-jahre a { flex: none; text-decoration: none; color: var(--s-grau); font-weight: 600; padding: 6px 12px; border-radius: 9px; }
.sybos-jahre a:hover { color: var(--s-tinte); background: var(--s-flaeche); }
.sybos-jahre a[aria-current] { background: var(--s-tinte); color: #fff; }
.sybos-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.sybos-kpi { background: var(--s-flaeche); border-radius: var(--s-radius); padding: 18px; }
.sybos-kpi b { display: block; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; }
.sybos-kpi span { color: var(--s-grau); font-size: .9rem; }
.sybos-panel { border: 1px solid var(--s-linie); border-radius: var(--s-radius); padding: 18px 18px 12px; margin-bottom: 18px; position: relative; background: #fff; }
.sybos-panel-kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.sybos-panel h2 { margin: 0; font-size: 1.05rem; }
.sybos-legende { display: flex; gap: 14px; font-size: .86rem; color: var(--s-grau); align-items: center; flex-wrap: wrap; }
.sybos-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.sybos-link-knopf { font: inherit; font-size: .86rem; background: none; border: 0; color: var(--s-blau); cursor: pointer; text-decoration: underline; padding: 0; }
.sybos-diagramm svg { width: 100%; height: auto; display: block; overflow: visible; }
.sybos-diagramm text { font-size: 11px; fill: var(--s-hell); }
.sybos-tooltip { position: absolute; pointer-events: none; background: var(--s-tinte); color: #fff; font-size: .82rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transition: opacity .1s; z-index: 5; left: 0; top: 0; }
.sybos-daten { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 6px 0 10px; }
.sybos-daten th, .sybos-daten td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--s-linie); }
.sybos-daten th:first-child, .sybos-daten td:first-child { text-align: left; }
.sybos-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sybos-sw-gruppe h3 { margin: 10px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--s-grau); display: flex; align-items: center; gap: 8px; }
.sybos-sw-gruppe h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sybos-sw { list-style: none; margin: 0; padding: 0; }
.sybos-sw li { display: grid; grid-template-columns: 44px minmax(0, 1.3fr) minmax(50px, 1fr) 24px; gap: 10px; align-items: center; padding: 5px 0; font-size: .9rem; }
.sybos-sw .sybos-code { text-align: center; cursor: default; }
.sybos-sw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sybos-balken { height: 10px; background: var(--s-flaeche); border-radius: 5px; overflow: hidden; }
.sybos-balken i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.sybos-sw b { text-align: right; }
.sybos-segment { display: inline-flex; gap: 4px; border: 1px solid var(--s-linie); border-radius: 12px; padding: 3px; }
.sybos-segment button { font: inherit; border: 0; background: none; padding: 6px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--s-grau); }
.sybos-segment button[aria-pressed="true"] { background: var(--s-tinte); color: #fff; }
.sybos-liste { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sybos-liste td { padding: 10px 8px; border-bottom: 1px solid var(--s-linie); vertical-align: top; }
.sybos-liste tr:last-child td { border-bottom: 0; }
.sybos-datum { white-space: nowrap; color: var(--s-grau); font-variant-numeric: tabular-nums; width: 110px; }
.sybos-rechts { text-align: right; white-space: nowrap; width: 1%; }
.sybos-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; flex: none; }
.sybos-ort { display: block; color: var(--s-grau); font-size: .86rem; }
.sybos-mehr { font-size: .86rem; color: var(--s-rot); font-weight: 600; margin-left: 8px; }
.sybos-monat { display: grid; grid-template-columns: 130px 1fr; gap: 24px; margin-top: 12px; }
.sybos-monat h3 { font-size: 1.05rem; margin: 2px 0 0; }
.sybos-monat h3 small { display: block; color: var(--s-grau); font-weight: 500; font-size: .85rem; }
.sybos-strahl { list-style: none; margin: 0 0 18px; padding: 0 0 0 26px; border-left: 2px solid var(--s-linie); }
.sybos-strahl li { position: relative; padding: 0 0 20px; }
.sybos-strahl li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px currentColor; background: currentColor; }
.sybos-strahl li.sybos-brand { color: var(--s-rot); }
.sybos-strahl li.sybos-technisch { color: var(--s-blau); }
.sybos-zeile { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; color: var(--s-tinte); }
.sybos-wann { color: var(--s-grau); font-size: .88rem; }
.sybos-strahl p { margin: 2px 0 0; color: var(--s-grau); font-size: .9rem; }
.sybos-strahl .sybos-mehr { margin-left: 0; }

/* Letzte Einsaetze (Startseite) */
.sybos-letzte-kopf { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sybos-letzte-titel { margin: 0; }
.sybos-filter { display: flex; gap: 8px; }
.sybos-filter button { font: inherit; font-weight: 600; border: 1.5px solid var(--s-linie); background: #fff; color: var(--s-tinte); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.sybos-filter button[aria-pressed="true"] { background: var(--s-tinte); border-color: var(--s-tinte); color: #fff; }
.sybos-ticker { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--s-tinte); }
.sybos-ticker li { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--s-linie); }
.sybos-ticker li[hidden] { display: none; }
.sybos-tag { text-align: center; line-height: 1; }
.sybos-tag b { display: block; font-size: 2.2rem; font-weight: 800; }
.sybos-tag span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--s-grau); }
.sybos-inhalt h3 { margin: 0 0 2px; font-size: 1.2rem; display: flex; gap: 10px; align-items: center; }
.sybos-inhalt h3 .sybos-punkt { width: 10px; height: 10px; border-radius: 3px; margin: 0; }
.sybos-inhalt h3 a { color: inherit; text-decoration: none; }
.sybos-inhalt h3 a:hover { text-decoration: underline; }
.sybos-inhalt p { margin: 0; color: var(--s-grau); font-size: .95rem; }
.sybos-zeit { color: var(--s-grau); font-variant-numeric: tabular-nums; font-size: .95rem; text-align: right; white-space: nowrap; }
.sybos-zeit abbr { text-decoration: none; }
.sybos-alle-link { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--s-rot); text-decoration: none; }
.sybos-alle-link:hover { text-decoration: underline; }

/* Zahlenstreifen */
.sybos-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.sybos-band-zahl { padding: 26px 8px; border-left: 1px solid rgba(255, 255, 255, .22); }
.sybos-band-zahl:first-child { border-left: 0; }
.sybos-band b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.sybos-band span { font-size: .9rem; opacity: .9; }

/* Detail */
.sybos-einsatz-datum { color: var(--s-grau); margin: 0 0 6px; }
.sybos-einsatz .sybos-titel { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sybos-einsatz .sybos-titel .sybos-code { font-size: .9rem; }
.sybos-einsatz .sybos-ort { font-size: 1.05rem; margin: 0 0 18px; }
.sybos-text { font-size: 1.05rem; max-width: 46em; }
.sybos-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; margin: 20px 0; }
.sybos-bilder img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; aspect-ratio: 3 / 2; }
.sybos-zurueck a { font-weight: 700; color: var(--s-rot); text-decoration: none; }

@media (max-width: 760px) {
	.sybos-kpis { grid-template-columns: repeat(2, 1fr); }
	.sybos-zwei { grid-template-columns: 1fr; }
	.sybos-datum { white-space: normal; width: 64px; }
	.sybos-monat { grid-template-columns: 1fr; gap: 6px; }
	.sybos-ticker li { grid-template-columns: 64px 1fr; gap: 14px; }
	.sybos-tag b { font-size: 1.7rem; }
	.sybos-zeit { grid-column: 2; text-align: left; font-size: .85rem; margin-top: -10px; }
	.sybos-band { grid-template-columns: repeat(2, 1fr); }
	.sybos-band-zahl:nth-child(3) { border-left: 0; }
	.sybos-band-zahl { border-top: 1px solid rgba(255, 255, 255, .22); }
}
