:root {
    --ak-rand: var(--theme-border-color, #dee2e6);
    --ak-flaeche: var(--theme-card-bg, #fff);
    --ak-flaeche-2: var(--theme-bg-secondary, #f8f9fa);
    --ak-text: var(--theme-text-primary, #212529);
    --ak-leise: var(--theme-text-muted, #6c757d);
    --ak-akzent: var(--primary, #c5023c);
    --ak-akzent-hell: rgba(197, 2, 60, 0.1);
    --ak-erfolg: #1f9d55;
    --ak-gold: #d4a017;
    --ak-silber: #9aa3ad;
    --ak-bronze: #b0703c;
    --ak-radius: 14px;
    --ak-schatten: var(--theme-shadow, 0 2px 8px rgba(0, 0, 0, 0.08));
}

.ak-abschnitt { padding: 4rem 0; }

.ak-abschnitt--grau { background: var(--ak-flaeche-2); }

.ak-abschnitt--eng { padding: 2rem 0; }

.ak-ueber {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ak-akzent);
}

.ak-titel { margin: 0 0 0.75rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }

.ak-lead { max-width: 46rem; color: var(--ak-leise); font-size: 1.08rem; line-height: 1.6; margin: 0 0 2rem; }

.ak-kopfzeile { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }

.ak-kopfzeile .ak-lead { margin-bottom: 0; }

.ak-seitenkopf {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    background: #101014;
    color: #f2f3f6;
    overflow: hidden;
}

.ak-seitenkopf__bild {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.35;
}

.ak-seitenkopf::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16, 16, 20, 0.95) 0%, rgba(16, 16, 20, 0.6) 60%, rgba(16, 16, 20, 0.3) 100%);
}

.ak-seitenkopf .container { position: relative; z-index: 1; }

.ak-seitenkopf h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }

.ak-seitenkopf p { max-width: 44rem; color: #c9ccd4; font-size: 1.08rem; margin: 0; }

.ak-seitenkopf .ak-ueber { color: var(--ak-akzent); }

.ak-brotkrumen { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.85rem; color: #aab0bb; }

.ak-brotkrumen a { color: #d8dbe2; text-decoration: none; }

.ak-brotkrumen a:hover { color: #fff; }

.ak-brotkrumen li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }

.ak-marke {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
    background: var(--ak-flaeche-2);
    color: var(--ak-text);
    border: 1px solid var(--ak-rand);
    white-space: nowrap;
}

.ak-marke--akzent { background: var(--ak-akzent); color: #fff; border-color: var(--ak-akzent); }

.ak-marke--frei { background: rgba(31, 157, 85, 0.12); color: var(--ak-erfolg); border-color: rgba(31, 157, 85, 0.35); }

.ak-marke--erfolg { background: var(--ak-erfolg); color: #fff; border-color: var(--ak-erfolg); }

.ak-marken { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ak-karten {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    gap: 1.5rem;
}

.ak-karten--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }

.ak-karte {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--ak-flaeche);
    border: 1px solid var(--ak-rand);
    border-radius: var(--ak-radius);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ak-karte:hover { transform: translateY(-3px); box-shadow: var(--theme-shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.12)); border-color: var(--ak-akzent); }

.ak-karte__bild {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1b1b22, #3a0a1a);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.ak-karte__bild img { width: 100%; height: 100%; object-fit: cover; }

.ak-karte__bild > .bi { font-size: 3rem; color: rgba(255, 255, 255, 0.85); }

.ak-karte__ecke { position: absolute; top: 0.75rem; left: 0.75rem; }

.ak-karte__ecke-rechts { position: absolute; top: 0.75rem; right: 0.75rem; }

.ak-karte__ecke .ak-marke--frei, .ak-karte__ecke-rechts .ak-marke--frei { background: #1f9d55; color: #fff; border-color: #1f9d55; }

.ak-karte__inhalt { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }

.ak-karte__stufe { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ak-akzent); }

.ak-karte h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }

.ak-karte h3 a { color: inherit; text-decoration: none; }

.ak-karte h3 a::after { content: ""; position: absolute; inset: 0; }

.ak-karte p { margin: 0; color: var(--ak-leise); font-size: 0.92rem; line-height: 1.5; }

.ak-karte__fuss {
    display: flex; flex-wrap: wrap; gap: 0.9rem;
    margin-top: auto; padding-top: 0.75rem;
    border-top: 1px solid var(--ak-rand);
    color: var(--ak-leise); font-size: 0.82rem;
}

.ak-karte__fuss span { display: inline-flex; align-items: center; gap: 0.35rem; }

progress.ak-fortschritt,
meter.ak-fortschritt {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 0.5rem;
    border: none; border-radius: 999px;
    background: var(--ak-flaeche-2);
    overflow: hidden;
}

progress.ak-fortschritt::-webkit-progress-bar { background: var(--ak-flaeche-2); border-radius: 999px; }

progress.ak-fortschritt::-webkit-progress-value { background: var(--ak-akzent); border-radius: 999px; }

progress.ak-fortschritt::-moz-progress-bar { background: var(--ak-akzent); border-radius: 999px; }

progress.ak-fortschritt--gross { height: 0.8rem; }

progress.ak-fortschritt--erfolg::-webkit-progress-value { background: var(--ak-erfolg); }

progress.ak-fortschritt--erfolg::-moz-progress-bar { background: var(--ak-erfolg); }

.ak-fortschritt-zeile { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--ak-leise); }

.ak-fortschritt-zeile progress { flex: 1 1 auto; min-width: 4rem; }

.ak-fortschritt-zeile > span, .ak-fortschritt-zeile > strong { flex: none; white-space: nowrap; }

.ak-filter {
    display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end;
    padding: 1rem 1.2rem; margin-bottom: 2rem;
    background: var(--ak-flaeche);
    border: 1px solid var(--ak-rand);
    border-radius: var(--ak-radius);
}

.ak-filter label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.8rem; color: var(--ak-leise); }

.ak-filter input, .ak-filter select {
    min-width: 11rem; padding: 0.55rem 0.7rem;
    border-radius: 8px; border: 1px solid var(--theme-input-border, var(--ak-rand));
    background: var(--theme-input-bg, #fff); color: var(--ak-text);
}

.ak-filter__suche { flex: 1 1 16rem; }

.ak-filter__suche input { width: 100%; }

.ak-kurs { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2.5rem; align-items: start; }

@media (max-width: 62rem) {
.ak-kurs { grid-template-columns: minmax(0, 1fr); }
}

.ak-kasten {
    background: var(--ak-flaeche);
    border: 1px solid var(--ak-rand);
    border-radius: var(--ak-radius);
    padding: 1.4rem;
}

.ak-kasten + .ak-kasten { margin-top: 1.25rem; }

.ak-kasten h2, .ak-kasten h3 { margin-top: 0; }

.ak-kasten--klebend { position: sticky; top: calc(var(--kopfhoehe, 3.75rem) + 1rem); }

.ak-kasten--akzent { border-color: var(--ak-akzent); box-shadow: 0 0 0 3px var(--ak-akzent-hell); }

.ak-fakten { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.92rem; }

.ak-fakten li { display: flex; gap: 0.6rem; align-items: center; color: var(--ak-text); }

.ak-fakten .bi { color: var(--ak-akzent); width: 1.2rem; }

.ak-knopfreihe { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.ak-knopf-voll { width: 100%; justify-content: center; }

.ak-ziele { columns: 2 16rem; gap: 2rem; padding: 0; list-style: none; }

.ak-ziele li { break-inside: avoid; display: flex; gap: 0.6rem; margin-bottom: 0.6rem; }

.ak-ziele .bi { color: var(--ak-erfolg); margin-top: 0.15rem; }

.ak-preis { font-size: 1.6rem; font-weight: 800; margin: 0.25rem 0; }

.ak-preis small { font-size: 0.85rem; font-weight: 500; color: var(--ak-leise); }

.ak-lehrplan { border: 1px solid var(--ak-rand); border-radius: var(--ak-radius); overflow: hidden; background: var(--ak-flaeche); }

.ak-lehrplan details + details { border-top: 1px solid var(--ak-rand); }

.ak-lehrplan summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 1.2rem; cursor: pointer; list-style: none;
    font-weight: 600; background: var(--ak-flaeche-2);
}

.ak-lehrplan summary::-webkit-details-marker { display: none; }

.ak-lehrplan summary::after { content: ""; font-family: "bootstrap-icons"; transition: transform 0.2s; }

.ak-lehrplan details[open] summary::after { transform: rotate(180deg); }

.ak-lehrplan summary small { font-weight: 400; color: var(--ak-leise); margin-left: auto; }

.ak-lehrplan ol { list-style: none; margin: 0; padding: 0.3rem 0; }

.ak-lehrplan li a, .ak-lehrplan li > span {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.6rem 1.2rem; color: var(--ak-text); text-decoration: none; font-size: 0.93rem;
}

.ak-lehrplan li a:hover { background: var(--theme-bg-hover, var(--ak-flaeche-2)); }

.ak-lehrplan li .bi:first-child { color: var(--ak-leise); width: 1.1rem; }

.ak-lehrplan li .ak-zeit { margin-left: auto; color: var(--ak-leise); font-size: 0.8rem; white-space: nowrap; }

.ak-lehrplan li.ist-erledigt .bi:first-child { color: var(--ak-erfolg); }

.ak-lehrplan li.ist-gesperrt { opacity: 0.55; }

.ak-lehrplan li.ist-aktiv a, .ak-lehrplan li.ist-aktiv > span { background: var(--ak-akzent-hell); box-shadow: inset 3px 0 0 var(--ak-akzent); font-weight: 600; }

.ak-spieler { display: grid; grid-template-columns: 20rem minmax(0, 1fr); min-height: calc(100vh - var(--kopfhoehe, 3.75rem)); }

@media (max-width: 62rem) {
.ak-spieler { grid-template-columns: minmax(0, 1fr); }
}

.ak-spieler__navi { border-right: 1px solid var(--ak-rand); background: var(--ak-flaeche-2); padding: 1.25rem 0; }

@media (max-width: 62rem) {
.ak-spieler__navi { border-right: none; border-bottom: 1px solid var(--ak-rand); }
}

.ak-spieler__navi .ak-lehrplan { border: none; border-radius: 0; background: transparent; }

.ak-spieler__navi .ak-lehrplan summary { background: transparent; padding: 0.75rem 1.2rem; font-size: 0.9rem; }

.ak-spieler__kopf { padding: 0 1.2rem 1rem; border-bottom: 1px solid var(--ak-rand); margin-bottom: 0.5rem; }

.ak-spieler__kopf a { color: var(--ak-leise); text-decoration: none; font-size: 0.85rem; }

.ak-spieler__kopf h2 { font-size: 1.05rem; margin: 0.4rem 0 0.75rem; }

.ak-spieler__inhalt { padding: 2rem clamp(1rem, 4vw, 3.5rem) 4rem; max-width: 60rem; width: 100%; }

.ak-spieler__inhalt h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.25rem 0 1.5rem; }

.ak-spieler__fuss {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--ak-rand);
}

.ak-block { margin: 0 0 1.6rem; }

.ak-block img { max-width: 100%; height: auto; border-radius: 10px; }

.ak-block figcaption { font-size: 0.85rem; color: var(--ak-leise); margin-top: 0.4rem; }

.ak-block pre {
    overflow-x: auto; padding: 1rem 1.2rem; border-radius: 10px;
    background: var(--theme-code-bg, #1e1e24); color: var(--theme-code-text, #e4e4e7);
    font-size: 0.88rem; line-height: 1.55;
}

.ak-block hr { border: none; border-top: 1px solid var(--ak-rand); margin: 2rem 0; }

.markdown-body { line-height: 1.7; font-size: 1.02rem; }

.markdown-body h2 { margin-top: 2rem; }

.markdown-body img { max-width: 100%; }

.markdown-body code { padding: 0.1rem 0.35rem; border-radius: 5px; background: var(--ak-flaeche-2); font-size: 0.9em; }

.markdown-body pre code { padding: 0; background: none; }

.markdown-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; }

.markdown-body th, .markdown-body td { border: 1px solid var(--ak-rand); padding: 0.5rem 0.7rem; text-align: left; }

.ak-hinweis {
    display: flex; gap: 0.9rem;
    padding: 1rem 1.2rem; border-radius: 12px;
    border: 1px solid var(--ak-rand); border-left-width: 4px;
    background: var(--ak-flaeche);
}

.ak-hinweis > .bi { font-size: 1.3rem; flex: none; }

.ak-hinweis > div > strong:first-child { display: block; margin-bottom: 0.2rem; }

.ak-hinweis .markdown-body p { margin: 0 0 0.5rem; }

.ak-hinweis .markdown-body p:last-child { margin-bottom: 0; }

.ak-hinweis--info { border-left-color: #2f7ed8; }

.ak-hinweis--info > .bi { color: #2f7ed8; }

.ak-hinweis--tipp { border-left-color: var(--ak-erfolg); }

.ak-hinweis--tipp > .bi { color: var(--ak-erfolg); }

.ak-hinweis--warnung { border-left-color: #e0a800; }

.ak-hinweis--warnung > .bi { color: #e0a800; }

.ak-hinweis--wichtig { border-left-color: var(--ak-akzent); }

.ak-hinweis--wichtig > .bi { color: var(--ak-akzent); }

.ak-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }

.ak-video video { width: 100%; height: 100%; display: block; background: #000; }

.ak-video__hinweis { display: flex; align-items: center; justify-content: center; height: 100%; color: #ccc; gap: 0.6rem; text-align: center; padding: 1rem; }

.ak-video-info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.75rem; font-size: 0.88rem; color: var(--ak-leise); }

.ak-video-info progress { flex: 1 1 10rem; max-width: 18rem; }

.ak-kapitel { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.25rem; }

.ak-kapitel button {
    display: flex; gap: 0.75rem; width: 100%; text-align: left;
    padding: 0.45rem 0.7rem; border: none; border-radius: 8px;
    background: transparent; color: var(--ak-text); cursor: pointer; font: inherit; font-size: 0.9rem;
}

.ak-kapitel button:hover { background: var(--ak-flaeche-2); }

.ak-kapitel time { color: var(--ak-akzent); font-variant-numeric: tabular-nums; min-width: 3.2rem; }

.ak-reiter { display: flex; flex-wrap: wrap; gap: 0.3rem; border-bottom: 1px solid var(--ak-rand); margin: 2.5rem 0 1.25rem; }

.ak-reiter button {
    padding: 0.6rem 1rem; border: none; background: none; cursor: pointer;
    color: var(--ak-leise); font: inherit; font-weight: 600; border-bottom: 2px solid transparent;
}

.ak-reiter button[aria-selected="true"] { color: var(--ak-akzent); border-bottom-color: var(--ak-akzent); }

.ak-reiterinhalt[hidden] { display: none; }

.ak-formular textarea, .ak-formular input[type="text"], .ak-formular input[type="number"], .ak-formular input[type="search"], .ak-formular select {
    width: 100%; padding: 0.65rem 0.8rem; border-radius: 10px;
    border: 1px solid var(--theme-input-border, var(--ak-rand));
    background: var(--theme-input-bg, #fff); color: var(--ak-text); font: inherit;
}

.ak-formular textarea { min-height: 8rem; resize: vertical; }

.ak-formular label { display: block; font-weight: 600; margin: 0 0 0.4rem; }

.ak-formular .ak-hilfe { font-size: 0.82rem; color: var(--ak-leise); margin-top: 0.3rem; }

.ak-formular p + p, .ak-formular div + div { margin-top: 1rem; }

.ak-schalter { display: flex; gap: 0.7rem; align-items: flex-start; }

.ak-schalter input { margin-top: 0.15rem; }

.ak-schalter span { font-weight: 400; }

.ak-leer { text-align: center; padding: 3rem 1rem; color: var(--ak-leise); }

.ak-leer > .bi { font-size: 2.5rem; color: var(--ak-akzent); display: block; margin-bottom: 0.75rem; }

.ak-stufen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; counter-reset: stufe; }

.ak-stufe {
    position: relative; display: flex; flex-direction: column; gap: 0.6rem;
    padding: 1.5rem; border-radius: var(--ak-radius);
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand);
}

.ak-stufe:hover { border-color: var(--ak-akzent); }

.ak-stufe__nr { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; color: var(--ak-akzent); }

.ak-stufe h3 { margin: 0; font-size: 1.15rem; }

.ak-stufe h3 a { color: inherit; text-decoration: none; }

.ak-stufe h3 a::after { content: ""; position: absolute; inset: 0; }

.ak-stufe p { margin: 0; color: var(--ak-leise); font-size: 0.92rem; }

.ak-stufe__symbol { font-size: 1.8rem; color: var(--ak-akzent); }

.ak-pfad { list-style: none; padding: 0; margin: 0; position: relative; }

.ak-pfad::before { content: ""; position: absolute; left: 1.15rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--ak-rand); }

.ak-pfad li { position: relative; display: flex; gap: 1.25rem; padding: 0 0 1.75rem; }

.ak-pfad__punkt {
    flex: none; z-index: 1; width: 2.3rem; height: 2.3rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ak-flaeche); border: 2px solid var(--ak-rand); font-weight: 700;
}

.ak-pfad li.ist-erledigt .ak-pfad__punkt { background: var(--ak-erfolg); border-color: var(--ak-erfolg); color: #fff; }

.ak-pfad li.ist-laufend .ak-pfad__punkt { border-color: var(--ak-akzent); color: var(--ak-akzent); }

.ak-pfad__inhalt { flex: 1; }

.ak-pfad__inhalt h3 { margin: 0.25rem 0 0.35rem; font-size: 1.08rem; }

.ak-podest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; margin-bottom: 2rem; }

@media (max-width: 40rem) {
.ak-podest { grid-template-columns: minmax(0, 1fr); }
}

.ak-podest__platz {
    text-align: center; padding: 1.5rem 1rem; border-radius: var(--ak-radius);
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand);
}

.ak-podest__platz--1 { order: 2; padding-top: 2.5rem; border-color: var(--ak-gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15); }

.ak-podest__platz--2 { order: 1; }

.ak-podest__platz--3 { order: 3; }

@media (max-width: 40rem) {
.ak-podest__platz--1, .ak-podest__platz--2, .ak-podest__platz--3 { order: initial; }
}

.ak-podest__platz .bi { font-size: 2rem; }

.ak-podest__platz--1 .bi { color: var(--ak-gold); }

.ak-podest__platz--2 .bi { color: var(--ak-silber); }

.ak-podest__platz--3 .bi { color: var(--ak-bronze); }

.ak-podest__name { font-weight: 700; margin: 0.5rem 0 0.2rem; }

.ak-podest__wert { color: var(--ak-leise); font-size: 0.9rem; }

.ak-tabelle { width: 100%; border-collapse: collapse; background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: var(--ak-radius); overflow: hidden; }

.ak-tabelle th, .ak-tabelle td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--ak-rand); }

