/* Auf einen Blick: (i)-Knopf an jedem Punkt, Overlay mit Beschreibung und animierter Grafik (js/glance.js).
   Farben nur aus den Variablen von style.css, damit hell und dunkel passen. Keine Verläufe. */
.glance-list li { position: relative; cursor: pointer; }
.glance-list li > div { padding-right: 28px; }
.glance-list li::after { content: "→"; position: absolute; top: 16px; right: 18px; color: var(--ink-3); font-size: 1.05rem; line-height: 1;
  transition: transform .3s var(--ease), color .3s; }
.glance-list li:hover::after, .glance-list li:focus-visible::after { transform: translateX(4px); color: var(--ink); }
.glance-list li:focus-visible { outline: 2px solid var(--star); outline-offset: 2px; }

.gl-dlg { width: min(94vw, 880px); max-height: 92vh; padding: 0; border: 1px solid var(--rule); border-radius: 12px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(10, 10, 20, .55); overflow: hidden; }
.gl-dlg[open] { display: flex; flex-direction: column; animation: gldlg .45s var(--ease); }
.gl-dlg::backdrop { background: rgba(14, 12, 9, .62); animation: glfade .3s ease; }
@keyframes gldlg { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.gl-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.gl-bar .gl-cnt { margin-right: auto; font: .82rem var(--mono); color: var(--ink-3); }
.gl-btn { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper);
  color: var(--ink); font: 600 .85rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: border-color .2s, background .2s; }
.gl-btn:hover { border-color: var(--ink-3); }
.gl-btn:focus-visible { outline: 2px solid var(--star); outline-offset: 2px; }
.gl-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gl-body { padding: 24px 28px 26px; overflow: auto; }
.gl-body h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.gl-lead { margin-top: 12px; color: var(--ink-2); max-width: 70ch; }
.gl-fig { margin: 20px 0 6px; padding: 14px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-2); }
.gl-note { font-size: .8rem; color: var(--ink-3); margin-top: 6px; }
.gl-pts { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gl-pts li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: .95rem; }
.gl-pts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--star); }
.gl-more { display: inline-block; margin-top: 16px; font-weight: 600; }
.gl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.gl-tab { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink-2);
  font: 600 .8rem var(--sans); cursor: pointer; }
.gl-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gl-tab:focus-visible { outline: 2px solid var(--star); outline-offset: 2px; }
@media (max-width: 600px) { .gl-body { padding: 18px 16px 20px; } .gl-fig { padding: 8px; } }

