:root {
    --bg: #070b14;
    --bg-soft: rgba(14, 17, 28, 0.86);
    --panel: rgba(40, 36, 49, 0.93);
    --panel-strong: rgba(47, 43, 58, 0.96);
    --sidebar: #231f2c;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f4f5f8;
    --muted: #b7bcc8;
    --accent: #6fa4ff;
    --accent-strong: #4d78d7;
    --discord: #31456d;
    --success: #39b46c;
    --warning: #d4a54d;
    --danger: #d05d62;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
    --radius: 26px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(rgba(4, 8, 15, 0.82), rgba(4, 8, 15, 0.92)),
        radial-gradient(circle at 12% 18%, rgba(62, 93, 190, 0.18), transparent 24%),
        radial-gradient(circle at 84% 82%, rgba(120, 54, 54, 0.14), transparent 24%),
        #080c15;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
small { color: var(--muted); }

body.login-page,
body.landing-page {
    position: relative;
    overflow-x: hidden;
}
body.login-page::before,
body.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(5, 9, 16, 0.58), rgba(5, 9, 16, 0.8)),
        url('../img/wache-dashboard-background.png') center center / cover no-repeat;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.04);
    z-index: -2;
}
body.login-page::after,
body.landing-page::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(3, 7, 14, 0.16), rgba(3, 7, 14, 0.32));
    z-index: -1;
}

.site-shell { max-width: 1380px; margin: 0 auto; padding: 20px 24px 28px; }
.site-main { display: grid; gap: 24px; }
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 22px;
}
.site-header-minimal { justify-content: center; margin-bottom: 10px; }
.brand img {
    width: 245px;
    max-height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 10px 26px rgba(0,0,0,.35));
}
.site-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.site-nav a {
    padding: 11px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    color: var(--text);
}
.site-nav a:hover { background: rgba(255,255,255,.06); }

.flash {
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
}
.flash-success { background: rgba(57, 180, 108, 0.18); }
.flash-error { background: rgba(208, 93, 98, 0.18); }
.flash-warning { background: rgba(212, 165, 77, 0.18); }

.card, .hero-card, .portal-card, .module-card, .chapter-card, .admin-panel, .login-card, .landing-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}
.hero-card {
    display: grid;
    gap: 14px;
    align-items: center;
}
.hero-card.centered { text-align: center; justify-items: center; }
.hero-card h1, .portal-card h2, .module-card h2, .chapter-card h3, .card h1, .card h2, .admin-panel h2, .admin-hero h1 {
    margin: 0;
}
.eyebrow {
    margin: 0 0 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #8fb1ff;
    font-weight: 700;
}
.eyebrow.centered { text-align: center; }
.section-center { text-align: center; }
.card-header, .portal-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.card.slim { padding: 22px 24px; }