.ak-tabelle thead th { background: var(--ak-flaeche-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ak-leise); }

.ak-tabelle tr.ist-ich td, .ak-tabelle tr.ist-ich th { background: var(--ak-akzent-hell); font-weight: 600; }

.ak-tabelle .ak-zahl { text-align: right; font-variant-numeric: tabular-nums; }

.ak-tabelle-rahmen { overflow-x: auto; }

.ak-wahl { display: inline-flex; gap: 0.25rem; padding: 0.25rem; background: var(--ak-flaeche-2); border-radius: 999px; border: 1px solid var(--ak-rand); }

.ak-wahl a { padding: 0.4rem 0.9rem; border-radius: 999px; text-decoration: none; color: var(--ak-leise); font-size: 0.88rem; font-weight: 600; }

.ak-wahl a[aria-current="page"] { background: var(--ak-akzent); color: #fff; }

.ak-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; margin-bottom: 2rem; }

.ak-kennzahl { padding: 1.2rem 1.3rem; background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: var(--ak-radius); }

.ak-kennzahl__wert { font-size: 1.9rem; font-weight: 800; line-height: 1.1; color: var(--ak-text); }

.ak-kennzahl__wert .bi { color: var(--ak-akzent); font-size: 1.4rem; margin-right: 0.3rem; }

