/* Hub - Infrastruktur (infra.js): Karte (.ik-*), Backups (.ib-*), Widgets "karte" (.ik-w*) und "backups" (.ib-w*).
   Baut auf theme.css (Tokens, h-Bausteine) und home.css (Widget-Rahmen .hw/.hw-box) auf.
   iOS 12: kein Flex-gap (Abstaende per margin), Grid-gap doppelt (grid-gap + gap), keine clamp/min/max, kein inset.
   Animationen nur hier (Klassen aus infra.js), unter prefers-reduced-motion aus. */

/* =================================================== Sternbild (SVG) ==== */
.ik-svg { display: block; overflow: hidden; }
.ik-svg text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.ik-svg.ik-dim { opacity: .55; }
.ik-gl { font-weight: 700; letter-spacing: .14em; }
.ik-gl-n { fill: #b4bdd6; font-weight: 600; letter-spacing: .02em; }
.ik-nl { fill: rgba(226,232,240,.66); font-weight: 650; }
.ik-cl { fill: #e2e8f0; font-weight: 700; letter-spacing: .26em; }
.ik-orbit { fill: none; stroke: rgba(148,163,184,.26); stroke-width: 1; stroke-dasharray: 1 9; stroke-linecap: round;
  animation: ik-orbit 140s linear infinite; }
.ik-orbit.o2 { stroke: rgba(94,234,212,.36); stroke-dasharray: 1 5; animation-duration: 60s; animation-direction: reverse; }
.ik-orbit.o3 { stroke: rgba(167,139,250,.26); stroke-dasharray: 2 7; animation-duration: 95s; }
.ik-link { fill: none; stroke-width: 1.1; opacity: .3; }
.ik-flow { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 30; opacity: .95;
  animation: ik-flow 3.2s linear infinite; }
.ik-flow.f1 { animation-delay: -.7s; } .ik-flow.f2 { animation-delay: -1.5s; } .ik-flow.f3 { animation-delay: -2.2s; }
.ik-flow.f4 { animation-delay: -2.8s; }
.ik-ring { fill: none; stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .5; animation: ik-ring 46s linear infinite; }
.ik-ring.rev { animation-direction: reverse; animation-duration: 58s; }
.ik-mst { stroke-width: 1; opacity: .5; }
.ik-moon { fill: #e2e8f0; }
.ik-moon.down { fill: #fb7185; }
.ik-star.off { opacity: .75; }
.ik-glint { fill: #ffffff; opacity: .5; }
.ik-glint.core { opacity: .75; }
.ik-alert { fill: none; animation: ik-alert 1.8s ease-in-out infinite; }
.ik-alert.warn { stroke: #fbbf24; }
.ik-alert.crit { stroke: #fb7185; }
.ik-s-off .ik-moon { opacity: .4; }
.ik-tw { animation: ik-tw 5s ease-in-out infinite alternate; }
.ik-tw2 { animation-duration: 7s; animation-delay: -2.4s; }
.ik-tw3 { animation-duration: 9.5s; animation-delay: -5.1s; }
.ik-core-halo { animation: ik-breathe 6s ease-in-out infinite alternate; }
/* erstes Zeichnen: die Sterne leuchten nacheinander auf */
.ik-intro .ik-node, .ik-intro .ik-grps, .ik-intro .ik-links { animation: ik-in .9s cubic-bezier(.2,.8,.2,1) both; }
.ik-intro .ik-grps { animation-delay: .25s; }
.ik-intro .ik-links { animation-delay: .5s; animation-duration: 1.4s; }
.ik-intro .ik-dl1 { animation-delay: .06s; } .ik-intro .ik-dl2 { animation-delay: .12s; } .ik-intro .ik-dl3 { animation-delay: .18s; }
.ik-intro .ik-dl4 { animation-delay: .24s; } .ik-intro .ik-dl5 { animation-delay: .3s; } .ik-intro .ik-dl6 { animation-delay: .36s; }
.ik-intro .ik-dl7 { animation-delay: .42s; } .ik-intro .ik-dl8 { animation-delay: .48s; } .ik-intro .ik-dl9 { animation-delay: .54s; }
.ik-intro .ik-dl10 { animation-delay: .6s; } .ik-intro .ik-dl11 { animation-delay: .66s; }

@keyframes ik-orbit { to { stroke-dashoffset: -400; } }
@keyframes ik-ring { to { stroke-dashoffset: 140; } }
@keyframes ik-flow { from { stroke-dashoffset: 32; } to { stroke-dashoffset: 0; } }
@keyframes ik-tw { 0% { opacity: .12; } 100% { opacity: .95; } }
@keyframes ik-alert { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes ik-breathe { 0% { opacity: .6; } 100% { opacity: 1; } }
@keyframes ik-in { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Gruppenfarben (wie GROUPS in infra.js) */
.ik-c-hub { background: #ff8f6b; box-shadow: 0 0 10px rgba(255,143,107,.75); }
.ik-c-cloud { background: #22d3ee; box-shadow: 0 0 10px rgba(34,211,238,.75); }
.ik-c-media { background: #f472b6; box-shadow: 0 0 10px rgba(244,114,182,.75); }
.ik-c-twitch { background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,.75); }
.ik-c-infra { background: #60a5fa; box-shadow: 0 0 10px rgba(96,165,250,.75); }

/* ====================================================== Karte: Hero ===== */
.h-panel.ik-hero { position: relative; display: flex; align-items: stretch; min-height: 540px; padding: 0; overflow: hidden; }
.ik-sky {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; border-radius: 23px;
  background: radial-gradient(ellipse 60% 75% at 70% 50%, rgba(52,68,138,.32) 0%, rgba(17,24,48,.16) 55%, rgba(5,7,13,0) 100%);
}
.ik-sky > svg { position: absolute; top: 0; left: 0; }
.ik-sky.ik-wait::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.04) 50%, rgba(255,255,255,0) 70%);
  transform: translateX(-100%); animation: h-shimmer 1.8s ease-in-out infinite;
}
.ik-shade {
  position: absolute; top: 0; left: 0; bottom: 0; width: 58%; pointer-events: none; border-radius: 23px 0 0 23px;
  background: linear-gradient(90deg, rgba(6,9,18,.78) 0%, rgba(6,9,18,.5) 58%, rgba(6,9,18,0) 100%);
}
.ik-hero-in {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  width: 44%; min-width: 380px; max-width: 520px; padding: 34px 36px;
}
.ik-eyebrow { display: flex; align-items: center; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; color: var(--t2); }
.ik-eyebrow .h-dot { margin-right: 10px; }
.page h2.ik-title {
  display: block; margin: 0; font-size: 36px; font-weight: 750; line-height: 1.08; letter-spacing: -.02em; text-transform: none; color: var(--t1);
}
.page h2.ik-title::before { content: none; display: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page h2.ik-title {
    background: linear-gradient(120deg, #ffffff 0%, #c9fbf2 42%, #c4b5fd 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  }
}
.ik-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--t2); }

.ik-kpis { display: flex; margin: 22px -5px 0; }
.ik-kpi {
  flex: 1 1 0; min-width: 0; margin: 0 5px; padding: 12px 14px 11px; border-radius: 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--edge-hi);
  color: var(--t1); text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s, background-color .18s;
}
.ik-kv { display: block; font-size: 27px; font-weight: 700; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ik-kv small { margin-left: 1px; font-size: 15px; font-weight: 600; color: var(--t3); }
.ik-ks { display: block; margin-top: 4px; overflow: hidden; font-size: 12.5px; color: var(--t3); white-space: nowrap; text-overflow: ellipsis; }
.ik-kpi.ok .ik-ks { color: #6ee7b7; }
.ik-kpi.warn .ik-ks { color: #fcd34d; }
.ik-kpi.crit .ik-ks { color: #fda4af; }

.ik-modes { display: flex; flex-direction: column; margin-top: 18px; }
.ik-mode {
  display: flex; align-items: center; min-height: 60px; padding: 9px 14px 9px 10px; border-radius: 16px;
  background: rgba(255,255,255,.045); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 var(--edge-hi);
  color: var(--t1); text-decoration: none; touch-action: manipulation;
  transition: transform .18s var(--ease), border-color .18s, background-color .18s, box-shadow .18s;
}
.ik-mode + .ik-mode { margin-top: 10px; }
.ik-mode-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 42px; height: 42px; margin-right: 13px;
  border-radius: 13px; background: rgba(255,255,255,.07); color: #5eead4;
}
.ik-mode-txt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ik-mode-txt b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.ik-mode-txt small { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--t3); }
.ik-mode > svg { flex: 0 0 auto; margin-left: 10px; color: var(--t3); }
.ik-mode.primary {
  background: linear-gradient(120deg, rgba(94,234,212,.2) 0%, rgba(34,211,238,.12) 50%, rgba(167,139,250,.2) 100%);
  border-color: rgba(94,234,212,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 36px -20px rgba(34,211,238,.9);
}
.ik-mode.primary .ik-mode-ico {
  background: #22d3ee; background: linear-gradient(135deg, #5eead4 0%, #22d3ee 50%, #a78bfa 100%); color: #05070d;
  box-shadow: 0 8px 20px -8px rgba(34,211,238,.9);
}
.ik-mode.primary .ik-mode-txt small { color: var(--t2); }
.ik-mode.primary > svg { color: #5eead4; }
a.ik-mode:active, .ik-kpi:active { transform: scale(.985); }
/* in der iOS-App auf einem Geraet, auf dem die Karte nicht laeuft: Knoepfe aus (Grund steht darunter) */
.ik-mode.is-off { opacity: .5; cursor: default; }
.ik-mode.is-off .ik-mode-ico { background: rgba(255,255,255,.07); color: var(--t3); box-shadow: none; }
.ik-old { display: flex; align-items: flex-start; margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: #fcd34d; }
.ik-old > svg { flex: 0 0 auto; margin: 1px 8px 0 0; }

/* ============================================== Karte: Gruppen + Lesezeichen */
.ik-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-gap: 18px; gap: 18px; margin-top: 18px; }
.ik-gsum { margin-left: 12px; }
.ik-glist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; gap: 12px; }
.ik-g { min-width: 0; padding: 12px 14px 13px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--edge); }
.ik-g-skel { min-height: 92px; }
.ik-g-head { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; font-size: 14px; }
.ik-g-head b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
.ik-gdot { flex: 0 0 auto; width: 10px; height: 10px; margin-right: 9px; border-radius: 50%; }
.ik-g-n { flex: 0 0 auto; margin-left: 8px; font-size: 12.5px; color: var(--t3); white-space: nowrap; }
.ik-g-st { flex: 0 0 auto; margin-left: auto; padding-left: 10px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.ik-g-st.ok { color: #6ee7b7; }
.ik-g-st.warn { color: #fcd34d; }
.ik-g-st.crit { color: #fda4af; }
.ik-g-st.off { color: var(--t3); }
.ik-g-m { display: flex; flex-wrap: wrap; margin: 9px -3px -3px; }
.ik-m {
  display: inline-flex; align-items: center; max-width: 100%; height: 27px; margin: 3px; padding: 0 10px 0 8px; overflow: hidden;
  border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--edge);
  font-size: 12.5px; color: var(--t2); white-space: nowrap; text-overflow: ellipsis;
}
.ik-m > .h-dot { width: 6px; height: 6px; margin-right: 7px; }
.ik-m > b { margin-right: 6px; color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; }
.ik-m.warn { border-color: rgba(251,191,36,.42); }
.ik-m.crit { border-color: rgba(251,113,133,.45); }
.ik-m.off { opacity: .62; }
.ik-gfoot { display: flex; align-items: flex-start; margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--t3); }
.ik-gfoot > svg { flex: 0 0 auto; margin: 2px 8px 0 0; }

.ik-side { display: flex; flex-direction: column; min-width: 0; }
a.h-panel.ik-bm { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; overflow: hidden; color: var(--t1); }
a.h-panel.ik-bm::after {     /* leiser Schimmer hinter dem Symbol */
  content: ""; position: absolute; top: -40px; left: -40px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(167,139,250,.22), rgba(167,139,250,0));
}
.ik-bm-ico { position: relative; z-index: 1; }
.ik-bm-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; margin-top: 16px; }
.ik-bm-txt b { font-size: 18px; font-weight: 700; }
.ik-bm-txt > span { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--t2); }
.ik-bm-txt > .h-badge { margin-top: 10px; }
.ik-bm-go { position: relative; z-index: 1; display: inline-flex; align-items: center; margin-top: auto; padding-top: 18px; color: #5eead4; font-size: 14px; font-weight: 650; }
.ik-bm-go > svg { margin-left: 6px; transition: transform .18s var(--ease); }
a.h-panel.ik-bm.is-off { cursor: default; }                /* iOS-App auf altem Geraet: kein Link (siehe infra.js) */
a.ik-bm.is-off .ik-bm-ico, a.ik-bm.is-off .ik-bm-txt b { opacity: .55; }
a.ik-bm.is-off .ik-bm-go { display: none; }
a.h-panel.ik-bm.is-off:hover { transform: none; border-color: var(--edge); box-shadow: inset 0 1px 0 var(--edge-hi), var(--shadow); }
a.h-panel.ik-tile { display: flex; flex: 0 0 auto; align-items: center; margin-top: 18px; padding: 14px 16px; color: var(--t1); }
.ik-t-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; margin-right: 14px;
  border-radius: 14px; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px -10px rgba(94,234,212,.6);
}
.ik-t-ico.mon { background: #7c3aed; background: linear-gradient(140deg, #a78bfa 0%, #6d28d9 100%); }
.ik-t-ico.bk { background: #3b82f6; background: linear-gradient(140deg, #60a5fa 0%, #1d4ed8 100%); }
.ik-t-txt { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.ik-t-txt b { font-size: 15px; font-weight: 700; }
.ik-t-txt > span { margin-top: 2px; overflow: hidden; font-size: 13px; color: var(--t3); white-space: nowrap; text-overflow: ellipsis; }
.ik-t-txt > span.ok { color: #6ee7b7; }
.ik-t-txt > span.warn { color: #fcd34d; }
.ik-t-txt > span.crit { color: #fda4af; }
a.ik-tile > svg { flex: 0 0 auto; margin-left: 10px; color: var(--t3); }

/* ================================================== Backups: Statuskopf == */
.h-panel.ib-hero { display: flex; align-items: center; padding: 26px 28px; }
.ib-ring { position: relative; width: 168px; height: 168px; margin-right: 28px; }
.ib-ring::before {             /* Glut hinter dem Ring in der Farbe der Lage */
  content: ""; position: absolute; top: 14%; left: 14%; right: 14%; bottom: 14%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 60px 8px rgba(52,211,153,.22);
}
.ib-ring.warn::before { box-shadow: 0 0 60px 8px rgba(251,191,36,.2); }
.ib-ring.crit::before { box-shadow: 0 0 60px 8px rgba(251,113,133,.24); }
.ib-ring.down::before, .ib-ring.wait::before { box-shadow: none; }
.ib-ring.ok .h-ring-svg { color: #34d399; }
.ib-ring.down .h-ring-track { stroke: rgba(148,163,184,.22); stroke-dasharray: 3 7; }
.ib-rv { padding: 0 18px; }
.ib-rv > svg { margin-bottom: 6px; color: var(--t3); }
.ib-rv > b { font-size: 15px; font-weight: 700; line-height: 1.2; }
.ib-ring.ok .ib-rv > svg { color: #34d399; -webkit-filter: drop-shadow(0 0 8px rgba(52,211,153,.7)); filter: drop-shadow(0 0 8px rgba(52,211,153,.7)); }
.ib-ring.warn .ib-rv > svg { color: #fbbf24; }
.ib-ring.crit .ib-rv > svg { color: #fb7185; }
.ib-ring.ok .ib-rv > b { color: #a7f3d0; }
.ib-ring.warn .ib-rv > b { color: #fde68a; }
.ib-ring.crit .ib-rv > b { color: #fecdd3; }
.ib-ring.down .ib-rv > b, .ib-ring.wait .ib-rv > b { color: var(--t2); }
.ib-hero-txt { flex: 1 1 auto; min-width: 0; }
.ib-eyebrow {
  display: flex; align-items: center; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t2);
}
.ib-eyebrow > svg { flex: 0 0 auto; margin-right: 8px; color: #5eead4; }
.page h2.ib-title { display: block; margin: 0; font-size: 30px; font-weight: 750; line-height: 1.15; letter-spacing: -.015em; text-transform: none; color: var(--t1); }
.page h2.ib-title::before { content: none; display: none; }
.ib-hero.crit .ib-title { color: #fecdd3; }
.ib-hero.warn .ib-title { color: #fde68a; }
.ib-lead { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--t2); }
.ib-chips { margin-top: 12px; }
.ib-run .h-dot { margin-right: 8px; }
.ib-retry { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.ib-retry > svg { width: 18px; height: 18px; }
.ib-meta { margin: 12px 0 0; font-size: 12.5px; color: var(--t3); }
.ib-act { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; margin-left: 24px; text-align: right; }
.ib-act-note { display: inline-flex; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--t3); }
.ib-act-note > svg { flex: 0 0 auto; margin-right: 6px; }
.ib-why { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #fcd34d; }
.ib-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kennzahlen */
.ib-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-gap: 18px; gap: 18px; margin-top: 18px; }
.h-panel.ib-kpi { display: flex; flex-direction: column; min-width: 0; padding: 18px; transition: opacity .3s; }
.ib-k-ico {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,.06); color: var(--t2);
}
.ib-k-lab { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); }
.ib-k-val { margin-top: 6px; overflow: hidden; font-size: 26px; font-weight: 700; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ib-k-sub { margin-top: 3px; font-size: 12.5px; color: var(--t3); }
.ib-kpi.ok .ib-k-ico { color: #34d399; background: rgba(52,211,153,.12); }
.ib-kpi.crit .ib-k-ico { color: #fb7185; background: rgba(251,113,133,.13); }
.ib-kpi.crit .ib-k-val { color: #fecdd3; }
.ib-kpi.info .ib-k-ico { color: #5eead4; background: rgba(94,234,212,.12); }
.ib-kpi.info .ib-k-val { color: #a5f3fc; }
.ib-kpis.stale .ib-kpi { opacity: .5; }

/* Ziel + Plan */
.ib-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-gap: 18px; gap: 18px; margin-top: 18px; }
.h-panel.ib-tgt { display: flex; flex-direction: column; }
#ib-target { margin-bottom: 16px; }
.ib-hdd { display: flex; align-items: center; }
.ib-hdd-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 50px; height: 50px; margin-right: 14px;
  border-radius: 15px; color: #fff; background: #3b82f6; background: linear-gradient(140deg, #60a5fa 0%, #1d4ed8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -10px rgba(96,165,250,.75);
}
.ib-hdd-txt { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.ib-hdd-txt b { font-size: 17px; font-weight: 700; }
.ib-hdd-txt code { margin-top: 3px; overflow: hidden; font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--t3); text-overflow: ellipsis; white-space: nowrap; }
.ib-hdd > .h-badge { flex: 0 0 auto; margin-left: 10px; }
.ib-hdd-m { display: flex; align-items: baseline; flex-wrap: wrap; margin-top: 18px; }
.ib-hdd-m .h-num { margin-right: 10px; font-size: 32px; font-weight: 700; line-height: 1; }
.ib-hdd-m .h-num small { font-size: 17px; }
.ib-hdd-m > span { font-size: 14px; color: var(--t2); }
.ib-hdd-m > .ib-hdd-free { margin-left: auto; padding-left: 10px; color: var(--t3); }
.h-meter.ib-meter { height: 10px; margin-top: 10px; }
.ib-hdd-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--t3); }
.ib-checks { margin: auto 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--edge); }
.ib-checks > li { display: flex; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--t2); }
.ib-checks > li + li { margin-top: 10px; }
.ib-checks > li > svg { flex: 0 0 auto; margin: 1px 10px 0 0; color: var(--t3); }
.ib-checks > li.ok > svg { color: #34d399; }
.ib-checks > li.warn > svg { color: #fbbf24; }
.ib-checks > li.crit > svg { color: #fb7185; }
.ib-checks > li b { display: block; margin-bottom: 1px; font-weight: 650; color: var(--t1); }

.ib-what .h-sub { margin-left: 12px; }
.ib-tl { margin: 2px 0 14px; }
.ib-tl-bar { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--edge); }
.ib-tl-night {
  position: absolute; top: -1px; bottom: -1px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(94,234,212,.35), rgba(167,139,250,.4)); box-shadow: 0 0 16px rgba(94,234,212,.3);
}
.ib-tl-m { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #e0fbff; box-shadow: 0 0 8px rgba(94,234,212,.95); }
.ib-tl-6 { position: absolute; top: -6px; width: 3px; height: 24px; margin-left: -1.5px; border-radius: 3px; background: #ff8f6b; box-shadow: 0 0 8px rgba(255,143,107,.7); }
.ib-tl-now { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.85); }
.ib-tl-ax { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--t3); font-variant-numeric: tabular-nums; }
.ib-plan { margin: 0; padding: 0; list-style: none; }
.ib-plan > li { display: flex; align-items: center; min-height: 46px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.05); }
.ib-p-t { flex: 0 0 auto; width: 96px; font-size: 13.5px; font-weight: 700; color: var(--t1); font-variant-numeric: tabular-nums; }
.ib-p-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-right: 12px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 8px rgba(94,234,212,.85); }
.ib-p-dot.six { width: 4px; height: 14px; border-radius: 2px; margin-left: 2px; margin-right: 14px; background: #ff8f6b; box-shadow: 0 0 8px rgba(255,143,107,.8); }
.ib-p-x { display: flex; flex-direction: column; min-width: 0; }
.ib-p-x b { font-size: 14px; font-weight: 650; }
.ib-p-x small { margin-top: 1px; font-size: 12.5px; color: var(--t3); }
.ib-keep { display: flex; align-items: flex-start; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; line-height: 1.5; color: var(--t2); }
.ib-keep > svg { flex: 0 0 auto; margin: 2px 8px 0 0; color: #a78bfa; }
.ib-keep b { color: var(--t1); font-weight: 650; }

/* Wiederherstellen */
.ib-restore { margin-top: 18px; }
.ib-rs { display: flex; align-items: flex-start; }
.ib-rs-ico {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 50px; height: 50px; margin-right: 16px;
  border-radius: 15px; color: #fff; background: #7c3aed; background: linear-gradient(140deg, #a78bfa 0%, #6d28d9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px -10px rgba(167,139,250,.75);
}
.ib-rs > div { flex: 1 1 auto; min-width: 0; }
.ib-rs p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--t2); }
.ib-steps { display: flex; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: ib-step; }
.ib-steps > li {
  position: relative; flex: 1 1 0; min-width: 0; padding: 12px 14px 12px 48px; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--edge); counter-increment: ib-step;
}
.ib-steps > li + li { margin-left: 12px; }
.ib-steps > li::before {
  content: counter(ib-step); position: absolute; top: 12px; left: 13px; width: 24px; height: 24px; border-radius: 50%;
  font-size: 12.5px; font-weight: 800; line-height: 24px; text-align: center; color: #05070d;
  background: #5eead4; background: linear-gradient(135deg, #5eead4, #a78bfa);
}
.ib-steps b { display: block; font-size: 14px; font-weight: 700; }
.ib-steps span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--t3); }

/* ============================================================ Widgets === */
/* Karte: Fenster in den Sternenhimmel, darunter Kurzlage + Knoepfe */
.ik-w { cursor: pointer; }
.ik-w > .h-head { margin-bottom: 10px; }
.ik-w > .ik-w-sky {
  position: relative; flex: 1 1 0; min-height: 70px; overflow: hidden; border-radius: 16px;
  background: rgba(3,6,14,.45);
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(52,68,138,.32) 0%, rgba(10,14,28,.5) 70%, rgba(3,6,14,.6) 100%);
  border: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 0 30px rgba(0,0,0,.35);
}
.ik-w-sky > svg { position: absolute; top: 0; left: 0; }
.ik-w-foot { display: flex; align-items: center; margin-top: 12px; }
.ik-w-kpi { display: flex; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; margin-right: 8px; font-size: 12.5px; color: var(--t3); }
.ik-w-kpi > span { margin-right: 12px; white-space: nowrap; }
.ik-w-kpi b { color: var(--t1); font-weight: 700; font-variant-numeric: tabular-nums; }
.ik-w-kpi > .warn b { color: #fcd34d; }
.ik-w-kpi > .ok b { color: #6ee7b7; }
.ik-w-btns { display: flex; flex: 0 0 auto; }
.h-btn.ik-w-btn { min-height: 40px; padding: 8px 13px; font-size: 14px; }
.h-btn.ik-w-btn > svg { width: 18px; height: 18px; margin-right: 7px; }
.ik-w-btn + .ik-w-btn { margin-left: 8px; }
.ik-wf.w-lt480 .ik-w-foot { flex-wrap: wrap; }
.ik-wf.w-lt480 .ik-w-kpi { flex: 1 1 100%; margin: 0 0 9px; }
.ik-wf.w-lt480 .ik-w-btns { flex: 1 1 100%; }
.ik-wf.w-lt480 .ik-w-btn { flex: 1 1 0; }
.ik-wf.w-lt240 .ik-w-kpi > span:nth-child(2) { display: none; }
/* schmale Kachel: kurzer Titel ("Karte" statt "Infrastruktur-Karte"), unter 240 px Knoepfe untereinander */
.ik-wt-s { display: none; }
.ik-wf.w-lt360 .ik-wt { display: none; }
.ik-wf.w-lt360 .ik-wt-s { display: inline; }
.ik-wf.w-lt240 .ik-w-btns { flex-wrap: wrap; }
.ik-wf.w-lt240 .ik-w-btn { flex: 1 1 100%; }
.ik-wf.w-lt240 .ik-w-btn + .ik-w-btn { margin: 8px 0 0; }

/* Backups: Lage-Kugel + Satz, HDD-Balken, Knopf */
.ib-w { cursor: pointer; }
.ib-w-main { display: flex; align-items: center; }
.ib-w-orb {
  position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 48px; height: 48px; margin-right: 14px; border-radius: 50%; color: var(--t3);
  background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--edge);
}
.ib-w-orb.ok { color: #34d399; background: radial-gradient(circle at 35% 30%, rgba(52,211,153,.34), rgba(52,211,153,.07) 72%);
  box-shadow: 0 0 0 1px rgba(52,211,153,.42), 0 0 26px -4px rgba(52,211,153,.6); }
.ib-w-orb.warn { color: #fbbf24; background: radial-gradient(circle at 35% 30%, rgba(251,191,36,.3), rgba(251,191,36,.06) 72%);
  box-shadow: 0 0 0 1px rgba(251,191,36,.42), 0 0 26px -4px rgba(251,191,36,.55); }
.ib-w-orb.crit { color: #fb7185; background: radial-gradient(circle at 35% 30%, rgba(251,113,133,.32), rgba(251,113,133,.07) 72%);
  box-shadow: 0 0 0 1px rgba(251,113,133,.45), 0 0 26px -4px rgba(251,113,133,.6); }
.ib-w-orb.run::after {
  content: ""; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%;
  border: 2px solid rgba(94,234,212,0); border-top-color: #5eead4; border-right-color: rgba(94,234,212,.45);
  animation: h-spin 1.6s linear infinite;
}
.ib-w-txt { display: flex; flex-direction: column; min-width: 0; }
.ib-w-say { font-size: 17px; font-weight: 700; line-height: 1.25; }
.ib-w-sub { margin-top: 3px; font-size: 12.5px; color: var(--t3); }
.ib-w-hdd { margin-top: 16px; }
.ib-w-hh { display: flex; align-items: baseline; margin-bottom: 7px; font-size: 13px; color: var(--t2); }
.ib-w-hn { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ib-w-hh > b { flex: 0 0 auto; margin-left: auto; padding-left: 8px; color: var(--t1); font-variant-numeric: tabular-nums; }
.ib-w-hs { display: block; margin-top: 6px; font-size: 12px; color: var(--t3); }
.ib-w-facts { margin: 14px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.06); }
.ib-w-facts > li { display: flex; align-items: center; min-width: 0; font-size: 13px; color: var(--t2); }
.ib-w-facts > li + li { margin-top: 7px; }
.ib-w-facts > li > svg { flex: 0 0 auto; margin-right: 8px; color: var(--t3); }
.ib-w-facts > li > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ib-w-facts > li.crit { color: #fda4af; }
.ib-w-facts > li.crit > svg { color: #fb7185; }
.ib-w-facts > li.run { color: #a5f3fc; }
.ib-w-facts > li.run > svg { color: #5eead4; }
.ib-wf.h-lt320 .ib-w-facts { display: none; }
.ib-w-act { display: flex; flex-direction: column; margin-top: auto; padding-top: 14px; }
.h-btn.ib-w-btn { width: 100%; min-height: 42px; padding: 8px 12px; font-size: 14px; }
.h-btn.ib-w-btn > svg { width: 18px; height: 18px; margin-right: 8px; }
.h-btn.ib-w-btn > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ib-w-act > .ib-why { margin-top: 6px; text-align: center; }
.ib-wf.h-lt240 .ib-w-hs { display: none; }
.ib-wf.h-lt240 .ib-w-hdd { margin-top: 12px; }

/* ============================================================ Responsiv == */
@media (hover: hover) {
  a.ik-mode:hover { transform: translateY(-2px); border-color: var(--edge-2); background-color: rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 var(--edge-hi), 0 14px 30px -16px rgba(94,234,212,.55); }
  a.ik-mode.primary:hover { border-color: rgba(94,234,212,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 40px -16px rgba(34,211,238,.95); }
  a.ik-mode:hover > svg { color: var(--t1); }
  .ik-kpi:hover { transform: translateY(-2px); border-color: var(--edge-2); background-color: rgba(255,255,255,.07); }
  a.ik-bm:hover .ik-bm-go > svg { transform: translateX(3px); }
}
/* bis 1399 px ist die Textspalte im Kopf schmal (Seitenleiste daneben): Kennzahl-Beschriftungen brechen um, und in
   den Gruppen steht der Zustand unter dem Namen (sonst wird "Cloud & Zuhause" abgeschnitten) */
@media (max-width: 1399.98px) {
  .ik-ks { line-height: 1.3; white-space: normal; }
  .ik-g-st { flex: 1 1 100%; margin-left: 0; padding: 3px 0 0 19px; }
}
/* Tablet: Text schmaler, Sternbild rechts davon */
@media (max-width: 1099.98px) {
  .h-panel.ik-hero { min-height: 500px; }
  .ik-hero-in { width: 48%; min-width: 340px; padding: 28px 26px; }
  .page h2.ik-title { font-size: 32px; }
  .ik-row { grid-template-columns: minmax(0, 1fr); }
  .ik-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 18px; gap: 18px; }
  .ik-side > a.ik-bm { grid-column: 1 / -1; }
  a.h-panel.ik-tile { margin-top: 0; }
  a.h-panel.ik-bm { flex-direction: row; align-items: center; }
  .ik-bm-txt { flex: 1 1 auto; min-width: 0; margin: 0 0 0 16px; }
  .ik-bm-go { margin: 0 0 0 16px; padding-top: 0; }
  .h-panel.ib-hero { flex-wrap: wrap; }
  .ib-act { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; margin: 20px 0 0; text-align: left; }
  .ib-act-note { margin: 0 0 0 14px; }
  .ib-act > .ib-why { margin: 0 0 0 12px; }
  .ib-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-row { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 1099.98px) {
  .ik-glist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* kleine Tablets (Textspalte ~340 px): Kennzahlen kompakt wie auf dem Handy */
@media (max-width: 799.98px) {
  .ik-kpi { padding: 10px 10px 9px; border-radius: 14px; }
  .ik-kv { font-size: 22px; }
  .ik-kv small { font-size: 13px; }
  .ik-ks { font-size: 11.5px; }
}
/* Handy: Sternbild oben, Text und Knoepfe darunter */
@media (max-width: 699.98px) {
  .h-panel.ik-hero { display: block; min-height: 0; border-radius: 20px; }
  .ik-sky { position: relative; height: 300px; border-radius: 19px 19px 0 0; }
  .ik-shade { display: none; }
  .ik-hero-in { width: auto; min-width: 0; max-width: none; padding: 16px 16px 18px; }
  .page h2.ik-title { font-size: 28px; }
  .ik-lead { font-size: 14px; }
  .ik-kpis { margin-top: 16px; }
  .ik-mode { min-height: 58px; }
  .ik-glist { grid-template-columns: minmax(0, 1fr); }
  .ik-gfoot { font-size: 12px; }
  a.h-panel.ik-bm { flex-direction: row; align-items: center; }
  .ik-bm-ico { width: 52px; height: 52px; border-radius: 15px; }
  .ik-bm-ico > svg { width: 26px; height: 26px; }
  .ik-bm-txt { margin: 0 0 0 14px; }
  .ik-bm-txt b { font-size: 16px; }
  .ik-bm-txt > span { font-size: 13px; }
  .ik-bm-go { display: none; }
  .ik-side { grid-template-columns: minmax(0, 1fr); grid-gap: 14px; gap: 14px; }

  .h-panel.ib-hero { display: block; padding: 20px 16px 18px; text-align: center; }
  .ib-ring { display: block; width: 150px; height: 150px; margin: 0 auto 14px; }
  .ib-eyebrow { justify-content: center; }
  .page h2.ib-title { font-size: 25px; }
  .ib-lead { font-size: 14px; }
  .ib-chips { justify-content: center; }
  .ib-act { align-items: stretch; flex-direction: column; margin-top: 18px; text-align: center; }
  .ib-act > .h-btn { width: 100%; }
  .ib-act-note { justify-content: center; margin: 10px 0 0; }
  .ib-act > .ib-why { margin: 8px 0 0; }
  .ib-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; gap: 12px; margin-top: 14px; }
  .h-panel.ib-kpi { padding: 14px; }
  .ib-k-val { font-size: 22px; }
  .ib-row, .ik-row { grid-gap: 14px; gap: 14px; margin-top: 14px; }
  .ib-p-t { width: 84px; font-size: 13px; }
  .ib-what .h-sub { display: none; }
  .ib-restore { margin-top: 14px; }
  .ib-rs-ico { display: none; }
  .ib-steps { flex-direction: column; }
  .ib-steps > li + li { margin: 8px 0 0; }
}
@media (max-width: 359.98px) {
  .ik-gsum, .ik-g-n { display: none; }          /* Zahl steht in den Gast-Chips */
  .ik-kpis { margin-left: -3px; margin-right: -3px; }
  .ik-kpi { margin: 0 3px; padding: 9px 8px 8px; }
  .ik-kv { font-size: 19px; }
  .ik-mode-txt small { font-size: 12px; }
  .ik-t-txt > span { white-space: normal; }      /* "19 von 21 Prüfungen online" passt sonst nicht in eine Zeile */
  .ib-hdd-m .h-num { font-size: 28px; }
}

/* ruhige Darstellung: keine Bewegung im Sternbild und an der Lage-Kugel */
@media (prefers-reduced-motion: reduce) {
  .ik-svg, .ik-svg * { animation: none !important; }
  .ik-sky.ik-wait::after, .ib-w-orb.run::after { animation: none !important; }
}