.grid { display: grid; gap: 22px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack-lg { display: grid; gap: 20px; }
.stack-md { display: grid; gap: 14px; }
.stack-sm { display: grid; gap: 10px; }
.status-stack { display: flex; gap: 10px; flex-wrap: wrap; }
.status-tag, .status-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    font-size: 13px;
}
.status-tag.success { background: rgba(57,180,108,.18); }
.status-tag.warning { background: rgba(212,165,77,.18); }
.status-tag.muted { background: rgba(255,255,255,.05); color: var(--muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
    color: white;
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}
.button.secondary {
    color: var(--text);
    background: rgba(255,255,255,.05);
    border-color: var(--line);
}
.button.discord {
    color: #e1ebff;
    background: linear-gradient(180deg, #37518a, #27406d);
}
.button.disabled, .button:disabled { opacity: .55; cursor: not-allowed; }
.button.small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.button-xl { min-height: 58px; padding: 15px 30px; font-size: 18px; }
.button-block { width: 100%; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions-row.center { justify-content: center; }
.module-choice-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.top-gap { margin-top: 18px; }

input[type="text"], input[type="email"], input[type="number"], input[type="date"], input[type="datetime-local"], textarea, select, .copy-field, input[type="file"] {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(8, 12, 22, 0.98);
    color: var(--text);
    outline: none;
}
textarea { resize: vertical; min-height: 110px; }
label, fieldset { display: grid; gap: 8px; }
label span, .field-label, legend { font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-full { grid-column: 1 / -1; }
.form-actions-inline { display: flex; align-items: end; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkbox-option, .radio-option, .answer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
}
.checkbox-option input, .radio-option input { width: 18px; height: 18px; }
.answer-row input[type="text"] { flex: 1; }
.quiz-block, .quiz-admin-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,.03);
}
.editor-box {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
    padding: 16px;
}
.editor-preview {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #e5e8ef;
    background: rgba(8, 12, 22, 0.88);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}

.progress-box { padding: 0 6px; }
.progress-bar {
    position: relative;
    width: 100%;
    height: 22px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(5,10,20,.52);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.progress-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8ab3ff, #5385ea);
}
.progress-bar-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: #f4f7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 860px; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #9ab8ff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.metric-box {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
}
.metric-box span { color: var(--muted); }

.prose-content, .prose p { line-height: 1.7; color: #e7eaf2; }
.chapter-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.chapter-image-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    padding: 10px;
}
.chapter-image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.chapter-card.is-done { border-color: rgba(57,180,108,.42); }
.hint, .small-info { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.divider.tight { margin: 18px 0 14px; }
.clean-list { padding-left: 18px; color: #dbe1ef; }

.login-screen, .landing {
    min-height: calc(100vh - 80px);
    display: grid;
    place-items: center;
    padding: 24px;
}
.landing-panel, .login-card {
    width: min(430px, 100%);
    padding: 24px 24px 26px;
    text-align: center;
}
.landing-panel { width: min(540px, 100%); }
.login-card h1, .landing-copy h1 { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 10px; }
.login-card p, .landing-copy p { color: #d8dbe4; font-size: 16px; line-height: 1.6; }
.integrated-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.integrated-logo img {
    width: min(260px, 72vw);
    object-fit: contain;
    filter: drop-shadow(0 10px 28px rgba(0,0,0,.4));
}
.login-subtitle { margin: 0 0 16px; }
.code-note { font-size: 14px; color: var(--muted); }

.hero-card.select-card {
    text-align: center;
    justify-items: center;
}
.hero-card.select-card .status-stack { justify-content: center; }
.profile-card { max-width: 760px; margin: 0 auto; }
.profile-card.wide { max-width: 1160px; }
.portal-left { border-left: 4px solid #6ea4ff; }
.portal-right { border-left: 4px solid #d2a24b; }
.portal-card p { margin: 0; }
.choice-block { display: grid; gap: 14px; }
.choice-block h2 { margin-bottom: 6px; }

.admin-body { background: #16141d; }
.admin-shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: linear-gradient(180deg, #25212e, #1d1a25 100%);
    border-right: 1px solid var(--line);
    padding: 18px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-logo {
    display: block;
    margin-bottom: 18px;
    padding: 8px;
}
.sidebar-logo img {
    width: 200px;
    max-width: 100%;
    object-fit: contain;
}
.sidebar-user {
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
}
.sidebar-user span { color: var(--muted); font-size: 14px; }
.sidebar-nav { display: grid; gap: 16px; }
.sidebar-group { display: grid; gap: 8px; }
.sidebar-label {
    color: #858a98;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    padding: 0 10px;
}
.sidebar-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #e8ebf3;
    background: rgba(255,255,255,.02);
    border: 1px solid transparent;
}
.sidebar-nav a:hover {
    background: rgba(255,255,255,.06);
    border-color: var(--line);
}
.admin-main {
    padding: 28px;
    display: grid;
    gap: 22px;
}
.admin-hero {
    background: transparent;
    padding: 6px 0 0;
}
.admin-hero h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 10px; }
.admin-hero p { color: #d0d2db; max-width: 920px; }
.admin-hero.compact h1 { font-size: clamp(28px, 3vw, 44px); }
.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(54, 49, 65, 0.9);
}
.metric-tile {
    padding: 18px 20px;
    text-align: center;
    border-right: 1px solid var(--line);
}
.metric-tile:last-child { border-right: 0; }
.metric-tile strong { display: block; font-size: 28px; }
.metric-tile span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.admin-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.two-col-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-panel { background: rgba(54, 49, 65, 0.92); }
.admin-module-switcher { margin-top: -4px; }
.admin-image-card { padding-bottom: 14px; }
.permission-grid { display: grid; gap: 10px; }
.permission-row {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 16px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
}
.role-chip-list { display: flex; gap: 8px; flex-wrap: wrap; }
.role-chip {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.05);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .two-col, .chapter-grid, .module-grid, .form-grid, .checkbox-grid, .admin-panels, .two-col-admin, .permission-row { grid-template-columns: 1fr; }
    .hero-card { align-items: stretch; }
    .site-header { flex-direction: column; align-items: flex-start; }
    .site-header-minimal { align-items: center; }
    .admin-main { padding: 18px; }
    .admin-metrics { grid-template-columns: 1fr; }
    .module-choice-row { flex-direction: column; }
}

/* --- Prüfungseditor v7 --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -25px -25px auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    filter: blur(8px);
}
.stat-card strong {
    display: block;
    font-size: 28px;
    line-height: 1.15;
    margin: 10px 0 6px;
}
.stat-card small,
.stat-card .stat-kicker {
    display: block;
}
.stat-card .stat-kicker {
    color: #9ab8ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.stat-card small { color: var(--muted); }
.accent-blue { border-color: rgba(106, 155, 255, .28); }
.accent-gold { border-color: rgba(210, 165, 78, .28); }
.accent-green { border-color: rgba(63, 177, 112, .28); }
.accent-purple { border-color: rgba(167, 128, 255, .28); }

.exam-module-switcher {
    margin-bottom: 22px;
}
.exam-dashboard-panel,
.exam-paper-panel {
    overflow: visible;
}
.exam-dashboard-grid,
.exam-paper-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .9fr);
    gap: 22px;
}
.exam-dashboard-main,
.exam-editor-column,
.exam-preview-column,
.exam-dashboard-side {
    min-width: 0;
}
.info-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    background: rgba(255,255,255,.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.info-card.glossy {
    background: linear-gradient(180deg, rgba(64, 110, 201, .18), rgba(255,255,255,.03));
}
.feature-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: var(--muted);
}
.table-identity {
    display: grid;
    gap: 3px;
}
.table-identity small { color: var(--muted); }
.compact-wrap { gap: 8px; }
.empty-state-inline {
    text-align: center;
    padding: 22px 10px;
    color: var(--muted);
}
.status-tag.danger {
    background: rgba(181, 61, 61, .16);
    border-color: rgba(181, 61, 61, .26);
}

.preview-paper {
    position: sticky;
    top: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(180deg, rgba(18, 23, 38, .98), rgba(10, 14, 24, .98));
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28);
    overflow: hidden;
}
.preview-paper-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 22px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.preview-paper-head strong {
    font-size: 22px;
    line-height: 1.25;
}
.preview-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 22px 18px;
    color: var(--muted);
    font-size: 13px;
}
.preview-paper-body {
    min-height: 280px;
    padding: 22px;
    white-space: pre-wrap;
    line-height: 1.75;
    color: #eef2fb;
    background:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 36px,
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 100%,
        rgba(8, 12, 22, .62);
}
.preview-placeholder {
    color: var(--muted);
}

.exam-question-list {
    display: grid;
    gap: 22px;
}
.question-card {
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    padding: 22px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}
.question-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}
.question-card-head h3 {
    margin: 8px 0 0;
    font-size: 24px;
    line-height: 1.3;
}
.question-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(87, 129, 222, .18);
    color: #b9d0ff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.answer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.answer-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.03);
}
.answer-card.is-correct {
    border-color: rgba(63, 177, 112, .4);
    background: linear-gradient(180deg, rgba(63, 177, 112, .15), rgba(255,255,255,.03));
}
.answer-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.answer-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(111, 155, 255, .15);
    color: #c9d8ff;
    font-weight: 800;
}
.answer-choice-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}
.answer-card input[type="text"] {
    background: rgba(8, 12, 22, .92);
}
.empty-state-panel {
    padding: 30px 24px;
    border: 1px dashed rgba(255,255,255,.16);
    border-radius: 24px;
    text-align: center;
    background: rgba(255,255,255,.025);
}
.empty-state-panel h3 {
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .exam-dashboard-grid,
    .exam-paper-grid {
        grid-template-columns: 1fr;
    }
    .preview-paper {
        position: static;
    }
}

@media (max-width: 760px) {
    .stats-grid,
    .answer-grid {
        grid-template-columns: 1fr;
    }
    .question-card-head,
    .answer-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}


.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-text, #95a0bd);
  font-size: 0.95rem;
  font-weight: 600;
}

.inline-form-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.inline-form-row input {
  flex: 1 1 auto;
}

.profile-inline-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(180px, .8fr) minmax(180px, .9fr) auto;
  gap: 14px;
  align-items: end;
}

.profile-inline-grid label {
  margin: 0;
}

.profile-inline-action {
  display: flex;
  align-items: end;
}

.profile-inline-action .button {
  min-height: 52px;
  white-space: nowrap;
}

.rich-editor {
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(9, 15, 32, .72);
  overflow: hidden;
}

.rich-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.rich-tool {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #eef3ff;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: .9rem;
  cursor: pointer;
}

.rich-tool:hover {
  background: rgba(255,255,255,.12);
}

.rich-surface {
  padding: 16px 18px;
  outline: none;
  color: #eef3ff;
  line-height: 1.7;
}

.rich-surface:empty:before {
  content: attr(data-placeholder);
  color: rgba(238,243,255,.45);
}

.rich-surface h1,
.rich-surface h2,
.rich-surface h3,
.rich-surface h4,
.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.preview-paper-body h1,
.preview-paper-body h2,
.preview-paper-body h3,
.preview-paper-body h4,
.editor-preview h1,
.editor-preview h2,
.editor-preview h3,
.editor-preview h4 {
  margin: 0 0 12px;
  color: #fff;
}

.rich-surface p,
.rich-surface ul,
.rich-surface ol,
.rich-surface table,
.rich-surface blockquote,
.prose-content p,
.prose-content ul,
.prose-content ol,
.prose-content table,
.prose-content blockquote,
.preview-paper-body p,
.preview-paper-body ul,
.preview-paper-body ol,
.preview-paper-body table,
.preview-paper-body blockquote,
.editor-preview p,
.editor-preview ul,
.editor-preview ol,
.editor-preview table,
.editor-preview blockquote {
  margin: 0 0 14px;
}

.rich-surface table,
.prose-content table,
.preview-paper-body table,
.editor-preview table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}



.rich-surface table.editor-table,
.prose-content table.editor-table,
.preview-paper-body table.editor-table,
.editor-preview table.editor-table {
  table-layout: fixed;
  overflow-wrap: anywhere;
}

.rich-table-resize-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 35;
  display: none;
}

.rich-table-resize-layer.active {
  display: block;
}

.table-column-resize-handle {
  position: absolute;
  width: 10px;
  min-width: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: col-resize;
  pointer-events: auto;
  transform: translateX(0);
}

.table-column-resize-handle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 2px;
  border-radius: 999px;
  background: rgba(120, 170, 255, .65);
  box-shadow: 0 0 0 1px rgba(5, 12, 28, .35), 0 0 0 5px rgba(120,170,255,.08);
}

.table-column-resize-handle:hover::before,
.table-column-resize-handle:focus::before {
  background: rgba(186, 213, 255, .95);
  box-shadow: 0 0 0 1px rgba(5, 12, 28, .45), 0 0 0 7px rgba(120,170,255,.16);
}

.rich-surface table.editor-table.editor-table-resizing {
  user-select: none;
}

.rich-surface th,
.rich-surface td,
.prose-content th,
.prose-content td,
.preview-paper-body th,
.preview-paper-body td,
.editor-preview th,
.editor-preview td {
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 10px;
}

.rich-surface blockquote,
.prose-content blockquote,
.preview-paper-body blockquote,
.editor-preview blockquote {
  border-left: 4px solid rgba(120, 170, 255, .65);
  padding: 10px 14px;
  background: rgba(120, 170, 255, .08);
  border-radius: 0 14px 14px 0;
}

.preview-paper-body,
.editor-preview,
.prose-content {
  line-height: 1.7;
}

@media (max-width: 900px) {
  .profile-inline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-inline-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .inline-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-form-row .button {
    width: 100%;
  }

  .profile-inline-grid {
    grid-template-columns: 1fr;
  }

  .profile-inline-action .button {
    width: 100%;
  }
}


.rich-tool-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 8px;
  margin-right: 8px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.rich-tool-group:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.rich-editor-help {
  padding: 10px 16px 14px;
  color: rgba(238,243,255,.65);
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}

.editor-note,
.rich-surface .editor-note,
.prose-content .editor-note,
.preview-paper-body .editor-note,
.editor-preview .editor-note {
  padding: 12px 14px;
  border-radius: 14px;
  margin: 12px 0;
  background: rgba(76, 139, 245, .14);
  border: 1px solid rgba(76, 139, 245, .35);
}

.rich-surface img,
.prose-content img,
.preview-paper-body img,
.editor-preview img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .rich-tool-group {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }
}


.editor-table.table-compact th,
.editor-table.table-compact td,
.rich-surface table.table-compact th,
.rich-surface table.table-compact td,
.prose-content table.table-compact th,
.prose-content table.table-compact td,
.preview-paper-body table.table-compact th,
.preview-paper-body table.table-compact td,
.editor-preview table.table-compact th,
.editor-preview table.table-compact td {
  padding: 4px 7px;
  font-size: .92rem;
}

.editor-table.table-striped tr:nth-child(even),
.rich-surface table.table-striped tr:nth-child(even),
.prose-content table.table-striped tr:nth-child(even),
.preview-paper-body table.table-striped tr:nth-child(even),
.editor-preview table.table-striped tr:nth-child(even) {
  background: rgba(255,255,255,.045);
}

.editor-table.table-head tr:first-child,
.rich-surface table.table-head tr:first-child,
.prose-content table.table-head tr:first-child,
.preview-paper-body table.table-head tr:first-child,
.editor-preview table.table-head tr:first-child {
  background: rgba(76,139,245,.18);
}

.editor-table.table-muted,
.rich-surface table.table-muted,
.prose-content table.table-muted,
.preview-paper-body table.table-muted,
.editor-preview table.table-muted {
  border: 1px solid rgba(255,255,255,.08);
}

.editor-table.table-muted th,
.editor-table.table-muted td,
.rich-surface table.table-muted th,
.rich-surface table.table-muted td,
.prose-content table.table-muted th,
.prose-content table.table-muted td,
.preview-paper-body table.table-muted th,
.preview-paper-body table.table-muted td,
.editor-preview table.table-muted th,
.editor-preview table.table-muted td {
  border-color: rgba(255,255,255,.08);
}

.rich-surface .cell-highlight,
.prose-content .cell-highlight,
.preview-paper-body .cell-highlight,
.editor-preview .cell-highlight {
  background: rgba(76,139,245,.18);
}

.rich-surface .cell-muted,
.prose-content .cell-muted,
.preview-paper-body .cell-muted,
.editor-preview .cell-muted {
  background: rgba(255,255,255,.045);
}

.editor-image,
.rich-surface img.editor-image,
.prose-content img.editor-image,
.preview-paper-body img.editor-image,
.editor-preview img.editor-image {
  display: block;
  margin: 14px 0;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.rich-tool[data-action="tableStyle"],
.rich-tool[data-action="tableRowAdd"],
.rich-tool[data-action="tableColAdd"],
.rich-tool[data-action="tableRowDelete"],
.rich-tool[data-action="tableColDelete"] {
  border-color: rgba(233, 186, 73, .28);
}

/* v16: bessere Editor-Werkzeuge für Farben, Zellfarben und Schriftarten */
.rich-tool-group-wide {
  align-items: center;
}

.rich-picker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(238,243,255,.78);
  font-size: .86rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  border-radius: 12px;
  padding: 6px 8px 6px 10px;
}

.rich-color-picker {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.rich-color-picker::-webkit-color-swatch-wrapper {
  padding: 3px;
}

.rich-color-picker::-webkit-color-swatch {
  border: 0;
  border-radius: 7px;
}

.rich-select {
  min-width: 150px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(5,10,22,.82);
  color: #eef3ff;
  padding: 7px 10px;
  font-weight: 700;
  outline: none;
}



.rich-current-size {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 8px;
  border-left: 1px solid rgba(255,255,255,.12);
  color: rgba(238,243,255,.72);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.rich-tool-hint {
  display: inline-flex;
  align-items: center;
  color: rgba(238,243,255,.62);
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 4px;
  white-space: nowrap;
}

.rich-select:focus,
.rich-color-picker:focus {
  box-shadow: 0 0 0 3px rgba(92, 143, 246, .28);
}

.rich-surface td[style*="background-color"],
.rich-surface th[style*="background-color"],
.prose-content td[style*="background-color"],
.prose-content th[style*="background-color"],
.preview-paper-body td[style*="background-color"],
.preview-paper-body th[style*="background-color"],
.editor-preview td[style*="background-color"],
.editor-preview th[style*="background-color"] {
  background-clip: padding-box;
}

/* v17: Editor-Leiste bleibt sichtbar, nur der Textbereich scrollt */
.rich-editor {
  display: flex;
  flex-direction: column;
  max-height: min(78vh, 820px);
  overflow: hidden;
}

.rich-toolbar {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  max-height: 178px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(20, 24, 42, .98);
  backdrop-filter: blur(10px);
}

.rich-surface {
  flex: 1 1 auto;
  min-height: 420px !important;
  max-height: calc(78vh - 230px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.rich-editor-help {
  flex: 0 0 auto;
}

@media (max-height: 760px) {
  .rich-editor {
    max-height: 82vh;
  }

  .rich-toolbar {
    max-height: 150px;
  }

  .rich-surface {
    min-height: 320px !important;
    max-height: calc(82vh - 200px);
  }
}

@media (max-width: 760px) {
  .rich-editor {
    max-height: 84vh;
  }

  .rich-toolbar {
    max-height: 190px;
  }

  .rich-surface {
    min-height: 340px !important;
    max-height: calc(84vh - 240px);
  }
}

/* v18: Editor wirklich intern scrollend + sichtbare Farbpaletten */
.rich-editor {
  height: min(74vh, 780px);
  min-height: 560px;
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rich-toolbar {
  position: relative;
  top: auto;
  z-index: 5;
  flex: 0 0 auto;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.rich-surface {
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.rich-editor-help {
  flex: 0 0 auto;
}

.rich-palette-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 3px 0;
}

.rich-swatch-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.rich-swatch {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
  cursor: pointer;
}

.rich-swatch:hover,
.rich-swatch:focus {
  outline: 2px solid rgba(111,164,255,.7);
  outline-offset: 2px;
}

@media (max-height: 760px) {
  .rich-editor {
    height: 82vh;
    min-height: 440px;
  }

  .rich-toolbar {
    max-height: 180px;
  }
}

@media (max-width: 760px) {
  .rich-editor {
    height: 84vh;
    min-height: 480px;
  }

  .rich-toolbar {
    max-height: 240px;
  }
}

/* v19: Modul-/Kapitelverwaltung für den Editor */
.content-manager-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.6fr);
  gap: 22px;
  align-items: start;
}

.content-side-panel {
  height: 100%;
}

.content-list,
.chapter-admin-list {
  display: grid;
  gap: 10px;
}

.content-list-item,
.chapter-admin-item {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: var(--text);
  text-decoration: none;
  transition: .16s ease;
}

.content-list-item:hover,
.chapter-admin-item:hover {
  transform: translateY(-1px);
  border-color: rgba(108,156,255,.42);
  background: rgba(108,156,255,.08);
}

.content-list-item.active,
.chapter-admin-item.active {
  border-color: rgba(98,148,255,.70);
  background: linear-gradient(180deg, rgba(84,132,230,.24), rgba(84,132,230,.10));
  box-shadow: inset 4px 0 0 rgba(98,148,255,.85);
}

.content-list-item.muted {
  opacity: .62;
}

.content-list-item small,
.chapter-admin-item span,
.muted-text {
  color: var(--muted);
}

.chapter-admin-item {
  grid-template-columns: 100px 1fr;
  align-items: center;
}

.content-editor-workspace {
  overflow: hidden;
}

.content-editor-workspace .rich-editor {
  height: min(72vh, 760px);
  min-height: 560px;
  max-height: none;
}

.content-editor-workspace .rich-toolbar {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 10;
  max-height: 210px;
  overflow-y: auto;
}

.content-editor-workspace .rich-surface {
  flex: 1 1 auto;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

.editor-hint {
  margin-top: -2px;
  margin-bottom: 10px;
  font-size: .95rem;
}

summary.button {
  list-style: none;
}
summary.button::-webkit-details-marker {
  display: none;
}

@media (max-width: 1100px) {
  .content-manager-grid {
    grid-template-columns: 1fr;
  }

  .chapter-admin-item {
    grid-template-columns: 1fr;
  }
}

/* v20: Modul/Kapitel-Verwaltung und echter Editor-Scroll */
.content-manager-grid-three {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr) minmax(320px, 1.35fr);
    gap: 1.1rem;
    align-items: start;
}

.module-chapter-section {
    margin-top: 1.2rem;
}

.module-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: rgba(35,33,48,.78);
    margin-bottom: .9rem;
}

.module-section-heading h2 {
    margin: .15rem 0 .3rem;
}

.module-section-heading p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.module-overview-columns {
    align-items: start;
    margin-top: 1.2rem;
}

.module-overview-table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.module-overview-column {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.module-overview-card-open,
.module-overview-empty-open,
.module-chapter-section.is-open .module-section-heading,
.module-chapter-section.is-open .chapter-card {
    border-color: rgba(255, 68, 68, 0.96);
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.34), 0 0 26px rgba(255, 48, 48, 0.22);
}

.module-overview-card-finished,
.module-overview-empty-finished,
.module-chapter-section.is-complete .module-section-heading,
.module-chapter-section.is-complete .chapter-card {
    border-color: rgba(64, 214, 126, 0.98);
    box-shadow: 0 0 0 3px rgba(64, 214, 126, 0.30), 0 0 28px rgba(64, 214, 126, 0.18);
}

.module-chapter-section.is-complete .chapter-card.is-done {
    border-width: 3px;
}

.module-checklist-footer {
    margin-bottom: 0.25rem;
}


.module-checklist-under-progress {
    margin-top: 1rem;
}

.module-chapter-section.is-complete .module-section-heading,
.module-chapter-section.is-complete .chapter-card,
.module-chapter-section.is-complete > .card {
    background: linear-gradient(180deg, rgba(33, 94, 58, 0.32), rgba(16, 44, 27, 0.42));
}

.module-chapter-section.is-complete .module-section-heading h2,
.module-chapter-section.is-complete .chapter-card h3,
.module-chapter-section.is-complete > .card h3 {
    color: #e9fff1;
}

.module-chapter-section.is-complete .module-section-heading p,
.module-chapter-section.is-complete .chapter-card p,
.module-chapter-section.is-complete > .card p {
    color: rgba(232, 255, 239, 0.92);
}

.module-chapter-section.is-complete .status-pill,
.module-chapter-section.is-complete .status-tag.success {
    background: rgba(78, 220, 126, 0.24);
    border-color: rgba(128, 255, 170, 0.42);
}

.module-overview-card-finished,
.module-overview-empty-finished {
    background: linear-gradient(180deg, rgba(27, 84, 49, 0.30), rgba(14, 38, 24, 0.42));
}

.module-chapter-section.is-open .status-pill,
.module-overview-card-open .status-tag.warning {
    background: rgba(255, 84, 84, 0.16);
}

.module-chapter-section.is-complete .status-pill,
.module-overview-card-finished .status-tag.success {
    background: rgba(57, 180, 108, 0.2);
}

@media (max-width: 960px) {
    .module-overview-table {
        grid-template-columns: 1fr;
    }
}

.editor-fixed-shell .rich-editor,
.content-editor-workspace .rich-editor {
    height: min(76vh, 860px);
    max-height: 76vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.editor-fixed-shell .rich-toolbar,
.content-editor-workspace .rich-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;
    flex: 0 0 auto;
    max-height: 230px;
    overflow-y: auto;
}

.editor-fixed-shell .rich-surface,
.content-editor-workspace .rich-surface {
    flex: 1 1 auto;
    min-height: 420px !important;
    max-height: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

.editor-fixed-shell .rich-editor-help,
.content-editor-workspace .rich-editor-help {
    flex: 0 0 auto;
}

@media (max-width: 1100px) {
    .content-manager-grid-three {
        grid-template-columns: 1fr;
    }
}

/* v24: stabilere Tabellenbearbeitung */
.rich-surface table.editor-table,
.prose-content table.editor-table,
.preview-paper-body table.editor-table,
.editor-preview table.editor-table {
  table-layout: fixed !important;
  border-collapse: collapse;
}

.rich-surface table.editor-table col,
.prose-content table.editor-table col,
.preview-paper-body table.editor-table col,
.editor-preview table.editor-table col {
  min-width: 42px;
}

.rich-surface table.editor-table.editor-table-resizing,
.rich-surface table.editor-table.editor-table-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.rich-surface td[data-custom-bg],
.rich-surface th[data-custom-bg],
.prose-content td[data-custom-bg],
.prose-content th[data-custom-bg],
.preview-paper-body td[data-custom-bg],
.preview-paper-body th[data-custom-bg],
.editor-preview td[data-custom-bg],
.editor-preview th[data-custom-bg] {
  background-clip: padding-box !important;
}

.rich-table-resize-layer {
  z-index: 80;
}

.table-column-resize-handle {
  width: 14px;
  min-width: 14px;
  margin-left: -2px;
}

.table-column-resize-handle::before {
  width: 3px;
  left: 5px;
  background: rgba(154, 194, 255, .9);
}

.table-column-resize-handle:hover::before,
.table-column-resize-handle:focus::before {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 0 0 1px rgba(5, 12, 28, .6), 0 0 0 8px rgba(120,170,255,.20);
}

/* v25: Tabellen aus Word/Google Docs/Paste zuverlässig spaltenweise veränderbar */
.rich-surface table.editor-table,
.rich-surface table.editor-table-v25 {
  table-layout: fixed !important;
  width: auto;
  min-width: 0 !important;
  max-width: none !important;
  border-collapse: collapse !important;
}

.rich-surface table.editor-table-v25 col {
  min-width: 42px;
}

.rich-surface table.editor-table-v25 td,
.rich-surface table.editor-table-v25 th {
  min-width: 42px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.rich-surface {
  overflow-x: auto !important;
}

.v25-resize-layer {
  z-index: 120 !important;
  pointer-events: none;
}

.v25-resize-layer.active {
  display: block !important;
}

.v25-column-handle {
  width: 16px !important;
  min-width: 16px !important;
  pointer-events: auto !important;
  cursor: col-resize !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.v25-column-handle::before {
  left: 6px !important;
  width: 4px !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 0 0 1px rgba(5, 12, 28, .7), 0 0 0 8px rgba(91, 141, 239, .22) !important;
}

.table-column-dragging,
.table-column-dragging * {
  cursor: col-resize !important;
  user-select: none !important;
}

/* v27: Editor-Menue sauber nebeneinander + stabile Paste-Tabellen */
.rich-toolbar {
  align-items: flex-start;
}

.rich-tool-group-wide {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.rich-tool-group-wide .rich-palette-block,
.rich-tool-group-wide .rich-swatch-row,
.rich-toolbar-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.rich-toolbar-actions {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.10);
}

.rich-toolbar-actions .rich-tool {
  white-space: nowrap;
}

.rich-surface {
  overflow-x: auto !important;
}

.rich-surface table.editor-table,
.rich-surface table.editor-table-resizable,
.prose-content table.editor-table,
.preview-paper-body table.editor-table,
.editor-preview table.editor-table {
  table-layout: fixed !important;
  border-collapse: collapse !important;
  width: auto;
  max-width: none !important;
}

.rich-surface table.editor-table col,
.rich-surface table.editor-table-resizable col {
  min-width: 42px;
}

.rich-surface table.editor-table td,
.rich-surface table.editor-table th,
.rich-surface table.editor-table-resizable td,
.rich-surface table.editor-table-resizable th {
  min-width: 42px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.rich-table-resize-layer.editor-table-resize-layer {
  z-index: 300 !important;
  pointer-events: none !important;
}

.rich-table-resize-layer.editor-table-resize-layer.active {
  display: block !important;
}

.table-column-resize-handle.editor-column-handle {
  width: 16px !important;
  min-width: 16px !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: auto !important;
  cursor: col-resize !important;
}

.table-column-resize-handle.editor-column-handle::before {
  left: 6px !important;
  width: 4px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 0 0 1px rgba(5,12,28,.75), 0 0 0 8px rgba(91,141,239,.24) !important;
}

.rich-surface td[data-custom-bg],
.rich-surface th[data-custom-bg],
.prose-content td[data-custom-bg],
.prose-content th[data-custom-bg],
.preview-paper-body td[data-custom-bg],
.preview-paper-body th[data-custom-bg],
.editor-preview td[data-custom-bg],
.editor-preview th[data-custom-bg] {
  background-clip: padding-box !important;
}

.table-column-dragging,
.table-column-dragging * {
  cursor: col-resize !important;
  user-select: none !important;
}

/* v28: Editormenue erzwingt Zellfarbe + Aktionen in einer Zeile und Tabellen-Gesamtbreite ziehbar */
.rich-toolbar {
  overflow-x: auto !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
}

.rich-tool-group-wide {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: none !important;
  overflow: visible !important;
}

.rich-cell-tools-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  min-width: max-content !important;
  padding-left: 0;
}

.rich-cell-tools-line .rich-cell-color-block,
.rich-cell-tools-line .rich-toolbar-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.rich-cell-tools-line .rich-swatch-row {
  flex-wrap: nowrap !important;
}

.rich-cell-tools-line .rich-toolbar-actions {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.rich-tool[data-action="tableWidthShrink"],
.rich-tool[data-action="tableWidthGrow"],
.rich-tool[data-action="tableWidthFit"] {
  border-color: rgba(91, 141, 239, .42);
}

.table-width-resize-handle.editor-width-handle {
  position: absolute;
  width: 18px !important;
  min-width: 18px !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: auto !important;
  cursor: ew-resize !important;
  padding: 0 !important;
  z-index: 350 !important;
}

.table-width-resize-handle.editor-width-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(91, 141, 239, .95);
  box-shadow: 0 0 0 1px rgba(5,12,28,.75), 0 0 0 9px rgba(91,141,239,.18);
}

.table-width-resize-handle.editor-width-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: -7px;
  transform: translateY(-50%);
  width: 30px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 28, 52, .96);
  color: #eef3ff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.table-width-dragging,
.table-width-dragging * {
  cursor: ew-resize !important;
  user-select: none !important;
}

.rich-surface table.editor-table.editor-table-width-resizing {
  outline: 2px solid rgba(91,141,239,.65);
  outline-offset: 3px;
}

/* v29: aufgeräumtes Editormenü + stabile Schriftgrößen-Bedienung */
.rich-toolbar.rich-toolbar-v29 {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
}

.rich-toolbar-v29 .rich-toolbar-section {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.rich-toolbar-v29 .rich-toolbar-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rich-toolbar-v29 .rich-tool-group,
.rich-toolbar-v29 .rich-palette-block,
.rich-toolbar-v29 .rich-cell-tools-line,
.rich-toolbar-v29 .rich-toolbar-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
}

.rich-toolbar-v29 .rich-tool-group {
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.09);
}

.rich-toolbar-v29 .rich-tool-group:last-child {
  border-right: 0;
}

.rich-toolbar-v29 .rich-toolbar-type-row,
.rich-toolbar-v29 .rich-toolbar-table-row {
  flex-wrap: wrap !important;
}

.rich-toolbar-v29 .rich-cell-tools-line {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}

.rich-toolbar-v29 .rich-cell-color-block,
.rich-toolbar-v29 .rich-cell-color-block .rich-swatch-row,
.rich-toolbar-v29 .rich-toolbar-actions {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.rich-toolbar-v29 .rich-toolbar-actions {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,.14);
}

.rich-toolbar-v29 .rich-picker-label {
  min-height: 36px;
  white-space: nowrap;
}

.rich-toolbar-v29 .rich-font-select {
  min-width: 170px;
}

.rich-toolbar-v29 .rich-size-select {
  min-width: 92px;
}

.rich-current-size {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(91, 141, 239, .14);
  color: #cfe0ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.rich-toolbar-v29 .rich-swatch-row {
  flex-wrap: nowrap !important;
}

.rich-toolbar-v29 .rich-swatch {
  flex: 0 0 auto;
}

.rich-toolbar-v29 .rich-tool {
  white-space: nowrap;
}

.rich-toolbar-v29 .rich-table-tools {
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: thin;
}

.rich-surface span[style] {
  line-height: inherit;
}

@media (max-width: 900px) {
  .rich-toolbar-v29 .rich-toolbar-section {
    align-items: flex-start !important;
  }
  .rich-toolbar-v29 .rich-cell-tools-line {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* v30: optimiertes Editormenü, stabile Schriftgrößen und Tabellen-Gesamtbreite */
.rich-editor-v30 {
  --toolbar-bg: rgba(12, 18, 34, .94);
}

.rich-toolbar.rich-toolbar-v30 {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 10px !important;
  max-height: 260px !important;
  overflow: auto !important;
  background: var(--toolbar-bg) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

.rich-toolbar-v30 .rich-toolbar-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.rich-toolbar-v30 .rich-toolbar-row:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.rich-toolbar-v30 .rich-tool-group,
.rich-toolbar-v30 .rich-palette-block,
.rich-toolbar-v30 .rich-cell-tools-line,
.rich-toolbar-v30 .rich-toolbar-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
}

.rich-toolbar-v30 .rich-tool-group {
  padding: 6px 8px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.025) !important;
}

.rich-toolbar-v30 .rich-cell-tools-line {
  width: 100% !important;
  max-width: 100% !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.025) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
}

.rich-toolbar-v30 .rich-toolbar-actions {
  margin-left: 8px !important;
  padding-left: 8px !important;
  border-left: 1px solid rgba(255,255,255,.14) !important;
  flex: 0 0 auto !important;
}

.rich-toolbar-v30 .rich-picker-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  min-height: 34px !important;
  padding: 0 !important;
}

.rich-toolbar-v30 .rich-font-select { min-width: 185px !important; }
.rich-toolbar-v30 .rich-size-select { min-width: 95px !important; }
.rich-toolbar-v30 .rich-table-width-select { min-width: 120px !important; }

.rich-toolbar-v30 .rich-swatch-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.rich-toolbar-v30 .rich-tool {
  white-space: nowrap !important;
  min-height: 34px !important;
}

.rich-toolbar-v30 .rich-tool.compact {
  min-width: 36px !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

.rich-toolbar-v30 .rich-table-tools,
.rich-toolbar-v30 .rich-table-width-tools {
  overflow-x: auto !important;
  max-width: 100% !important;
  scrollbar-width: thin !important;
}

.rich-toolbar-v30 .rich-current-size {
  flex: 0 0 auto !important;
}

.rich-editor-v30 .rich-surface {
  overflow: auto !important;
  overscroll-behavior: contain !important;
}

.rich-editor-v30 .rich-surface table.editor-table,
.rich-editor-v30 .rich-surface table.editor-table-resizable,
.prose-content table.editor-table,
.preview-paper-body table.editor-table,
.editor-preview table.editor-table {
  width: var(--editor-table-width, auto) !important;
  max-width: none !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

.rich-editor-v30 .rich-surface table.editor-table col,
.rich-editor-v30 .rich-surface table.editor-table-resizable col {
  min-width: 42px !important;
}

.rich-editor-v30 .rich-surface table.editor-table td,
.rich-editor-v30 .rich-surface table.editor-table th,
.rich-editor-v30 .rich-surface table.editor-table-resizable td,
.rich-editor-v30 .rich-surface table.editor-table-resizable th {
  min-width: 42px !important;
  overflow-wrap: anywhere !important;
}

.rich-editor-v30 .table-width-resize-handle.editor-width-handle {
  z-index: 500 !important;
}

/* v31: Editormenü ohne horizontalen Regler, kompakte Werkzeuggruppen */
.rich-editor-v31,
.rich-editor {
  max-width: 100%;
}

.rich-editor-v31 .rich-toolbar,
.rich-toolbar-v31 {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 10px !important;
  max-height: 340px !important;
  background: rgba(17, 22, 38, .98) !important;
}

.rich-editor-v31 .rich-toolbar-section,
.rich-toolbar-v31 .rich-toolbar-section,
.rich-toolbar-v31 .rich-toolbar-mainline,
.rich-toolbar-v31 .rich-toolbar-type-row,
.rich-toolbar-v31 .rich-toolbar-table-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 0 0 7px 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
}

.rich-toolbar-v31 .rich-toolbar-section:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.rich-toolbar-v31 .rich-tool-group,
.rich-toolbar-v31 .rich-table-tools,
.rich-toolbar-v31 .rich-palette-block,
.rich-toolbar-v31 .rich-cell-tools-line,
.rich-toolbar-v31 .rich-toolbar-actions,
.rich-toolbar-v31 .rich-swatch-row {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.rich-toolbar-v31 .rich-tool-group,
.rich-toolbar-v31 .rich-palette-block,
.rich-toolbar-v31 .rich-cell-tools-line {
  padding: 6px 7px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.075) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.026) !important;
}

.rich-toolbar-v31 .rich-cell-tools-line {
  width: auto !important;
  flex: 1 1 auto !important;
}

.rich-toolbar-v31 .rich-toolbar-actions {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.rich-toolbar-v31 .rich-tool,
.rich-toolbar-v31 .rich-select,
.rich-toolbar-v31 .rich-picker-label,
.rich-toolbar-v31 .rich-current-size {
  white-space: nowrap !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.rich-toolbar-v31 .rich-tool {
  min-height: 31px !important;
  padding: 6px 8px !important;
  font-size: .82rem !important;
  border-radius: 10px !important;
}

.rich-toolbar-v31 .rich-picker-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 31px !important;
  font-size: .82rem !important;
}

.rich-toolbar-v31 .rich-select {
  min-height: 31px !important;
  padding: 5px 8px !important;
  font-size: .82rem !important;
}

.rich-toolbar-v31 .rich-font-select {
  width: 154px !important;
  min-width: 132px !important;
}

.rich-toolbar-v31 .rich-size-select {
  width: 82px !important;
  min-width: 72px !important;
}

.rich-toolbar-v31 .rich-table-width-select {
  width: 116px !important;
  min-width: 104px !important;
}

.rich-toolbar-v31 .rich-current-size,
.rich-toolbar-v31 .rich-table-width-current {
  font-size: .76rem !important;
  color: rgba(238,243,255,.66) !important;
}

.rich-toolbar-v31 .rich-color-picker {
  width: 32px !important;
  height: 28px !important;
  min-width: 32px !important;
  padding: 2px !important;
}

.rich-toolbar-v31 .rich-swatch {
  width: 20px !important;
  height: 20px !important;
  border-radius: 7px !important;
  flex: 0 0 auto !important;
}

.rich-toolbar-v31 + .rich-surface,
.rich-editor-v31 .rich-surface {
  overflow: auto !important;
  overscroll-behavior: contain !important;
}

@media (max-width: 900px) {
  .rich-toolbar-v31 {
    max-height: 420px !important;
  }
  .rich-toolbar-v31 .rich-font-select,
  .rich-toolbar-v31 .rich-size-select,
  .rich-toolbar-v31 .rich-table-width-select {
    width: auto !important;
    max-width: 100% !important;
  }
}

/* v32: Tabellenrahmen + stabilere Schriftgrößen-Auswahl */
.rich-toolbar-v31 .rich-table-border-select {
  width: 92px !important;
  min-width: 82px !important;
}

.rich-toolbar-v31 .rich-border-color-picker {
  width: 32px !important;
  height: 28px !important;
  min-width: 32px !important;
}

.rich-surface table.editor-table td,
.rich-surface table.editor-table th,
.prose-content table.editor-table td,
.prose-content table.editor-table th,
.preview-paper-body table.editor-table td,
.preview-paper-body table.editor-table th,
.editor-preview table.editor-table td,
.editor-preview table.editor-table th {
  border-color: inherit;
}

@media (max-width: 1100px) {
  .rich-toolbar-v31 .rich-table-border-label,
  .rich-toolbar-v31 .rich-table-border-color-label {
    flex: 1 1 auto !important;
  }
}

/* v36: Tabellen-Zeilenhöhe per Ziehen ändern */
.table-row-resize-handle.editor-row-handle {
  position: absolute;
  z-index: 24;
  height: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: row-resize;
}

.table-row-resize-handle.editor-row-handle::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 2px;
  background: rgba(147, 197, 253, 0.28);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.12s ease, background 0.12s ease, height 0.12s ease;
}

.table-row-resize-handle.editor-row-handle:hover::before,
.table-row-resize-handle.editor-row-handle:focus::before {
  opacity: 1;
  height: 3px;
  background: rgba(96, 165, 250, 0.9);
}

.table-row-dragging,
.table-row-dragging * {
  cursor: row-resize !important;
  user-select: none !important;
}

.rich-surface table.editor-table.editor-table-row-resizing {
  outline: 2px solid rgba(96, 165, 250, 0.45);
  outline-offset: 2px;
}

.rich-toolbar-v31 .rich-table-tools .rich-tool[data-action="tableRowHeightShrink"],
.rich-toolbar-v31 .rich-table-tools .rich-tool[data-action="tableRowHeightGrow"],
.rich-toolbar-v31 .rich-table-tools .rich-tool[data-action="tableRowHeightClear"] {
  white-space: nowrap;
}

/* =========================================================
   v39: sichtbare Neugestaltung Bereichsauswahl + Cache-Buster
   ========================================================= */
body.area-page-v39 {
    background:
        radial-gradient(circle at 18% 14%, rgba(111, 164, 255, 0.22), transparent 30%),
        radial-gradient(circle at 78% 72%, rgba(210, 162, 75, 0.18), transparent 28%),
        linear-gradient(135deg, #050914 0%, #090e19 45%, #04070d 100%) !important;
}
body.area-page-v39::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(4, 8, 15, 0.86), rgba(4, 8, 15, 0.94)),
        url('../img/login-background.png') center center / cover no-repeat;
    opacity: .28;
    filter: blur(6px) saturate(.9);
    transform: scale(1.03);
    z-index: -2;
}
body.area-page-v39::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 80%);
    z-index: -1;
}
body.area-page-v39 .site-shell {
    max-width: 1420px !important;
    padding-top: 26px !important;
}
body.area-page-v39 .site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(6, 10, 18, .68);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0,0,0,.26);
}
body.area-page-v39 .brand img {
    width: 270px !important;
    max-height: 78px !important;
}
body.area-page-v39 .site-nav a {
    border-radius: 999px !important;
    background: rgba(255,255,255,.045) !important;
    border-color: rgba(255,255,255,.10) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body.area-page-v39 .site-nav a:hover {
    background: rgba(111,164,255,.16) !important;
    border-color: rgba(111,164,255,.35) !important;
}
.academy-hero-v39 {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 235px;
    padding: 38px 42px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(135deg, rgba(44, 40, 58, .92), rgba(21, 26, 43, .78)),
        radial-gradient(circle at 18% 24%, rgba(111,164,255,.22), transparent 34%),
        radial-gradient(circle at 86% 40%, rgba(210,162,75,.18), transparent 30%);
    box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.hero-glow-v39 {
    position: absolute;
    inset: auto -120px -180px auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(111,164,255,.18);
    filter: blur(48px);
    pointer-events: none;
}
.academy-hero-content-v39 {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}
.eyebrow-v39 {
    margin: 0;
    color: #9dbbff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 800;
}
.academy-hero-v39 h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 68px);
    letter-spacing: -.04em;
    line-height: .95;
}
.academy-hero-v39 p:not(.eyebrow-v39) {
    margin: 0;
    color: rgba(244,245,248,.76);
    font-size: 18px;
    max-width: 650px;
    line-height: 1.55;
}
.academy-userbox-v39 {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    min-width: 230px;
}
.academy-userbox-v39 span,
.course-count-v39 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 700;
}
.profile-panel-v39 {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(38, 34, 49, .86);
    box-shadow: 0 20px 60px rgba(0,0,0,.32);
}
.profile-panel-v39 h2 {
    margin: 6px 0 0;
}
.profile-form-v39 {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(180px, .85fr) minmax(210px, .95fr) auto;
    gap: 14px;
    align-items: end;
}
.profile-form-v39 .button { min-width: 135px; }
.course-grid-v39 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.course-card-v39 {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: grid;
    gap: 18px;
    align-content: start;
    padding: 30px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(145deg, rgba(43, 39, 54, .94), rgba(22, 26, 42, .88));
    box-shadow: 0 24px 80px rgba(0,0,0,.38);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.course-card-v39:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 95px rgba(0,0,0,.46);
}
.course-card-v39::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--course-accent, #6fa4ff);
}
.course-card-v39::after {
    content: "";
    position: absolute;
    inset: -90px -100px auto auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: var(--course-glow, rgba(111,164,255,.22));
    filter: blur(42px);
    pointer-events: none;
}
.course-card-blue-v39 {
    --course-accent: #6fa4ff;
    --course-glow: rgba(111,164,255,.23);
}
.course-card-gold-v39 {
    --course-accent: #d2a24b;
    --course-glow: rgba(210,162,75,.23);
}
.course-card-head-v39 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    align-items: center;
}
.course-icon-v39 {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: color-mix(in srgb, var(--course-accent, #6fa4ff) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--course-accent, #6fa4ff) 40%, transparent);
    color: #fff;
    font-weight: 900;
    font-size: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.course-card-v39 h2 {
    margin: 5px 0 0;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.08;
    letter-spacing: -.02em;
}
.course-text-v39 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(244,245,248,.78);
    line-height: 1.55;
    max-width: 780px;
}
.course-actions-v39 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.course-actions-v39 form { margin: 0; }
.course-button-v39 {
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 17px;
    background: rgba(255,255,255,.055);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.course-button-v39:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--course-accent, #6fa4ff) 23%, transparent);
    border-color: color-mix(in srgb, var(--course-accent, #6fa4ff) 46%, transparent);
}
.course-button-v39.active {
    background: linear-gradient(180deg, var(--course-accent, #6fa4ff), color-mix(in srgb, var(--course-accent, #6fa4ff) 72%, #1f2937));
    border-color: color-mix(in srgb, var(--course-accent, #6fa4ff) 60%, transparent);
}
.course-button-v39.locked {
    opacity: .48;
    cursor: not-allowed;
}
.course-button-v39.locked:hover { transform: none; }
@supports not (color: color-mix(in srgb, white, black)) {
    .course-icon-v39 { background: rgba(111,164,255,.16); border-color: rgba(111,164,255,.38); }
    .course-button-v39:hover { background: rgba(111,164,255,.18); border-color: rgba(111,164,255,.38); }
}
@media (max-width: 980px) {
    .academy-hero-v39,
    .course-grid-v39,
    .profile-form-v39 {
        grid-template-columns: 1fr;
    }
    .academy-userbox-v39 { min-width: 0; display: flex; flex-wrap: wrap; }
    .course-card-head-v39 { grid-template-columns: 52px 1fr; }
    .course-count-v39 { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
    body.area-page-v39 .site-header { position: relative; top: 0; }
    body.area-page-v39 .brand img { width: 220px !important; }
    .academy-hero-v39,
    .course-card-v39,
    .profile-panel-v39 { padding: 24px; border-radius: 26px; }
    .course-actions-v39, .course-actions-v39 form, .course-button-v39 { width: 100%; }
}

/* v40 Lernbuch / Notizbuch */
body.notebook-page .site-main {
    max-width: 1500px;
}
.notebook-hero {
    margin-bottom: 24px;
}
.notebook-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.notebook-list-card,
.notebook-editor-card {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(38, 34, 49, .88);
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(0,0,0,.32);
    padding: 22px;
}
.compact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}
.compact-header h2 {
    margin: 4px 0 0;
}
.notebook-list {
    display: grid;
    gap: 10px;
}
.notebook-list-item {
    display: grid;
    gap: 5px;
    padding: 14px 15px;
    border-radius: 17px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.045);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.notebook-list-item:hover,
.notebook-list-item.active {
    transform: translateY(-1px);
    background: rgba(111,164,255,.13);
    border-color: rgba(111,164,255,.36);
}
.notebook-list-item span,
.notebook-list-item small,
.muted {
    color: rgba(244,245,248,.64);
}
.notebook-meta-grid {
    margin-bottom: 16px;
}

.chapter-editor-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.chapter-editor-header-actions form {
    margin: 0;
}
@media (max-width: 720px) {
    .chapter-editor-header-actions {
        justify-content: flex-start;
    }
}

.notebook-editor-card .rich-editor {
    min-height: 720px;
}
.notebook-editor-card .rich-surface {
    min-height: 520px !important;
    max-height: 62vh !important;
    overflow: auto !important;
}
.notebook-actions {
    margin-top: 16px;
}
.notebook-delete-form {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}
.button.danger {
    color: #fecaca;
    border-color: rgba(248,113,113,.35);
    background: rgba(127,29,29,.25);
}
.button.danger:hover {
    background: rgba(127,29,29,.38);
}
@media (max-width: 1050px) {
    .notebook-layout {
        grid-template-columns: 1fr;
    }
    .notebook-editor-card .rich-surface {
        max-height: 58vh !important;
    }
}

/* =========================================================
   v41: lebendigeres Akademie-Dashboard / Bereichsauswahl
   ========================================================= */
body.area-page-v41 {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 8%, rgba(102, 157, 255, 0.28), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(210, 162, 75, 0.18), transparent 26%),
        radial-gradient(circle at 60% 92%, rgba(72, 216, 166, 0.10), transparent 26%),
        #050911 !important;
}
body.area-page-v41::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5,9,17,.94), rgba(5,9,17,.72) 46%, rgba(5,9,17,.94)),
        linear-gradient(180deg, rgba(5,9,17,.78), rgba(5,9,17,.98)),
        url('../img/login-background.png') center center / cover no-repeat;
    opacity: .72;
    filter: blur(7px) saturate(.95);
    transform: scale(1.035);
    z-index: -3;
}
body.area-page-v41::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: .36;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 86%);
    z-index: -2;
}
body.area-page-v41 .site-shell {
    max-width: 1440px !important;
    padding-top: 24px !important;
}
body.area-page-v41 .site-header {
    position: sticky;
    top: 14px;
    z-index: 50;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10, 16, 28, .78), rgba(7, 11, 20, .62));
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}
body.area-page-v41 .brand img {
    width: 285px !important;
    max-height: 82px !important;
    object-fit: contain;
}
body.area-page-v41 .site-nav {
    gap: 10px;
}
body.area-page-v41 .site-nav a {
    border-radius: 999px !important;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    padding: 12px 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
body.area-page-v41 .site-nav a:hover {
    transform: translateY(-1px);
    background: rgba(111,164,255,.18) !important;
    border-color: rgba(111,164,255,.42) !important;
}

.academy-dashboard-v41 {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, .6fr);
    gap: 28px;
    align-items: stretch;
    min-height: 320px;
    padding: 40px;
    border-radius: 38px;
    border: 1px solid rgba(255,255,255,.11);
    background:
        linear-gradient(135deg, rgba(43, 39, 58, .94), rgba(16, 24, 42, .78) 54%, rgba(43, 36, 56, .86)),
        radial-gradient(circle at 16% 16%, rgba(111,164,255,.22), transparent 34%),
        radial-gradient(circle at 92% 18%, rgba(210,162,75,.18), transparent 26%);
    box-shadow: 0 34px 110px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.07);
}
.academy-dashboard-v41::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(255,255,255,.09), transparent 28%, transparent 64%, rgba(255,255,255,.04)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px);
    opacity: .58;
    pointer-events: none;
}
.academy-dashboard-main-v41,
.academy-status-v41 {
    position: relative;
    z-index: 1;
}
.eyebrow-v41 {
    margin: 0;
    color: #9dbbff;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .32em;
    font-weight: 900;
}
.academy-dashboard-main-v41 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.academy-dashboard-main-v41 h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(42px, 5.9vw, 86px);
    line-height: .92;
    letter-spacing: -.055em;
}
.dashboard-lead-v41 {
    margin: 0;
    max-width: 760px;
    color: rgba(244,245,248,.78);
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.55;
}
.dashboard-actions-v41 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.dash-action-v41 {
    min-width: 172px;
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #fff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.dash-action-v41:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.095);
    border-color: rgba(255,255,255,.20);
}
.dash-action-v41.primary {
    background: linear-gradient(180deg, rgba(111,164,255,.98), rgba(67, 114, 206, .95));
    border-color: rgba(174, 203, 255, .48);
}
.dash-action-v41 span {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}
.dash-action-v41 strong {
    font-size: 15px;
}
.academy-status-v41 {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 24px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(5, 9, 17, .30);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.status-profile-v41 {
    display: grid;
    gap: 5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.status-profile-v41 span {
    color: rgba(255,255,255,.62);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.status-profile-v41 strong {
    font-size: 22px;
}
.status-metrics-v41 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.status-metrics-v41 div {
    display: grid;
    gap: 6px;
    min-height: 84px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
}
.status-metrics-v41 span {
    color: rgba(255,255,255,.62);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-weight: 800;
}
.status-metrics-v41 strong {
    align-self: end;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1;
}
.status-progress-v41 {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}
.status-progress-v41 span {
    display: block;
    height: 100%;
    min-width: 3%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6fa4ff, #7dd3fc, #d2a24b);
    box-shadow: 0 0 24px rgba(111,164,255,.46);
}
.status-note-v41 {
    margin: 0;
    color: rgba(244,245,248,.76);
    line-height: 1.45;
}

.profile-panel-v41,
.quick-panel-v41,
.course-card-v41 {
    border: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 26px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.055);
}
.profile-panel-v41 {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 22px;
    align-items: end;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(38, 34, 49, .94), rgba(20, 25, 40, .88));
}
.profile-panel-v41 h2 { margin: 8px 0 6px; }
.profile-panel-v41 p:not(.eyebrow-v41) {
    margin: 0;
    color: rgba(244,245,248,.68);
}
.profile-form-v41 {
    display: grid;
    grid-template-columns: minmax(210px, 1.25fr) minmax(160px, .72fr) minmax(190px, .78fr) auto;
    gap: 14px;
    align-items: end;
}
.profile-form-v41 label { margin: 0; }
.profile-form-v41 .button { min-height: 48px; min-width: 130px; }

.quick-panel-v41 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border-radius: 30px;
    background: rgba(8, 13, 23, .58);
    backdrop-filter: blur(12px);
}
.quick-tile-v41 {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 3px 12px;
    align-items: center;
    min-height: 96px;
    padding: 16px;
    border-radius: 23px;
    border: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
    color: #fff;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.quick-tile-v41:hover {
    transform: translateY(-2px);
    border-color: rgba(111,164,255,.35);
    background: rgba(111,164,255,.09);
}
.quick-tile-v41.muted { opacity: .6; }
.quick-icon-v41 {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(111,164,255,.15);
    border: 1px solid rgba(111,164,255,.30);
    font-size: 21px;
    font-weight: 900;
}
.quick-tile-v41 strong { font-size: 17px; }
.quick-tile-v41 small {
    color: rgba(244,245,248,.62);
    line-height: 1.35;
}

