/* ============ Punkfish Hindsight Quiz ============ */

.pf-hq{
  max-width: 920px;
}

/* Kopf */
.hq-head{
  padding: 0.25rem 0 0.75rem 0;
}
.hq-head h1{
  margin: 0 0 0.35rem 0;
  font-size: 1.6rem;
  line-height: 1.2;
}
.hq-sub{
  margin: 0;
  opacity: 0.85;
}

/* Status */
.hq-status{
  margin: 0.75rem 0 1rem 0;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(17,24,39,0.08);
}

.hq-progress{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hq-badge{
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(17,24,39,0.05);
  border: 1px solid rgba(17,24,39,0.07);
  font-size: 0.95rem;
}

.hq-meter{
  margin-top: 0.6rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(17,24,39,0.08);
  overflow: hidden;
}
.hq-meter-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(66,45,162,0.85); /* Punkfish-Purple-ish */
  transition: width 220ms ease;
}

/* Stage */
.hq-stage{
  margin: 1rem 0;
}

.hq-card{
  background: #fff;
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(17,24,39,0.06);
}

.hq-kicker{
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  opacity: 0.9;
}
.hq-title{
  margin: 0.1rem 0 0.65rem 0;
  font-size: 1.25rem;
}
.hq-text{
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
}

/* Antwortliste */
.hq-choices{
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.hq-choice{
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(244,246,251,0.55);
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.hq-choice:hover{
  transform: translateY(-1px);
  border-color: rgba(66,45,162,0.35);
}

.hq-choice input{
  margin-top: 0.2rem;
}

.hq-choice.is-selected{
  border-color: rgba(66,45,162,0.55);
  background: rgba(66,45,162,0.08);
}

.hq-choice .hq-choice-label{
  line-height: 1.4;
}

/* Bias-Auswertung */
.hq-bias{
  margin-top: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255,234,0,0.45);
  background: rgba(255,234,0,0.18);
}
.hq-bias strong{
  display: block;
  margin-bottom: 0.25rem;
}

/* Drag&Drop */
.hq-dd-wrap{
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hq-dd-columns{
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 860px){
  .hq-dd-columns{
    grid-template-columns: 1fr 1fr;
  }
}

/* Kommentar-Pool */
.hq-pool{
  padding: 0.8rem;
  border-radius: 16px;
  background: rgba(244,246,251,0.65);
  border: 1px dashed rgba(17,24,39,0.18);
}

.hq-pool-title{
  margin: 0 0 0.6rem 0;
  font-weight: 800;
}

.hq-comment{
  user-select: none;
  background: #fff;
  border: 1px solid rgba(17,24,39,0.1);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
  margin: 0 0 0.6rem 0;
  box-shadow: 0 6px 16px rgba(17,24,39,0.06);
}

.hq-comment:last-child{
  margin-bottom: 0;
}

.hq-comment[draggable="true"]{
  cursor: grab;
}
.hq-comment.is-dragging{
  opacity: 0.6;
  cursor: grabbing;
}

/* Dropzones */
.hq-drop{
  border-radius: 16px;
  padding: 0.8rem;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.75);
  min-height: 120px;
}

.hq-drop-title{
  margin: 0 0 0.25rem 0;
  font-weight: 900;
}

.hq-drop-hint{
  margin: 0 0 0.6rem 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.hq-drop.is-over{
  outline: 2px solid rgba(66,45,162,0.35);
  background: rgba(66,45,162,0.05);
}

/* Auswertungszustand */
.hq-comment.is-correct{
  border-color: rgba(16,185,129,0.6);
  background: rgba(16,185,129,0.08);
}
.hq-comment.is-wrong{
  border-color: rgba(239,68,68,0.55);
  background: rgba(239,68,68,0.06);
}

.hq-why{
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.9;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(17,24,39,0.18);
}

/* Navigation */
.hq-nav{
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(17,24,39,0.1);
}
.hq-nav-right{
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* kleine Hilfstexte */
.hq-muted{
  opacity: 0.8;
}

/* Pf-Buttons fallback (falls pf-btn-ghost/secondary nicht existieren) */
.pf-btn.pf-btn-ghost{
  background: transparent;
  border: 1px solid rgba(17,24,39,0.18);
}
.pf-btn.pf-btn-secondary{
  background: rgba(17,24,39,0.06);
  border: 1px solid rgba(17,24,39,0.14);
}