.ak-kennzahl__name { color: var(--ak-leise); font-size: 0.85rem; margin-top: 0.25rem; }

.ak-level {
    display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem;
    border-radius: var(--ak-radius); color: #fff;
    background: linear-gradient(120deg, #17171d 0%, #2a0b16 60%, #5c0423 100%);
    margin-bottom: 2rem;
}

.ak-level__ring {
    flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 3px solid var(--ak-akzent); background: rgba(255, 255, 255, 0.06);
}

.ak-level__ring strong { font-size: 1.6rem; line-height: 1; }

.ak-level__ring small { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }

.ak-level__text { flex: 1; }

.ak-level__text h2 { margin: 0 0 0.2rem; font-size: 1.25rem; color: #fff; }

.ak-level__text p { margin: 0 0 0.6rem; color: #d3d5dc; font-size: 0.9rem; }

.ak-level progress.ak-fortschritt { background: rgba(255, 255, 255, 0.15); }

.ak-level progress.ak-fortschritt::-webkit-progress-bar { background: rgba(255, 255, 255, 0.15); }

.ak-abzeichen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr)); gap: 1rem; }

.ak-abzeichen__stueck { text-align: center; padding: 1.1rem 0.75rem; border-radius: var(--ak-radius); background: var(--ak-flaeche); border: 1px solid var(--ak-rand); }

