/* Wrapper */
.tq-quiz { margin: 0 auto; width:100%;}
.tq-hidden { display: none !important; }

/* Card */
.tq-card {
}

.tq-header,
.tq-body,
.tq-footer {
	position:relative;
	z-index:3;
}

.tq-body {
	display:flex;
	flex-direction:column;
}

/* Header */
.tq-kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.tq-title { margin: 6px 0 10px; font-size: 28px; line-height: 1.15; }
.tq-lead { margin: 0; opacity: 0.85; }

.tq-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,0.06);
  margin-top: 14px;
}
.tq-progress__bar {
  height: 100%;
  width: 0%;
  background: rgba(0,0,0,0.45);
  transition: width 220ms ease;
}
.tq-progress__meta {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
}

/* Question */
.tq-question__meta { margin: 10px 0 6px; }
.tq-chip {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
}
.tq-question__title { margin: 10px 0 14px; font-size: 20px; }

.tq-answers {
  display: grid;
  gap: 12px;
}

.tq-answer {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  padding: 14px 14px;
  background: #fff;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
}

.tq-answer:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.tq-answer.is-active {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.tq-answer.is-active .tq-answer__letter {background: #ebc876!important;}

.tq-answer__letter {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.06);
  font-weight: 700;
}

.tq-answer__text { display: block; line-height: 1.35em; font-size:18px;}

/* Footer buttons */
.tq-footer { display: flex; gap: 10px; justify-content: space-between; margin-top: 16px; }
.tq-btn {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  min-width: 120px;
}
.tq-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.tq-btn--primary { background: rgba(0,0,0,0.9); color: #fff; border-color: rgba(0,0,0,0.9); }
.tq-btn--ghost { background: transparent; }

.tq-btn.is-loading { opacity: 0.8; }

/* Result */
.tq-subtitle { margin: 0 0 10px; font-size: 16px; opacity: 0.85; }
.tq-card-ergebnis {
	display:grid;
	grid-template-columns:2fr 1fr;
	gap:20px;
}
.tq-ranking { list-style: none; padding: 0!important; margin: 0 0 14px; display: grid!important; gap: 10px; }
.tq-rank {
  display: block!important;
  width:100%;
}
.tq-rank.is-top { }
.tq-rank__pos { font-weight: 800; opacity: 0.75; }
.tq-rank__type { font-weight: 700; }
.tq-rank__score { text-align: right; font-weight: 800; opacity: 0.75; }

.tq-rank__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tq-ranking-hint {font-size:0.8em;margin-bottom:10px;}
.tq-rank__pct {
  font-weight: 600;
  opacity: 0.85;
}

.tq-rank__bar {
  height: 8px;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  overflow: hidden;
}

.tq-rank__barFill {
  display: block;
  height: 100%;
  background: currentColor;
  width: 0;
  transition: width .6s ease;
}

.tq-rank.is-top .tq-rank__barFill {
  opacity: 1;
}

.tq-rank:not(.is-top) .tq-rank__barFill {
  opacity: 0.6;
}

.tq-cta { display: inline-block; text-decoration: none; margin-right: 10px; }

.tq-hint { font-size: 13px; opacity: .7; margin: 0 0 8px; }
.tq-subline { margin-top: 4px; font-size: 15px; opacity: .8; }
.tq-rank__hint { font-style: normal; opacity: .7; }


/* Micro animation */
.tq-fade-in { animation: tqFadeIn 160ms ease; }
@keyframes tqFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