.course-grid-v41 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}
.course-card-v41 {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 24px;
    min-height: 330px;
    padding: 30px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(41, 38, 53, .94), rgba(16, 22, 38, .90));
}
.course-card-v41::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--course-accent-v41, #6fa4ff);
    box-shadow: 0 0 34px var(--course-glow-v41, rgba(111,164,255,.45));
}
.course-card-v41::after {
    content: "";
    position: absolute;
    inset: -100px -100px auto auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: var(--course-glow-v41, rgba(111,164,255,.18));
    filter: blur(45px);
    pointer-events: none;
}
.course-blue-v41 {
    --course-accent-v41: #6fa4ff;
    --course-glow-v41: rgba(111,164,255,.24);
}
.course-gold-v41 {
    --course-accent-v41: #d2a24b;
    --course-glow-v41: rgba(210,162,75,.24);
}
.course-card-head-v41,
.course-actions-v41 {
    position: relative;
    z-index: 1;
}
.course-card-head-v41 {
    display: grid;
    grid-template-columns: 66px 1fr auto;
    gap: 18px;
    align-items: start;
}
.course-icon-v41 {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    color: #fff;
    font-weight: 950;
    font-size: 28px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 40px rgba(0,0,0,.22);
}
.course-card-v41 h2 {
    margin: 6px 0 8px;
    font-size: clamp(26px, 2.35vw, 38px);
    line-height: 1.02;
    letter-spacing: -.035em;
}
.course-card-v41 p:not(.eyebrow-v41) {
    margin: 0;
    max-width: 720px;
    color: rgba(244,245,248,.72);
    line-height: 1.5;
}
.course-count-v41 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 900;
}
.course-actions-v41 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: end;
}
.course-actions-v41 form { margin: 0; }
.course-choice-v41 {
    width: 100%;
    min-height: 82px;
    display: grid;
    gap: 4px;
    align-content: center;
    text-align: left;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.055);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.course-choice-v41:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--course-accent-v41, #6fa4ff) 52%, rgba(255,255,255,.12));
    background: color-mix(in srgb, var(--course-accent-v41, #6fa4ff) 16%, rgba(255,255,255,.055));
    box-shadow: 0 16px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.08);
}
.course-choice-v41 span {
    color: rgba(255,255,255,.56);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
}
.course-choice-v41 strong {
    font-size: 18px;
    line-height: 1.1;
}
.course-choice-v41 em {
    color: rgba(244,245,248,.60);
    font-size: 13px;
    font-style: normal;
}
.course-choice-v41.active {
    background: linear-gradient(180deg, var(--course-accent-v41, #6fa4ff), color-mix(in srgb, var(--course-accent-v41, #6fa4ff) 70%, #151a2a));
    border-color: color-mix(in srgb, var(--course-accent-v41, #6fa4ff) 65%, rgba(255,255,255,.18));
}
.course-choice-v41.active span,
.course-choice-v41.active em { color: rgba(255,255,255,.78); }
.course-choice-v41.locked {
    opacity: .47;
    cursor: not-allowed;
    filter: grayscale(.25);
}
.course-choice-v41.locked:hover { transform: none; }
@supports not (color: color-mix(in srgb, white, black)) {
    .course-choice-v41:hover { background: rgba(111,164,255,.12); border-color: rgba(111,164,255,.35); }
    .course-choice-v41.active { background: linear-gradient(180deg, #6fa4ff, #3f69bf); }
}

@media (max-width: 1180px) {
    .academy-dashboard-v41,
    .course-grid-v41,
    .profile-panel-v41 {
        grid-template-columns: 1fr;
    }
    .quick-panel-v41 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    body.area-page-v41 .site-header { position: relative; top: 0; }
    body.area-page-v41 .brand img { width: 220px !important; }
    .academy-dashboard-v41,
    .profile-panel-v41,
    .course-card-v41 { padding: 24px; border-radius: 28px; }
    .academy-dashboard-v41 { min-height: 0; }
    .academy-dashboard-main-v41 h1 { font-size: clamp(38px, 11vw, 58px); }
    .status-metrics-v41,
    .profile-form-v41,
    .quick-panel-v41,
    .course-actions-v41 {
        grid-template-columns: 1fr;
    }
    .course-card-head-v41 {
        grid-template-columns: 58px 1fr;
    }
    .course-count-v41 {
        grid-column: 1 / -1;
        justify-self: start;
    }
}


/* =========================================================
   v43: Statuskarten-Fix für Bereichsauswahl
   ========================================================= */
.academy-status-v43 {
    align-content: start;
}
.status-profile-v43 {
    gap: 8px;
    padding-bottom: 14px;
}
.status-profile-v43 span {
    color: #9dbbff;
}
.status-profile-v43 strong {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
    letter-spacing: -.025em;
}
.status-metrics-v43 {
    grid-template-columns: 1fr;
    gap: 12px;
}
.status-metrics-v43 .status-metric-card-v43 {
    position: relative;
    overflow: hidden;
    min-height: 78px;
    isolation: isolate;
    background: rgba(255,255,255,.045);
}
.status-metrics-v43 .status-metric-card-v43::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--metric-fill, 0%);
    min-width: 0;
    max-width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(111,164,255,.48), rgba(125,211,252,.34), rgba(210,162,75,.30));
    box-shadow: 0 0 38px rgba(111,164,255,.28);
    z-index: -1;
    transition: width .25s ease;
}
.status-metrics-v43 .status-metric-card-v43::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255,255,255,.06), transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.status-metrics-v43 .status-metric-card-v43 span,
.status-metrics-v43 .status-metric-card-v43 strong {
    position: relative;
    z-index: 1;
}
.status-metrics-v43 .status-metric-card-v43 strong {
    justify-self: start;
    font-size: clamp(24px, 2.3vw, 32px);
}
@media (max-width: 760px) {
    .status-profile-v43 strong { font-size: 26px; }
    .status-metrics-v43 .status-metric-card-v43 { min-height: 72px; }
}

/* =========================================================
   v44: Statuspanel rechts breiter und graziler
   ========================================================= */
@media (min-width: 1181px) {
    .academy-dashboard-v41 {
        grid-template-columns: minmax(0, 1fr) minmax(430px, .54fr);
        gap: 34px;
    }
    .academy-status-v43 {
        width: 100%;
        max-width: 470px;
        justify-self: end;
    }
}
.academy-status-v43 {
    gap: 16px;
    padding: 26px 24px;
    border-radius: 32px;
    background: rgba(5, 9, 17, .26);
}
.status-profile-v43 {
    gap: 6px;
    padding-bottom: 12px;
}
.status-profile-v43 span {
    font-size: 12px;
    letter-spacing: .20em;
}
.status-profile-v43 strong {
    font-size: clamp(28px, 2.15vw, 36px);
    line-height: 1.02;
    letter-spacing: -.035em;
}
.status-metrics-v43 {
    gap: 10px;
}
.status-metrics-v43 .status-metric-card-v43 {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 58px;
    gap: 6px 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.038);
}
.status-metrics-v43 .status-metric-card-v43::before {
    background: linear-gradient(90deg, rgba(111,164,255,.34), rgba(125,211,252,.24), rgba(210,162,75,.20));
    box-shadow: 0 0 26px rgba(111,164,255,.20);
}
.status-metrics-v43 .status-metric-card-v43::after {
    background: linear-gradient(90deg, rgba(255,255,255,.045), transparent 74%);
}
.status-metrics-v43 .status-metric-card-v43 span {
    font-size: 10px;
    letter-spacing: .14em;
}
.status-metrics-v43 .status-metric-card-v43 strong {
    align-self: center;
    justify-self: end;
    font-size: clamp(21px, 1.75vw, 27px);
    letter-spacing: -.025em;
}
.academy-status-v43 .status-progress-v41 {
    height: 8px;
    margin-top: 1px;
}
.academy-status-v43 .status-note-v41 {
    font-size: 14px;
    line-height: 1.42;
}
@media (max-width: 760px) {
    .status-profile-v43 strong { font-size: 26px; }
    .status-metrics-v43 .status-metric-card-v43 {
        min-height: 56px;
        grid-template-columns: 1fr auto;
    }
}

/* =========================================================
   v45: Dashboard-Hintergrund Wache + Titel 48px
   ========================================================= */
.academy-dashboard-v41 {
    isolation: isolate;
    background: linear-gradient(135deg, rgba(9, 13, 24, .86), rgba(16, 20, 34, .82) 48%, rgba(34, 30, 45, .80)) !important;
}
.academy-dashboard-v41::after {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: url("../img/wache-dashboard-background.png");
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.045);
    opacity: .46;
    pointer-events: none;
}
.academy-dashboard-v41::before {
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(4, 7, 14, .46), rgba(8, 12, 22, .34) 38%, rgba(5, 7, 14, .56)),
        linear-gradient(100deg, rgba(255,255,255,.07), transparent 28%, transparent 64%, rgba(255,255,255,.04)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.020) 0 1px, transparent 1px 12px);
    opacity: 1;
}
.academy-dashboard-main-v41,
.academy-status-v41 {
    z-index: 2;
}
.academy-dashboard-main-v41 h1 {
    font-size: 48px !important;
    line-height: 1.06;
    letter-spacing: -.038em;
    max-width: 780px;
}
@media (max-width: 560px) {
    .academy-dashboard-main-v41 h1 {
        font-size: 40px !important;
    }
}

