/* D22AK1 / N23AK1 — shared end-of-module quiz + exercise prompts + cert preview */
.mq-quiz{max-width:42rem;margin:0 auto}
.mq-frage{font-weight:700;letter-spacing:.02em}
.mq-q{animation:mqIn .35s ease both}
.mq-q:nth-of-type(2){animation-delay:.03s}
.mq-q:nth-of-type(3){animation-delay:.06s}
.mq-q:nth-of-type(4){animation-delay:.09s}
.mq-q:nth-of-type(5){animation-delay:.12s}
.mq-fail,.mq-cert,.mq-score{max-width:42rem;margin:1rem auto}
.mq-score{
  border:1px solid rgba(17,112,60,.28);
  border-radius:14px;
  padding:1.1rem 1.25rem;
  background:linear-gradient(160deg,rgba(17,112,60,.06),#fff 55%);
}
.mq-cert{
  background:linear-gradient(160deg,rgba(17,112,60,.08),rgba(244,248,246,.95) 45%,#fff);
  border:1px solid rgba(17,112,60,.28);
  border-radius:14px;
  padding:1.25rem 1.4rem;
}
.mq-cert h2,.mq-cert h3{
  font:700 1.45rem/1.25 var(--pn-display,CompassDisplay,"Iowan Old Style",Georgia,serif);
  margin:0 0 .5rem;
  color:#0f3d28;
}
.mq-art4{font-size:.95rem;color:#1f4d38;margin:.35rem 0 1rem}
.mq-cert-page{max-width:42rem;margin:1.5rem auto}
.mq-exercises{display:grid;gap:1.25rem;margin:1.5rem 0 2rem}
.mq-exercise{
  border:1px solid rgba(36,75,64,.22);
  border-radius:14px;
  padding:1.15rem 1.25rem;
  background:linear-gradient(180deg,rgba(244,248,246,.9),#fff 40%);
  animation:mqIn .4s ease both;
}
.mq-exercise:nth-child(2){animation-delay:.04s}
.mq-exercise:nth-child(3){animation-delay:.08s}
.mq-exercise:nth-child(4){animation-delay:.12s}
.mq-exercise:nth-child(5){animation-delay:.16s}
.mq-exercise h3{margin:0 0 .4rem;font-size:1.15rem;line-height:1.3}
.mq-exercise-task{margin:.35rem 0 .75rem;color:#2a3d35}
.mq-prompt{
  display:block;width:100%;box-sizing:border-box;
  margin:.5rem 0 .85rem;padding:.85rem 1rem;
  border:1px solid rgba(36,75,64,.25);border-radius:10px;
  background:#f7faf8;color:#12241c;
  font:500 .92rem/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:pre-wrap;word-break:break-word;
}
.mq-copy{display:inline-block}
.mq-privacy{margin:.65rem 0 0;font-size:.9rem;line-height:1.4}
/* N25AK2 — revealable Musterlösung (CSP-safe details/summary, closed by default) */
.mq-solution{
  margin:.85rem 0 0;
  border:1px solid rgba(36,75,64,.2);
  border-radius:10px;
  background:rgba(247,250,248,.85);
  padding:.15rem .85rem .75rem;
}
.mq-solution-summary{
  cursor:pointer;
  font-weight:600;
  color:#0f3d28;
  padding:.65rem 0;
  list-style:none;
}
.mq-solution-summary::-webkit-details-marker{display:none}
.mq-solution-summary::before{
  content:'▸ ';
  display:inline-block;
  transition:transform .15s ease;
}
.mq-solution[open] .mq-solution-summary::before{transform:rotate(90deg)}
.mq-solution-body{margin:.35rem 0 0}
.mq-hr-page{max-width:46rem;margin:0 auto;padding:0 0 2.5rem}
.mq-hr-hero{
  margin:0 0 1.5rem;padding:1.4rem 0 1.1rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%,rgba(17,112,60,.12),transparent 55%),
    linear-gradient(180deg,#eef5f1 0%,transparent 70%);
}
@keyframes mqIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.mq-q,.mq-exercise{animation:none}}
