/* =====================================================================
   Method-Kit · Helles Design-System für die Persönlichkeitsentwicklungs-
   Methoden. Modern, hell, ruhig – die helle Schwester der "Schulen".
   Jede Methode setzt nur --mk-accent (+ optional --mk-accent-2) und nutzt
   die Bausteine darunter.
   ===================================================================== */

:root {
    --mk-bg: #f6f8fc;
    --mk-bg-grad: radial-gradient(1200px 600px at 85% -10%, #eef2ff 0%, rgba(238,242,255,0) 60%),
                  radial-gradient(900px 500px at 0% 0%, #ecfeff 0%, rgba(236,254,255,0) 55%),
                  #f6f8fc;
    --mk-surface: #ffffff;
    --mk-surface-2: #f8fafc;
    --mk-text: #0f172a;
    --mk-muted: #64748b;
    --mk-faint: #94a3b8;
    --mk-line: #e6eaf1;
    --mk-accent: #6366f1;
    --mk-accent-2: #8b5cf6;
    --mk-accent-soft: rgba(99, 102, 241, 0.10);
    --mk-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    --mk-shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
    --mk-radius: 18px;
    --mk-radius-sm: 12px;
    --mk-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body.mk-body {
    margin: 0;
    font-family: var(--mk-font);
    color: var(--mk-text);
    background: var(--mk-bg-grad);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ---------------- Topbar ---------------- */
.mk-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px clamp(16px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--mk-line);
}
.mk-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--mk-line);
    background: var(--mk-surface);
    color: var(--mk-muted);
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .16s, color .16s, transform .12s;
}
.mk-back:hover { color: var(--mk-text); border-color: var(--mk-accent); transform: translateX(-2px); }
.mk-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
}
.mk-brand .mk-brand-icon {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2));
    color: #fff;
    font-size: 15px;
}
.mk-topbar-spacer { flex: 1; }

/* ---------------- Shell / Layout ---------------- */
.mk-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 40px) 80px;
}

/* ---------------- Hero ---------------- */
.mk-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--mk-radius);
    padding: clamp(22px, 4vw, 36px);
    background:
        linear-gradient(135deg, var(--mk-accent-soft), rgba(255,255,255,0)) ,
        var(--mk-surface);
    border: 1px solid var(--mk-line);
    box-shadow: var(--mk-shadow);
    margin-bottom: 22px;
}
.mk-hero::after {
    content: '';
    position: absolute;
    inset: 0 0 auto auto;
    width: 220px; height: 220px;
    background: radial-gradient(circle at 70% 30%, var(--mk-accent), transparent 70%);
    opacity: 0.12;
    pointer-events: none;
}
.mk-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: var(--mk-accent);
    margin-bottom: 8px;
}
.mk-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(24px, 4.5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.mk-hero p { margin: 0; color: var(--mk-muted); max-width: 60ch; }
.mk-hero-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2));
    color: #fff;
    font-size: 26px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px var(--mk-accent-soft);
}
.mk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mk-badge {
    font-size: 12px; font-weight: 600;
    color: var(--mk-accent);
    background: var(--mk-accent-soft);
    border-radius: 999px;
    padding: 5px 12px;
}