.ak-abzeichen__stueck img { width: 4rem; height: 4rem; object-fit: contain; }

.ak-abzeichen__symbol {
    width: 4rem; height: 4rem; margin: 0 auto; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ak-akzent-hell); color: var(--ak-akzent); font-size: 1.8rem;
}

.ak-abzeichen__stueck strong { display: block; margin-top: 0.6rem; font-size: 0.9rem; }

.ak-abzeichen__stueck small { color: var(--ak-leise); font-size: 0.78rem; }

.ak-abzeichen__stueck.ist-offen { opacity: 0.45; filter: grayscale(1); }

.ak-zertifikat {
    position: relative; padding: 1.4rem 1.5rem; border-radius: var(--ak-radius);
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand);
    display: flex; flex-direction: column; gap: 0.5rem;
}

.ak-zertifikat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: var(--ak-radius) var(--ak-radius) 0 0; background: var(--ak-akzent); }

.ak-zertifikat h3 { margin: 0.3rem 0 0; font-size: 1.05rem; }

.ak-zertifikat h3 a { color: inherit; text-decoration: none; }

.ak-zertifikat code { font-size: 0.82rem; color: var(--ak-leise); }

.ak-pruefergebnis { max-width: 40rem; margin: 0 auto; text-align: center; }

.ak-pruefergebnis__siegel { width: 5rem; height: 5rem; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

.ak-pruefergebnis__siegel--gueltig { background: rgba(31, 157, 85, 0.12); color: var(--ak-erfolg); }

.ak-pruefergebnis__siegel--ungueltig { background: var(--ak-akzent-hell); color: var(--ak-akzent); }

.ak-pruefergebnis dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.25rem; text-align: left; margin: 1.5rem 0 0; }

