/* =========================================================
   masterclass-kurs.css V1.0 (23.09.2026) — Mitgliederbereich
   Farben aus style.css (--green, --purple, --panel, --muted).
   ========================================================= */

.mk { padding-top: 110px; padding-bottom: 80px; }
/* `hidden` ist nur eine Standardregel mit niedrigem Rang — jede Klasse mit `display` schlägt
   sie. Ohne diese Zeile standen Ladehinweis und Anmeldung gleichzeitig im Bild (23.09.2026). */
.mk [hidden] { display: none !important; }
/* Der „Login“ im Seitenkopf führt in die App, nicht in den Kurs — neben der Kurs-Anmeldung nur Verwirrung. */
body[data-seite="masterclass-kurs"] .nav-login,
body[data-seite="masterclass-kurs"] .mobile-menu > a[href^="https://app.section-monsters.de"] { display: none; }
.mk-wrap { width: min(1180px, calc(100vw - 32px)); }
.mk-mitte { display: grid; place-items: center; min-height: 60vh; padding: 20px 16px; text-align: center; color: var(--muted); }
.mk-lade-ring {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--green); animation: mk-dreh 1s linear infinite;
}
@keyframes mk-dreh { to { transform: rotate(360deg); } }

.mk-karte {
  width: min(440px, 100%); padding: 32px 28px; border-radius: 22px; text-align: left; color: var(--text);
  background: var(--panel); border: 1px solid rgba(255, 255, 255, .08);
}
.mk-karte h1 { font-size: 1.8rem; margin: 10px 0 8px; }
.mk-sub { color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.mk-form { display: grid; gap: 14px; }
.mk-form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.mk-form input, .mk-form textarea {
  padding: 11px 13px; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.mk-form textarea { resize: vertical; }
.mk-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; text-align: left; }
.mk-link:hover { color: var(--text); }
.mk-meldung { margin: 0; min-height: 1.2em; color: var(--green); font-size: .92rem; line-height: 1.5; }
.mk-fuss { margin: 20px 0 0; color: var(--muted); font-size: .92rem; }
.mk-fuss a { color: var(--text); }

/* Danke-Ansicht nach dem Kauf (?willkommen=1) */
.mk-willkommen { margin-bottom: 18px; }
.mk-willkommen-karte {
  padding: 18px 22px; border-radius: 18px; line-height: 1.55;
  background: rgba(139, 214, 38, .08); border: 1px solid rgba(139, 214, 38, .45);
}
.mk-willkommen-karte strong { color: var(--green); font-size: 1.05rem; }
.mk-willkommen-karte p { margin: 6px 0 0; color: var(--text); }
.mk-willkommen-karte .mk-willkommen-fuss { color: var(--muted); font-size: .88rem; }
.mk-willkommen:not([hidden]) ~ .mk-mitte { min-height: 45vh; }

/* Kopf mit Fortschritt */
.mk-kopf { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.mk-fortschritt { margin-top: 10px; min-width: min(460px, 100%); }
.mk-fortschritt-text { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.mk-fortschritt-text strong { color: var(--text); }
.mk-fortschritt-bahn { margin-top: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mk-fortschritt-bahn span { display: block; height: 100%; background: var(--green); border-radius: 99px; transition: width .4s; }
.mk-konto { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .9rem; }

.mk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.mk-tab {
  padding: 8px 14px; border-radius: 99px; cursor: pointer; font: inherit; font-size: .92rem;
  color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.mk-tab--an { color: #10120c; background: var(--green); border-color: var(--green); font-weight: 600; }

/* Liste links, Player rechts */
.mk-bereich { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 22px; align-items: start; }
.mk-seite { max-height: calc(100vh - 150px); overflow-y: auto; padding-right: 4px; }
.mk-kap { margin-bottom: 14px; }
.mk-kap-titel { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 6px 4px; }
.mk-kap ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mk-lek {
  width: 100%; display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; position: relative;
  padding: 10px 12px; border-radius: 12px; text-align: left; cursor: pointer; font: inherit; font-size: .93rem; color: var(--text);
  background: rgba(255, 255, 255, .03); border: 1px solid transparent;
}
.mk-lek:hover:not(:disabled) { background: rgba(255, 255, 255, .06); }
.mk-lek--aktiv { border-color: rgba(139, 214, 38, .6); background: rgba(139, 214, 38, .08); }
.mk-lek:disabled { cursor: default; color: var(--muted); opacity: .6; }
.mk-lek-zeichen { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.mk-lek--fertig .mk-lek-zeichen { background: var(--green); border-color: var(--green); }
.mk-lek--angefangen .mk-lek-zeichen { border-color: var(--green); background: conic-gradient(var(--green) 0 50%, transparent 50% 100%); }
.mk-lek--bald .mk-lek-zeichen { border-style: dashed; }
.mk-lek-nr { color: var(--muted); margin-right: 4px; font-variant-numeric: tabular-nums; }
.mk-lek-min { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.mk-stern { color: #f0c24a; margin-left: 4px; }
.mk-lek-balken { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.mk-lek-balken span { display: block; height: 100%; background: var(--green); border-radius: 2px; }

.mk-player { position: sticky; top: 100px; }
.mk-buehne { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .08); }
.mk-buehne video { width: 100%; height: 100%; display: block; background: #000; }
.mk-buehne-laden { height: 100%; display: grid; place-items: center; color: var(--muted); padding: 20px; text-align: center; }
.mk-player-kopf { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; margin-top: 14px; }
.mk-player-kopf h2 { font-size: 1.25rem; margin: 0; line-height: 1.35; }
.mk-fav {
  flex: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; line-height: 1;
  color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
}
.mk-fav--an { color: #f0c24a; border-color: rgba(240, 194, 74, .6); background: rgba(240, 194, 74, .1); }

/* Fragen und Live */
.mk-frageform { margin-bottom: 20px; }
.mk-haken-feld { display: flex !important; gap: 8px; align-items: center; }
.mk-frage { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 10px; }
.mk-frage-kopf { font-size: .82rem; color: var(--muted); }
.mk-frage--beantwortet .mk-frage-kopf { color: var(--green); }
.mk-frage-text { margin: 6px 0 0; line-height: 1.55; white-space: pre-wrap; }
.mk-antwort { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.mk-antwort p { margin: 4px 0 0; line-height: 1.55; white-space: pre-wrap; color: var(--text); }
.mk-live { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 14px 16px;
  border-radius: 14px; background: var(--panel); border: 1px solid rgba(255, 255, 255, .07); margin-bottom: 10px; }
.mk-live-zeit { font-weight: 700; }
.mk-live-titel { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.mk-knopf { padding: 9px 16px; border-radius: 99px; background: var(--green); color: #10120c; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mk-leer { color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .mk-bereich { grid-template-columns: minmax(0, 1fr); }
  .mk-player { position: static; order: -1; }
  .mk-seite { max-height: none; }
}
