/* Akademie (#/akademie) – ergänzt app.css, gleiche Farben und Nachtmodus über die Variablen */
.ak-kopf { flex-wrap: wrap; }
main h1 small { display: block; font-size: 15px; font-weight: 600; color: var(--leise); margin-top: 4px; }
.ak-intro { font-size: 17px; margin: 0 0 16px; }
.ak-hinweis { background: var(--warn-flaeche); color: var(--warn); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.ak-klein { font-size: 13px; margin-top: 24px; }
.ak-badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--flaeche); color: var(--leise); border: 1px solid var(--linie); vertical-align: middle; }
.ak-badge.ok { background: var(--gruen-flaeche); color: var(--gruen); border-color: transparent; }

.ak-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0 0 18px; }
.ak-karte { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--karte); border: 1px solid var(--linie);
  box-shadow: var(--schatten); text-decoration: none; color: inherit; }
a.ak-karte:hover { border-color: var(--akzent); }
.ak-karte strong { font-size: 17px; line-height: 1.25; }
.ak-karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.ak-preis { font-size: 22px; font-weight: 800; margin: 4px 0; }
.ak-preis small { font-size: 13px; font-weight: 600; color: var(--leise); }
.ak-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }

.ak-balken { height: 8px; border-radius: 4px; background: var(--flaeche); overflow: hidden; }
.ak-balken span { display: block; height: 100%; background: var(--gruen); border-radius: 4px; }
.ak-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--leise); font-size: 14px; }
.ak-box { background: var(--karte); border: 1px solid var(--linie); border-radius: 14px; padding: 14px 16px; margin: 14px 0; box-shadow: var(--schatten); }
.ak-box.ok { background: var(--gruen-flaeche); border-color: transparent; }
.ak-box.nein { background: var(--rot-flaeche); border-color: transparent; }
.ak-box p:first-child { margin-top: 0; }
.ak-gross { font-size: 20px; font-weight: 800; }
.ak-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.ak-knoepfe .knopf { min-height: 44px; }
.ak-meldung { font-weight: 600; color: var(--rot); }
.ak-kauf .bestaetigung { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; }
.ak-kauf .bestaetigung input { width: 22px; height: 22px; flex: none; margin-top: 1px; }

.ak-liste { padding-left: 20px; }
.ak-liste li { margin: 4px 0; }
.ak-lektionen { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ak-lektionen li > a, .ak-lektionen li > span { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--karte);
  border: 1px solid var(--linie); text-decoration: none; color: inherit; }
.ak-lektionen li > span { opacity: .65; }
.ak-ltitel { flex: 1; font-weight: 600; }
.ak-lektionen .leise { white-space: nowrap; }
.ak-nr { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--akzent); }
.ak-lektionen li.fertig .ak-nr { background: var(--gruen); }
.ak-fakten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; }
.ak-fakten dt { color: var(--leise); font-weight: 600; }
.ak-fakten dd { margin: 0; }
.ak-schritt { margin: 0 0 4px; font-size: 14px; }

/* Lektion: Kästen und Übungsfragen */
.ak-kasten { border-radius: 12px; padding: 10px 14px; margin: 14px 0; border: 1px solid var(--linie); }
.ak-kasten-titel { font-weight: 800; margin: 0 0 6px; }
.ak-fall { background: color-mix(in srgb, #2d6cdf 9%, var(--karte)); border-left: 5px solid #2d6cdf; }
.ak-merke { background: var(--warn-flaeche); border-left: 5px solid #e0b43a; }
.ak-uebung { border: 2px dashed var(--linie); border-radius: 12px; padding: 10px 14px; margin: 16px 0; }
.ak-uebung-titel { margin: 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); }
.ak-uebung-stamm { font-weight: 700; }
.ak-optionen { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ak-option { width: 100%; text-align: left; min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--linie); background: var(--karte); color: var(--text); cursor: pointer; font-weight: 600; }
.ak-option.richtig { background: var(--gruen-flaeche); border-color: var(--gruen); }
.ak-option.falsch { background: var(--rot-flaeche); border-color: var(--rot); }
.ak-option:disabled { cursor: default; }
.ak-ergebnis { font-weight: 800; }
.ak-verweis { font-weight: 700; }

/* Test */
.ak-test { display: grid; gap: 12px; }
.ak-frage { border: 1px solid var(--linie); border-radius: 12px; padding: 10px 14px 12px; background: var(--karte); margin: 0; }
.ak-frage legend { font-weight: 700; padding: 0 4px; display: flex; gap: 8px; align-items: flex-start; }
.ak-antwort { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-top: 1px solid var(--linie); cursor: pointer; }
.ak-antwort input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.ak-ergebnisse { padding-left: 0; list-style: none; display: grid; gap: 8px; }
.ak-ergebnisse li { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--linie); background: var(--karte); }
.ak-ergebnisse li.richtig { border-left: 5px solid var(--gruen); }
.ak-ergebnisse li.falsch { border-left: 5px solid var(--rot); }
.ak-form { display: grid; gap: 12px; max-width: 520px; }
.ak-form label { display: grid; gap: 4px; font-weight: 600; }
.ak-form input { min-height: 44px; border-radius: 10px; border: 1px solid var(--linie); padding: 0 12px; font: inherit; background: var(--karte); color: var(--text); }
