/* Schlag- und Tritt-Analyse – Logik in web/src/schlag/ (npm run build:schlag) */
.bs-main { max-width: 860px; }
#bs { display: flex; flex-direction: column; gap: 16px; margin-bottom: var(--sp-7, 48px); }
.bs-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); }
.bs-card h2, .bs-card h3 { margin: 0 0 10px; }
.bs-fine { font-size: .86rem; color: var(--muted); }
.bs-link { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.bs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bs-mitte { justify-content: center; }
.bs-hero { text-align: center; color: #fff; border: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.2), transparent 50%), linear-gradient(135deg, var(--c1, #4ade80), var(--c2, #059669)); }
.bs-hero p { max-width: 560px; margin: 6px auto 14px; opacity: .92; }
.bs-hero-ico { font-size: 60px; line-height: 1; animation: bsWipp 1.6s ease-in-out infinite; }
.bs-hero .seg { background: rgba(255,255,255,.2); }
.bs-hero .seg-btn { color: #fff; font-size: 1.05rem; }
.bs-hero .seg-btn[aria-pressed="true"] { color: var(--c2, #059669); background: #fff; }
@keyframes bsWipp { 50% { transform: rotate(-12deg) scale(1.08); } }
.bs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 18px; }
.bs-feld { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.bs-feld > span { font-size: .9rem; }
.bs-feld .h-select { flex: 1; min-width: 0; }
.bs-ref { margin: 14px 0; padding: 10px 12px; border-radius: 14px; background: var(--surface-2, #f3f4f6); }
.bs-start { width: 100%; font-size: 1.15rem; min-height: 54px; }

.bs-lauf { text-align: center; }
.bs-lauf.pause { background: var(--surface-2, #f3f4f6); }
.bs-lauf-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.bs-uhr { font-size: 2.2rem; font-variant-numeric: tabular-nums; }
.bs-phase { color: var(--muted); }
.bs-wert { font-size: clamp(5rem, 22vw, 9rem); font-weight: 900; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.bs-wert.pop { animation: bsPop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bsPop { from { transform: scale(1.35); } }
.bs-werttxt { color: var(--muted); margin-bottom: 10px; }
.bs-pegel { height: 10px; border-radius: 5px; background: var(--surface-2, #eee); overflow: hidden; max-width: 420px; margin: 0 auto 12px; }
.bs-pegel i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #22c55e, #eab308 80%, #ef4444); }
.bs-pegel.voll { outline: 2px solid #ef4444; }
.bs-warn { color: #b45309; background: #fef3c7; padding: 8px 12px; border-radius: 12px; }
.bs-zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0; }
.bs-zahlen div { display: flex; flex-direction: column; }
.bs-zahlen b { font-size: 1.5rem; }
.bs-zahlen span { font-size: .8rem; color: var(--muted); }
.bs-live { width: 100%; height: 120px; display: block; margin-bottom: 12px; }
.bs-urteil { font-size: 1.05rem; }
.bs-kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.bs-k { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: var(--surface-2, #f5f5f7); }
.bs-k span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.bs-k b { font-size: 1.45rem; }
.bs-k small { color: var(--muted); font-size: .75rem; }
.bs-cv { width: 100%; height: 220px; display: block; }
.bs-cv-s { height: 180px; }
.bs-zwei { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.bs-leg { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.bs-leg i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
@media (max-width: 560px) { .bs-zahlen b { font-size: 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .bs-hero-ico, .bs-wert.pop { animation: none; } }
.bs-probe { margin-top: 14px; }
.bs-einst > summary { cursor: pointer; font-weight: 700; padding: 4px 0 10px; }
