.c-teil { color: var(--teil); }
.c-ganzes { color: var(--ganzes); }
.c-anteil { color: var(--anteil); }

/* Spickzettel */
.cheat-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #eee;
}
.cheat-row:first-of-type { border-top: none; }
.cheat-head { font-weight: 800; }
.cheat-row.teil .cheat-head { color: var(--teil); }
.cheat-row.ganzes .cheat-head { color: var(--ganzes); }
.cheat-row.anteil .cheat-head { color: var(--anteil); }
.ex { color: var(--muted); }
@media (max-width: 480px) {
  .cheat-row { grid-template-columns: 1fr; gap: 4px; }
}

/* Aufgabe */
.task-text { font-size: 1.3rem; line-height: 1.7; }
.question { text-align: center; font-weight: 700; color: var(--muted); margin: 4px 0 10px; }

.choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  transition: transform 0.05s, opacity 0.2s;
}
.choice .big { font-size: 1.35rem; }
.choice .small { font-size: 0.9rem; font-weight: 600; opacity: 0.85; }
.choice.teil { background: var(--teil); box-shadow: 0 5px 0 #1565c0; }
.choice.ganzes { background: var(--ganzes); box-shadow: 0 5px 0 #c25e00; }
.choice.anteil { background: var(--anteil); box-shadow: 0 5px 0 #1f7a43; }
.choice:active:not(:disabled) { transform: translateY(4px); box-shadow: none; }
.choice:disabled { cursor: default; opacity: 0.35; }
.choice.right { opacity: 1; outline: 4px solid var(--ok); outline-offset: 3px; }
.choice.wrong { opacity: 1; outline: 4px solid var(--bad); outline-offset: 3px; }
/* Schmale Handys: Buttons untereinander, etwas flacher */
@media (max-width: 420px) {
  .choices { grid-template-columns: 1fr; }
  .choice { flex-direction: row; gap: 8px; min-height: 64px; }
}

/* Rückmeldung */
.feedback.ok { background: var(--ok-bg); }
.feedback.bad { background: var(--bad-bg); }
.fb-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.feedback.ok .fb-title { color: var(--ok); }
.feedback.bad .fb-title { color: var(--bad); }
.fb-way { font-size: 1.15rem; line-height: 1.8; }
#fb-way { font-weight: 700; }