.ak-pruefergebnis dt { color: var(--ak-leise); }

.ak-pruefergebnis dd { margin: 0; font-weight: 600; }

.ak-kopierfeld { display: flex; gap: 0.5rem; align-items: center; }

.ak-kopierfeld input { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }

.ak-test-kopf {
    position: sticky; top: var(--kopfhoehe, 3.75rem); z-index: 5;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.9rem 1.2rem; margin-bottom: 1.5rem;
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: var(--ak-radius);
}

.ak-uhr { display: inline-flex; align-items: center; gap: 0.4rem; font-variant-numeric: tabular-nums; font-weight: 700; }

.ak-uhr.ist-knapp { color: var(--ak-akzent); }

.ak-frage { padding: 1.4rem 1.5rem; margin-bottom: 1.25rem; background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: var(--ak-radius); }

.ak-frage__nr { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ak-akzent); }

.ak-frage__text { margin: 0.4rem 0 1rem; font-size: 1.05rem; }

.ak-optionen { display: grid; gap: 0.6rem; }

.ak-option {
    display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer;
    padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid var(--ak-rand); background: var(--ak-flaeche);
}

.ak-option:hover { border-color: var(--ak-akzent); }

.ak-option input { margin-top: 0.2rem; accent-color: var(--ak-akzent); width: 1.05rem; height: 1.05rem; }

