/* KI-Barometer – nur auf /barometer/ geladen; Farben und Formen aus styles.css */
.b-wrap { padding-top: 26px; padding-bottom: 48px; }
.b-hinweis { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 22px; }
.b-hinweis p { margin: 0; font-size: .97rem; }
.b-hinweis-ico { flex: none; width: 34px; height: 34px; }
.b-hinweis-ico svg { display: block; width: 100%; height: 100%; }

.b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 20px; margin-bottom: 20px; }
.b-grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.b-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.b-grid > .b-box { margin-bottom: 0; }
.b-box h2, .b-sec h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0 0 14px; }
.b-sec { margin: 30px 0 20px; }
.b-sub { font: 500 14px/1.5 var(--ui); color: var(--muted); margin: -6px 0 14px; }

.b-erkl { font: 500 14px/1.5 var(--ui); color: var(--muted); margin: -6px 0 14px; max-width: 75ch; }
.b-erkl strong { color: var(--ink); }

/* Tempo */
.b-tempo { text-align: center; }
.b-tacho { display: block; width: 100%; max-width: 320px; margin: 0 auto; overflow: visible; }
.b-tacho-l { font: 600 11.5px var(--ui); fill: var(--muted); }
.b-tacho-l.is-on { font-weight: 800; fill: var(--ink); }
.b-tempo-wert { font: 600 18px/1.3 var(--ui); margin: 6px 0 8px; }
.b-tempo-wert strong { color: #C2410C; text-transform: uppercase; letter-spacing: .04em; }
.b-tempo p:last-child { font-size: .95rem; color: var(--text); margin: 0; }

/* Kurve */
.b-kurve { display: block; width: 100%; height: auto; }
.b-achse { font: 500 12px var(--ui); fill: var(--muted); }
.b-phase { font: 700 12px var(--ui); fill: #0D2F59; letter-spacing: .02em; }
.b-heute { font: 800 13px var(--ui); fill: #0D2F59; }
.b-prog { font: 700 12px var(--ui); fill: var(--blue-dark); }
.b-sig { stroke: #fff; stroke-width: 1.5; }
.b-sig.is-druck { fill: #FF9F6E; }
.b-sig.is-wandel { fill: #0BA6FF; }
.b-sig.is-bremst { fill: #6BAF3A; }
.b-legende, .b-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 500 13px/1.4 var(--ui); color: var(--muted); }
.b-legende { margin: 8px 0 0; }
.b-l { display: inline-block; width: 22px; height: 6px; border-radius: 3px; margin-right: -8px; vertical-align: middle; }
.b-l-ist { background: #0D2F59; }
.b-l-prog { background: repeating-linear-gradient(90deg, #0BA6FF 0 7px, transparent 7px 11px); box-shadow: 0 0 0 5px rgba(11,166,255,.14); }
.b-l-sig { width: 10px; height: 10px; border-radius: 50%; background: #FF9F6E; }
.b-l-heute { background: #0D2F59; }
.b-l-dann { background: repeating-linear-gradient(45deg, #0BA6FF 0 4px, #8FD3FF 4px 8px); }

/* Tätigkeiten */
.b-skala { display: flex; justify-content: space-between; font: 700 11px/1 var(--ui); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 8px; padding-left: calc(38% + 14px); }
.b-tasks { list-style: none; padding: 0; margin: 0; }
.b-tasks li { display: grid; grid-template-columns: 38% 1fr; gap: 14px; align-items: center; padding: 8px 0; border-top: 1px solid #EEF0F3; }
.b-task-name { font: 600 14.5px/1.35 var(--ui); color: var(--ink); }
.b-task-bar { position: relative; height: 18px; border-radius: 9px; background: linear-gradient(90deg, #DCF2C0, #F8F5A6 50%, #FFE0C8); overflow: visible; }
.b-task-heute { position: absolute; left: 0; top: 0; bottom: 0; background: #0D2F59; border-radius: 9px 0 0 9px; }
.b-task-dann { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, #0BA6FF 0 4px, #8FD3FF 4px 8px); }
.b-task-ziel { position: absolute; top: 50%; width: 0; height: 0; transform: translate(-2px, -50%); border-left: 11px solid #0BA6FF; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* Info-Knopf bei den Tätigkeiten */
.b-tasks li { position: relative; }
.b-info { display: inline-block; margin-left: 6px; vertical-align: 1px; }
.b-info > summary { list-style: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--blue-dark); color: var(--blue-dark); font: 800 12px/1 Georgia, serif; font-style: italic; cursor: pointer; user-select: none; }
.b-info > summary::-webkit-details-marker { display: none; }
.b-info > summary:hover, .b-info[open] > summary { background: var(--blue-dark); color: #fff; }
.b-info > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.b-info-text { position: absolute; z-index: 3; left: 0; top: calc(100% - 4px); width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; box-shadow: 0 8px 28px rgba(13,47,89,.16); padding: 12px 14px; font: 500 14px/1.5 var(--ui); color: var(--text); }

/* Tendenzen */
.b-tend { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.b-tend-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.b-tend-card h3 { font-size: 1.08rem; margin: 0 0 4px; }
.b-tend-card p { margin: 0; font-size: .94rem; line-height: 1.45; }
.b-tend-card .b-quelle { margin-top: 6px; font: 600 12.5px/1.3 var(--ui); color: var(--muted); }
.b-tend-card .b-quelle a { color: var(--blue-dark); }
.b-pfeil { flex: none; display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 6px; border-radius: 12px; font: 800 22px/1 var(--ui); letter-spacing: -4px; }
.is-down2 { border-left-color: #E4572E; } .is-down2 .b-pfeil { background: #FFE3D6; color: #C2410C; }
.is-down { border-left-color: #FF9F6E; } .is-down .b-pfeil { background: #FFF0E6; color: #C2410C; }
.is-up { border-left-color: #8FD3FF; } .is-up .b-pfeil { background: var(--blue-tint); color: var(--blue-dark); }
.is-up2 { border-left-color: var(--blue); } .is-up2 .b-pfeil { background: var(--blue-light); color: #0D2F59; }

/* Signale */
.b-signale { list-style: none; padding: 0; margin: 0; position: relative; }
.b-signale::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: #E5E8EC; }
.b-signale li { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 4px 10px; align-items: baseline; padding: 0 0 14px 24px; }
.b-signale li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #FF9F6E; box-shadow: 0 0 0 3px #fff; }
.b-signale li.is-wandel::before { background: #0BA6FF; }
.b-signale li.is-bremst::before { background: #6BAF3A; }
.b-signale time { font: 700 12.5px/1.4 var(--ui); color: var(--muted); white-space: nowrap; }
.b-sig-tag { font: 800 10.5px/1.4 var(--ui); text-transform: uppercase; letter-spacing: .06em; padding: 1px 7px; border-radius: 999px; background: #FFF0E6; color: #C2410C; }
.is-wandel .b-sig-tag { background: var(--blue-tint); color: var(--blue-dark); }
.is-bremst .b-sig-tag { background: #EAF6DC; color: #3F7A1C; }
.b-sig-text { grid-column: 1 / -1; font-size: .95rem; line-height: 1.45; }
.b-sig-text a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 3px; }

/* Prognose */
.b-prognose { background: #DCF2C0; border-color: #A6D96A; }
.b-prognose ul { list-style: none; padding: 0; margin: 0; }
.b-prognose li { position: relative; padding-left: 26px; margin: 0 0 12px; }
.b-prognose li::before { content: "→"; position: absolute; left: 2px; top: 0; font-weight: 800; color: #3F7A1C; }

/* Übersicht: Kacheln */
.b-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.b-kachel { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s, border-color .15s; }
.b-kachel:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(11,166,255,.14); }
.b-kachel-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.b-kachel-link:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; }
.b-kachel-kopf { display: flex; gap: 16px; align-items: center; }
.b-kachel-tacho { flex: none; width: 130px; }
.b-kachel-tacho .b-tacho-l { display: none; }
.b-kachel h2 { font-size: 1.35rem; margin: 2px 0 4px; }
.b-kachel .kicker { margin: 0; }
.b-kachel-tempo { margin: 0; font: 600 15px/1.3 var(--ui); }
.b-kachel-tempo strong { color: #C2410C; text-transform: uppercase; letter-spacing: .04em; }
.b-kachel-intro { margin: 0; font-size: .95rem; line-height: 1.5; }
.b-kachel-trends { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.b-kachel-trends li { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--ui); }
.b-kachel-trends .b-pfeil { min-width: 34px; height: 28px; font-size: 14px; border-radius: 8px; letter-spacing: -3px; }
.b-mix { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.b-mix .is-druck, .b-mix-p.is-druck { background: #FF9F6E; }
.b-mix .is-wandel, .b-mix-p.is-wandel { background: #0BA6FF; }
.b-mix .is-bremst, .b-mix-p.is-bremst { background: #6BAF3A; }
.b-mix-l { margin: -4px 0 0; font: 500 12.5px/1.6 var(--ui); color: var(--muted); }
.b-mix-i { white-space: nowrap; margin-right: 10px; }
.b-mix-p { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }
.b-kachel-fuss { margin: auto 0 0; padding-top: 10px; border-top: 1px solid #EEF0F3; display: flex; justify-content: space-between; gap: 10px; font: 600 13px/1.4 var(--ui); color: var(--muted); }
.b-kachel-mehr { color: var(--blue-dark); white-space: nowrap; }
.b-kachel-bald { background: transparent; border-style: dashed; justify-content: center; color: var(--muted); }
.b-kachel-bald:hover { border-color: var(--line); box-shadow: none; }
.b-kachel-bald h2 { color: var(--ink); }

@media (max-width: 860px) {
  .b-grid, .b-grid-2 { grid-template-columns: 1fr; }
  .b-grid > .b-box { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .b-box { padding: 18px 16px; margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .b-tasks li { grid-template-columns: 1fr; gap: 6px; }
  .b-skala { padding-left: 0; }
  .b-phase { font-size: 15px; }
  .b-achse { font-size: 15px; }
  .b-heute, .b-prog { font-size: 17px; }
}
@media print { .b-hinweis { border-width: 1px; } }