/* =========================================================
   v46: Wachenbild als kompletter Seitenhintergrund
   ========================================================= */
body.area-page-v41 {
    position: relative;
    overflow-x: hidden;
    background: #040812 !important;
}
body.area-page-v41::before {
    content: "";
    position: fixed;
    inset: -28px;
    z-index: 0;
    background: url("../img/wache-dashboard-background.png") center center / cover no-repeat;
    filter: blur(9px) brightness(.48) saturate(.92);
    transform: scale(1.04);
    pointer-events: none;
}
body.area-page-v41::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(3, 7, 14, .74), rgba(3, 7, 14, .88)),
        radial-gradient(circle at 14% 18%, rgba(111,164,255,.18), transparent 30%),
        radial-gradient(circle at 86% 82%, rgba(210,162,75,.10), transparent 28%);
    pointer-events: none;
}
body.area-page-v41 .site-shell {
    position: relative;
    z-index: 1;
}
body.area-page-v41 .academy-dashboard-v41 {
    background: linear-gradient(135deg, rgba(16, 19, 33, .80), rgba(13, 18, 31, .72) 54%, rgba(37, 33, 49, .74)) !important;
    backdrop-filter: blur(8px);
}
body.area-page-v41 .academy-dashboard-v41::after {
    display: none !important;
}
body.area-page-v41 .academy-dashboard-v41::before {
    background:
        linear-gradient(100deg, rgba(4, 7, 14, .34), rgba(8, 12, 22, .20) 38%, rgba(5, 7, 14, .38)),
        linear-gradient(100deg, rgba(255,255,255,.07), transparent 28%, transparent 64%, rgba(255,255,255,.04)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.020) 0 1px, transparent 1px 12px);
}

/* =========================================================
   v47: linke Buttonleiste + Portal-Titel im Kopfbereich
   ========================================================= */
.portal-heading-v47 {
    display: none;
}

body.area-page-v41 .site-header {
    display: grid;
    grid-template-columns: minmax(230px, 310px) 1fr;
    grid-template-areas:
        "brand portal"
        "nav portal";
    align-items: start;
    gap: 14px 28px;
    min-height: 248px;
    padding: 18px 22px;
}
body.area-page-v41 .brand {
    grid-area: brand;
    justify-self: start;
}
body.area-page-v41 .portal-heading-v47 {
    grid-area: portal;
    display: block;
    align-self: center;
    justify-self: center;
    margin-left: -90px;
    color: #9dbbff;
    font-size: clamp(15px, 1.55vw, 22px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .32em;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 10px 32px rgba(0,0,0,.42);
}
body.area-page-v41 .site-nav {
    grid-area: nav;
    display: grid;
    grid-template-columns: 1fr;
    align-self: start;
    justify-self: start;
    width: min(100%, 232px);
    gap: 8px;
}
body.area-page-v41 .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 34px;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    font-size: 14px;
    line-height: 1.2;
}
body.area-page-v41 .academy-dashboard-main-v41 {
    gap: 12px;
}
body.area-page-v41 .academy-dashboard-main-v41 h1 {
    margin-top: 0;
}
body.area-page-v41 .dashboard-actions-v41,
body.area-page-v41 .quick-panel-v41 {
    display: none !important;
}
body.area-page-v41 .course-grid-v41 {
    margin-top: 2px;
}