/* ---------------- Progress / Steps ---------------- */
.mk-progress-wrap { margin-bottom: 14px; }
.mk-progress {
    position: relative;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.mk-progress::-webkit-scrollbar { display: none; }
.mk-pstep {
    position: relative;
    flex: 1 0 auto;
    min-width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    cursor: pointer;
    opacity: .75;
    transition: opacity .16s;
    border: none; background: none; font: inherit; color: inherit; padding: 0;
}
.mk-pstep:hover { opacity: 1; }
/* Verbindungslinie zwischen den Punkten */
.mk-pstep::before, .mk-pstep::after {
    content: '';
    position: absolute;
    top: 19px;
    height: 2px;
    width: 50%;
    background: var(--mk-line);
    z-index: 0;
    transition: background .2s;
}
.mk-pstep::before { left: 0; }
.mk-pstep::after { right: 0; }
.mk-pstep:first-child::before, .mk-pstep:last-child::after { display: none; }
.mk-pstep.done::before, .mk-pstep.done::after, .mk-pstep.active::before { background: var(--mk-accent); }
.mk-pstep .dot {
    position: relative; z-index: 1;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    background: var(--mk-surface);
    border: 2px solid var(--mk-line);
    color: var(--mk-muted);
    transition: all .18s;
}
.mk-pstep .lbl { font-size: 11px; font-weight: 600; color: var(--mk-faint); line-height: 1.25; padding: 0 4px; }
.mk-pstep.done { opacity: 1; }
.mk-pstep.done .dot { background: var(--mk-accent); border-color: var(--mk-accent); color: #fff; font-size: 13px; }
.mk-pstep.done .lbl { color: var(--mk-muted); }
.mk-pstep.active { opacity: 1; }
.mk-pstep.active .dot {
    background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2));
    border-color: transparent; color: #fff;
    box-shadow: 0 0 0 4px var(--mk-accent-soft);
    transform: scale(1.08);
}
.mk-pstep.active .lbl { color: var(--mk-text); }
/* Dünner Fortschrittsbalken unter dem Stepper */
.mk-progress-bar { height: 4px; border-radius: 999px; background: var(--mk-line); overflow: hidden; margin: 0 2px; }
.mk-progress-bar > span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--mk-accent), var(--mk-accent-2)); transition: width .35s ease; }

.mk-step { display: none; animation: mkfade .35s ease; }
.mk-step.active { display: block; }
@keyframes mkfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .mk-step, .mk-toast, .mk-option, .mk-btn, .mk-pstep .dot { animation: none !important; transition: none !important; }
}

/* ---------------- Cards / Panels ---------------- */
.mk-card, .mk-panel {
    background: var(--mk-surface);
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow);
    padding: clamp(18px, 3vw, 26px);
    margin-bottom: 18px;
}
.mk-card h2, .mk-panel h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.mk-card h3, .mk-panel h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.mk-sub { color: var(--mk-muted); margin: 0 0 18px; }

.mk-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mk-grid-2 { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .mk-grid-2 { grid-template-columns: 1fr; } }

/* ---------------- Selectable option cards ---------------- */
.mk-option {
    text-align: left;
    background: var(--mk-surface);
    border: 1.5px solid var(--mk-line);
    border-radius: var(--mk-radius-sm);
    padding: 16px;
    cursor: pointer;
    transition: border-color .16s, transform .12s, box-shadow .16s, background .16s;
    font: inherit;
    color: inherit;
    display: block;
    width: 100%;
}
.mk-option:hover { border-color: var(--mk-accent); transform: translateY(-2px); box-shadow: var(--mk-shadow); }
.mk-option.selected {
    border-color: var(--mk-accent);
    background: var(--mk-accent-soft);
}
.mk-option .ic { font-size: 24px; margin-bottom: 8px; display: block; }
.mk-option .t { font-weight: 700; }
.mk-option .d { font-size: 13px; color: var(--mk-muted); margin-top: 3px; }

/* ---------------- Fields ---------------- */
.mk-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.mk-field > label, .mk-label { font-size: 14px; font-weight: 600; color: var(--mk-text); }
.mk-field .hint { font-size: 12px; color: var(--mk-faint); }
.mk-input, .mk-textarea, .mk-select {
    width: 100%;
    background: var(--mk-surface-2);
    border: 1.5px solid var(--mk-line);
    border-radius: var(--mk-radius-sm);
    padding: 11px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--mk-text);
    transition: border-color .16s, background .16s;
}
.mk-textarea { min-height: 96px; resize: vertical; }
.mk-input:focus, .mk-textarea:focus, .mk-select:focus {
    outline: none;
    border-color: var(--mk-accent);
    background: #fff;
    box-shadow: 0 0 0 3px var(--mk-accent-soft);
}
.mk-input::placeholder, .mk-textarea::placeholder { color: var(--mk-faint); }
.mk-select {
    appearance: none; -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

/* ---------------- Range slider ---------------- */
.mk-range-wrap { display: flex; align-items: center; gap: 12px; }
.mk-range {
    flex: 1; height: 6px; margin: 10px 0;
    -webkit-appearance: none; appearance: none;
    background: var(--mk-line); border-radius: 999px;
    accent-color: var(--mk-accent);
    cursor: pointer;
}
.mk-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 3px solid var(--mk-accent);
    box-shadow: 0 2px 8px rgba(15,23,42,.18);
    transition: transform .12s, box-shadow .12s;
}
.mk-range::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--mk-accent);
    box-shadow: 0 2px 8px rgba(15,23,42,.18);
}
.mk-range:hover::-webkit-slider-thumb, .mk-range:focus-visible::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 5px var(--mk-accent-soft); }
.mk-range:focus-visible { outline: none; }
.mk-range-val {
    min-width: 38px; text-align: center;
    font-weight: 700; color: var(--mk-accent);
    background: var(--mk-accent-soft); border-radius: 8px; padding: 4px 8px;
    font-variant-numeric: tabular-nums;
}