.ak-option:has(input:checked) { border-color: var(--ak-akzent); background: var(--ak-akzent-hell); }

.ak-option.ist-richtig { border-color: var(--ak-erfolg); background: rgba(31, 157, 85, 0.1); }

.ak-option.ist-falsch { border-color: var(--ak-akzent); background: var(--ak-akzent-hell); }

.ak-zuordnung { display: grid; gap: 0.6rem; }

.ak-zuordnung__zeile { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.75rem; align-items: center; }

@media (max-width: 40rem) {
.ak-zuordnung__zeile { grid-template-columns: minmax(0, 1fr); }
}

.ak-luecke { display: inline-block; width: 10rem; max-width: 100%; margin: 0.15rem 0.2rem; }

.ak-rueckmeldung { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.93rem; }

.ak-rueckmeldung[hidden] { display: none; }

.ak-rueckmeldung--richtig { background: rgba(31, 157, 85, 0.12); color: var(--ak-erfolg); }

.ak-rueckmeldung--falsch { background: var(--ak-akzent-hell); color: var(--ak-akzent); }

.ak-seitenwahl { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ak-seitenwahl button { min-width: 2.3rem; }

.ak-ergebnis-kopf { text-align: center; padding: 2.5rem 1rem; border-radius: var(--ak-radius); margin-bottom: 2rem; }

.ak-ergebnis-kopf--bestanden { background: rgba(31, 157, 85, 0.1); border: 1px solid rgba(31, 157, 85, 0.35); }

.ak-ergebnis-kopf--nicht { background: var(--ak-akzent-hell); border: 1px solid rgba(197, 2, 60, 0.35); }

.ak-ergebnis-kopf__zahl { font-size: 3.5rem; font-weight: 800; line-height: 1; }

.ak-ergebnis-kopf--bestanden .ak-ergebnis-kopf__zahl { color: var(--ak-erfolg); }

.ak-ergebnis-kopf--nicht .ak-ergebnis-kopf__zahl { color: var(--ak-akzent); }

.ak-weiter {
    display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1.5rem; align-items: center;
    padding: 1.25rem; margin-bottom: 2rem; border-radius: var(--ak-radius);
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand);
}

