/* © 2026 Andreas Grießer (www.andreas-griesser.com) — Alle Rechte vorbehalten.
   Texte und Code sind urheberrechtlich geschützt. Jede Übernahme,
   Vervielfältigung oder Bearbeitung außerhalb dieser Website ist
   ohne schriftliche Zustimmung untersagt. */
/* =====================================================================
   DISG-Selbsteinschätzung — Gestaltung
   Farben und Schriften lassen sich zentral über die Variablen unten
   an das eigene Branding anpassen.
   ===================================================================== */

:root {
  --accent: #6d3b64;          /* Hauptfarbe (Buttons, Akzente) — Aubergine (Wertebild) */
  --accent-dark: #552e4e;
  --ink: #22303a;             /* Textfarbe */
  --ink-soft: #5b6b76;
  --paper: #f6f4ef;           /* Seitenhintergrund */
  --card: #ffffff;
  --line: #e3ded4;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(34, 48, 58, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ---------- Screens ---------- */
.screen { display: none; }
.screen.active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Typografie ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h2 { font-size: 1.35rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }

.lead { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- Startseite ---------- */
.motivation-box {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 28px 0 0;
  box-shadow: var(--shadow);
}
.motivation-box h2 { font-size: 1.05rem; }
.motivation-box p { margin: 0 0 12px; }
.motivation-box p:last-child { margin-bottom: 0; }

.info-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0 20px;
  box-shadow: var(--shadow);
}
.info-box h2 { font-size: 1.05rem; }
.info-box ul { margin: 0; padding-left: 20px; }
.info-box li { margin: 6px 0; }

.privacy-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: #eef2ee;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 28px;
}

/* ---------- Registrierung / Zugangscode ---------- */
.gate-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.gate-box h2 { font-size: 1.05rem; }
.gate-box.verified { border-color: var(--accent); }

