/* =========================================================================
   WALYSER — KLARTEXT-EBENE (Portfolio & KI)
   -------------------------------------------------------------------------
   Vorher lagen auf dem Dashboard elf gleich aussehende Karten nebeneinander.
   Nichts sagte, womit man anfängt, und Begriffe wie „Unrealisiert G/V" oder
   „σ" standen unerklärt da. Diese Datei ändert nichts an der Technik — sie
   ordnet und beschriftet:

     1 · ABSCHNITTE      Drei nummerierte Blöcke mit Frage als Überschrift
     2 · KPI-KLARTEXT    Eine Zeile Alltagssprache unter jeder Kennzahl
     3 · BEGRIFFE        Gestrichelt unterstrichen, Erklärung per Klick
     4 · LEISTE          Beschriftete Gruppen statt nackter Symbole
     5 · KARTEN          Ruhigere Klartext-Zeile, klarere Fußzeilen
     6 · SCHRITTE        Nummerierte Abläufe (Stresstest, nächste Schritte)

   Wird NACH portfolio.css geladen und überschreibt nur gezielt.
   ========================================================================= */

/* =========================================================================
   1 · ABSCHNITTE — die Seite bekommt eine Reihenfolge
   ========================================================================= */
.secHead{
  display:flex;align-items:flex-start;gap:13px;
  margin:14px 0 -2px;padding:0 2px;scroll-margin-top:150px;
}
.dashView > .secHead:first-of-type{margin-top:2px}
.secNum{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:9px;margin-top:1px;
  background:linear-gradient(120deg,#7c5cff2e,#00d9ff1a);
  box-shadow:inset 0 0 0 1px #7c5cff45;
  color:#bfe9f7;font:12px ui-monospace,monospace;font-weight:800;
}
.secTxt{min-width:0}
.secTxt h2{
  margin:0;font-size:16.5px;letter-spacing:-.02em;color:#f5f7fb;line-height:1.25;
}
.secTxt p{margin:4px 0 0;font-size:12.5px;color:#8e96ab;line-height:1.55;max-width:74ch}
.secHead .secGo{
  margin-left:auto;flex:0 0 auto;align-self:center;
  font-size:11.5px;color:#8fe9ff;white-space:nowrap;
}
.secHead .secGo:hover{text-decoration:underline}
@media(max-width:620px){
  .secTxt h2{font-size:15px}
  .secHead .secGo{display:none}
}

/* Trennlinie über jedem Abschnitt außer dem ersten — ruhiger als ein Rahmen */
.secHead.divided{border-top:1px solid var(--line);padding-top:20px;margin-top:8px}

/* =========================================================================
   2 · KPI-KLARTEXT — jede Kennzahl sagt selbst, was sie bedeutet
   ========================================================================= */
.kpiPlain{
  display:block;margin-top:9px;padding-top:8px;
  border-top:1px solid #ffffff0d;
  font-size:11px;line-height:1.5;color:#7b8397;font-weight:500;
}
body:not(.beginnerOn) .kpiPlain{display:none}
.kpi{padding-bottom:14px}
.kpi .kpiMeta{margin-top:8px}
/* Der Verlaufs-Schimmer lag unter dem neuen Text — etwas flacher halten */
.kpiSpark{height:28px;opacity:.38}

/* =========================================================================
   3 · BEGRIFFE — Fachwort bleibt stehen, Erklärung kommt auf Klick
   ========================================================================= */
.wt{
  border-bottom:1px dashed #6a7c93;cursor:help;
  text-decoration:none;color:inherit;
}
.wt:after{
  content:"?";display:inline-block;margin-left:3px;
  font-size:8.5px;font-weight:800;vertical-align:super;
  color:#8fe9ff;opacity:.75;
}
.wt:hover,.wt.on{border-bottom-color:#8fe9ff;color:#cfe9f5}
.wt:focus-visible{outline:2px solid var(--cyan);outline-offset:2px;border-radius:3px}

.wtPop{
  position:absolute;z-index:80;max-width:min(300px,calc(100vw - 28px));
  padding:11px 13px;border-radius:12px;
  background:#0f131df7;backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 22px 48px -18px #000e;
  font-size:12px;line-height:1.6;color:#cbd0dc;
  opacity:0;transform:translateY(4px);pointer-events:none;
  transition:opacity .14s ease,transform .14s ease;
}
.wtPop.show{opacity:1;transform:none;pointer-events:auto}
.wtPop b{display:block;color:#8fe9ff;font-size:11px;letter-spacing:.03em;
  text-transform:uppercase;margin-bottom:5px}

/* =========================================================================
   4 · LEISTE — beschriftete Gruppen statt Rätselraten
   ========================================================================= */
.dashBar{gap:9px 12px}
.barBlock{display:flex;align-items:center;gap:8px;min-width:0}
.barLbl{
  font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;
  color:#6f7789;font-weight:700;white-space:nowrap;flex:0 0 auto;
}
/* Symbole bekommen Text. Unter 1080 px bleibt nur das Symbol stehen. */
.dashBar .iconBtn{width:auto;min-width:31px;gap:7px;padding:0 11px}
.ibLbl{font-size:11px;font-weight:650;letter-spacing:-.005em}
@media(max-width:1080px){.ibLbl{display:none}.dashBar .iconBtn{width:31px;padding:0}}

/* Die Feinschliff-Regeln in portfolio.css erzwangen ab 1180 px eine einzige
   Zeile. Mit Beschriftungen ist Umbrechen das kleinere Übel als Quetschen. */
@media(min-width:1180px){
  .dashBar{flex-wrap:wrap}
  .dashBar .barGroup{flex-wrap:wrap}
  #chainChips{overflow:visible;-webkit-mask-image:none;mask-image:none}
  .dashBar .chip{font-size:11.5px}
}
.barActions{gap:7px}

/* Demo-Banner: der Satz war der wichtigste auf der Seite und sah aus wie
   eine Randnotiz. Jetzt zweizeilig mit deutlicher Aussage. */
.demoBanner{align-items:center}
.demoBanner b{color:#fff3d0}
.demoBanner small{display:block;margin-top:3px;font-size:11px;color:#b9ad86;line-height:1.5}

/* =========================================================================
   5 · KARTEN — ruhigere Klartext-Zeile, klare Fußzeile
   ========================================================================= */
/* Die Zeile aus dem Anfänger-Modus stand als leuchtender Kasten im Weg.
   Sie soll gelesen, nicht angestarrt werden. */
.plainLine{
  margin:-2px 0 12px;padding:0 0 0 11px;border-radius:0;
  border:0;border-left:2px solid #62eaff55;background:none;
  color:#a9b4c4;font-size:12.5px;line-height:1.6;
}
.plainLine b{color:#8fe9ff}

/* Fußzeilen tragen den Hinweis „was mache ich damit" — leicht abheben */
.cardFoot{font-size:11.5px}

/* Karten-Überschriften: der Fachname darf bleiben, wenn daneben steht,
   worum es geht. Hängt am selben Schalter wie alle anderen Erklärungen —
   wer ihn ausschaltet, bekommt die dichte Profi-Ansicht. */
.headHint{
  display:inline-block;
  font-size:11px;color:#7e879b;font-weight:500;
  padding:2px 8px;border:1px solid var(--line);border-radius:999px;background:#ffffff05;
}
body:not(.beginnerOn) .headHint{display:none}
/* In den Intelligence-Karten gibt es keine .cardHead-Zeile — dort sitzt der
   Hinweis als eigene kleine Zeile direkt unter der Überschrift. */
.intelTitle + .headHint{margin:-2px 0 10px}

/* =========================================================================
   6 · SCHRITTE — nummerierte Abläufe innerhalb einer Karte
   ========================================================================= */
.stepLbl{
  display:flex;align-items:center;gap:8px;
  margin:16px 0 9px;font-size:11px;font-weight:700;
  letter-spacing:.05em;text-transform:uppercase;color:#8e96ab;
}
.stepLbl:first-of-type{margin-top:2px}
.stepLbl i{
  font-style:normal;flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:6px;background:#ffffff0d;
  box-shadow:inset 0 0 0 1px var(--line);
  color:#8fe9ff;font:9.5px ui-monospace,monospace;font-weight:800;letter-spacing:0;
}
.stepLbl small{
  font-weight:500;text-transform:none;letter-spacing:0;
  color:#6a7285;font-size:11px;
}

/* „Und jetzt?" — die Karte, die aus Zahlen eine Handlung macht */
.nextCard{border-color:#27e7a42e;background:linear-gradient(160deg,#27e7a40c,#0b0e16 62%)}
.nextList{list-style:none;margin:0;padding:0;counter-reset:nx}
.nextList li{
  position:relative;padding:0 0 14px 34px;margin-bottom:14px;
  border-bottom:1px solid #ffffff0a;
}
.nextList li:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
.nextList li:before{
  counter-increment:nx;content:counter(nx);
  position:absolute;left:0;top:0;
  display:inline-flex;align-items:center;justify-content:center;
  width:23px;height:23px;border-radius:8px;
  background:#27e7a418;box-shadow:inset 0 0 0 1px #27e7a440;
  color:#7ff0c6;font:11px ui-monospace,monospace;font-weight:800;
}
.nextList b{display:block;font-size:12.5px;color:#f5f7fb;margin-bottom:4px;line-height:1.4}
.nextList span{display:block;font-size:11.5px;color:#8e96ab;line-height:1.6}
.nextList a{display:inline-block;margin-top:6px;font-size:11.5px;color:#8fe9ff;font-weight:650}
.nextList a:hover{text-decoration:underline}

/* =========================================================================
   7 · EINSTIEGSLEISTE — die drei Schritte etwas deutlicher
   ========================================================================= */
.gsSteps a{border:1px solid transparent}
.gsSteps a:hover{background:#ffffff07;border-color:var(--line)}
.gsNum{width:21px;height:21px;font-size:10.5px}

/* =========================================================================
   8 · SELBSTERKENNTNIS / STRESSTEST — Einleitungen lesbarer
   ========================================================================= */
.selfIntro{font-size:12.5px}
.selfIntro .siList{
  display:flex;gap:8px;flex-wrap:wrap;margin-top:11px;padding:0;list-style:none;
}
.selfIntro .siList li{
  font-size:11.5px;color:#aeb4c5;padding:5px 10px;
  border:1px solid var(--line);border-radius:999px;background:#ffffff05;
}

/* Ergebniszeile des Stresstests: die drei Zahlen brauchen Luft und Rahmen */
.scenResult{
  padding:14px 15px;border:1px solid var(--line);border-radius:13px;
  background:#ffffff04;margin-top:12px;
}
.scenResult > div{min-width:120px}
.scenResult .sub{display:block;margin-bottom:2px}

@media(max-width:620px){
  .scenResult{flex-direction:column;align-items:stretch;gap:12px}
  .scenResult > div{text-align:left !important}
}
