/* ────────────────────────────────────────────────────────────────
   gw-wizard.css — Generischer "Guided Wizard"-Baukasten
   klick-web.de — für lokale, datensparsame Ersthelfer-/Assistenten-Tools
   (z. B. Datenpannen-Ersthelfer). Baut auf shared/site.css auf.

   Design-Prinzipien:
   - Ruhige, seriöse Krisen-UX — keine reißerischen Marketing-Animationen.
   - Neon-Akzent (--neon) nur sparsam für kleine Icons/Marker.
   - Alle interaktiven Elemente sind für Tastatur & Screenreader nutzbar.
   ──────────────────────────────────────────────────────────────── */

.gw-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 1.1rem 4rem;
}

.gw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.gw-top__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.gw-top__brand img { height: 32px; width: auto; }
.gw-top__links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gw-top__links a { color: var(--text-muted); font-size: .85rem; text-decoration: none; }
.gw-top__links a:hover { color: var(--brand-bright); }

.gw-page-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.gw-page-title .gw-icon { margin-right: .35rem; vertical-align: -2px; }

/* ── Notfall-Karte (immer sichtbar, oberhalb des Assistenten) ── */
.gw-emergency {
  border-radius: 18px;
  border: 1px solid rgba(248, 113, 113, .38);
  background: linear-gradient(160deg, rgba(127, 29, 29, .22), rgba(8, 13, 24, .95));
  padding: 1.1rem 1.25rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.gw-emergency__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .55rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fecaca;
}
.gw-emergency__head svg { width: 20px; height: 20px; flex-shrink: 0; color: #f87171; }
.gw-emergency ol {
  margin: 0 0 .85rem;
  padding-left: 1.2rem;
  display: grid;
  gap: .35rem;
  color: #fee2e2;
  font-size: .92rem;
  line-height: 1.5;
}
.gw-emergency__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ── Datenschutz-Hinweisleiste (dauerhaft, keine Cookie-Einwilligung) ── */
.gw-privacy {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0 0 1.1rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.5;
  background: rgba(61, 255, 154, .07);
  border: 1px solid rgba(61, 255, 154, .28);
  color: #bbf7d0;
}
.gw-privacy svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .1rem; color: var(--neon); }
.gw-privacy strong { color: #dcfce7; }

/* ── Wizard-Shell ── */
.gw-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 860px) {
  .gw-shell { grid-template-columns: 1fr; }
  .gw-nav { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .35rem; }
  .gw-step { white-space: nowrap; flex: 0 0 auto; }
}
.gw-nav { display: flex; flex-direction: column; gap: .32rem; }
.gw-step {
  text-align: left;
  border: 1px solid rgba(148, 163, 184, .14);
  background: rgba(8, 13, 24, .75);
  color: var(--text-muted);
  border-radius: 12px;
  padding: .6rem .85rem;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}