@media (max-width: 900px) {
    body.area-page-v41 .site-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "portal"
            "nav";
        min-height: 0;
        gap: 14px;
    }
    body.area-page-v41 .portal-heading-v47 {
        justify-self: start;
        margin-left: 0;
        text-align: left;
        font-size: 15px;
        letter-spacing: .22em;
    }
    body.area-page-v41 .site-nav {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    body.area-page-v41 .site-nav {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   v48: Navigation links außerhalb des Kopfkastens + Statuszahlen 42px
   ========================================================= */
@media (min-width: 1101px) {
    body.area-page-v41 .site-shell {
        max-width: 1320px !important;
        margin-left: clamp(245px, 16vw, 310px) !important;
        margin-right: 28px !important;
        padding: 24px 0 28px !important;
    }
    body.area-page-v41 .site-header {
        grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
        grid-template-areas: "brand portal";
        align-items: center;
        min-height: 112px;
        padding: 16px 24px;
        gap: 18px 34px;
    }
    body.area-page-v41 .portal-heading-v47 {
        justify-self: center;
        align-self: center;
        margin-left: 0;
        padding-right: clamp(20px, 6vw, 120px);
    }
    body.area-page-v41 .site-nav {
        position: fixed;
        left: 26px;
        top: 142px;
        z-index: 70;
        width: 210px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 0;
        align-self: auto;
        justify-self: auto;
    }
    body.area-page-v41 .site-nav a {
        min-height: 38px;
        padding: 9px 14px !important;
        border-radius: 14px !important;
        background: rgba(12, 17, 29, .56) !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        backdrop-filter: blur(12px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.20);
    }
}

body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 {
    min-height: 74px;
    padding: 12px 16px;
}
body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 strong {
    font-size: 42px !important;
    line-height: .96;
    letter-spacing: -.045em;
}

@media (max-width: 1100px) {
    body.area-page-v41 .site-shell {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 24px 24px 28px !important;
    }
}
@media (max-width: 760px) {
    body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 strong {
        font-size: 36px !important;
    }
}


/* =========================================================
   v49: Logo links oben ohne Schrift + Navigation komplett links neben dem Dashboard
   ========================================================= */
.corner-logo-v49 {
    display: none;
}

@media (min-width: 901px) {
    body.area-page-v41 .corner-logo-v49 {
        position: fixed;
        left: 34px;
        top: 26px;
        z-index: 90;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 88px;
        height: 88px;
        overflow: hidden;
        border-radius: 24px;
        background: rgba(8, 13, 24, .34);
        border: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 20px 48px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
        backdrop-filter: blur(10px);
    }

    body.area-page-v41 .corner-logo-v49 img {
        display: block;
        height: 76px;
        width: auto;
        max-width: none;
        min-width: 76px;
        object-fit: contain;
        object-position: left center;
        filter: drop-shadow(0 10px 24px rgba(0,0,0,.34));
    }

    body.area-page-v41 .site-shell {
        max-width: min(1320px, calc(100vw - 326px)) !important;
        margin-left: 288px !important;
        margin-right: 28px !important;
        padding-top: 24px !important;
    }

    body.area-page-v41 .site-header {
        grid-template-columns: 1fr !important;
        grid-template-areas: "portal" !important;
        min-height: 112px !important;
        padding: 20px 28px !important;
        align-items: center !important;
    }

    body.area-page-v41 .site-header .brand {
        display: none !important;
    }

    body.area-page-v41 .portal-heading-v47 {
        justify-self: center !important;
        align-self: center !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    body.area-page-v41 .site-nav {
        position: fixed !important;
        left: 34px !important;
        top: 158px !important;
        z-index: 85 !important;
        width: 224px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        align-self: auto !important;
        justify-self: auto !important;
    }

    body.area-page-v41 .site-nav a {
        min-height: 38px !important;
        padding: 9px 14px !important;
        border-radius: 14px !important;
        background: rgba(12, 17, 29, .62) !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        backdrop-filter: blur(12px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.20);
    }
}

@media (min-width: 1500px) {
    body.area-page-v41 .site-shell {
        margin-left: 318px !important;
        max-width: min(1320px, calc(100vw - 356px)) !important;
    }

    body.area-page-v41 .corner-logo-v49,
    body.area-page-v41 .site-nav {
        left: 42px !important;
    }
}

@media (max-width: 900px) {
    body.area-page-v41 .corner-logo-v49 {
        display: none !important;
    }

    body.area-page-v41 .site-header .brand {
        display: none !important;
    }

    body.area-page-v41 .site-header {
        grid-template-areas:
            "portal"
            "nav" !important;
    }
}

body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 strong {
    font-size: 42px !important;
}

/* =========================================================
   v50: Navigation links komplett außerhalb + neues Eck-Logo
   ========================================================= */
.corner-logo-v50 {
    display: none;
}

@media (min-width: 901px) {
    body.area-page-v41 .corner-logo-v49 {
        display: none !important;
    }

    body.area-page-v41 .corner-logo-v50 {
        position: fixed !important;
        left: 36px !important;
        top: 24px !important;
        z-index: 120 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 218px !important;
        height: 128px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.area-page-v41 .corner-logo-v50 img {
        display: block !important;
        width: auto !important;
        height: 126px !important;
        max-width: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 16px 34px rgba(0,0,0,.44));
    }

    body.area-page-v41 .site-shell {
        max-width: min(1320px, calc(100vw - 342px)) !important;
        margin-left: 306px !important;
        margin-right: 28px !important;
        padding-top: 24px !important;
    }

    body.area-page-v41 .dashboard-header-v50,
    body.area-page-v41 .site-header.dashboard-header-v50 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-areas: "portal" !important;
        min-height: 112px !important;
        padding: 20px 28px !important;
        align-items: center !important;
        justify-items: center !important;
    }

    body.area-page-v41 .site-header.dashboard-header-v50 .brand,
    body.area-page-v41 .site-header.dashboard-header-v50 .site-nav,
    body.area-page-v41 .site-header .brand {
        display: none !important;
    }

    body.area-page-v41 .dashboard-header-v50 .portal-heading-v47,
    body.area-page-v41 .portal-heading-v47 {
        display: block !important;
        grid-area: portal !important;
        justify-self: center !important;
        align-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        color: #9dbbff !important;
        font-size: clamp(15px, 1.55vw, 22px) !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        letter-spacing: .32em !important;
        font-weight: 900 !important;
        text-shadow: 0 10px 32px rgba(0,0,0,.42) !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        position: fixed !important;
        left: 36px !important;
        top: 172px !important;
        z-index: 115 !important;
        width: 218px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 0 !important;
        align-self: auto !important;
        justify-self: auto !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50 a,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 38px !important;
        width: 100% !important;
        padding: 9px 14px !important;
        border-radius: 14px !important;
        color: rgba(255,255,255,.92) !important;
        background: rgba(12, 17, 29, .62) !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        backdrop-filter: blur(12px) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 30px rgba(0,0,0,.20) !important;
    }

    body.area-page-v41 .academy-dashboard-v41 {
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (min-width: 1500px) {
    body.area-page-v41 .site-shell {
        margin-left: 326px !important;
        max-width: min(1320px, calc(100vw - 374px)) !important;
    }

    body.area-page-v41 .corner-logo-v50,
    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        left: 46px !important;
    }
}

@media (max-width: 900px) {
    body.area-page-v41 .corner-logo-v50 {
        display: flex !important;
        width: 118px !important;
        height: 118px !important;
        margin: 18px auto 12px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.area-page-v41 .corner-logo-v50 img {
        width: auto !important;
        height: 116px !important;
        object-fit: contain !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        position: static !important;
        width: min(100%, 440px) !important;
        margin: 0 auto 14px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    body.area-page-v41 .dashboard-header-v50,
    body.area-page-v41 .site-header.dashboard-header-v50 {
        grid-template-areas: "portal" !important;
        min-height: 0 !important;
    }
}

@media (max-width: 560px) {
    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   v51: Logo links + Navigation etwas größer
   ========================================================= */
@media (min-width: 901px) {
    body.area-page-v41 .corner-logo-v50 {
        left: 34px !important;
        top: 18px !important;
        width: 258px !important;
        height: 158px !important;
    }

    body.area-page-v41 .corner-logo-v50 img {
        height: 156px !important;
        max-width: 100% !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        left: 32px !important;
        top: 190px !important;
        width: 252px !important;
        gap: 12px !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50 a,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 a {
        min-height: 46px !important;
        padding: 12px 18px !important;
        border-radius: 16px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    body.area-page-v41 .site-shell {
        margin-left: 326px !important;
        max-width: min(1320px, calc(100vw - 372px)) !important;
    }
}

@media (min-width: 1500px) {
    body.area-page-v41 .corner-logo-v50 {
        left: 42px !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 {
        left: 40px !important;
    }

    body.area-page-v41 .site-shell {
        margin-left: 346px !important;
        max-width: min(1320px, calc(100vw - 394px)) !important;
    }
}

@media (max-width: 900px) {
    body.area-page-v41 .corner-logo-v50 {
        width: 136px !important;
        height: 136px !important;
    }

    body.area-page-v41 .corner-logo-v50 img {
        height: 134px !important;
    }

    body.area-page-v41 .dashboard-side-nav-v50 a,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v50 a {
        min-height: 42px !important;
        padding: 10px 16px !important;
        font-size: 15px !important;
        border-radius: 15px !important;
    }
}

/* =========================================================
   v52: Statuszahlen kleiner, Statuslabels größer
   ========================================================= */
body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 {
    min-height: 72px !important;
    padding: 13px 16px !important;
}

body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 span {
    font-size: 14px !important;
    line-height: 1.1 !important;
    letter-spacing: .13em !important;
    font-weight: 900 !important;
}

body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 strong {
    font-size: 34px !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
}

@media (max-width: 760px) {
    body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 span {
        font-size: 13px !important;
    }

    body.area-page-v41 .status-metrics-v43 .status-metric-card-v43 strong {
        font-size: 30px !important;
    }
}


body.modal-open {
  overflow: hidden;
}

.question-add-actions {
  display: flex;
  justify-content: flex-start;
}

.question-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.question-modal[hidden] {
  display: none;
}

.question-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, .72);
  backdrop-filter: blur(8px);
}

.question-modal-dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(14, 20, 35, .98), rgba(8, 12, 24, .98));
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  padding: 24px;
}

.question-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.question-modal-head h3 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.question-modal-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #eef3ff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.question-modal-close:hover {
  background: rgba(255,255,255,.12);
}

.question-modal-actions {
  justify-content: flex-end;
}

@media (max-width: 760px) {
  .question-modal {
    padding: 16px;
  }

  .question-modal-dialog {
    width: min(100vw - 16px, 100%);
    padding: 20px;
    border-radius: 22px;
  }

  .question-modal-head h3 {
    font-size: 24px;
  }
}

.status-tag.info {
    background: rgba(72, 139, 255, .18);
    border-color: rgba(72, 139, 255, .28);
}

.text-muted {
    color: var(--muted);
}

.exam-response-form {
    min-width: 340px;
}

.exam-response-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.exam-response-form label {
    display: grid;
    gap: 6px;
}

.exam-response-form label span {
    font-size: 12px;
    color: var(--muted);
}

.exam-response-actions .button {
    flex: 1 1 180px;
}

@media (max-width: 900px) {
    .exam-response-form {
        min-width: 260px;
    }

    .exam-response-grid {
        grid-template-columns: 1fr;
    }
}

/* V58 Praktische Prüfungen */
.practical-section-head {
    align-items: flex-start;
    gap: 20px;
}

.practical-stat-card {
    position: relative;
}

.practical-case-grid {
    display: grid;
    gap: 22px;
}

.practical-case-card {
    padding: 24px;
}

.practical-case-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.practical-status-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.practical-case-form textarea {
    min-height: 110px;
    resize: vertical;
}

.practical-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.practical-form-grid-large {
    align-items: stretch;
}

.practical-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.practical-preview-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(12, 21, 40, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.practical-preview-card.is-internal {
    border-color: rgba(96, 165, 250, 0.28);
    background: rgba(9, 18, 34, 0.72);
}

.practical-preview-card h4 {
    margin: 8px 0 14px;
}

.practical-preview-body {
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.92);
}

.practical-outline {
    display: grid;
    gap: 14px;
}

.practical-outline-section {
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.practical-outline-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.practical-outline-section strong {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 980px) {
    .practical-form-grid,
    .practical-preview-grid {
        grid-template-columns: 1fr;
    }

    .practical-case-head {
        flex-direction: column;
    }

    .practical-status-stack {
        justify-content: flex-start;
    }
}

/* v77: Modulansicht Top-Grid und optimierte 2-Spalten-Übersicht */
.module-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.module-top-card {
    min-height: 100%;
    border-radius: 24px;
}

.module-checklist-card,
.module-exam-card {
    background: rgba(18, 24, 38, 0.82);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.module-exam-card .form-grid.compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.module-overview-table {
    gap: 1.6rem;
    align-items: start;
}

.module-overview-column {
    background: rgba(14, 18, 30, 0.55);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 28px;
    padding: 1rem;
}

.module-overview-card {
    border-radius: 22px;
}

.module-overview-card .card-header {
    align-items: center;
}

.module-overview-column-open {
    border-color: rgba(255, 68, 68, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 68, 68, 0.08), 0 16px 34px rgba(0,0,0,.16);
}

.module-overview-column-finished {
    border-color: rgba(64, 214, 126, 0.26);
    box-shadow: inset 0 0 0 1px rgba(64, 214, 126, 0.07), 0 16px 34px rgba(0,0,0,.16);
}

.module-overview-card-open,
.module-overview-empty-open,
.module-chapter-section.is-open .module-section-heading,
.module-chapter-section.is-open .chapter-card,
.module-chapter-section.is-open > .card {
    border-width: 2px;
}

.module-overview-card-finished,
.module-overview-empty-finished,
.module-chapter-section.is-complete .module-section-heading,
.module-chapter-section.is-complete .chapter-card,
.module-chapter-section.is-complete > .card {
    border-width: 3px;
}

.module-section-heading {
    min-height: 104px;
}

.module-overview-empty {
    border-radius: 22px;
}

@media (max-width: 960px) {
    .module-top-grid,
    .module-exam-card .form-grid.compact-grid,
    .module-overview-table {
        grid-template-columns: 1fr;
    }
}


/* v78: Badge-Position in Kapitelkarten optimiert */
.chapter-card .card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .9rem;
}

.chapter-card .card-header > div:first-child {
    min-width: 0;
}

.chapter-card .card-header .status-tag {
    justify-self: end;
    align-self: start;
    margin-top: .15rem;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.15;
}

.chapter-card .card-header .status-tag.success {
    max-width: 118px;
    padding: 10px 14px;
}

@media (max-width: 640px) {
    .chapter-card .card-header {
        grid-template-columns: 1fr;
    }

    .chapter-card .card-header .status-tag {
        justify-self: start;
    }
}


/* v79: Modul-Badge als Kreis ohne Text */
.module-state-badge {
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,.24);
    box-shadow: 0 0 0 3px rgba(255,255,255,.04);
    flex-shrink: 0;
}

.module-state-badge.is-open {
    background: #ff4747;
    border-color: rgba(255, 138, 138, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 71, 71, 0.16), 0 0 18px rgba(255, 71, 71, 0.34);
}

.module-state-badge.is-complete {
    background: #37c96b;
    border-color: rgba(153, 255, 186, 0.78);
    box-shadow: 0 0 0 3px rgba(55, 201, 107, 0.16), 0 0 18px rgba(55, 201, 107, 0.30);
}


/* v80: Übersichtsstände als Brüche + zentrierter Modultest-Badge */
.module-overview-card .status-tag {
    min-width: 74px;
    justify-content: center;
    text-align: center;
    font-weight: 700;
}

.module-section-heading .status-pill {
    min-width: 164px;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
    padding: 10px 18px;
}

@media (max-width: 640px) {
    .module-section-heading .status-pill {
        min-width: 0;
        width: 100%;
    }
}


/* v81: Prüfungsfreigabe und Timer */
.exam-countdown {
    min-width: 92px;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .06em;
}


/* --- V83 Prüfungen & Unterlagen: Ausbildung/Lehrgänge getrennt und UI optimiert --- */
.exam-hero {
    margin-bottom: 2px;
}

.exam-hero h1 {
    letter-spacing: -.035em;
    text-shadow: 0 16px 42px rgba(0,0,0,.36);
}

.exam-hero p {
    max-width: 1020px;
    font-size: 16px;
    line-height: 1.5;
}

.exam-stats-grid {
    gap: 20px;
    margin-bottom: 16px;
}

.exam-stats-grid .stat-card {
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 84%, rgba(255,255,255,.08), transparent 32%),
        linear-gradient(135deg, rgba(14, 22, 41, .96), rgba(33, 29, 43, .88));
    backdrop-filter: blur(14px);
}

.exam-stats-grid .stat-card.has-icon::after {
    opacity: .85;
}

.stat-card-icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.045);
    color: #dbe8ff;
    font-size: 28px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 14px 32px rgba(0,0,0,.28);
}

.stat-card-content {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.exam-stats-grid .stat-card strong {
    margin: 7px 0 4px;
    font-size: clamp(22px, 2vw, 30px);
}

.exam-stats-grid .accent-blue {
    border-color: rgba(80, 134, 255, .38);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 0 22px rgba(65, 125, 255, .06);
}

.exam-stats-grid .accent-gold {
    border-color: rgba(145, 102, 255, .34);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 0 22px rgba(145, 102, 255, .06);
}

.exam-stats-grid .accent-green {
    border-color: rgba(42, 196, 164, .34);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 0 22px rgba(42, 196, 164, .06);
}

.exam-stats-grid .accent-purple {
    border-color: rgba(166, 105, 255, .38);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 0 22px rgba(166, 105, 255, .06);
}

.exam-module-groups {
    display: grid;
    gap: 14px;
    margin: 2px 0 22px;
}

.exam-switcher-group {
    display: grid;
    gap: 9px;
}

.exam-switcher-group + .exam-switcher-group {
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.exam-switcher-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #f4f7ff;
    font-weight: 800;
    font-size: 16px;
}

.exam-switcher-heading::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: linear-gradient(90deg, rgba(143,177,255,.18), transparent);
}

.exam-module-switcher {
    margin: 0;
    gap: 12px;
}

.exam-module-switcher .button {
    min-height: 50px;
    padding: 11px 18px;
    border-radius: 14px;
    color: #edf3ff;
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border-color: rgba(255,255,255,.11);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.015), 0 12px 30px rgba(0,0,0,.14);
}

.exam-module-switcher .button.primary {
    border-color: rgba(119, 163, 255, .7);
    background: linear-gradient(180deg, #6fa4ff, #3269e8);
    box-shadow: 0 14px 32px rgba(56, 113, 239, .34), inset 0 1px 0 rgba(255,255,255,.22);
}

.exam-module-switcher .button.secondary:hover {
    background: rgba(255,255,255,.075);
    border-color: rgba(143, 177, 255, .22);
}

.exam-chip-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    margin-right: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: currentColor;
    font-size: 14px;
}

.exam-chip-count {
    margin-left: 6px;
    opacity: .72;
}

.exam-paper-switcher .button {
    min-width: 220px;
}

.exam-dashboard-panel {
    padding: 20px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(93, 137, 255, .09), transparent 28%),
        rgba(19, 24, 38, .74);
    border-color: rgba(255,255,255,.095);
}

.exam-dashboard-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr);
}

.exam-dashboard-main .card-header {
    margin-bottom: 18px;
}

.exam-dashboard-main .card-header h2 {
    font-size: clamp(24px, 2vw, 30px);
    letter-spacing: -.02em;
}

.exam-dashboard-main .table-wrap {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(5, 10, 20, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.exam-dashboard-main table {
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
}

.exam-dashboard-main th {
    padding: 16px 16px 11px;
    color: #a9bdff;
    font-size: 12px;
    letter-spacing: .13em;
    border-bottom-color: rgba(255,255,255,.08);
}

.exam-dashboard-main td {
    padding: 17px 16px;
    border-bottom-color: rgba(255,255,255,.055);
}

.exam-dashboard-main tbody tr {
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
}

.exam-dashboard-main tbody tr:hover {
    background: rgba(255,255,255,.04);
}

.exam-dashboard-main .table-identity {
    gap: 5px;
}

.exam-dashboard-main .table-identity strong {
    color: #fbfcff;
}

.exam-dashboard-main .table-identity small {
    line-height: 1.35;
}

.exam-dashboard-main .status-tag {
    width: fit-content;
    border-color: rgba(255,255,255,.12);
    font-weight: 800;
}

.exam-summary-card {
    min-height: 100%;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(111, 164, 255, .18), transparent 38%),
        linear-gradient(180deg, rgba(42, 51, 80, .68), rgba(18, 22, 36, .78));
}

.exam-summary-card h3 {
    margin: 0;
    font-size: clamp(22px, 2vw, 27px);
    line-height: 1.2;
}

.exam-summary-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.exam-summary-metric {
    min-height: 78px;
    display: grid;
    align-content: center;
    gap: 3px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.04);
}

.exam-summary-metric strong {
    font-size: 26px;
    line-height: 1;
}

.exam-summary-metric small {
    color: #dce5ff;
}

.exam-summary-metric.metric-warning {
    border-color: rgba(212,165,77,.22);
}

.exam-summary-metric.metric-info {
    border-color: rgba(72,139,255,.35);
    background: rgba(72,139,255,.09);
}

.exam-summary-metric.metric-success {
    border-color: rgba(57,180,108,.32);
    background: rgba(57,180,108,.09);
}

.exam-summary-metric.metric-danger {
    border-color: rgba(208,93,98,.34);
    background: rgba(208,93,98,.08);
}

.exam-active-paper {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 18px 0 0;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(143,177,255,.16);
    background: rgba(255,255,255,.035);
}

.exam-active-paper span {
    color: #74a7ff;
}

.exam-active-paper strong {
    color: #82adff;
}

@media (max-width: 1180px) {
    .exam-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exam-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .exam-summary-card {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .exam-stats-grid,
    .exam-summary-metrics {
        grid-template-columns: 1fr;
    }

    .exam-stats-grid .stat-card {
        align-items: flex-start;
    }

    .exam-module-switcher .button,
    .exam-paper-switcher .button {
        width: 100%;
        justify-content: flex-start;
        min-width: 0;
    }

    .exam-dashboard-panel {
        padding: 14px;
    }
}

/* V84 Prüfungsanmeldungen: volle Breite ohne horizontales Scrollen */
.exam-dashboard-panel-full {
    display: grid;
    gap: 16px;
    padding: 20px;
    overflow: visible;
}

.exam-summary-strip {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, auto) minmax(220px, .55fr);
    align-items: center;
    gap: 24px;
    padding: 22px 26px;
}

.exam-summary-strip-title {
    display: grid;
    gap: 7px;
}

.exam-summary-strip-title h3 {
    margin: 0;
    max-width: 760px;
}

.exam-summary-strip-title p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.exam-summary-metrics-strip {
    min-width: 0;
}

.exam-summary-strip .exam-summary-metric {
    min-width: 0;
    min-height: 68px;
    padding: 11px 14px;
}

