/* Wert-o-Mat Prototyp · Styles · 2026-05-29 (Rev 2)
   Layout-Pivot: Wahl-o-Mat-These + Befund oben prominent,
   darunter heranführende Fragen nach Schlagkraft in drei Tiers.
   Erbt von site.css. */

.wom-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* ── Intro ─────────────────────────────────────────── */

.wom-intro {
  position: relative;
}

.wom-intro h1 {
  margin: 0.25rem 0 1rem;
}

/* POC-Stempel: gedrehter Tinten-Stempel rechts oben */
.wom-stamp {
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  transform: rotate(-9deg);
  border: 3px solid #ff5e3a;
  color: #ff5e3a;
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.05;
  border-radius: 4px;
  background: rgba(255, 94, 58, 0.06);
  pointer-events: none;
  user-select: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-align: center;
  opacity: 0.85;
  box-shadow: inset 0 0 0 1px rgba(255, 94, 58, 0.25);
}

.wom-lead {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.wom-meta {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  opacity: 0.85;
}

.wom-meta-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* WERT.LOS-Diagnose-Block (Framing oben) */
.wom-diagnose {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  background: rgba(255, 94, 58, 0.07);
  border-left: 4px solid rgba(255, 94, 58, 0.65);
  border-radius: 6px;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.wom-diagnose-stamp {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 94, 58, 0.18);
  border: 2px solid rgba(255, 94, 58, 0.55);
  color: #ff9d8a;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.wom-diagnose-body p {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.55;
}

.wom-diagnose-body p:last-child {
  margin-bottom: 0;
}

.wom-callout {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  background: rgba(244, 180, 0, 0.08);
  border-left: 4px solid rgba(244, 180, 0, 0.65);
  border-radius: 6px;
}

.wom-callout p {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.55;
}

.wom-callout p:last-child {
  margin-bottom: 0;
}

.wom-callout-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.wom-start {
  margin: 1.5rem 0 1rem;
}

/* ── Progress ──────────────────────────────────────── */

.wom-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wom-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.wom-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent-primary, #f4b400);
  transition: width 0.25s ease;
}

.wom-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Thesis card (oben prominent) ──────────────────── */