.gw-step.is-active { border-color: rgba(59, 125, 216, .55); color: #fff; background: rgba(26, 68, 148, .22); }
.gw-step.is-done { color: #cbd5e1; }
.gw-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; margin-right: .4rem;
  font-size: .68rem; font-weight: 700; background: rgba(148, 163, 184, .16);
}
.gw-step.is-active .gw-step__num { background: var(--brand-bright); color: #fff; }

.gw-main {
  border-radius: 18px;
  border: 1px solid rgba(26, 68, 148, .45);
  background: linear-gradient(165deg, rgba(8, 13, 24, .96), rgba(12, 22, 40, .92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  padding: 1.35rem clamp(1.15rem, 3vw, 1.6rem) 1.45rem;
  min-width: 0;
}
.gw-body {
  min-width: 0;
}
.gw-progress { height: 4px; border-radius: 999px; background: rgba(148, 163, 184, .12); margin-bottom: 1rem; overflow: hidden; }
.gw-progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-bright)); transition: width .25s var(--ease); }
@media (prefers-reduced-motion: reduce) { .gw-progress > span { transition: none; } }

.gw-body h2 { margin: 0 0 .5rem; font-size: 1.3rem; letter-spacing: -.02em; }
.gw-lead { color: var(--text-muted); margin: 0 0 1.1rem; line-height: 1.55; font-size: .95rem; }
.gw-sub { margin: 1.25rem 0 .6rem; font-size: .98rem; color: #93c5fd; }

.gw-field { margin-bottom: .85rem; }
.gw-field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; color: #cbd5e1; }
.gw-field input[type="text"],
.gw-field input[type="datetime-local"],
.gw-field textarea,
.gw-field select {
  width: 100%; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(148, 163, 184, .22);
  background: rgba(4, 6, 12, .72); color: var(--text); padding: .68rem .82rem; font: inherit;
}
.gw-field input:focus, .gw-field textarea:focus, .gw-field select:focus {
  outline: 2px solid rgba(59, 125, 216, .55); outline-offset: 1px;
}
.gw-field--err input, .gw-field--err textarea { border-color: rgba(239, 68, 68, .55); }
.gw-hint { margin: .3rem 0 0; font-size: .78rem; color: var(--text-dim); }
.gw-err { margin: .3rem 0 0; font-size: .82rem; color: #fecaca; }

.gw-options { display: grid; gap: .45rem; }
.gw-options--grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gw-option {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .6rem .75rem; border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .16); background: rgba(4, 6, 12, .4);
  font-size: .88rem; color: #e2e8f0; cursor: pointer;
}
.gw-option:hover { border-color: rgba(59, 125, 216, .38); }
.gw-option input { margin-top: .18rem; accent-color: var(--brand-bright); flex-shrink: 0; }
.gw-option--special { border-color: rgba(251, 191, 36, .3); }
.gw-option--special:hover { border-color: rgba(251, 191, 36, .5); }
.gw-option--child { border-color: rgba(248, 113, 113, .32); }
.gw-tag {
  display: inline-flex; align-items: center; margin-left: .4rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: .08rem .4rem; border-radius: 999px;
}
.gw-tag--special { background: rgba(251, 191, 36, .18); color: #fde68a; border: 1px solid rgba(251, 191, 36, .35); }
.gw-tag--child { background: rgba(248, 113, 113, .18); color: #fecaca; border: 1px solid rgba(248, 113, 113, .35); }

.gw-timer {
  margin: .5rem 0 .9rem; padding: .75rem .9rem; border-radius: 12px;
  background: rgba(37, 99, 184, .1); border: 1px solid rgba(59, 125, 216, .3);
  font-size: .88rem; line-height: 1.5; color: #dbeafe;
}
.gw-timer.is-overdue { background: rgba(127, 29, 29, .2); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.gw-timer strong { display: block; margin-bottom: .2rem; font-size: .95rem; }
.gw-timer small { display: block; margin-top: .4rem; color: var(--text-dim); }

.gw-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0; }
.gw-footer-nav {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(148, 163, 184, .12);
}

.gw-brand,
.gw-sponsor {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(148, 163, 184, .12);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-dim);
}
.gw-brand a,
.gw-sponsor a { color: var(--brand-bright); text-decoration: none; }
.gw-brand img,
.gw-sponsor img { height: 22px; width: auto; max-width: 140px; object-fit: contain; display: block; }

/* Intro-Icon (Mülltonne etc.) — bewusst klein, kein Full-Bleed */
.gw-eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 .85rem;
  color: var(--neon);
  filter: drop-shadow(0 0 10px var(--neon-glow));
}
.gw-eyebrow-icon svg {
  width: 40px;
  height: 40px;
  display: block;
  fill: currentColor;
}

/* Einfache Listen mit ausreichend Abstand zum Kartenrand */
.gw-list-plain {
  margin: .65rem 0 1.1rem;
  padding: 0 0 0 1.45rem;
  list-style: disc;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
  display: grid;
  gap: .4rem;
}
.gw-list-plain li {
  padding-left: .15rem;
}
.gw-list-plain li::marker {
  color: var(--neon);
}

/* Wizard-Buttons: etwas mehr Innenabstand */
.gw-footer-nav .btn,
.gw-actions .btn {
  padding: .78rem 1.55rem;
  min-height: 2.65rem;
  box-sizing: border-box;
}

/* ── Ergebnis / Level-Badges ── */
.gw-level {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  margin-bottom: .9rem;
}
.gw-level svg { width: 18px; height: 18px; flex-shrink: 0; }
.gw-level--immediate { background: rgba(248, 113, 113, .16); border: 1px solid rgba(248, 113, 113, .45); color: #fecaca; }
.gw-level--urgent { background: rgba(251, 191, 36, .14); border: 1px solid rgba(251, 191, 36, .42); color: #fde68a; }
.gw-level--document_review { background: rgba(59, 125, 216, .14); border: 1px solid rgba(59, 125, 216, .42); color: #bfdbfe; }
.gw-level--insufficient { background: rgba(148, 163, 184, .12); border: 1px solid rgba(148, 163, 184, .35); color: #cbd5e1; }

.gw-reasons { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.gw-reasons li {
  padding: .6rem .75rem; border-radius: 10px; background: rgba(4, 6, 12, .5);
  border: 1px solid rgba(148, 163, 184, .12); font-size: .87rem; color: #e2e8f0; line-height: 1.45;
}
.gw-reasons code { font-size: .7rem; color: var(--text-dim); }

.gw-questions { margin: 0 0 1rem; padding: .8rem .9rem; border-radius: 12px; background: rgba(148, 163, 184, .06); border: 1px dashed rgba(148, 163, 184, .28); }
.gw-questions p { margin: 0 0 .4rem; font-weight: 600; font-size: .88rem; color: #e2e8f0; }
.gw-questions ul { margin: 0; padding-left: 1.15rem; font-size: .86rem; color: var(--text-muted); display: grid; gap: .25rem; }

.gw-steps { list-style: none; margin: 0 0 1.1rem; padding: 0; counter-reset: gwstep; display: grid; gap: .55rem; }
.gw-steps li {
  counter-increment: gwstep; position: relative; padding: .55rem .75rem .55rem 2.6rem;
  border-radius: 10px; background: rgba(4, 6, 12, .4); border: 1px solid rgba(148, 163, 184, .12);
  font-size: .88rem; color: #e2e8f0; line-height: 1.45;
}
.gw-steps li::before {
  content: counter(gwstep); position: absolute; left: .6rem; top: .5rem;
  width: 1.5rem; height: 1.5rem; border-radius: 8px; display: grid; place-items: center;
  font-weight: 700; font-size: .78rem; background: rgba(37, 99, 184, .28); border: 1px solid rgba(59, 125, 216, .4); color: #93c5fd;
}

.gw-orientation {
  margin: 0 0 1.1rem; padding: .8rem .9rem; border-radius: 12px; font-size: .85rem; line-height: 1.5;
  background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .25); color: #fde68a;
}

.gw-summary {
  max-height: 340px; overflow: auto; padding: 1rem; border-radius: 12px;
  background: rgba(4, 6, 12, .75); border: 1px solid rgba(148, 163, 184, .14);
  color: #cbd5e1; font-size: .74rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word;
  margin-bottom: .9rem;
}

.gw-authorities { margin-top: 1rem; }
.gw-authorities summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: #93c5fd; }
.gw-authorities__list { margin: .7rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.gw-authorities__item {
  padding: .65rem .8rem; border-radius: 10px; background: rgba(4, 6, 12, .4); border: 1px solid rgba(148, 163, 184, .14);
  font-size: .82rem; color: var(--text-muted); line-height: 1.5;
}
.gw-authorities__item a { color: var(--brand-bright); text-decoration: none; }
.gw-authorities__item a:hover { text-decoration: underline; }
.gw-authorities__review {
  display: inline-flex; margin-top: .3rem; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: #fde68a; background: rgba(251, 191, 36, .14); border: 1px solid rgba(251, 191, 36, .32);
  border-radius: 999px; padding: .1rem .45rem;
}

.gw-disclaimer { margin-top: 1.1rem; font-size: .78rem; color: var(--text-dim); line-height: 1.55; }

/* ── Modal (Export-Warnung) ── */
.gw-modal-overlay {
  position: fixed; inset: 0; background: rgba(2, 4, 9, .72); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 1.25rem; z-index: 200;
}
.gw-modal {
  max-width: 460px; width: 100%; border-radius: 16px; padding: 1.4rem 1.5rem;
  background: linear-gradient(165deg, rgba(12, 20, 36, .98), rgba(8, 13, 24, .99));
  border: 1px solid rgba(251, 191, 36, .35); box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.gw-modal h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; font-size: 1.05rem; color: #fde68a; }
.gw-modal h3 svg { width: 20px; height: 20px; flex-shrink: 0; }
.gw-modal p { margin: 0 0 .9rem; font-size: .88rem; color: #e2e8f0; line-height: 1.55; }
.gw-modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }

/* ── Toast ── */
.gw-toast {
  position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  background: rgba(12, 20, 36, .96); border: 1px solid rgba(59, 125, 216, .45); color: #fff;
  padding: .7rem 1rem; border-radius: 12px; z-index: 150; max-width: min(92vw, 440px); font-size: .88rem;
}

/* ── Druckansicht ── */
@media print {
  body * { visibility: hidden; }
  .gw-print-area, .gw-print-area * { visibility: visible; }
  .gw-print-area {
    position: absolute; inset: 0; margin: 0; padding: 1.5rem; color: #000; background: #fff;
    font-size: 12pt; line-height: 1.5;
  }
  .gw-print-hide { display: none !important; }
}

/* ────────────────────────────────────────────────────────────────
   Zusätze für den AVV-Prüfassistent (checklisten-/ergebnis-orientierte
   Tools). Rein additiv — nutzt vorhandene Variablen aus site.css und
   die generischen .gw-wrap/.gw-shell/.gw-field/.gw-option-Bausteine
   oben, ergänzt nur, was dort noch fehlt.
   ──────────────────────────────────────────────────────────────── */

.gw-hero-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--neon); background: var(--neon-soft); border: 1px solid rgba(61, 255, 154, .35);
  border-radius: 999px; padding: .3rem .7rem; margin-bottom: .75rem;
}

.gw-bullets { display: grid; gap: .55rem; margin: 1rem 0 1.25rem; }
.gw-bullet {
  display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem;
  border-radius: 14px; border: 1px solid rgba(148, 163, 184, .14); background: rgba(4, 6, 12, .4);
}
.gw-bullet .gw-icon { flex-shrink: 0; margin-top: .1rem; }
.gw-bullet strong { display: block; color: #e2e8f0; margin-bottom: .12rem; font-size: .92rem; }
.gw-bullet span { color: var(--text-muted); font-size: .84rem; line-height: 1.5; }

.gw-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; color: var(--neon); flex-shrink: 0; filter: drop-shadow(0 0 6px var(--neon-glow)); }
.gw-icon svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.gw-icon--hero { width: 48px; height: 48px; filter: drop-shadow(0 0 14px var(--neon-glow)); }

/* ── Pflichtangaben-Checkliste ── */
.gw-clause {
  padding: 1rem 1.05rem; border-radius: 14px; border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(4, 6, 12, .42); margin-bottom: .8rem;
}
.gw-clause-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .35rem; }
.gw-clause-title { font-size: .95rem; font-weight: 600; color: #f1f5f9; }
.gw-clause-art { font-size: .72rem; color: var(--text-dim); margin-top: .12rem; }
.gw-clause-badge {
  flex-shrink: 0; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  border-radius: 999px; padding: .18rem .58rem; white-space: nowrap;
}
.gw-clause-badge--sufficient { background: var(--neon-soft); color: var(--neon); border: 1px solid rgba(61, 255, 154, .35); }
.gw-clause-badge--unclear { background: rgba(251, 191, 36, .14); color: #fde68a; border: 1px solid rgba(251, 191, 36, .35); }
.gw-clause-badge--missing { background: rgba(248, 113, 113, .14); color: #fecaca; border: 1px solid rgba(248, 113, 113, .35); }
.gw-clause-badge--unchecked { background: rgba(148, 163, 184, .12); color: var(--text-muted); border: 1px solid rgba(148, 163, 184, .24); }

.gw-help { margin: .25rem 0 .6rem; }
.gw-help summary {
  cursor: pointer; font-size: .82rem; color: #93c5fd; list-style: none;
  display: inline-flex; align-items: center; gap: .35rem;
}
.gw-help summary::-webkit-details-marker { display: none; }
.gw-help[open] summary { color: #bfdbfe; }
.gw-help p { margin: .4rem 0 0; font-size: .82rem; color: var(--text-muted); line-height: 1.55; padding-left: 1.05rem; }

.gw-answer-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 .65rem; }
.gw-answer-btn {
  border: 1px solid rgba(148, 163, 184, .22); background: rgba(8, 13, 24, .7); color: var(--text-muted);
  border-radius: 999px; padding: .34rem .72rem; font: inherit; font-size: .78rem; cursor: pointer;
  transition: all .2s var(--ease);
}
.gw-answer-btn:hover { border-color: rgba(61, 255, 154, .35); }
.gw-answer-btn.is-active-sufficient { background: var(--neon-soft); border-color: rgba(61, 255, 154, .45); color: var(--neon); }
.gw-answer-btn.is-active-unclear { background: rgba(251, 191, 36, .16); border-color: rgba(251, 191, 36, .4); color: #fde68a; }
.gw-answer-btn.is-active-missing { background: rgba(248, 113, 113, .16); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.gw-answer-btn.is-active-unchecked { background: rgba(148, 163, 184, .18); border-color: rgba(148, 163, 184, .4); color: #e2e8f0; }
.gw-answer-btn.is-active-ja { background: rgba(248, 113, 113, .16); border-color: rgba(248, 113, 113, .4); color: #fecaca; }
.gw-answer-btn.is-active-nein { background: var(--neon-soft); border-color: rgba(61, 255, 154, .45); color: var(--neon); }
.gw-answer-btn.is-active-unsicher { background: rgba(251, 191, 36, .16); border-color: rgba(251, 191, 36, .4); color: #fde68a; }

.gw-clause-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .5rem; }
.gw-clause-detail .gw-field { margin-bottom: 0; }
.gw-clause-detail input, .gw-clause-detail textarea { font-size: .85rem; }

/* ── Volltext-Stichwortsuche (optional, nie gespeichert) ── */
.gw-search-panel { margin-top: 1.1rem; padding: .9rem 1rem; border-radius: 14px; border: 1px dashed rgba(148, 163, 184, .28); background: rgba(4, 6, 12, .3); }
.gw-search-panel textarea { min-height: 130px; font-size: .85rem; }
.gw-hits { margin-top: .65rem; display: grid; gap: .4rem; }
.gw-hit { font-size: .82rem; color: #cbd5e1; background: var(--neon-soft); border: 1px solid rgba(61, 255, 154, .22); border-radius: 10px; padding: .5rem .65rem; line-height: 1.5; }
.gw-hit mark { background: rgba(61, 255, 154, .32); color: #fff; border-radius: 3px; padding: 0 .1rem; }
.gw-hit-empty { font-size: .82rem; color: var(--text-dim); }

/* ── Risikofaktoren ── */
.gw-risk-card { padding: .9rem 1rem; border-radius: 14px; border: 1px solid rgba(148, 163, 184, .16); background: rgba(4, 6, 12, .42); margin-bottom: .7rem; }
.gw-risk-card--high { border-color: rgba(248, 113, 113, .3); }
.gw-risk-title { font-size: .92rem; font-weight: 600; color: #f1f5f9; margin-bottom: .15rem; }
.gw-risk-help { font-size: .82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: .55rem; }
.gw-risk-severity { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fecaca; margin-bottom: .4rem; }
.gw-risk-severity--caution { color: #fde68a; }

/* ── Gesamtergebnis-Panel (Status A–D) ── */
.gw-status-panel {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.15rem; border-radius: 16px;
  margin-bottom: 1rem; border: 1px solid rgba(148, 163, 184, .2); background: rgba(4, 6, 12, .5);
}
.gw-status-icon { width: 38px; height: 38px; flex-shrink: 0; }
.gw-status-panel--a { border-color: rgba(61, 255, 154, .35); background: var(--neon-soft); }
.gw-status-panel--a .gw-status-icon { color: var(--neon); }
.gw-status-panel--b { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); }
.gw-status-panel--b .gw-status-icon { color: #fbbf24; }
.gw-status-panel--c { border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .08); }
.gw-status-panel--c .gw-status-icon { color: #f87171; }
.gw-status-panel--d { border-color: rgba(147, 197, 253, .35); background: rgba(59, 125, 216, .08); }
.gw-status-panel--d .gw-status-icon { color: #93c5fd; }
.gw-status-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .25rem; }
.gw-status-text { font-size: 1.06rem; font-weight: 600; color: #f8fafc; line-height: 1.4; }

/* ── Ergebnistabelle ── */
.gw-table-wrap { overflow-x: auto; margin-bottom: 1rem; border-radius: 14px; border: 1px solid rgba(148, 163, 184, .16); }
.gw-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.gw-table th, .gw-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid rgba(148, 163, 184, .12); vertical-align: top; }
.gw-table th { color: var(--text-dim); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; background: rgba(4, 6, 12, .5); }
.gw-table tr:last-child td { border-bottom: none; }
.gw-table td.gw-td-muted { color: var(--text-muted); }

/* ── Top-Maßnahmen ── */
.gw-action-item {
  display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .16); background: rgba(4, 6, 12, .4); margin-bottom: .5rem;
}
.gw-action-rank {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--neon-soft); color: var(--neon);
  font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.gw-action-item strong { display: block; color: #e2e8f0; font-size: .88rem; }
.gw-action-item span { color: var(--text-muted); font-size: .8rem; }

.gw-assumptions { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text-muted); font-size: .84rem; line-height: 1.6; }
.gw-assumptions li { margin-bottom: .3rem; }

.gw-meta-line { font-size: .78rem; color: var(--text-dim); margin-bottom: .35rem; }