/* ---------------- Buttons ---------------- */
.mk-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 11px 22px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s, box-shadow .16s, background .16s, border-color .16s, opacity .16s;
}
.mk-btn:active { transform: scale(.97); }
.mk-btn-primary {
    background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2));
    color: #fff;
    box-shadow: 0 8px 18px var(--mk-accent-soft);
}
.mk-btn-primary:hover { box-shadow: var(--mk-shadow-lg); }
.mk-btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.mk-btn-ghost { background: var(--mk-accent-soft); color: var(--mk-accent); }
.mk-btn-ghost:hover { background: color-mix(in srgb, var(--mk-accent) 18%, #fff); }
.mk-btn-outline { background: var(--mk-surface); border: 1.5px solid var(--mk-line); color: var(--mk-text); }
.mk-btn-outline:hover { border-color: var(--mk-accent); color: var(--mk-accent); }
.mk-btn-outline:disabled { opacity: .4; cursor: not-allowed; }
.mk-btn-danger { background: #fef2f2; color: #dc2626; }
.mk-btn-danger:hover { background: #fee2e2; }
.mk-btn-finish { background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 8px 18px rgba(5,150,105,.22); }
.mk-btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------------- Step navigation bar ---------------- */
.mk-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}
.mk-nav .info { font-size: 14px; color: var(--mk-muted); font-weight: 600; white-space: nowrap; }
.mk-nav .mk-nav-right { display: flex; gap: 8px; align-items: center; }
@media (max-width: 640px) {
    .mk-nav {
        position: sticky; bottom: 0; z-index: 40;
        margin: 18px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.88);
        backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
        border-top: 1px solid var(--mk-line);
    }
    .mk-nav .mk-btn { padding: 10px 16px; font-size: 14px; }
    .mk-shell { padding-bottom: 24px; }
}

/* ---------------- Fokus & Tastatur ---------------- */
.mk-btn:focus-visible, .mk-chip:focus-visible, .mk-option:focus-visible, .mk-back:focus-visible, .mk-iconbtn:focus-visible, .mk-pstep:focus-visible {
    outline: 3px solid var(--mk-accent-soft);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--mk-accent);
}
.mk-kbd-hint { font-size: 11px; color: var(--mk-faint); display: none; }
@media (hover: hover) and (min-width: 900px) { .mk-kbd-hint { display: inline; } }
.mk-kbd-hint kbd { font: inherit; border: 1px solid var(--mk-line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: var(--mk-surface); }

/* ---------------- Result / highlight box ---------------- */
.mk-result {
    background: linear-gradient(135deg, var(--mk-accent-soft), rgba(255,255,255,0));
    border: 1px solid var(--mk-accent);
    border-radius: var(--mk-radius-sm);
    padding: 16px 18px;
    color: var(--mk-text);
}
.mk-result h4 { margin: 0 0 6px; color: var(--mk-accent); font-size: 14px; }

/* ---------------- Chips / tags ---------------- */
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip {
    border: 1.5px solid var(--mk-line);
    background: var(--mk-surface);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px; font-weight: 600;
    color: var(--mk-muted);
    cursor: pointer;
    transition: all .14s;
}
.mk-chip:hover { border-color: var(--mk-accent); color: var(--mk-accent); }
.mk-chip.selected { background: var(--mk-accent); border-color: var(--mk-accent); color: #fff; }

/* ---------------- List items (editable rows) ---------------- */
.mk-row {
    display: flex; align-items: center; gap: 10px;
    background: var(--mk-surface-2);
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius-sm);
    padding: 10px 12px;
    margin-bottom: 8px;
}
.mk-row .grow { flex: 1; min-width: 0; }
.mk-iconbtn {
    border: none; background: transparent; cursor: pointer;
    color: var(--mk-faint); width: 32px; height: 32px; border-radius: 8px;
    transition: background .14s, color .14s;
}
.mk-iconbtn:hover { background: var(--mk-line); color: var(--mk-text); }

/* ---------------- Empty state ---------------- */
.mk-empty {
    text-align: center; color: var(--mk-faint);
    padding: 24px; border: 1.5px dashed var(--mk-line); border-radius: var(--mk-radius-sm);
}

/* ---------------- Toast ---------------- */
.mk-toast {
    position: fixed;
    left: 50%; bottom: 26px;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a; color: #fff;
    padding: 12px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600;
    box-shadow: var(--mk-shadow-lg);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 1000;
}
.mk-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mk-toast.success { background: #059669; }
.mk-toast.error { background: #dc2626; }
.mk-toast.warn { background: #d97706; }
.mk-toast::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 8px; }
.mk-toast.success::before { content: '\f00c'; }
.mk-toast.error::before { content: '\f071'; }
.mk-toast.warn::before { content: '\f0eb'; }
@media (max-width: 640px) { .mk-toast { bottom: calc(84px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); text-align: center; } }

/* ---------------- Save badge ---------------- */
.mk-savebadge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600; color: var(--mk-muted);
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mk-line); background: var(--mk-surface);
    cursor: pointer; user-select: none; transition: color .2s, border-color .2s, background .2s;
}
.mk-savebadge:hover { border-color: var(--mk-accent); color: var(--mk-text); }
.mk-savebadge:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 2px; }
.mk-savebadge i { color: var(--mk-accent); transition: transform .2s; }
.mk-savebadge.is-guest { color: var(--mk-accent); border-color: var(--mk-accent-soft); background: var(--mk-accent-soft); }
.mk-savebadge.is-cloud i { color: #059669; }
.mk-savebadge.is-error { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.mk-savebadge.is-error i { color: #d97706; }
.mk-savebadge.flash { color: #059669; }
.mk-savebadge.flash i { color: #059669; transform: scale(1.15); }
@media (max-width: 480px) { .mk-savebadge span { display: none; } .mk-savebadge { padding: 7px 9px; } }

/* Konto-Menü (öffnet unter dem Badge) */
.mk-account {
    position: fixed; top: 58px; right: 14px; z-index: 1200; width: min(320px, calc(100vw - 28px));
    background: var(--mk-surface); border: 1px solid var(--mk-line); border-radius: var(--mk-radius-sm);
    box-shadow: var(--mk-shadow-lg); padding: 8px; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s;
}
.mk-account.open { opacity: 1; transform: none; }
.mk-account-h { display: flex; gap: 10px; align-items: center; padding: 8px 10px 10px; }
.mk-account-av { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2)); }
.mk-account-h b { display: block; font-size: 14px; }
.mk-account-h small { display: block; font-size: 12px; color: var(--mk-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.mk-account-s { font-size: 12px; color: var(--mk-muted); padding: 0 10px 10px; border-bottom: 1px solid var(--mk-line); margin-bottom: 6px; }
.mk-account-s i { color: var(--mk-accent); margin-right: 4px; }
.mk-account-i { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: var(--mk-text); text-decoration: none; cursor: pointer; }
.mk-account-i:hover { background: var(--mk-surface-2); }
.mk-account-i i { width: 16px; text-align: center; color: var(--mk-muted); }
.mk-account-i.danger { color: #dc2626; }
.mk-account-i.danger i { color: #dc2626; }

/* ---------------- Login-Modal (realUserAuth) im Kit-Look ---------------- */
.auth-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .45); backdrop-filter: blur(4px); }
.auth-modal[style*="display: flex"] { animation: mk-fade .18s ease; }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
.auth-modal-content { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; background: var(--mk-surface); border-radius: var(--mk-radius); box-shadow: var(--mk-shadow-lg); font-family: var(--mk-font); color: var(--mk-text); }
.auth-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.auth-modal-header h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.auth-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mk-line); background: var(--mk-surface); color: var(--mk-muted); cursor: pointer; display: grid; place-items: center; }
.auth-close:hover { color: var(--mk-text); border-color: var(--mk-accent); }
.auth-modal-body { padding: 14px 22px 22px; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form label { display: block; font-size: 13px; font-weight: 600; color: var(--mk-muted); margin-bottom: 6px; }
.auth-form input[type="email"], .auth-form input[type="password"], .auth-form input[type="text"] { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 11px 13px; border: 1.5px solid var(--mk-line); border-radius: var(--mk-radius-sm); background: var(--mk-surface); color: var(--mk-text); transition: border-color .15s, box-shadow .15s; }
.auth-form input:focus { outline: none; border-color: var(--mk-accent); box-shadow: 0 0 0 3px var(--mk-accent-soft); }
.auth-form input:user-invalid { border-color: #f87171; }
.auth-form .checkbox-label { color: var(--mk-muted) !important; }
.auth-form .checkbox-label input { accent-color: var(--mk-accent); }
.auth-form .auth-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border: 0; border-radius: var(--mk-radius-sm); font: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--mk-accent), var(--mk-accent-2)); box-shadow: 0 8px 20px var(--mk-accent-soft); transition: transform .12s, filter .12s; }
.auth-form .auth-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.auth-form .auth-btn:disabled { opacity: .6; cursor: default; transform: none; }
.auth-links { display: flex; flex-direction: column; gap: 6px; align-items: center; margin-top: 14px; font-size: 13px; }
.auth-links a { color: var(--mk-accent); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }
.auth-form .form-hint { font-size: 12px; }
.auth-loading { position: fixed; inset: 0; z-index: 2100; display: none; align-items: center; justify-content: center; background: rgba(255,255,255,.7); backdrop-filter: blur(2px); }
.auth-loading .loading-content { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 600; color: var(--mk-muted); }
.auth-loading .loading-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--mk-line); border-top-color: var(--mk-accent); animation: mk-spin .8s linear infinite; }
@keyframes mk-spin { to { transform: rotate(360deg); } }
.auth-notification { position: fixed; left: 50%; top: 18px; z-index: 2200; transform: translateX(-50%) translateY(-16px); opacity: 0; transition: all .25s; background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--mk-shadow-lg); max-width: calc(100vw - 32px); }
.auth-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.auth-notification-success { background: #059669; }
.auth-notification-error { background: #dc2626; }
.auth-notification .notification-content { display: flex; align-items: center; gap: 8px; }
/* MFA-Modal des Legacy-Systems, falls genutzt */
#mfaModal .auth-modal-content, #realMFAModal .auth-modal-content { max-width: 420px; }

/* ---------------- Hilfs-Bausteine ---------------- */
.mk-divider { height: 1px; background: var(--mk-line); margin: 18px 0; }
.mk-section-label { margin: 6px 0 10px; color: var(--mk-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.mk-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; border-radius: var(--mk-radius-sm); padding: 10px 14px; margin-bottom: 10px; }
.mk-note i { margin-top: 3px; flex-shrink: 0; }
.mk-note.info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.mk-note.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.mk-note.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.mk-finish {
    text-align: center; padding: 26px 18px;
    background: linear-gradient(135deg, var(--mk-accent-soft), rgba(255,255,255,0)), var(--mk-surface);
    border: 1px solid var(--mk-accent); border-radius: var(--mk-radius);
}
.mk-finish .ic { font-size: 40px; margin-bottom: 8px; }
.mk-finish h3 { margin: 0 0 6px; font-size: 20px; }
.mk-finish p { margin: 0 0 16px; color: var(--mk-muted); }

/* ---------------- Druck ---------------- */
@media print {
    body.mk-body { background: #fff; }
    .mk-topbar, .mk-nav, .mk-progress-wrap, .mk-toast, .mk-btn, .mk-hero::after { display: none !important; }
    .mk-step { display: block !important; page-break-inside: avoid; margin-bottom: 18px; }
    .mk-card, .mk-panel, .mk-hero { box-shadow: none; border-color: #ccc; }
    .mk-shell { max-width: none; padding: 0; }
}