.wom-thesis-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.wom-thesis-label {
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.wom-thesis-original {
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
  font-style: italic;
  border: none;
}

.wom-befund {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.wom-befund-stamp {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 120, 100, 0.18);
  border: 1px solid rgba(255, 120, 100, 0.45);
  color: #ff9d8a;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.wom-befund[data-finding="frag-wuerdig"] .wom-befund-stamp {
  background: rgba(244, 180, 0, 0.18);
  border-color: rgba(244, 180, 0, 0.55);
  color: #f6c545;
}

.wom-befund[data-finding="wert-voll"] .wom-befund-stamp {
  background: rgba(110, 200, 130, 0.18);
  border-color: rgba(110, 200, 130, 0.55);
  color: #8fd0a3;
}

.wom-befund-short {
  font-weight: 600;
  font-size: 0.95rem;
}

.wom-befund-detail {
  flex: 1 1 100%;
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

.wom-pilot-note {
  margin: 1rem 0 0;
  padding: 0.6rem 0.85rem;
  background: rgba(106, 183, 255, 0.1);
  border-left: 3px solid rgba(106, 183, 255, 0.55);
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0.9;
}

/* ── Übergang zu Fragen ────────────────────────────── */

.wom-questions-intro {
  margin: 0 0 1.25rem;
}

.wom-questions-intro h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.wom-questions-intro p {
  margin: 0;
}

/* ── Tiers ─────────────────────────────────────────── */

.wom-tier {
  margin: 0 0 1.25rem;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.wom-tier-strong {
  border-color: rgba(244, 180, 0, 0.4);
  background: rgba(244, 180, 0, 0.05);
}

.wom-tier-medium {
  border-color: rgba(106, 183, 255, 0.3);
}

.wom-tier-weak {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.85;
}

.wom-tier-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.wom-tier-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.wom-tier-meta {
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 500;
}

.wom-tier-hint {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.75;
  margin: 0.25rem 0 1rem;
}

.wom-tier-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wom-tier-badge-strong {
  background: rgba(244, 180, 0, 0.25);
  color: #f7cb46;
  border: 1px solid rgba(244, 180, 0, 0.5);
}

.wom-tier-badge-medium {
  background: rgba(106, 183, 255, 0.2);
  color: #9bc7ff;
  border: 1px solid rgba(106, 183, 255, 0.5);
}

.wom-tier-badge-weak {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Details-Sommary für mittlere/schwache Tiers */
details.wom-tier summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
}

details.wom-tier summary::-webkit-details-marker {
  display: none;
}

details.wom-tier summary::after {
  content: "▸";
  margin-left: auto;
  opacity: 0.6;
  transition: transform 0.15s ease;
}

details.wom-tier[open] summary::after {
  transform: rotate(90deg);
}

.wom-tier-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wom-tier-summary-text strong {
  font-size: 1rem;
}

/* ── Single question card ─────────────────────────── */

.wom-questions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.wom-q {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1rem;
}

.wom-tier-strong .wom-q {
  border-left-color: #f4b400;
}

.wom-tier-medium .wom-q {
  border-left-color: #6ab7ff;
}

.wom-q-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.wom-q-wert {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wom-q-schlag {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  opacity: 0.85;
}

.wom-q-text {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.wom-q-beispiel {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.wom-q-beispiel summary {
  cursor: pointer;
  font-weight: 600;
  opacity: 0.8;
}

.wom-q-beispiel-body {
  margin-top: 0.4rem;
  line-height: 1.5;
  font-style: italic;
}

/* Slider als Farb-Bar mit Punkten · dezente Pol-Texte unter dem Bar */
.wom-q-input {
  margin: 1rem 0 0;
}

.wom-q-slider {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  padding: 0 2px;
  margin-bottom: 0.4rem;
}

.wom-q-slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  right: 11px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(106, 183, 255, 0.55) 0%,
    rgba(106, 183, 255, 0.22) 35%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 153, 102, 0.22) 65%,
    rgba(255, 153, 102, 0.55) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.wom-q-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 2px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  display: block;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
}

.wom-q-dot:hover {
  border-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.1);
}

.wom-q-dot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  inset: 0;
  margin: 0;
}

.wom-q-dot:has(input:checked) {
  background: #f4b400;
  border-color: #f4b400;
  transform: scale(1.2);
  box-shadow: 0 0 0 5px rgba(244, 180, 0, 0.18);
}

.wom-q-dot-tip {
  position: absolute;
  top: 145%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.wom-q-dot:hover .wom-q-dot-tip,
.wom-q-dot:has(input:checked) .wom-q-dot-tip {
  opacity: 1;
}

.wom-q-pole-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.wom-q-pole-a-label {
  text-align: left;
  flex: 1;
  max-width: 48%;
}

.wom-q-pole-a-label::before {
  content: "A · ";
  color: rgba(106, 183, 255, 0.85);
  font-weight: 700;
}

.wom-q-pole-b-label {
  text-align: right;
  flex: 1;
  max-width: 48%;
}

.wom-q-pole-b-label::before {
  content: "B · ";
  color: rgba(255, 153, 102, 0.85);
  font-weight: 700;
}

/* ── Navigation ────────────────────────────────────── */

.wom-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.wom-nav .button {
  min-width: 7rem;
}

/* ── Result ────────────────────────────────────────── */

.wom-result h2 {
  margin: 0.25rem 0 1rem;
}

.wom-result h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.wom-profile {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wom-profile-row {
  display: grid;
  grid-template-columns: 14rem 1fr 3rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 0.95rem;
}

.wom-profile-row-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.wom-profile-row-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6ab7ff, #f4b400);
}

.wom-profile-row-value {
  text-align: right;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  font-weight: 600;
}

.wom-answers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.wom-answer-thesis {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.18);
}

.wom-answer-thesis h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.wom-answer-thesis-original {
  margin: 0 0 0.75rem;
  font-style: italic;
  opacity: 0.75;
  font-size: 0.9rem;
}

.wom-answer-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.wom-answer-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wom-answer-item:first-child {
  border-top: none;
}

.wom-answer-wert {
  font-weight: 600;
  opacity: 0.9;
}

.wom-answer-stance {
  opacity: 0.85;
}

.wom-result-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.5rem;
}

/* ── Mobile ────────────────────────────────────────── */

@media (max-width: 480px) {
  .wom-main { padding: 1.25rem 0.9rem 3rem; }
  .wom-stamp {
    top: 0.25rem;
    right: 0.25rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
  .wom-thesis-card { padding: 1.1rem 1rem; }
  .wom-thesis-original { font-size: 1.1rem; }
  .wom-lead { font-size: 1rem; }
  .wom-callout { padding: 1rem 1.1rem; }
  .wom-callout p { font-size: 0.95rem; }
  .wom-tier { padding: 0.85rem 0.9rem; }
  .wom-tier-header h3 { font-size: 1rem; }
  .wom-questions-intro h2 { font-size: 1.15rem; }
  .wom-q { padding: 0.75rem 0.85rem; }
  .wom-q-slider { height: 30px; }
  .wom-q-dot { width: 18px; height: 18px; }
  .wom-q-dot-tip { font-size: 0.65rem; }
  .wom-q-pole-labels { font-size: 0.7rem; gap: 0.5rem; }
  .wom-diagnose { flex-direction: column; gap: 0.6rem; padding: 1rem 1.1rem; }
  .wom-diagnose-stamp { font-size: 0.85rem; align-self: flex-start; }
  .wom-profile-row { grid-template-columns: 9rem 1fr 2.4rem; font-size: 0.85rem; gap: 0.5rem; }
  .wom-nav .button { min-width: 0; flex: 1; }
  .wom-answer-item { grid-template-columns: 1fr; gap: 0.1rem; }
}