.exam-active-paper-strip {
    margin: 0;
    align-self: stretch;
    min-width: 0;
}

.exam-dashboard-main-full {
    min-width: 0;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 22px;
    padding: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(93, 137, 255, .08), transparent 32%),
        rgba(5, 10, 20, .26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.exam-registration-head {
    margin-bottom: 18px;
}

.exam-registration-list {
    display: grid;
    gap: 18px;
}

.exam-registration-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.014)),
        rgba(7, 12, 22, .34);
    box-shadow: 0 16px 34px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.03);
}

.exam-registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.exam-registration-block {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    background: rgba(10, 17, 30, .58);
}

.exam-registration-block-release,
.exam-registration-block-response {
    grid-column: span 2;
}

.exam-registration-label {
    color: #a9bdff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.25;
    text-transform: uppercase;
}

.exam-registration-block .table-identity {
    display: grid;
    gap: 6px;
}

.exam-registration-block .table-identity strong {
    color: #fbfcff;
    overflow-wrap: anywhere;
}

.exam-registration-block .table-identity small {
    color: #c7d0e5;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.exam-registration-card .status-tag {
    width: fit-content;
    max-width: 100%;
    font-weight: 800;
}

.exam-inline-actions {
    margin-top: 8px;
}

.exam-inline-actions:empty {
    display: none;
}

.exam-inline-actions .button,
.exam-registration-card .exam-response-actions .button {
    flex: 1 1 150px;
    min-width: 0;
    justify-content: center;
    white-space: normal;
}

.exam-registration-card .exam-response-form {
    min-width: 0;
    width: 100%;
}

.exam-registration-card .exam-response-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exam-registration-card input,
.exam-registration-card select,
.exam-registration-card textarea {
    width: 100%;
    min-width: 0;
}

.exam-registration-result {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(360px, 1.6fr) minmax(220px, .9fr) minmax(190px, auto);
    gap: 14px;
    align-items: end;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.exam-result-form label,
.exam-result-meta {
    display: grid;
    gap: 7px;
}

.exam-result-form label span,
.exam-result-meta span {
    color: #a9bdff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.exam-result-meta {
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(10, 17, 30, .48);
    align-content: center;
}

.exam-result-meta strong {
    color: #fbfcff;
    font-size: 14px;
}

.exam-result-meta small {
    color: var(--muted);
}

.exam-registration-result .button {
    min-height: 48px;
    align-self: end;
}

.exam-discord-details {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 16px;
    background: rgba(5, 10, 20, .2);
    overflow: hidden;
}

.exam-discord-details summary {
    cursor: pointer;
    padding: 14px 18px;
    color: #dfe8ff;
    font-weight: 800;
}

.exam-discord-content {
    padding: 0 18px 18px;
    color: #dbe1ef;
}

.exam-discord-content h3 {
    margin: 4px 0 0;
}

@media (max-width: 1320px) {
    .exam-summary-strip {
        grid-template-columns: 1fr;
    }

    .exam-active-paper-strip {
        align-self: auto;
    }

    .exam-registration-block-release,
    .exam-registration-block-response {
        grid-column: span 1;
    }

    .exam-registration-result {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exam-registration-result .button {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .exam-dashboard-panel-full,
    .exam-dashboard-main-full,
    .exam-registration-card {
        padding: 14px;
    }

    .exam-summary-strip {
        padding: 18px;
    }

    .exam-summary-metrics-strip,
    .exam-registration-grid,
    .exam-registration-result,
    .exam-registration-card .exam-response-grid {
        grid-template-columns: 1fr;
    }

    .exam-registration-result .button {
        grid-column: auto;
    }
}

/* V85 Prüfungsanmeldungen: flacheres Layout ohne "Fenster in Fenster" */
.exam-dashboard-panel-full {
    display: grid;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.exam-dashboard-panel-full .exam-summary-strip,
.exam-dashboard-panel-full .exam-dashboard-main-full,
.exam-dashboard-panel-full .exam-discord-details {
    margin: 0;
}

.exam-dashboard-main-full {
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(93, 137, 255, .08), transparent 32%),
        rgba(19, 24, 38, .74);
}

.exam-registration-list {
    gap: 0;
}

.exam-registration-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.exam-registration-card + .exam-registration-card {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.exam-registration-grid {
    grid-template-columns:
        minmax(130px, .95fr)
        minmax(165px, 1.15fr)
        minmax(155px, 1fr)
        minmax(155px, 1fr)
        minmax(220px, 1.55fr);
    gap: 0;
    align-items: start;
}

.exam-registration-block {
    min-height: 0;
    padding: 0 16px 12px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.075);
    border-radius: 0;
    background: transparent;
}

.exam-registration-block:first-child {
    padding-left: 0;
}

.exam-registration-block-release {
    grid-column: auto;
    border-right: 0;
}

.exam-registration-block-response {
    grid-column: 1 / -1;
    margin-top: 12px;
    padding: 15px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-right: 0;
}

.exam-registration-block-response .exam-response-form {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(380px, 1.35fr) minmax(260px, .8fr);
    gap: 14px;
    align-items: end;
}

.exam-registration-block-response .exam-response-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.exam-registration-block-response .exam-response-form > label {
    min-width: 0;
}

.exam-registration-block-response textarea {
    min-height: 82px;
    resize: vertical;
}

.exam-registration-block-response .exam-response-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-self: stretch;
}

.exam-registration-card .exam-response-actions .button {
    width: 100%;
    min-height: 38px;
    flex: 0 1 auto;
    white-space: normal;
}

.exam-registration-block-response .text-muted {
    grid-column: 1 / -1;
}

.exam-registration-result {
    margin-top: 14px;
    padding-top: 14px;
    grid-template-columns: minmax(220px, .8fr) minmax(420px, 1.55fr) minmax(220px, .8fr) minmax(190px, .65fr);
    border-top: 1px solid rgba(255,255,255,.08);
}

.exam-result-meta {
    min-height: 0;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.075);
    border-radius: 0;
    background: transparent;
}

@media (max-width: 1180px) {
    .exam-registration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 0;
    }

    .exam-registration-block:nth-child(odd) {
        padding-left: 0;
    }

    .exam-registration-block:nth-child(even) {
        border-right: 0;
    }

    .exam-registration-block-release {
        grid-column: span 2;
        padding-left: 0;
    }

    .exam-registration-block-response .exam-response-form,
    .exam-registration-result {
        grid-template-columns: 1fr 1fr;
    }

    .exam-registration-block-response .exam-response-form > label,
    .exam-registration-block-response .exam-response-actions {
        grid-column: 1 / -1;
    }

    .exam-registration-block-response .exam-response-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .exam-registration-result .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .exam-dashboard-main-full {
        padding: 16px;
    }

    .exam-registration-grid,
    .exam-registration-block-response .exam-response-form,
    .exam-registration-result,
    .exam-registration-block-response .exam-response-grid,
    .exam-registration-block-response .exam-response-actions {
        grid-template-columns: 1fr;
    }

    .exam-registration-block,
    .exam-registration-block:nth-child(odd),
    .exam-registration-block:nth-child(even),
    .exam-registration-block-release,
    .exam-registration-block-response {
        grid-column: auto;
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .exam-registration-block-response {
        padding-top: 14px;
        border-top: 0;
    }

    .exam-result-meta {
        padding-left: 0;
        border-left: 0;
    }
}


/* V101: stabile eingebettete Icons oben und größere Ausbildungs-Badges */
.stat-card-icon-image {
    overflow: hidden;
}

.stat-card-icon-image img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.stat-card-icon-active-ausbildung {
    background: radial-gradient(circle at 30% 30%, rgba(71, 141, 255, .16), rgba(255,255,255,.03));
}

.stat-card-icon-anmeldungen {
    background: radial-gradient(circle at 30% 30%, rgba(146, 102, 255, .16), rgba(255,255,255,.03));
}

.stat-card-icon-fragenkatalog {
    background: radial-gradient(circle at 30% 30%, rgba(42, 196, 164, .16), rgba(255,255,255,.03));
}

.stat-card-icon-mask {
    position: relative;
    font-size: 0;
}

.stat-card-icon-mask::before {
    content: "";
    width: 34px;
    height: 34px;
    display: block;
    background: linear-gradient(135deg, #2cbcff 0%, #5f88ff 46%, #a855f7 100%);
    -webkit-mask-image: var(--icon-mask);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--icon-mask);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.stat-card-icon-discord {
    background: radial-gradient(circle at 30% 30%, rgba(166, 105, 255, .18), rgba(255,255,255,.03));
}

.exam-module-switcher .button {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.exam-chip-icon-custom.exam-chip-icon-ausbildung {
    position: relative;
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex: 0 0 34px;
    margin-right: 16px;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}

.exam-chip-icon-custom.exam-chip-icon-ausbildung::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #21c8ff 0%, #3f92ff 55%, #6f74ff 100%);
    -webkit-mask-image: var(--chip-icon);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--chip-icon);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    filter: drop-shadow(0 0 8px rgba(77, 145, 255, .25));
}

.exam-chip-icon-custom.exam-chip-icon-ausbildung.exam-chip-icon-nfs::before {
    background: linear-gradient(135deg, #30d8f6 0%, #4e9bff 52%, #9365ff 100%);
}

.exam-module-switcher .button.primary .exam-chip-icon-custom.exam-chip-icon-ausbildung::before {
    background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(235,245,255,.95) 100%);
    filter: drop-shadow(0 0 8px rgba(255,255,255,.2));
}

/* V102: Prüfungsanmeldungen optisch optimiert, klarere Trennung pro Anfrage, Farben & Icons */
.exam-registration-list {
    counter-reset: exam-request;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exam-registration-card {
    position: relative;
    padding: 24px 24px 20px;
    border: 1px solid rgba(118, 152, 255, .14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 0% 0%, rgba(63, 120, 255, .10), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(26, 217, 192, .06), transparent 30%),
        linear-gradient(180deg, rgba(15, 24, 47, .92), rgba(12, 18, 36, .88));
    box-shadow: 0 22px 42px rgba(5, 10, 24, .34);
    overflow: hidden;
}

.exam-registration-card::before {
    counter-increment: exam-request;
    content: "Anfrage " counter(exam-request, decimal-leading-zero);
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(124, 150, 255, .22);
    border-radius: 999px;
    background: rgba(91, 121, 223, .08);
    color: #9fb7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.exam-registration-card::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(74, 137, 255, .95), rgba(72, 213, 179, .72));
}

.exam-registration-card + .exam-registration-card {
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(118, 152, 255, .14);
}

.exam-registration-card:nth-child(even) {
    background:
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .10), transparent 36%),
        radial-gradient(circle at 100% 0%, rgba(244, 114, 182, .05), transparent 28%),
        linear-gradient(180deg, rgba(15, 24, 47, .92), rgba(12, 18, 36, .88));
}

.exam-registration-card:nth-child(even)::after {
    background: linear-gradient(180deg, rgba(124, 92, 255, .92), rgba(244, 114, 182, .72));
}

.exam-registration-grid {
    gap: 14px;
}

.exam-registration-block {
    position: relative;
    min-height: 0;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255,255,255,.06);
    border-right: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    backdrop-filter: blur(8px);
}

.exam-registration-block:first-child {
    padding-left: 16px;
}

.exam-registration-block:hover {
    border-color: rgba(120, 148, 255, .18);
    background: linear-gradient(180deg, rgba(73, 106, 198, .07), rgba(255,255,255,.02));
}

.exam-registration-block-release {
    border-right: 1px solid rgba(255,255,255,.06);
}

.exam-registration-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #a8bcff;
}

.exam-registration-label::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: linear-gradient(135deg, #56c7ff 0%, #7c8cff 55%, #ae68ff 100%);
    opacity: .95;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.exam-registration-grid > .exam-registration-block:nth-child(1) .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='9.5' cy='8' r='3'/%3E%3Cpath d='M20 21v-1.2a3.5 3.5 0 0 0-2.6-3.4'/%3E%3Cpath d='M16.5 5.2a3 3 0 0 1 0 5.6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='9.5' cy='8' r='3'/%3E%3Cpath d='M20 21v-1.2a3.5 3.5 0 0 0-2.6-3.4'/%3E%3Cpath d='M16.5 5.2a3 3 0 0 1 0 5.6'/%3E%3C/svg%3E");
}

.exam-registration-grid > .exam-registration-block:nth-child(2) .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-5 9 5-9 5-9-5Z'/%3E%3Cpath d='M7 11v4c0 1.2 2.2 3 5 3s5-1.8 5-3v-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-5 9 5-9 5-9-5Z'/%3E%3Cpath d='M7 11v4c0 1.2 2.2 3 5 3s5-1.8 5-3v-4'/%3E%3C/svg%3E");
}

.exam-registration-grid > .exam-registration-block:nth-child(3) .exam-registration-label::before,
.exam-registration-result label:first-child .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}

.exam-registration-grid > .exam-registration-block:nth-child(4) .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.6c0 4.7-3.1 7.8-7 9.4-3.9-1.6-7-4.7-7-9.4V6l7-3Z'/%3E%3Cpath d='m9.3 11.9 1.8 1.8 3.7-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.6c0 4.7-3.1 7.8-7 9.4-3.9-1.6-7-4.7-7-9.4V6l7-3Z'/%3E%3Cpath d='m9.3 11.9 1.8 1.8 3.7-4'/%3E%3C/svg%3E");
}

.exam-registration-grid > .exam-registration-block:nth-child(5) .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4.5h6'/%3E%3Cpath d='M9 9h6'/%3E%3Cpath d='m12 15 2 2 4-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4.5h6'/%3E%3Cpath d='M9 9h6'/%3E%3Cpath d='m12 15 2 2 4-4'/%3E%3C/svg%3E");
}

.exam-registration-block-response .exam-registration-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7l-5 4v-4H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7l-5 4v-4H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
}

.exam-registration-card .table-identity strong {
    font-size: 1.03rem;
}

.exam-registration-card .table-identity small {
    line-height: 1.45;
}

.exam-registration-card .status-tag {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.04);
}

.exam-registration-card .status-tag.success {
    background: rgba(37, 211, 102, .14);
    border-color: rgba(37, 211, 102, .24);
    color: #8df2b7;
}

.exam-registration-card .status-tag.info,
.exam-registration-card .status-tag.primary {
    background: rgba(86, 123, 255, .16);
    border-color: rgba(86, 123, 255, .26);
    color: #a9bcff;
}

.exam-registration-card .status-tag.warning {
    background: rgba(245, 158, 11, .14);
    border-color: rgba(245, 158, 11, .24);
    color: #ffd28b;
}

.exam-registration-card .status-tag.danger {
    background: rgba(239, 68, 68, .15);
    border-color: rgba(239, 68, 68, .25);
    color: #ffb0b0;
}

.exam-registration-block-response {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(109, 134, 246, .12);
    border-top: 1px solid rgba(109, 134, 246, .12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(18, 28, 56, .72), rgba(12, 18, 36, .6));
}

.exam-registration-block-response .exam-response-form {
    gap: 16px;
}

.exam-registration-card input,
.exam-registration-card select,
.exam-registration-card textarea {
    border-color: rgba(119, 146, 255, .15);
    background: rgba(6, 11, 25, .82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.exam-registration-card input:focus,
.exam-registration-card select:focus,
.exam-registration-card textarea:focus {
    border-color: rgba(111, 164, 255, .45);
    box-shadow: 0 0 0 3px rgba(93, 137, 255, .14);
}

.exam-registration-block-response .exam-response-grid label,
.exam-registration-block-response .exam-response-form > label,
.exam-registration-result label,
.exam-result-meta {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 16px;
    background: rgba(255,255,255,.02);
}

.exam-registration-block-response .exam-response-grid label span,
.exam-registration-block-response .exam-response-form > label span,
.exam-registration-result label > span,
.exam-result-meta > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-registration-block-response .exam-response-grid label span::before,
.exam-registration-block-response .exam-response-form > label span::before,
.exam-registration-result label > span::before,
.exam-result-meta > span::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background: linear-gradient(135deg, #56c7ff 0%, #7c8cff 55%, #ae68ff 100%);
    border-radius: 4px;
    opacity: .95;
}

.exam-response-grid label:first-child span::before {
    clip-path: polygon(12% 18%, 88% 18%, 88% 88%, 12% 88%, 12% 18%, 30% 0, 38% 0, 38% 18%, 62% 18%, 62% 0, 70% 0, 70% 18%);
}

.exam-response-grid label:last-child span::before {
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(8,14,32,.8);
}

.exam-registration-block-response .exam-response-form > label span::before {
    clip-path: polygon(0 10%,100% 10%,100% 74%,58% 74%,41% 100%,41% 74%,0 74%);
}

.exam-registration-result label > span::before {
    clip-path: polygon(50% 0,61% 16%,79% 14%,85% 31%,100% 40%,92% 58%,96% 76%,80% 84%,72% 100%,54% 95%,38% 100%,28% 84%,12% 76%,16% 58%,0 40%,15% 31%,21% 14%,39% 16%);
}

.exam-result-meta > span::before {
    clip-path: polygon(48% 0,60% 13%,77% 12%,88% 24%,100% 33%,95% 50%,100% 67%,88% 76%,77% 88%,60% 87%,48% 100%,36% 87%,19% 88%,8% 76%,0 67%,5% 50%,0 33%,8% 24%,19% 12%,36% 13%);
}

.exam-response-actions {
    gap: 10px;
}

.exam-registration-card .exam-response-actions .button,
.exam-registration-result .button {
    min-height: 42px;
    border-radius: 14px;
    font-weight: 700;
}

.exam-registration-card .exam-response-actions .button[name="response_mode"][value="confirm"] {
    background: linear-gradient(135deg, rgba(31, 204, 117, .18), rgba(31, 204, 117, .11));
    border-color: rgba(31, 204, 117, .28);
    color: #b8ffd0;
}

.exam-registration-card .exam-response-actions .button[name="response_mode"][value="suggest"] {
    background: linear-gradient(135deg, rgba(92, 103, 255, .22), rgba(159, 85, 255, .14));
    border-color: rgba(105, 115, 255, .28);
    color: #ced5ff;
}

.exam-registration-card .exam-response-actions .button[name="response_mode"][value="reject"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, .16), rgba(239, 68, 68, .09));
    border-color: rgba(239, 68, 68, .24);
    color: #ffc0c0;
}

.exam-registration-result {
    margin-top: 16px;
    padding: 18px;
    border-top: 1px solid rgba(109, 134, 246, .12);
    border: 1px solid rgba(109, 134, 246, .12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(18, 28, 56, .72), rgba(12, 18, 36, .58));
}

.exam-result-message {
    position: relative;
}

.exam-registration-result .button {
    align-self: stretch;
    background: linear-gradient(135deg, rgba(72, 118, 255, .26), rgba(75, 203, 189, .14));
    border-color: rgba(94, 126, 255, .3);
    color: #d7e7ff;
}

.exam-result-meta {
    padding-left: 14px;
    border-left: 0;
}