@media (max-width: 40rem) {
.ak-weiter { grid-template-columns: minmax(0, 1fr); }
}

.ak-weiter__bild { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1b1b22, #3a0a1a); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.2rem; }

.ak-weiter__bild img { width: 100%; height: 100%; object-fit: cover; }

.ak-weiter h2 { margin: 0.2rem 0 0.4rem; font-size: 1.25rem; }

.ak-zweispaltig { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; }

@media (max-width: 62rem) {
.ak-zweispaltig { grid-template-columns: minmax(0, 1fr); }
}

.ak-liste { list-style: none; padding: 0; margin: 0; }

.ak-liste li { display: flex; gap: 0.75rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--ak-rand); }

.ak-liste li:last-child { border-bottom: none; }

.ak-liste .ak-rechts { margin-left: auto; color: var(--ak-leise); font-size: 0.85rem; white-space: nowrap; }

.ak-plus { color: var(--ak-erfolg); font-weight: 700; }

.ak-mitte { text-align: center; }

.ak-abstand-oben { margin-top: 2rem; }

.ak-klein { font-size: 0.85rem; color: var(--ak-leise); }

.ak-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ak-preise { display: grid; gap: 0.75rem; list-style: none; padding: 0; margin: 1rem 0 0; }

.ak-preise li { display: flex; gap: 0.8rem; align-items: center; padding: 0.8rem 1rem; border-radius: 10px; background: var(--ak-flaeche-2); }

.ak-preise li .bi { color: var(--ak-gold); font-size: 1.3rem; }

.ak-level a { color: #fff; }

.ak-formular .ak-option { display: flex; font-weight: 400; margin: 0; }

.ak-formular .ak-schalter { display: flex; }

.ak-formular .ak-schalter span { font-weight: 400; }

.ak-frage legend { padding: 0 0.4rem; }

.anmeldung { padding: 2.5rem 16px 4rem; }

.anmeldung__buehne {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: 20px;
    overflow: hidden; box-shadow: var(--theme-shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.12));
}

.anmeldung__bild {
    position: relative; min-height: 620px; padding: 3rem;
    background: #101014 url("../img/academy/held.439ea67261dd.webp") 72% 100% / cover no-repeat;
    color: #f2f3f6;
}

.anmeldung__bild::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(165deg, rgba(16, 16, 20, 0.94) 0%, rgba(16, 16, 20, 0.6) 55%, rgba(16, 16, 20, 0.1) 100%);
}

.anmeldung__bildtext { position: relative; z-index: 1; max-width: 26rem; }

.anmeldung__ueber {
    margin: 0; color: var(--ak-akzent); font-weight: 700; font-size: 0.8rem;
    letter-spacing: 0.14em; text-transform: uppercase;
}

.anmeldung__titel { margin: 0.6rem 0 1.8rem; color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; }

.anmeldung__vorteile { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }

.anmeldung__vorteile li { display: flex; align-items: center; gap: 0.8rem; color: #d8dbe2; font-size: 0.97rem; }

.anmeldung__vorteile .bi {
    flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px;
    background: rgba(197, 2, 60, 0.18); color: #fff; font-size: 1.05rem;
}

.anmeldung__karte {
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
    display: flex; flex-direction: column; justify-content: center;
}

.anmeldung__reiter {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px;
    padding: 4px; margin-bottom: 2rem; border-radius: 999px; background: var(--ak-flaeche-2);
    border: 1px solid var(--ak-rand);
}

.anmeldung .anmeldung__reiterlink {
    padding: 0.6rem 1rem; border-radius: 999px; text-align: center; font-weight: 600;
    color: var(--ak-leise); text-decoration: none; transition: background 0.15s ease, color 0.15s ease;
}

.anmeldung .anmeldung__reiterlink:hover { color: var(--ak-text); }

.anmeldung .anmeldung__reiterlink.ist-aktiv {
    background: var(--ak-flaeche); color: var(--ak-text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.anmeldung__h1 { margin: 0 0 0.35rem; font-size: 1.75rem; }

.anmeldung__unter { margin: 0 0 1.75rem; color: var(--ak-leise); }

.anmeldung__labelzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.anmeldung__leise { font-size: 0.85rem; }

.anmeldung__knopf { width: 100%; margin-top: 0.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }

.anmeldung__wechsel { margin: 1.5rem 0 0; text-align: center; color: var(--ak-leise); }

@media (max-width: 900px) {
.anmeldung { padding-top: 1.25rem; }
.anmeldung__buehne { grid-template-columns: minmax(0, 1fr); }
.anmeldung__bild { min-height: 0; padding: 2rem 1.5rem; }
.anmeldung__titel { margin-bottom: 1rem; font-size: 1.45rem; }
.anmeldung__vorteile { display: none; }
.anmeldung__karte { padding: 2rem 1.5rem; }
}

@media (max-width: 560px) {
.anmeldung .form-row { grid-template-columns: minmax(0, 1fr); }
}

.einleitung + .ak-abschnitt { padding-top: calc(4rem + var(--keil, 48px)); }

:root,
:root[data-theme="light"],
:root[data-theme="dark"] {
    --theme-input-focus-border: var(--primary, #c5023c);
    accent-color: var(--primary, #c5023c);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary, #c5023c);
    box-shadow: 0 0 0 3px rgba(197, 2, 60, 0.18);
}

:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible,
:root[data-theme="dark"] .btn:focus-visible,
:root[data-theme="dark"] input:focus-visible {
    outline-color: var(--primary, #c5023c);
    box-shadow: 0 0 0 4px rgba(197, 2, 60, 0.35);
}

.ak-schalter input[type="checkbox"],
.form-checkbox input[type="checkbox"],
.cookie-modal .cookie-modal__toggle input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: none;
    width: 44px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background-color: #dee2e6;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ak-schalter input[type="checkbox"]::before,
.form-checkbox input[type="checkbox"]::before,
.cookie-modal .cookie-modal__toggle input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.ak-schalter input[type="checkbox"]:checked,
.form-checkbox input[type="checkbox"]:checked,
.cookie-modal .cookie-modal__toggle input[type="checkbox"]:checked {
    background-color: var(--primary, #c5023c);
}

.ak-schalter input[type="checkbox"]:checked::before,
.form-checkbox input[type="checkbox"]:checked::before,
.cookie-modal .cookie-modal__toggle input[type="checkbox"]:checked::before {
    transform: translateX(20px);
}

.ak-schalter input[type="checkbox"]:focus-visible,
.form-checkbox input[type="checkbox"]:focus-visible,
.cookie-modal .cookie-modal__toggle input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary, #c5023c);
    outline-offset: 2px;
    box-shadow: none;
}

.ak-schalter input[type="checkbox"]:disabled,
.form-checkbox input[type="checkbox"]:disabled,
.cookie-modal .cookie-modal__toggle input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

:root[data-theme="dark"] .ak-schalter input[type="checkbox"]:not(:checked),
:root[data-theme="dark"] .form-checkbox input[type="checkbox"]:not(:checked),
:root[data-theme="dark"] .cookie-modal .cookie-modal__toggle input[type="checkbox"]:not(:checked) {
    background-color: #3f3f46;
}

.anmeldung .form-checkbox { display: flex; align-items: center; gap: 0.75rem; }

.anmeldung .form-checkbox label { margin: 0; font-weight: 400; }

.cookie-modal .cookie-modal__toggle { align-items: center; }

.ak-faq { max-width: 52rem; }

.ak-faq__liste { display: grid; gap: 0.75rem; margin-top: 1.5rem; }

.ak-faq__eintrag { background: var(--ak-flaeche); border: 1px solid var(--ak-rand); border-radius: var(--ak-radius); padding: 0 1.25rem; }

.ak-faq__eintrag summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }

.ak-faq__eintrag summary::-webkit-details-marker { display: none; }

.ak-faq__eintrag summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--ak-akzent); transition: transform 0.2s ease; }

.ak-faq__eintrag[open] summary::after { transform: rotate(45deg); }

.ak-faq__eintrag summary h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }

.ak-faq__eintrag p { margin: 0 0 1.1rem; color: var(--ak-leise); line-height: 1.65; }

.menuespalte__formular { margin: 0; }

.menuespalte__knopf { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: start; }