.gate-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.gate-row input {
  flex: 1 1 220px;
  font: inherit;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
.gate-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
#gate-code { letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }

.btn-small { padding: 8px 16px; font-size: 0.9rem; margin-top: 10px; }

.gate-msg {
  margin: 14px 0 0;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 10px;
}
.gate-msg.success { background: #eaf5ec; color: #1e6b3a; }
.gate-msg.error   { background: #faeceb; color: #a93226; }

.name-field { margin-bottom: 28px; }
.name-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.name-field .optional { font-weight: 400; color: var(--ink-soft); }
.name-field input {
  width: 100%;
  font: inherit;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
.name-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); background: rgba(0,0,0,0.04); }

.btn-large { padding: 15px 34px; font-size: 1.05rem; }

/* ---------- Fragebogen ---------- */
.progress-wrap { margin-bottom: 32px; }
.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.question-text { font-size: 1.4rem; margin-bottom: 24px; }

.options { display: grid; gap: 12px; }

.option {
  font: inherit;
  text-align: left;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option:hover { border-color: var(--accent); }
.option.selected {
  border-color: var(--accent);
  background: #eef4f3;
  font-weight: 600;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* ---------- Likert-Skala ---------- */
.likert { display: grid; gap: 10px; }

.likert-option {
  font: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 18px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.likert-option:hover { border-color: var(--accent); }
.likert-option.selected {
  border-color: var(--accent);
  background: #f7efe9;
  font-weight: 600;
}

.likert-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.likert-option.selected .likert-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Dimensions-Skalen (0-100 mit Mittelmarke) ---------- */
.scale { margin: 10px 0 6px; }
.scale-track {
  position: relative;
  height: 14px;
  background: var(--paper);
  border-radius: 999px;
  overflow: visible;
}
.scale-fill {
  height: 100%;
  border-radius: 999px;
  opacity: 0.35;
}
.scale-mid {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--line);
}
.scale-marker {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(34, 48, 58, 0.25);
}
.scale-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Gesamtübersicht ---------- */
.overview-row {
  display: grid;
  grid-template-columns: 200px 1fr 44px;
  align-items: center;
  gap: 16px;
}
.overview-label strong { display: block; font-size: 0.98rem; }
.overview-label span { font-size: 0.8rem; color: var(--ink-soft); }
.overview-value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

/* ---------- Dimensions-Abschnitte ---------- */
.dim-section {
  border-top: 4px solid var(--line);
  padding-top: 18px;
}
.dim-score {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: 8px;
}
.dim-description {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Facetten ---------- */
.facets { margin-top: 18px; }
.facets h3 { font-size: 0.95rem; color: var(--ink-soft); }
.facet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-top: 10px;
}
.facet-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.facet-track {
  height: 8px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.facet-fill { height: 100%; border-radius: 999px; }
.facet-info {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
}


/* ---------- Werte-Kompass (SVG) ---------- */
.compass-wrap { text-align: center; }
.compass { max-width: 480px; width: 100%; height: auto; }
.compass-label { font-size: 12px; font-weight: 600; fill: var(--ink); }
.compass-prio { font-size: 11px; fill: var(--ink-soft); font-variant-numeric: tabular-nums; }
.compass-center { font-size: 13px; font-weight: 700; fill: var(--ink-soft); }
.compass-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* ---------- Werte-Rangliste ---------- */
.rank-list { display: grid; gap: 9px; margin-top: 14px; }
.rank-row {
  display: grid;
  grid-template-columns: 26px 190px 1fr 44px;
  align-items: center;
  gap: 12px;
}
.rank-row.top .rank-name { font-weight: 700; }
.rank-pos {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: right;
}
.rank-name { font-size: 0.95rem; }
.rank-track {
  display: block;
  height: 10px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.rank-fill { display: block; height: 100%; border-radius: 999px; }
.rank-prio {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}
.rank-prio.plus { color: #1e6b3a; }
.rank-prio.minus { color: var(--ink-soft); }

/* ---------- Spannungsachsen ---------- */
.axis { margin: 22px 0; }
.axis-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.axis-track {
  position: relative;
  height: 12px;
  background: var(--paper);
  border-radius: 999px;
}
.axis-mid {
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: var(--line);
}
.axis-marker {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(34, 48, 58, 0.25);
}
.axis-text { font-size: 0.95rem; margin-top: 10px; }

@media (max-width: 560px) {
  .rank-row { grid-template-columns: 22px 1fr 44px; }
  .rank-track { grid-column: 1 / -1; }
}

/* ---------- Auswertung ---------- */
.result-header { margin-bottom: 28px; }
.result-meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.chart-row {
  display: grid;
  grid-template-columns: 170px 1fr 52px;
  align-items: center;
  gap: 14px;
}
.chart-row.primary .chart-label { font-weight: 700; }

.chart-label {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dim-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.chart-track {
  height: 14px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.chart-bar {
  height: 100%;
  border-radius: 999px;
  animation: grow-bar 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes grow-bar {
  from { width: 0; }
}
.chart-value {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

.result-section { margin-bottom: 28px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.two-col ul { margin: 0; padding-left: 20px; }
.two-col li { margin: 6px 0; }

.tie-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}

.coaching-box {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.disclaimer {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.result-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 24px;
}

/* ---------- Mobil ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 28px 18px 48px; }
  h1 { font-size: 1.7rem; }
  .question-text { font-size: 1.2rem; }
  .two-col { grid-template-columns: 1fr; }
  .chart { padding: 20px 16px; }
  .chart-row { grid-template-columns: 1fr; gap: 6px; }
  .chart-value { text-align: left; }
  .overview-row { grid-template-columns: 1fr 44px; }
  .overview-row .scale { grid-column: 1 / -1; }
  .facet-grid { grid-template-columns: 1fr; }
  .likert-option { padding: 11px 14px; }
}

/* ---------- Druck / PDF ---------- */
@media print {
  body { background: #fff; font-size: 12pt; }
  .container { max-width: none; padding: 0; }
  .no-print, .site-footer { display: none !important; }
  .screen { display: none; }
  #screen-result { display: block !important; }
  .chart, .coaching-box, .info-box { box-shadow: none; }
  .chart-bar { animation: none; }
  .dim-letter, .chart-bar, .scale-fill, .scale-marker, .facet-fill,
  .rank-fill, .axis-marker, .legend-dot, .compass path {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .result-section { break-inside: avoid; }
  .dim-section { break-before: auto; }
}


/* ---------- Ergebnis-Code ---------- */
.code-box .result-code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  word-break: break-all;
  margin: 6px 0 14px;
}
.code-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.code-entry { margin-top: 18px; text-align: center; }
.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.95rem;
  font-family: inherit;
  padding: 6px;
}
.code-form {
  margin-top: 10px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.code-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.code-row { display: flex; gap: 10px; flex-wrap: wrap; }
.code-row input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.code-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.code-error { color: #b3261e; font-size: 0.92rem; margin: 10px 0 0; }

@media print {
  .code-box { break-inside: avoid; }
}


/* ---------- Nächste Stufe / Reise ---------- */
a.btn { display: inline-block; text-decoration: none; text-align: center; }
.next-step { border-left: 4px solid var(--accent); }
.next-step h2 { margin-top: 0; }
@media print {
  .next-step { break-inside: avoid; }
}


/* =====================================================================
   DEIN WERTEBILD — Spiel-Styles
   ===================================================================== */

/* ---------- Kontextwahl ---------- */
.kontext-wahl { margin-bottom: 24px; }
.kontext-wahl h2 { font-size: 1.1rem; margin-bottom: 12px; }
.kontext-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.kontext-option:has(input:checked) {
  border-color: var(--accent);
  outline: 1px solid var(--accent);
}
.kontext-option input { accent-color: var(--accent); }

/* ---------- Akt-Kopf ---------- */
.akt-kopf { text-align: center; margin-bottom: 18px; }
.akt-kopf h2 { margin: 6px 0 8px; }
.akt-hinweis { color: var(--ink-soft); font-size: 0.95rem; max-width: 560px; margin: 0 auto; }

/* ---------- Spielkarten ---------- */
.spiel-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(34, 48, 58, 0.14);
  padding: 46px 26px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.spiel-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  border-radius: 18px 18px 0 0;
  background: var(--card-accent, var(--accent));
}
.spiel-card .card-wert {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
}
.spiel-card .card-satz {
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Akt 1: Sortier-Bühne ---------- */
.sort-buehne {
  max-width: 420px;
  margin: 0 auto 20px;
  min-height: 220px;
  display: flex;
  align-items: stretch;
}
#sort-card {
  flex: 1;
  min-height: 210px;
  justify-content: center;
  cursor: grab;
  transition: transform 0.15s;
}
#sort-card.fly-right { transform: translateX(140%) rotate(14deg); opacity: 0; transition: all 0.2s; }
#sort-card.fly-left  { transform: translateX(-140%) rotate(-14deg); opacity: 0; transition: all 0.2s; }
.sort-aktionen {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.btn-ja {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-ja:hover { background: var(--accent-dark); }
.btn-nein {
  background: var(--card);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-nein:hover { border-color: var(--ink-soft); }
.sort-zaehler { text-align: center; color: var(--ink-soft); font-size: 0.92rem; margin: 4px 0; }
.sort-tipp { text-align: center; color: var(--ink-soft); font-size: 0.82rem; }
@media (max-width: 560px) {
  .sort-tipp { display: none; }
}

/* ---------- Akt 2: Duelle ---------- */
.duell-buehne {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.duell-card {
  flex: 1;
  min-height: 220px;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.duell-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(34, 48, 58, 0.2); }
.duell-card.duell-win { transform: scale(1.05); border-color: var(--card-accent); }
.duell-card.duell-lose { opacity: 0.25; transform: scale(0.92); }
.duell-vs {
  align-self: center;
  font-weight: 800;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .duell-buehne { flex-direction: column; }
  .duell-vs { padding: 2px 0; }
  .duell-card { min-height: 150px; padding-top: 34px; }
}

/* ---------- Akt 3: Pyramide bauen ---------- */
.pyra-slots { margin: 0 auto 18px; max-width: 560px; }
.pyra-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.slot {
  width: 160px;
  height: 64px;
  border: 2px dashed var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 0.15s;
}
.slot:not(.filled):hover { border-color: var(--accent); }
.slot-hint { color: var(--ink-soft); font-size: 0.82rem; pointer-events: none; }
.slot .mini-card { width: 100%; height: 100%; margin: 0; }

.tray {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 70px;
}
.mini-card {
  position: relative;
  width: 150px;
  height: 60px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ink);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  font-size: 0.95rem;
}
.mini-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: var(--card-accent, var(--accent));
}
.mini-card.selected { outline: 3px solid var(--accent); outline-offset: 1px; }
.mini-card.drag-ghost {
  position: fixed;
  z-index: 50;
  width: 150px;
  height: 60px;
  pointer-events: none;
  opacity: 0.9;
  transform: rotate(-3deg);
}
#screen-akt3 .btn-large { display: block; margin: 0 auto; }
#akt3-status { text-align: center; margin-bottom: 14px; }
@media (max-width: 560px) {
  .slot { width: 30%; min-width: 96px; height: 56px; }
  .mini-card { width: 30%; min-width: 96px; height: 52px; font-size: 0.85rem; }
}

/* ---------- Ergebnis-Pyramide ---------- */
.pyra { margin: 10px auto 6px; max-width: 560px; }
.pyra-card {
  position: relative;
  width: 160px;
  height: 66px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  overflow: hidden;
}
.pyra-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: var(--card-accent, var(--accent));
}
.pyra.small .pyra-card { width: 108px; height: 48px; font-size: 0.8rem; font-weight: 700; }
.pyra-legende {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
@media (max-width: 560px) {
  .pyra-card { width: 30%; min-width: 96px; height: 58px; font-size: 0.9rem; }
  .pyra-legende { flex-wrap: wrap; gap: 8px; }
}

/* ---------- Vergleich ---------- */
.vgl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.vgl-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  text-align: center;
}
.vgl-col h3 { margin: 0 0 10px; }
.vgl-spitze { color: var(--ink-soft); font-size: 0.9rem; }
@media (max-width: 640px) {
  .vgl-grid { grid-template-columns: 1fr; }
}

@media print {
  .pyra-card { box-shadow: none; }
  .pyra { break-inside: avoid; }
}

/* Wisch-/Wegflieg-Animation darf kein Seitwärts-Scrollen auslösen */
body { overflow-x: hidden; }
.sort-buehne { overflow: visible; }


/* ---------- Hervorhebungs-Boxen wie "Impulse für Dein Coaching" ---------- */
.next-step,
.kern-box {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

/* Vergleichs-Formular: Luft zwischen Feldern und vor den Buttons */
#screen-vergleich .code-form label { display: block; margin: 14px 0 6px; font-weight: 600; }
#screen-vergleich .code-form label:first-of-type { margin-top: 0; }
#screen-vergleich .code-actions { margin-top: 18px; }