@media (max-width: 1180px) {
    .exam-registration-card {
        padding: 22px 18px 18px;
    }

    .exam-registration-card::before {
        top: 14px;
        right: 16px;
    }

    .exam-registration-grid {
        gap: 14px;
    }

    .exam-registration-block:nth-child(odd),
    .exam-registration-block:nth-child(even),
    .exam-registration-block-release {
        padding-left: 16px;
        border-right: 1px solid rgba(255,255,255,.06);
    }
}

@media (max-width: 760px) {
    .exam-registration-card {
        padding: 18px 14px 14px;
        border-radius: 18px;
    }

    .exam-registration-card::before {
        position: static;
        display: inline-flex;
        margin-bottom: 14px;
    }

    .exam-registration-grid {
        gap: 12px;
    }

    .exam-registration-block,
    .exam-registration-block:nth-child(odd),
    .exam-registration-block:nth-child(even),
    .exam-registration-block-release,
    .exam-registration-block-response {
        padding: 14px;
        border-right: 1px solid rgba(255,255,255,.06);
        border-bottom: 0;
        border-radius: 16px;
    }

    .exam-registration-block-response,
    .exam-registration-result {
        padding: 14px;
    }
}


/* V103: optimierte Icons für Lehrgänge */
.exam-chip-icon-custom.exam-chip-icon-lehrgang {
    position: relative;
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
}

.exam-chip-icon-custom.exam-chip-icon-lehrgang::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d7cff 52%, #36c6ff 100%);
    -webkit-mask-image: var(--chip-icon);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--chip-icon);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    filter: drop-shadow(0 0 8px rgba(125, 110, 255, .18));
}

.exam-chip-icon-custom.exam-chip-icon-lehrgang.exam-chip-icon-orgl::before {
    background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 45%, #6366f1 100%);
}