/* Zeichnung */
.gl-svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.gl-t { font-size: 12.5px; fill: var(--ink); }
.gl-t.gl-b { font-weight: 600; }
.gl-t.gl-m { font-size: 10.5px; fill: var(--ink-3); }
.gl-t.gl-s { font-size: 11px; fill: var(--ink-2); }
.gl-t.gl-h { font-size: 14px; font-weight: 600; font-family: var(--display); }
.gl-t.gl-big { font-size: 30px; font-family: var(--display); font-weight: 500; }
.gl-box { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1.3; }
.gl-box.srv { fill: none; stroke-dasharray: 6 5; }
.gl-box.hi { stroke: var(--ink); stroke-width: 2; }
.gl-box.ok { stroke: var(--ok); } .gl-box.warn { stroke: var(--star); } .gl-box.bad { stroke: var(--crash); }
.gl-ln { stroke: var(--ink-3); stroke-width: 1.6; fill: none; marker-end: url(#gl-ar); }
.gl-ln.n { marker-end: none; }
.gl-ln.dash { stroke-dasharray: 5 5; }
.gl-ah { fill: var(--ink-3); }
.gl-pk { fill: var(--star); } .gl-pk.req { fill: var(--ok); } .gl-pk.bad { fill: var(--crash); }
.gl-fill-ink { fill: var(--ink); } .gl-fill-ok { fill: var(--ok); } .gl-fill-warn { fill: var(--star); } .gl-fill-bad { fill: var(--crash); }
.gl-fill-mute { fill: var(--ink-3); } .gl-fill-rule { fill: var(--rule); } .gl-fill-paper { fill: var(--paper); }
.gl-st-ink { stroke: var(--ink); } .gl-st-ok { stroke: var(--ok); } .gl-st-warn { stroke: var(--star); } .gl-st-bad { stroke: var(--crash); } .gl-st-rule { stroke: var(--rule); }
.gl-grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 4; }
.gl-ax { stroke: var(--ink-3); stroke-width: 1.2; }
.gl-line { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.gl-bub { fill-opacity: .35; stroke-width: 2; }
.gl-bub.g { fill: var(--ok); stroke: var(--ok); } .gl-bub.o { fill: var(--star); stroke: var(--star); } .gl-bub.r { fill: var(--crash); stroke: var(--crash); }
.gl-zone-g { fill: var(--ok); fill-opacity: .1; } .gl-zone-r { fill: var(--crash); fill-opacity: .09; }

/* Animationen: jede kommt mit --d (Verzögerung) und endet im sichtbaren Zustand */
.gl-pop, .gl-fade, .gl-grow, .gl-growx { opacity: 0; animation-fill-mode: forwards; animation-delay: var(--d, 0s); }
.gl-pop { transform-box: fill-box; transform-origin: center; animation: glpop .55s var(--ease) forwards; animation-delay: var(--d, 0s); }
.gl-fade { animation: glfade .7s ease forwards; animation-delay: var(--d, 0s); }
.gl-grow { transform-box: fill-box; transform-origin: 50% 100%; animation: glgrow .8s var(--ease) forwards; animation-delay: var(--d, 0s); }
.gl-growx { transform-box: fill-box; transform-origin: 0 50%; animation: glgrowx .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.gl-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gldraw 1.8s ease forwards; animation-delay: var(--d, 0s); }
.gl-slide { animation: glslide 5s linear forwards; animation-delay: var(--d, 0s); }
.gl-pulse { transform-box: fill-box; transform-origin: center; animation: glpulse 1.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes glpop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes glfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes glgrow { from { opacity: 1; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes glgrowx { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes gldraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes glslide { from { transform: translateX(0); } to { transform: translateX(var(--tx)); } }
@keyframes glpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
/* Hell/Dunkel-Wechsel im Berichtsfenster (Kapitel „Bericht im Browser“) und Sprachwechsel DE/EN */
.gl-flip { --fp: #f4f1ea; --fc: #ffffff; --fi: #16140f; --fm: #6f6a60; animation: glflip 6s steps(1, end) infinite; }
@keyframes glflip { 0% { --fp: #f4f1ea; --fc: #ffffff; --fi: #16140f; --fm: #6f6a60; } 50% { --fp: #15161a; --fc: #1e1f24; --fi: #efece4; --fm: #9a948a; } }
.gl-flip .bg { fill: var(--fp); } .gl-flip .cd { fill: var(--fc); stroke: var(--fm); stroke-opacity: .4; }
.gl-flip .tt { fill: var(--fi); } .gl-flip .tm { fill: var(--fm); }
.gl-l1 { animation: gll1 6s steps(1, end) infinite; } .gl-l2 { animation: gll2 6s steps(1, end) infinite; }
@keyframes gll1 { 0% { opacity: 1; } 25% { opacity: 0; } 75% { opacity: 1; } }
@keyframes gll2 { 0% { opacity: 0; } 25% { opacity: 1; } 75% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gl-pop, .gl-fade, .gl-grow, .gl-growx { opacity: 1; animation: none; transform: none; }
  .gl-draw { stroke-dashoffset: 0; animation: none; }
  .gl-slide, .gl-pulse, .gl-flip, .gl-l1, .gl-l2 { animation: none; }
  .gl-l2 { opacity: 0; } .gl-dlg[open], .gl-dlg::backdrop { animation: none; }
}

/* Tiles in four groups: heading per group, the lists keep their two-column grid */
.glance-group { margin-top: 48px; }
.glance-group .glance-list { margin-top: 14px; }
.glance-h { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