.exam-chip-icon-custom.exam-chip-icon-lehrgang.exam-chip-icon-elrd::before {
    background: linear-gradient(135deg, #818cf8 0%, #60a5fa 52%, #38bdf8 100%);
}

.exam-chip-icon-custom.exam-chip-icon-lehrgang.exam-chip-icon-lna::before {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 46%, #2dd4bf 100%);
}

.exam-chip-icon-custom.exam-chip-icon-lehrgang.exam-chip-icon-notarzt::before {
    background: linear-gradient(135deg, #93c5fd 0%, #818cf8 40%, #a78bfa 100%);
}

.exam-module-switcher .button.primary .exam-chip-icon-custom.exam-chip-icon-lehrgang {
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(255,255,255,.08);
}

.exam-module-switcher .button.primary .exam-chip-icon-custom.exam-chip-icon-lehrgang::before {
    background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(233,240,255,.96) 100%);
    filter: drop-shadow(0 0 8px rgba(255,255,255,.18));
}

.exam-module-switcher .button.secondary:hover .exam-chip-icon-custom.exam-chip-icon-lehrgang {
    background: rgba(255,255,255,.06);
    border-color: rgba(143, 177, 255, .15);
}


/* V104: Admin-Menü für bessere Übersicht optimiert */
.admin-sidebar {
    background:
        radial-gradient(circle at top left, rgba(90, 116, 255, .14), transparent 28%),
        radial-gradient(circle at top right, rgba(170, 87, 255, .10), transparent 22%),
        linear-gradient(180deg, #25212e, #1d1a25 100%);
}

.sidebar-logo {
    margin-bottom: 14px;
    padding: 6px 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.sidebar-user {
    position: relative;
    padding: 16px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
    margin-bottom: 16px;
}

.sidebar-user strong {
    font-size: 1.08rem;
    line-height: 1.2;
}

.sidebar-nav {
    gap: 14px;
    align-content: start;
}

.sidebar-group {
    display: grid;
    gap: 7px;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.sidebar-group-system {
    margin-top: 4px;
}

.sidebar-label {
    padding: 0 6px 4px;
    color: #9aa3b8;
    letter-spacing: .14em;
}

.sidebar-nav a,
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #e8ebf3;
    background: rgba(255,255,255,.02);
    border: 1px solid transparent;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sidebar-link:hover,
.sidebar-nav a:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(143, 177, 255, .18);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.sidebar-link.is-active {
    background: linear-gradient(135deg, rgba(79, 118, 255, .24), rgba(116, 84, 255, .16));
    border-color: rgba(128, 158, 255, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(56, 89, 201, .18);
}

.sidebar-link-danger {
    color: #ffd3d3;
}

.sidebar-link-danger:hover {
    background: rgba(239, 68, 68, .10);
    border-color: rgba(239, 68, 68, .18);
}

.sidebar-link-text {
    flex: 1 1 auto;
    line-height: 1.28;
    font-weight: 600;
}

.sidebar-link-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-block;
    opacity: .95;
    background: linear-gradient(135deg, #8b5cf6 0%, #5b8fff 50%, #4fd1c5 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.sidebar-link.is-active .sidebar-link-icon {
    background: linear-gradient(135deg, #ffffff 0%, #e3ecff 100%);
}

.icon-dashboard { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.icon-users { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M20 8v6'/%3E%3Cpath d='M23 11h-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M20 8v6'/%3E%3Cpath d='M23 11h-6'/%3E%3C/svg%3E"); }
.icon-key { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M21 2l-9.6 9.6'/%3E%3Cpath d='M15 5l4 4'/%3E%3Cpath d='M18 2l4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M21 2l-9.6 9.6'/%3E%3Cpath d='M15 5l4 4'/%3E%3Cpath d='M18 2l4 4'/%3E%3C/svg%3E"); }
.icon-shield { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.6c0 4.7-3.1 7.8-7 9.4-3.9-1.6-7-4.7-7-9.4V6l7-3Z'/%3E%3Cpath d='m9.2 11.8 1.8 1.8 3.8-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5.6c0 4.7-3.1 7.8-7 9.4-3.9-1.6-7-4.7-7-9.4V6l7-3Z'/%3E%3Cpath d='m9.2 11.8 1.8 1.8 3.8-4'/%3E%3C/svg%3E"); }
.icon-trainees { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M18 8h5'/%3E%3Cpath d='M20.5 5.5v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-1a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpath d='M18 8h5'/%3E%3Cpath d='M20.5 5.5v5'/%3E%3C/svg%3E"); }
.icon-docs { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h5'/%3E%3C/svg%3E"); }
.icon-exams { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 17l2 2 4-4'/%3E%3Crect x='4' y='4' width='16' height='17' rx='2'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 17l2 2 4-4'/%3E%3Crect x='4' y='4' width='16' height='17' rx='2'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h4'/%3E%3C/svg%3E"); }
.icon-practical { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 11h-1a2 2 0 0 1-2-2V8a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v1a2 2 0 0 1-2 2H5'/%3E%3Cpath d='M9 11v8'/%3E%3Cpath d='M15 11v8'/%3E%3Cpath d='M7 19h10'/%3E%3Cpath d='M12 2v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 11h-1a2 2 0 0 1-2-2V8a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v1a2 2 0 0 1-2 2H5'/%3E%3Cpath d='M9 11v8'/%3E%3Cpath d='M15 11v8'/%3E%3Cpath d='M7 19h10'/%3E%3Cpath d='M12 2v4'/%3E%3C/svg%3E"); }
.icon-catalog { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E"); }
.icon-certificate { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l5 5v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M15 3v5h5'/%3E%3Ccircle cx='10' cy='13' r='2.5'/%3E%3Cpath d='m8.5 15 1 4 1.5-1 1.5 1 1-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h8l5 5v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M15 3v5h5'/%3E%3Ccircle cx='10' cy='13' r='2.5'/%3E%3Cpath d='m8.5 15 1 4 1.5-1 1.5 1 1-4'/%3E%3C/svg%3E"); }
.icon-portal { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h14v-9.5'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V20h14v-9.5'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.icon-logout { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E"); }

@media (max-width: 980px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}


/* =========================================================
   v105: Premium-Sidebar + Lehrgangspanel nach UI-Mockup
   ========================================================= */
@media (min-width: 901px) {
    body.area-page-v41 .dashboard-sidebar-v84 {
        position: fixed !important;
        left: 14px !important;
        top: 12px !important;
        bottom: 12px !important;
        z-index: 140 !important;
        width: 282px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 28px 22px 24px !important;
        border-radius: 28px !important;
        border: 1px solid rgba(105, 157, 255, .30) !important;
        background:
            linear-gradient(180deg, rgba(9, 17, 31, .92), rgba(5, 10, 20, .86) 58%, rgba(4, 9, 18, .92)),
            radial-gradient(circle at 46% 0%, rgba(84, 139, 255, .20), transparent 38%) !important;
        box-shadow:
            0 26px 80px rgba(0,0,0,.42),
            inset 0 1px 0 rgba(255,255,255,.075),
            inset 0 0 0 1px rgba(255,255,255,.035) !important;
        backdrop-filter: blur(18px) saturate(1.12) !important;
    }

    body.area-page-v41 .dashboard-sidebar-v84::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(111,164,255,.16), transparent 30%),
            repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 12px);
        opacity: .85;
    }

    body.area-page-v41 .dashboard-sidebar-logo-v84,
    body.area-page-v41 .dashboard-sidebar-v84 .corner-logo-v50 {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        z-index: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 178px !important;
        margin: 0 0 22px !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.area-page-v41 .dashboard-sidebar-logo-v84 img,
    body.area-page-v41 .dashboard-sidebar-v84 .corner-logo-v50 img {
        width: auto !important;
        height: 156px !important;
        max-width: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 18px 34px rgba(0,0,0,.54)) !important;
    }

    body.area-page-v41 .site-shell {
        margin-left: 318px !important;
        margin-right: 18px !important;
        max-width: min(1500px, calc(100vw - 342px)) !important;
        padding: 24px 0 32px !important;
    }

    body.area-page-v41 .dashboard-header-v50,
    body.area-page-v41 .site-header.dashboard-header-v50 {
        min-height: 104px !important;
        border-radius: 28px !important;
        border-color: rgba(126, 162, 255, .18) !important;
        background: linear-gradient(180deg, rgba(10, 17, 31, .88), rgba(6, 10, 19, .72)) !important;
        box-shadow: 0 18px 55px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.07) !important;
    }

    body.area-page-v41 .dashboard-side-nav-v84,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        z-index: 1 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

body.area-page-v41 .dashboard-nav-link-v84,
body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 a.dashboard-nav-link-v84 {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V21h5v-6h4v6h5V10.5'/%3E%3C/svg%3E");
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 13px 18px !important;
    border-radius: 17px !important;
    color: rgba(239, 245, 255, .92) !important;
    font-size: 16px !important;
    font-weight: 780 !important;
    letter-spacing: -.01em !important;
    border: 1px solid rgba(150, 180, 255, .16) !important;
    background: linear-gradient(180deg, rgba(15, 26, 45, .70), rgba(8, 15, 28, .62)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 12px 28px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(13px) !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

body.area-page-v41 .dashboard-nav-link-v84::before {
    content: "";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background: currentColor;
    opacity: .86;
    -webkit-mask: var(--nav-icon) center / contain no-repeat;
    mask: var(--nav-icon) center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(111,164,255,.18));
}

body.area-page-v41 .dashboard-nav-link-v84:hover {
    transform: translateY(-1px) !important;
    color: #fff !important;
    border-color: rgba(111,164,255,.40) !important;
    background: linear-gradient(180deg, rgba(26, 48, 86, .78), rgba(10, 22, 42, .70)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 38px rgba(0,0,0,.24), 0 0 22px rgba(69, 126, 255, .10) !important;
}

body.area-page-v41 .dashboard-nav-link-v84.is-active,
body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 a.dashboard-nav-link-v84.is-active {
    color: #fff !important;
    border-color: rgba(100, 169, 255, .82) !important;
    background: linear-gradient(135deg, rgba(36, 177, 255, .98), rgba(33, 89, 229, .96) 54%, rgba(18, 49, 146, .98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 8px 0 0 rgba(147, 221, 255, .34),
        0 18px 42px rgba(0,0,0,.30),
        0 0 26px rgba(37, 119, 255, .64) !important;
}

body.area-page-v41 .dashboard-nav-link-v84.is-active::before {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(157, 220, 255, .82));
}

body.area-page-v41 .dashboard-nav-start-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V21h5v-6h4v6h5V10.5'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-checklist-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4h6v3H9z'/%3E%3Cpath d='m8.5 12 1.5 1.5 3-3'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8.5 17h7.5'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-book-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v17H7a3 3 0 0 0-3 3z'/%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20'/%3E%3Cpath d='M12 3v17'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-exam-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M7 10.2v4.2c0 1.5 2.2 3 5 3s5-1.5 5-3v-4.2'/%3E%3Cpath d='M21 8v6'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-admin-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6l-.04.04a2 2 0 0 1-3.92 0L10 20a1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1l-.04-.04a2 2 0 0 1 0-3.92L4 10a1.7 1.7 0 0 0 .6-1 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6l.04-.04a2 2 0 0 1 3.92 0L14 4a1.7 1.7 0 0 0 1 .6 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.18.36.39.7.6 1l.04.04a2 2 0 0 1 0 3.92L20 14c-.21.3-.42.64-.6 1z'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-logout-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18h-8'/%3E%3C/svg%3E"); }
body.area-page-v41 .dashboard-nav-login-v84 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 17l5-5-5-5'/%3E%3Cpath d='M19 12H7'/%3E%3Cpath d='M3 3v18h8'/%3E%3C/svg%3E"); }

body.area-page-v41 .dashboard-sidebar-footer-v84 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid rgba(151, 181, 255, .22);
    color: rgba(203, 217, 245, .74);
    font-size: 14px;
    line-height: 1.45;
}

body.area-page-v41 .dashboard-sidebar-footer-icon-v84 {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(111,164,255,.36);
    background: rgba(69, 120, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 22px rgba(69, 120, 255, .14);
}
body.area-page-v41 .dashboard-sidebar-footer-icon-v84::before {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    margin: 10px;
    background: #78aaff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.area-page-v41 .academy-dashboard-v41 {
    grid-template-columns: minmax(0, 1fr) minmax(430px, .45fr) !important;
    gap: 42px !important;
    min-height: 430px !important;
    padding: 34px 36px !important;
    border-radius: 34px !important;
    border-color: rgba(126, 162, 255, .18) !important;
    box-shadow: 0 32px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

body.area-page-v41 .academy-dashboard-main-v41 {
    padding-left: 18px;
}

body.area-page-v41 .academy-dashboard-main-v41 h1 {
    max-width: 760px !important;
    font-size: clamp(44px, 3.8vw, 58px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
}

body.area-page-v41 .academy-status-v84 {
    width: 100% !important;
    max-width: 520px !important;
    justify-self: end !important;
    align-self: center !important;
    gap: 16px !important;
    padding: 25px 24px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(88, 151, 255, .78) !important;
    background:
        linear-gradient(180deg, rgba(8, 17, 34, .94), rgba(6, 10, 22, .88)),
        radial-gradient(circle at 100% 0%, rgba(69, 122, 255, .22), transparent 35%) !important;
    box-shadow:
        0 22px 64px rgba(0,0,0,.34),
        0 0 0 1px rgba(111, 164, 255, .18),
        0 0 36px rgba(50, 118, 255, .38),
        inset 0 1px 0 rgba(255,255,255,.08) !important;
    backdrop-filter: blur(16px) saturate(1.08) !important;
}

body.area-page-v41 .status-profile-v84 {
    gap: 7px !important;
    padding: 0 4px 2px !important;
    border-bottom: 0 !important;
}
body.area-page-v41 .status-profile-v84 span {
    color: #9dbbff !important;
    font-size: 12px !important;
    letter-spacing: .32em !important;
    font-weight: 950 !important;
}
body.area-page-v41 .status-profile-v84 strong {
    color: #fff !important;
    font-size: clamp(31px, 2.8vw, 42px) !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
}

body.area-page-v41 .status-metrics-v84 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}
body.area-page-v41 .status-metrics-v84 .status-metric-card-v84 {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    min-height: 72px !important;
    padding: 15px 18px !important;
    border-radius: 17px !important;
    border: 1px solid rgba(142, 174, 255, .18) !important;
    background: linear-gradient(180deg, rgba(22, 38, 67, .76), rgba(14, 27, 52, .66)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 12px 30px rgba(0,0,0,.17) !important;
}
body.area-page-v41 .status-metrics-v84 .status-metric-card-v84::before,
body.area-page-v41 .status-metrics-v84 .status-metric-card-v84::after {
    display: none !important;
}

body.area-page-v41 .status-metric-progress-v84 {
    display: grid !important;
    gap: 13px !important;
    min-height: 96px !important;
    padding: 18px 20px !important;
}
body.area-page-v41 .status-metric-top-v84 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
body.area-page-v41 .status-metric-top-v84 span,
body.area-page-v41 .status-metric-with-icon-v84 > span:not(.status-icon-v84) {
    color: rgba(226, 235, 255, .82) !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    letter-spacing: .22em !important;
    font-weight: 950 !important;
}
body.area-page-v41 .status-metric-top-v84 strong,
body.area-page-v41 .status-metric-with-icon-v84 strong {
    color: #fff !important;
    font-size: clamp(31px, 2.7vw, 42px) !important;
    line-height: .95 !important;
    letter-spacing: -.04em !important;
    text-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}
body.area-page-v41 .status-progress-v84 {
    height: 12px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(4, 8, 16, .66) !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.45) !important;
}
body.area-page-v41 .status-progress-v84 span {
    min-width: 0 !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #257dff 0%, #54c9ff 42%, #9ee3a1 73%, #ffd25b 100%) !important;
    box-shadow: 0 0 18px rgba(84, 201, 255, .52) !important;
}
body.area-page-v41 .status-metric-with-icon-v84 {
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    align-items: center !important;
    gap: 14px !important;
}
body.area-page-v41 .status-icon-v84 {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    background: #6ca3ff !important;
    opacity: 1 !important;
    -webkit-mask: var(--status-icon) center / contain no-repeat;
    mask: var(--status-icon) center / contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(111,164,255,.48));
}
body.area-page-v41 .status-icon-module-v84 { --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8l-9-5-9 5v8l9 5 9-5z'/%3E%3Cpath d='M3.3 7.8 12 13l8.7-5.2'/%3E%3Cpath d='M12 22V13'/%3E%3C/svg%3E"); }
body.area-page-v41 .status-icon-practice-v84 { --status-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l2-6 4 12 2-6h6'/%3E%3C/svg%3E"); }

body.area-page-v41 .status-cta-v84 {
    display: grid !important;
    grid-template-columns: 52px 1fr 46px !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 2px 0 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid rgba(142, 174, 255, .25) !important;
    color: #fff !important;
    text-decoration: none !important;
}
body.area-page-v41 .status-cta-icon-v84 {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(111,164,255,.34);
    background: rgba(44, 96, 196, .22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 22px rgba(69, 120, 255, .14);
}
body.area-page-v41 .status-cta-icon-v84::before {
    content: "";
    display: block;
    width: 27px;
    height: 27px;
    margin: 12px;
    background: #6ca3ff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='m8 15 2 2 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='m8 15 2 2 5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.area-page-v41 .status-cta-copy-v84 {
    display: grid;
    gap: 3px;
    min-width: 0;
}
body.area-page-v41 .status-cta-copy-v84 strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
}
body.area-page-v41 .status-cta-copy-v84 span {
    color: rgba(234, 239, 250, .74);
    font-size: 14px;
    line-height: 1.32;
}
body.area-page-v41 .status-cta-arrow-v84 {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
body.area-page-v41 .status-cta-arrow-v84::before {
    content: "";
    width: 22px;
    height: 22px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.area-page-v41 .status-cta-v84:hover .status-cta-arrow-v84 {
    transform: translateX(2px);
    border-color: rgba(111,164,255,.38);
    background: rgba(111,164,255,.12);
}

@media (max-width: 1180px) {
    body.area-page-v41 .academy-dashboard-v41 {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }
    body.area-page-v41 .academy-status-v84 {
        max-width: none !important;
        justify-self: stretch !important;
    }
}

@media (max-width: 900px) {
    body.area-page-v41 .dashboard-sidebar-v84 {
        position: relative !important;
        z-index: 10 !important;
        display: grid !important;
        gap: 14px !important;
        width: min(100%, 640px) !important;
        margin: 0 auto 18px !important;
        padding: 18px !important;
        border-radius: 26px !important;
        border: 1px solid rgba(105, 157, 255, .25) !important;
        background: rgba(8, 14, 27, .76) !important;
        box-shadow: 0 22px 60px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.07) !important;
        backdrop-filter: blur(16px) !important;
    }
    body.area-page-v41 .dashboard-sidebar-logo-v84,
    body.area-page-v41 .dashboard-sidebar-v84 .corner-logo-v50 {
        position: relative !important;
        width: 132px !important;
        height: 132px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    body.area-page-v41 .dashboard-sidebar-logo-v84 img,
    body.area-page-v41 .dashboard-sidebar-v84 .corner-logo-v50 img {
        height: 130px !important;
        width: auto !important;
    }
    body.area-page-v41 .dashboard-side-nav-v84,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 {
        position: relative !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    body.area-page-v41 .dashboard-nav-link-v84,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 a.dashboard-nav-link-v84 {
        min-height: 50px !important;
        padding: 12px 14px !important;
        font-size: 15px !important;
    }
    body.area-page-v41 .dashboard-sidebar-footer-v84 {
        display: none !important;
    }
    body.area-page-v41 .site-shell {
        max-width: 1440px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 18px 18px 28px !important;
    }
    body.area-page-v41 .academy-dashboard-main-v41 {
        padding-left: 0;
    }
}

@media (max-width: 560px) {
    body.area-page-v41 .dashboard-side-nav-v84,
    body.area-page-v41 nav.site-nav.dashboard-side-nav-v84 {
        grid-template-columns: 1fr !important;
    }
    body.area-page-v41 .status-cta-v84 {
        grid-template-columns: 44px 1fr 40px !important;
    }
    body.area-page-v41 .academy-dashboard-v41 {
        padding: 24px !important;
        border-radius: 28px !important;
    }
}

/* =========================================================
   v106: Prüfungsergebnis-Karten im Startdashboard
   ========================================================= */
body.area-page-v41 .academy-dashboard-v41 {
    min-height: 520px !important;
}

body.area-page-v41 .academy-dashboard-main-v41 {
    justify-content: center !important;
    gap: 17px !important;
}

body.area-page-v41 .dashboard-exam-results-v106 {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 18px;
    width: min(100%, 860px);
    margin-top: 22px;
}

body.area-page-v41 .dashboard-exam-result-card-v106 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 164px;
    padding: 22px 24px;
    border-radius: 22px;
    color: #fff;
    border: 1px solid rgba(86, 151, 255, .62);
    background:
        linear-gradient(180deg, rgba(9, 19, 38, .92), rgba(6, 11, 23, .82)),
        radial-gradient(circle at 10% 12%, rgba(71, 134, 255, .20), transparent 42%);
    box-shadow:
        0 18px 50px rgba(0,0,0,.34),
        0 0 0 1px rgba(111,164,255,.13),
        0 0 30px rgba(48, 119, 255, .24),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(14px) saturate(1.08);
}

body.area-page-v41 .dashboard-exam-result-card-v106::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(111,164,255,.16), transparent 32%, transparent 70%, rgba(111,164,255,.10)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.026) 0 1px, transparent 1px 12px);
    pointer-events: none;
}

body.area-page-v41 .dashboard-exam-result-card-v106::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112, 175, 255, .72), transparent);
    opacity: .75;
}

body.area-page-v41 .dashboard-exam-icon-v106 {
    display: block;
    width: 76px;
    height: 76px;
    background: #67a0ff;
    filter: drop-shadow(0 0 16px rgba(91, 152, 255, .58));
    -webkit-mask: var(--dashboard-exam-icon-v106) center / contain no-repeat;
    mask: var(--dashboard-exam-icon-v106) center / contain no-repeat;
}

body.area-page-v41 .dashboard-exam-result-written-v106 {
    --dashboard-exam-icon-v106: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='10' width='34' height='46' rx='5'/%3E%3Cpath d='M24 10V6h10v4'/%3E%3Cpath d='M21 25h18M21 34h18M21 43h12'/%3E%3Cpath d='M40 48l14-14 6 6-14 14-8 2 2-8Z'/%3E%3C/svg%3E");
}

body.area-page-v41 .dashboard-exam-result-practical-v106 {
    --dashboard-exam-icon-v106: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M28 8h8v12h12v8H36v12h-8V28H16v-8h12V8Z'/%3E%3Cpath d='M20 54c-7-5-10-11-7-16 2-3 6-2 9 2l6 7'/%3E%3Cpath d='M44 54c7-5 10-11 7-16-2-3-6-2-9 2l-6 7'/%3E%3Cpath d='M20 54h24'/%3E%3C/svg%3E");
}

body.area-page-v41 .dashboard-exam-copy-v106 {
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.area-page-v41 .dashboard-exam-kicker-v106,
body.area-page-v41 .dashboard-exam-label-v106 {
    color: #7fb1ff;
    font-size: 12px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 950;
}

body.area-page-v41 .dashboard-exam-result-card-v106 h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 1.8vw, 30px);
    line-height: 1.08;
    letter-spacing: -.035em;
    white-space: normal;
}

body.area-page-v41 .dashboard-exam-rule-v106 {
    display: block;
    height: 1px;
    width: 100%;
    margin: 6px 0 4px;
    background: linear-gradient(90deg, rgba(151, 181, 255, .34), rgba(255,255,255,.11), transparent);
}

body.area-page-v41 .dashboard-exam-result-card-v106 strong {
    color: #fff;
    font-size: clamp(30px, 2.8vw, 42px);
    line-height: .95;
    letter-spacing: -.045em;
    text-shadow: 0 12px 26px rgba(0,0,0,.30);
}

body.area-page-v41 .dashboard-exam-result-success-v106 {
    border-color: rgba(95, 221, 156, .58);
    box-shadow:
        0 18px 50px rgba(0,0,0,.34),
        0 0 0 1px rgba(95,221,156,.13),
        0 0 30px rgba(72, 210, 146, .20),
        inset 0 1px 0 rgba(255,255,255,.08);
}
body.area-page-v41 .dashboard-exam-result-success-v106 .dashboard-exam-kicker-v106,
body.area-page-v41 .dashboard-exam-result-success-v106 .dashboard-exam-label-v106 { color: #8ef0bd; }
body.area-page-v41 .dashboard-exam-result-success-v106 .dashboard-exam-icon-v106 { background: #7ff0b5; }

body.area-page-v41 .dashboard-exam-result-danger-v106 {
    border-color: rgba(255, 117, 117, .55);
    box-shadow:
        0 18px 50px rgba(0,0,0,.34),
        0 0 0 1px rgba(255,117,117,.13),
        0 0 30px rgba(255, 92, 92, .18),
        inset 0 1px 0 rgba(255,255,255,.08);
}
body.area-page-v41 .dashboard-exam-result-danger-v106 .dashboard-exam-kicker-v106,
body.area-page-v41 .dashboard-exam-result-danger-v106 .dashboard-exam-label-v106 { color: #ff9d9d; }
body.area-page-v41 .dashboard-exam-result-danger-v106 .dashboard-exam-icon-v106 { background: #ff8585; }
body.area-page-v41 .dashboard-exam-result-danger-v106 strong { font-size: clamp(26px, 2vw, 34px); }

@media (max-width: 1280px) and (min-width: 1181px) {
    body.area-page-v41 .dashboard-exam-results-v106 {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 1180px) {
    body.area-page-v41 .academy-dashboard-v41 {
        min-height: 0 !important;
    }
    body.area-page-v41 .dashboard-exam-results-v106 {
        width: 100%;
    }
}

@media (max-width: 720px) {
    body.area-page-v41 .dashboard-exam-results-v106 {
        grid-template-columns: 1fr;
    }
    body.area-page-v41 .dashboard-exam-result-card-v106 {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 140px;
        padding: 20px;
    }
    body.area-page-v41 .dashboard-exam-icon-v106 {
        width: 58px;
        height: 58px;
    }
}

/* =========================================================
   v107: Startseite Schriftgrößen feiner abgestimmt
   ========================================================= */
body.area-page-v41 .academy-dashboard-main-v41 h1 {
    font-size: clamp(34px, 3.6vw, 42px) !important;
    line-height: 1.08;
    letter-spacing: -.032em;
}

body.area-page-v41 .dashboard-exam-result-card-v106 h2 {
    font-size: clamp(19px, 1.35vw, 24px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

body.area-page-v41 .dashboard-exam-result-card-v106 strong {
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1;
    letter-spacing: -.035em;
}

body.area-page-v41 .dashboard-exam-result-danger-v106 strong {
    font-size: clamp(22px, 1.75vw, 28px);
}

body.area-page-v41 .dashboard-exam-kicker-v106,
body.area-page-v41 .dashboard-exam-label-v106 {
    font-size: clamp(13px, .95vw, 15px);
    line-height: 1.15;
    letter-spacing: .22em;
}

@media (max-width: 560px) {
    body.area-page-v41 .academy-dashboard-main-v41 h1 {
        font-size: 32px !important;
    }
    body.area-page-v41 .dashboard-exam-result-card-v106 h2 {
        font-size: 18px;
    }
    body.area-page-v41 .dashboard-exam-result-card-v106 strong {
        font-size: 24px;
    }
    body.area-page-v41 .dashboard-exam-kicker-v106,
    body.area-page-v41 .dashboard-exam-label-v106 {
        font-size: 13px;
    }
}


/* V108: Sidebar-Navigation auf Startseite mit eindeutig unterschiedlichen Icons */
body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-start-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V21h5v-6h4v6h5V10.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5 10.5V21h5v-6h4v6h5V10.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-checklist-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4h6v3H9z'/%3E%3Cpath d='m8.5 12 1.5 1.5 3-3'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8.5 17h7.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4h6v3H9z'/%3E%3Cpath d='m8.5 12 1.5 1.5 3-3'/%3E%3Cpath d='M14 13h2'/%3E%3Cpath d='M8.5 17h7.5'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-book-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v17H7a3 3 0 0 0-3 3z'/%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20'/%3E%3Cpath d='M12 3v17'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v17H7a3 3 0 0 0-3 3z'/%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20'/%3E%3Cpath d='M12 3v17'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-exam-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M7 10.2v4.2c0 1.5 2.2 3 5 3s5-1.5 5-3v-4.2'/%3E%3Cpath d='M21 8v6'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M7 10.2v4.2c0 1.5 2.2 3 5 3s5-1.5 5-3v-4.2'/%3E%3Cpath d='M21 8v6'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-admin-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6l-.04.04a2 2 0 0 1-3.92 0L10 20a1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1l-.04-.04a2 2 0 0 1 0-3.92L4 10a1.7 1.7 0 0 0 .6-1 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6l.04-.04a2 2 0 0 1 3.92 0L14 4a1.7 1.7 0 0 0 1 .6 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.18.36.39.7.6 1l.04.04a2 2 0 0 1 0 3.92L20 14c-.21.3-.42.64-.6 1z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6l-.04.04a2 2 0 0 1-3.92 0L10 20a1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1l-.04-.04a2 2 0 0 1 0-3.92L4 10a1.7 1.7 0 0 0 .6-1 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6l.04-.04a2 2 0 0 1 3.92 0L14 4a1.7 1.7 0 0 0 1 .6 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.18.36.39.7.6 1l.04.04a2 2 0 0 1 0 3.92L20 14c-.21.3-.42.64-.6 1z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.area-page-v41 .dashboard-nav-link-v84.dashboard-nav-logout-v84::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18h-8'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18h-8'/%3E%3C/svg%3E") center / contain no-repeat !important;
}


/* V111: NFS-Schulungen lebendiger mit Modulbildern und moderner Kapiteloptik */
.nfs-module-overview-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .24);
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.20), transparent 34%),
        radial-gradient(circle at bottom left, rgba(20,184,166,.14), transparent 28%),
        linear-gradient(180deg, rgba(16, 25, 48, .90), rgba(8, 14, 28, .88));
}

.nfs-module-section-heading {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr auto;
    gap: 18px;
    align-items: center;
}

.nfs-module-section-heading .status-pill {
    align-self: flex-start;
}

.nfs-module-section-media {
    min-height: 128px;
}

.nfs-module-section-media img {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
}

.nfs-chapter-overview-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.12), transparent 34%),
        linear-gradient(180deg, rgba(17, 28, 52, .84), rgba(11, 18, 33, .88));
}

.nfs-chapter-overview-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(56,189,248,.85), rgba(99,102,241,.85));
}

.nfs-chapter-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .18);
}

.nfs-chapter-card.is-teal,
.nfs-module-section-heading.is-teal { --nfs-accent: #2dd4bf; --nfs-accent-soft: rgba(45,212,191,.18); }
.nfs-chapter-card.is-amber,
.nfs-module-section-heading.is-amber { --nfs-accent: #f59e0b; --nfs-accent-soft: rgba(245,158,11,.18); }
.nfs-chapter-card.is-violet,
.nfs-module-section-heading.is-violet { --nfs-accent: #8b5cf6; --nfs-accent-soft: rgba(139,92,246,.18); }
.nfs-chapter-card.is-rose,
.nfs-module-section-heading.is-rose { --nfs-accent: #fb7185; --nfs-accent-soft: rgba(251,113,133,.18); }
.nfs-chapter-card.is-emerald,
.nfs-module-section-heading.is-emerald { --nfs-accent: #10b981; --nfs-accent-soft: rgba(16,185,129,.18); }
.nfs-chapter-card.is-sky,
.nfs-module-section-heading.is-sky { --nfs-accent: #38bdf8; --nfs-accent-soft: rgba(56,189,248,.18); }

.nfs-hero-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 22px;
    align-items: center;
    padding: 6px 0 10px;
}

.nfs-hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.nfs-hero-text {
    font-size: 1.05rem;
    color: rgba(233, 239, 249, .92);
    max-width: 68ch;
}

.nfs-eyebrow {
    color: var(--nfs-accent, #7dd3fc);
}

.nfs-hero-visual img {
    width: 100%;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 50px rgba(0,0,0,.28);
}

.nfs-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nfs-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: rgba(243,247,255,.94);
    font-size: .92rem;
    font-weight: 700;
}

.nfs-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 26px;
}

.nfs-info-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.nfs-info-card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(198, 208, 228, .72);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.nfs-info-card strong {
    display: block;
    color: #fff;
    line-height: 1.5;
}

.nfs-prose-content {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, var(--nfs-accent-soft, rgba(56,189,248,.16)), transparent 30%),
        linear-gradient(180deg, rgba(9, 15, 29, .88), rgba(8, 14, 26, .84));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.nfs-prose-content h2,
.nfs-prose-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
}

.nfs-prose-content h2::before,
.nfs-prose-content h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--nfs-accent, #38bdf8);
    box-shadow: 0 0 0 6px var(--nfs-accent-soft, rgba(56,189,248,.16));
}

.nfs-prose-content ul li,
.nfs-prose-content ol li {
    margin-bottom: 8px;
}

.nfs-prose-content table.editor-table,
.nfs-prose-content table {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.nfs-prose-content th {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
    color: #fff;
}

.nfs-prose-content td,
.nfs-prose-content th {
    padding: 11px 12px;
}

.nfs-prose-content p img.editor-image,
.nfs-prose-content img.editor-image {
    margin: 18px auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
}

.nfs-prose-content .editor-note,
.nfs-prose-content blockquote {
    background: linear-gradient(180deg, rgba(59,130,246,.14), rgba(30,64,175,.10));
    border-color: rgba(96,165,250,.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

@media (max-width: 1080px) {
    .nfs-module-section-heading {
        grid-template-columns: 1fr;
    }

    .nfs-hero-block {
        grid-template-columns: 1fr;
    }

    .nfs-hero-visual {
        order: -1;
    }
}

@media (max-width: 820px) {
    .nfs-info-grid {
        grid-template-columns: 1fr;
    }

    .nfs-prose-content {
        padding: 20px;
    }
}


/* V117: EKG-Schulungsbilder direkt in der Kapitelansicht laden */
.nfs-ekg-fallback-gallery {
    margin-top: 28px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(96, 165, 250, .22);
    background:
        radial-gradient(circle at top right, rgba(56,189,248,.14), transparent 32%),
        linear-gradient(180deg, rgba(17, 24, 39, .88), rgba(9, 14, 26, .92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 45px rgba(0,0,0,.22);
}

.nfs-ekg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.nfs-ekg-gallery-card {
    margin: 0;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
}

.nfs-ekg-gallery-card img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 120px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

.nfs-ekg-gallery-card figcaption {
    margin-top: 10px;
    color: rgba(238, 244, 255, .94);
    font-weight: 800;
    font-size: .95rem;
}


/* V130: Pharmakologie-Headerbild */
.prose-content img.pharm-header-image,
.rich-surface img.pharm-header-image,
.editor-preview img.pharm-header-image,
.preview-paper-body img.pharm-header-image {
    width: 100%;
    max-width: 100%;
    margin: 0 0 26px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: #fff;
    box-shadow: 0 18px 42px rgba(0,0,0,.24);
}


/* V276 Praxisanleiter-Menüicon */
body.area-page-v41 .dashboard-nav-praxisanleiter-v276 { --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='m15 19 2 2 4-4'/%3E%3C/svg%3E"); }

/* V287 · Praxisanleiter-Menüpunkt */
body.area-page-v41 .dashboard-nav-praxisanleiter-v287 {
    --nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3Cpath d='m17 11 2 2 4-4'/%3E%3C/svg%3E");
}

/* V288 · Landingpage Wachenbild START */
body.landing-page::before {
    background:
        linear-gradient(rgba(5, 9, 16, 0.54), rgba(5, 9, 16, 0.78)),
        url('../img/wache-dashboard-background.png') center center / cover no-repeat !important;
    filter: blur(3px) brightness(0.72) !important;
    transform: scale(1.035) !important;
}

body.landing-page::after {
    background:
        radial-gradient(circle at 50% 34%, rgba(22, 35, 62, 0.22), transparent 34%),
        linear-gradient(rgba(3, 7, 14, 0.22), rgba(3, 7, 14, 0.44)) !important;
}
/* V288 · Landingpage Wachenbild ENDE */
