@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ax-graphite: #22272E;
    --ax-graphite-2: #2C333C;
    --ax-graphite-3: #39414C;
    --ax-gold: #EEC748;
    --ax-gold-hover: #F2D263;
    --ax-gold-deep: #8A6A00;
    --ax-gold-soft: #FBF3D6;
    --ax-paper: #F5F6F8;
    --ax-surface: #FFFFFF;
    --ax-line: #E3E6EB;
    --ax-line-strong: #CDD2D9;
    --ax-ink: #1D2229;
    --ax-ink-2: #3F4650;
    --ax-muted: #6B7280;
    --ax-ok: #1E8E5E;
    --ax-ok-soft: #E4F5EC;
    --ax-warn: #B7791F;
    --ax-warn-soft: #FDF1DC;
    --ax-bad: #C9373A;
    --ax-bad-soft: #FBE7E7;
    --ax-info: #2A64C9;
    --ax-info-soft: #E5EEFB;
    --ax-r-sm: 8px;
    --ax-r: 12px;
    --ax-r-lg: 18px;
    --ax-shadow-pop: 0 18px 40px rgba(20, 24, 30, .16);

    --cp-primary: var(--ax-graphite);
    --cp-primary-dark: var(--ax-graphite);
    --cp-accent: var(--ax-gold);
    --cp-bg: var(--ax-paper);
    --cp-card: var(--ax-surface);
    --cp-border: var(--ax-line);
    --cp-text: var(--ax-ink);
    --cp-muted: var(--ax-muted);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    background: var(--ax-paper);
    color: var(--ax-ink);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ax-ink); text-decoration: none; }
a:hover { color: var(--ax-gold-deep); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* Rahmen */
.cp-shell { display: flex; min-height: 100vh; }

.cp-sidebar {
    width: 248px; flex: none; background: var(--ax-graphite); color: #fff;
    display: flex; flex-direction: column; padding: 22px 16px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.cp-brand { display: block; padding: 4px 8px 22px; }
.cp-brand img { width: 168px; height: auto; display: block; }

.cp-nav { display: grid; gap: 2px; margin-top: 6px; }
.cp-nav a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
    color: rgba(255, 255, 255, .72); font-weight: 600; font-size: 14px; position: relative;
    transition: background .15s ease, color .15s ease;
}
.cp-nav a svg { width: 19px; height: 19px; flex: none; }
.cp-nav a:hover { background: var(--ax-graphite-2); color: #fff; }
.cp-nav a.cp-nav-active { background: var(--ax-graphite-2); color: #fff; }
.cp-nav a.cp-nav-active::before {
    content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px;
    background: var(--ax-gold); border-radius: 0 4px 4px 0;
}
.cp-nav a.cp-nav-active svg { color: var(--ax-gold); }

.cp-sidebar-foot {
    margin-top: auto; padding: 14px 10px 0; border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px; color: rgba(255, 255, 255, .55); line-height: 1.5;
}
.cp-sidebar-foot b { display: block; color: rgba(255, 255, 255, .85); font-weight: 700; }

.cp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.cp-topbar {
    height: 68px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 30px;
    background: var(--ax-surface); border-bottom: 1px solid var(--ax-line);
    position: sticky; top: 0; z-index: 20;
}
.cp-topbar-title { font-size: 13px; font-weight: 700; color: var(--ax-muted); }
.cp-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.cp-topbar .cp-menu-toggle { display: none; }
.cp-side-logout { display: none; margin-top: 12px; }
.cp-side-logout .ax-btn { width: 100%; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
.cp-side-logout .ax-btn:hover { background: var(--ax-graphite-2); color: #fff; }

.cp-content { padding: 30px; flex: 1; width: 100%; max-width: 1360px; }

.cp-support-bar {
    background: var(--ax-bad); color: #fff; padding: 9px 18px; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.cp-support-bar a { margin-left: auto; color: #fff; text-decoration: underline; }

/* Kunde wechseln */
.cp-switch { position: relative; }
.cp-switch-btn {
    display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px;
    border: 1px solid var(--ax-line); border-radius: 12px; background: #fff; font-weight: 700;
    cursor: pointer; transition: border-color .15s ease;
}
.cp-switch-btn:hover { border-color: var(--ax-line-strong); }
.cp-switch-btn[disabled] { cursor: default; }
.cp-switch-btn .cp-switch-lbl { text-align: left; line-height: 1.15; max-width: 220px; }
.cp-switch-btn .cp-switch-lbl small { display: block; font-size: 11px; color: var(--ax-muted); font-weight: 600; }
.cp-switch-btn .cp-switch-lbl span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-switch-btn svg { width: 16px; height: 16px; color: var(--ax-muted); transition: transform .15s ease; }
.cp-switch.open .cp-switch-btn svg { transform: rotate(180deg); }

.cp-tenant-mark {
    width: 30px; height: 30px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800;
    color: var(--ax-graphite); background: var(--ax-gold-soft); border: 2px solid var(--ax-gold); border-radius: 6px;
}

.cp-switch-menu {
    position: absolute; right: 0; top: 52px; width: 310px; background: #fff; border: 1px solid var(--ax-line);
    border-radius: 14px; box-shadow: var(--ax-shadow-pop); padding: 8px; z-index: 40; display: none;
}
.cp-switch.open .cp-switch-menu { display: block; }
.cp-switch-menu .cp-switch-head { font-size: 12px; color: var(--ax-muted); font-weight: 700; padding: 6px 8px 8px; }
.cp-switch-menu form { margin: 0; }
.cp-switch-menu button {
    width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px;
    border: 0; background: none; font-weight: 600; text-align: left; cursor: pointer;
}
.cp-switch-menu button:hover { background: var(--ax-paper); }
.cp-switch-menu button.cur { background: var(--ax-gold-soft); cursor: default; }
.cp-switch-menu button .cp-tick { margin-left: auto; width: 18px; height: 18px; color: var(--ax-gold-deep); }
.cp-switch-menu button small { display: block; font-size: 11px; color: var(--ax-muted); font-weight: 600; }

.cp-user { display: flex; align-items: center; gap: 10px; padding-left: 12px; border-left: 1px solid var(--ax-line); }
.cp-avatar {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--ax-graphite); color: var(--ax-gold); font-weight: 800; font-size: 13px;
}
.cp-user-name { font-weight: 700; font-size: 13.5px; line-height: 1.2; }
.cp-user-name small { display: block; color: var(--ax-muted); font-weight: 600; font-size: 12px; }
.cp-user form { margin: 0; }

/* Knöpfe */
.ax-btn, .cp-btn, .cp-logout {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
    border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer;
    text-decoration: none; white-space: nowrap; user-select: none;
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.ax-btn svg { width: 17px; height: 17px; flex: none; }
.ax-btn:active:not(:disabled) { transform: translateY(1px); }
.ax-btn:disabled { opacity: .5; cursor: not-allowed; }

.ax-btn-primary, .cp-btn {
    background: var(--ax-gold); color: var(--ax-graphite);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
}
.ax-btn-primary:hover:not(:disabled), .cp-btn:hover { background: var(--ax-gold-hover); color: var(--ax-graphite); box-shadow: 0 6px 16px rgba(238, 199, 72, .35); }

.ax-btn-dark { background: var(--ax-graphite); color: #fff; }
.ax-btn-dark:hover:not(:disabled) { background: var(--ax-graphite-3); color: #fff; }

.ax-btn-light, .cp-logout { background: #fff; color: var(--ax-ink); border-color: var(--ax-line); }
.ax-btn-light:hover:not(:disabled), .cp-logout:hover { border-color: var(--ax-line-strong); background: #FBFBFC; color: var(--ax-ink); }

.ax-btn-danger { background: #fff; color: var(--ax-bad); border-color: #F0C5C6; }
.ax-btn-danger:hover:not(:disabled) { background: var(--ax-bad-soft); color: var(--ax-bad); }

.ax-btn-ghost { background: transparent; color: var(--ax-ink-2); }
.ax-btn-ghost:hover:not(:disabled) { background: rgba(0, 0, 0, .04); color: var(--ax-ink); }

.ax-btn-sm, .cp-logout { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.ax-btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.ax-btn-block { width: 100%; }

.ax-icon-btn {
    width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--ax-line); background: #fff;
    display: inline-grid; place-items: center; color: #4B5563; cursor: pointer;
    transition: border-color .15s ease, color .15s ease, transform .08s ease;
}
.ax-icon-btn svg { width: 16px; height: 16px; }
.ax-icon-btn:hover { border-color: var(--ax-line-strong); color: var(--ax-ink); }
.ax-icon-btn:active { transform: translateY(1px); }

/* Kopf einer Seite */
.ax-page-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.ax-page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ax-page-head p { color: var(--ax-muted); margin-top: 4px; font-weight: 500; }
.ax-page-head .ax-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.ax-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--ax-muted); margin-bottom: 10px; }
.ax-back svg { width: 15px; height: 15px; }

/* Flächen */
.ax-panel, .cp-card { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: var(--ax-r); }
.cp-card { padding: 20px; }
.ax-panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ax-line); flex-wrap: wrap; }
.ax-panel-head h2, .ax-panel-head h3 { font-size: 16px; font-weight: 800; }
.ax-panel-head .ax-actions { margin-left: auto; display: flex; gap: 8px; }
.ax-panel-body { padding: 18px 20px; }
.ax-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ax-stack { display: grid; gap: 18px; }

/* Begrüßung */
.ax-hello { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin-bottom: 18px; }
.ax-hello-card {
    background: var(--ax-graphite); color: #fff; border-radius: var(--ax-r-lg); padding: 26px 28px;
    position: relative; overflow: hidden; min-height: 210px;
}
.ax-hello-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; position: relative; }
.ax-hello-card p { color: rgba(255, 255, 255, .74); margin-top: 8px; max-width: 46ch; line-height: 1.55; font-weight: 500; position: relative; }
.ax-hello-card .ax-quick { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; position: relative; }
.ax-hello-card .ax-btn-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.ax-hello-card .ax-btn-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.ax-motif { position: absolute; border: 10px solid var(--ax-gold); pointer-events: none; }
.ax-motif-a { right: -26px; top: -26px; width: 150px; height: 150px; opacity: .9; }
.ax-motif-b { right: 60px; top: 70px; width: 70px; height: 70px; border-width: 6px; opacity: .35; }

.ax-stats { display: grid; gap: 12px; align-content: stretch; }
.ax-stat {
    background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-r); padding: 16px 18px;
    display: flex; align-items: center; gap: 14px;
}
.ax-stat-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ax-stat-ico svg { width: 22px; height: 22px; }
.ax-stat b { font-size: 26px; font-weight: 800; display: block; line-height: 1.05; }
.ax-stat span { color: var(--ax-muted); font-weight: 600; font-size: 13px; }
.ax-stat .ax-btn { margin-left: auto; }
.ax-ico-gold { background: var(--ax-gold-soft); color: var(--ax-gold-deep); }
.ax-ico-info { background: var(--ax-info-soft); color: var(--ax-info); }
.ax-ico-ok { background: var(--ax-ok-soft); color: var(--ax-ok); }

/* Listen */
.ax-row { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--ax-line); color: var(--ax-ink); }
.ax-row:last-child { border-bottom: 0; }
a.ax-row:hover { background: #FCFCFD; color: var(--ax-ink); }
.ax-row .ax-t { font-weight: 700; }
.ax-row .ax-s { color: var(--ax-muted); font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.ax-row .ax-end { margin-left: auto; }

.ax-empty { padding: 28px 20px; text-align: center; color: var(--ax-muted); font-weight: 600; }
.ax-empty strong { display: block; color: var(--ax-ink); font-size: 15px; margin-bottom: 4px; }
.ax-empty .ax-btn { margin-top: 14px; }

/* Plaketten */
.ax-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.ax-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ax-pill-ok { background: var(--ax-ok-soft); color: var(--ax-ok); }
.ax-pill-warn { background: var(--ax-warn-soft); color: var(--ax-warn); }
.ax-pill-bad { background: var(--ax-bad-soft); color: var(--ax-bad); }
.ax-pill-info { background: var(--ax-info-soft); color: var(--ax-info); }
.ax-pill-mute { background: #EEF0F3; color: #5B6470; }
.ax-pill-gold { background: var(--ax-gold-soft); color: var(--ax-gold-deep); }

/* Werkzeugleiste und Chips */
.ax-toolbar { display: flex; gap: 10px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--ax-line); flex-wrap: wrap; }
.ax-search {
    flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
    border: 1px solid var(--ax-line); border-radius: 10px; background: var(--ax-paper);
}
.ax-search:focus-within { border-color: var(--ax-gold); box-shadow: 0 0 0 4px rgba(238, 199, 72, .25); background: #fff; }
.ax-search svg { width: 17px; height: 17px; color: var(--ax-muted); flex: none; }
.ax-search input { border: 0; background: transparent; outline: none; flex: 1; font-weight: 600; min-width: 0; }
.ax-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-chip {
    height: 34px; padding: 0 12px; border-radius: 20px; border: 1px solid var(--ax-line); background: #fff;
    font-weight: 700; font-size: 13px; color: var(--ax-ink); display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.ax-chip:hover { border-color: var(--ax-line-strong); color: var(--ax-ink); }
.ax-chip.on { background: var(--ax-graphite); color: #fff; border-color: var(--ax-graphite); }
.ax-chip .ax-n { font-size: 11px; background: rgba(0, 0, 0, .07); padding: 1px 6px; border-radius: 10px; }
.ax-chip.on .ax-n { background: rgba(255, 255, 255, .18); }

/* Tabellen */
.ax-table-wrap { overflow-x: auto; }
.ax-table { width: 100%; border-collapse: collapse; }
.ax-table th { text-align: left; font-size: 12px; color: var(--ax-muted); font-weight: 700; padding: 11px 20px; background: #FAFBFC; border-bottom: 1px solid var(--ax-line); white-space: nowrap; }
.ax-table td { padding: 13px 20px; border-bottom: 1px solid var(--ax-line); vertical-align: middle; }
.ax-table tr:last-child td { border-bottom: 0; }
.ax-table tbody tr:hover td { background: #FCFCFD; }
.ax-table .ax-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ax-ink-2); }
.ax-row-actions { display: flex; gap: 6px; justify-content: flex-end; }

.ax-dev { display: flex; align-items: center; gap: 12px; }
.ax-dev-ico {
    width: 38px; height: 38px; border-radius: 10px; background: var(--ax-paper); display: grid; place-items: center;
    color: var(--ax-ink); border: 1px solid var(--ax-line); flex: none;
}
.ax-dev-ico svg { width: 19px; height: 19px; }
.ax-dev b { display: block; font-weight: 700; }
.ax-dev small { color: var(--ax-muted); font-weight: 600; }
.ax-dev-ico.ax-gold { background: var(--ax-gold-soft); border-color: var(--ax-gold); }

/* Formulare */
.ax-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ax-span2 { grid-column: span 2; }
.ax-field label, .ax-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ax-ink-2); margin-bottom: 6px; }
.ax-input, .ax-select, .ax-textarea {
    width: 100%; height: 42px; border: 1px solid var(--ax-line); border-radius: 10px; padding: 0 12px;
    background: #fff; font-weight: 600; color: var(--ax-ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.ax-textarea { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.ax-input:focus, .ax-select:focus, .ax-textarea:focus { outline: none; border-color: var(--ax-gold); box-shadow: 0 0 0 4px rgba(238, 199, 72, .25); }
.ax-input::placeholder, .ax-textarea::placeholder { color: #9AA1AB; font-weight: 500; }
.ax-hint { font-size: 12px; color: var(--ax-muted); font-weight: 500; margin-top: 5px; }
.ax-check { display: flex; align-items: center; gap: 9px; font-weight: 600; cursor: pointer; }
.ax-check input { width: 18px; height: 18px; accent-color: var(--ax-graphite); }

.ax-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-seg button {
    height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--ax-line); background: #fff;
    font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.ax-seg button:hover { border-color: var(--ax-line-strong); }
.ax-seg button.on { border-color: var(--ax-gold); background: var(--ax-gold-soft); }

.ax-alert { border-radius: 10px; padding: 11px 14px; font-weight: 600; font-size: 13.5px; margin-bottom: 16px; border: 1px solid; }
.ax-alert-bad { background: var(--ax-bad-soft); color: #9F2A2D; border-color: #F0C5C6; }
.ax-alert-ok { background: var(--ax-ok-soft); color: #166C47; border-color: #B9E3CD; }
.ax-alert-info { background: var(--ax-gold-soft); color: #6E5500; border-color: #F1DD96; }

/* Detailwerte */
.ax-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px 22px; }
.ax-fact small { display: block; font-size: 12px; color: var(--ax-muted); font-weight: 700; margin-bottom: 3px; }
.ax-fact span { font-weight: 700; }

/* Fenster */
.ax-backdrop {
    position: fixed; inset: 0; background: rgba(24, 28, 34, .48); display: none; align-items: flex-start;
    justify-content: center; padding: 6vh 16px 16px; z-index: 100; overflow-y: auto;
}
.ax-backdrop.open { display: flex; }
.ax-modal {
    width: 100%; max-width: 660px; background: #fff; border-radius: 18px; box-shadow: 0 30px 70px rgba(10, 12, 16, .35);
    overflow: hidden; animation: axPop .16s ease-out;
}
.ax-modal-sm { max-width: 460px; }
@keyframes axPop { from { transform: translateY(8px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.ax-modal-head { padding: 20px 24px 12px; display: flex; align-items: flex-start; gap: 14px; }
.ax-modal-head h3 { font-size: 19px; font-weight: 800; }
.ax-modal-head p { color: var(--ax-muted); font-weight: 500; margin-top: 3px; }
.ax-modal-head .ax-icon-btn { margin-left: auto; }
.ax-modal-body { padding: 6px 24px 18px; }
.ax-modal-foot { display: flex; gap: 10px; padding: 16px 24px; background: var(--ax-paper); border-top: 1px solid var(--ax-line); flex-wrap: wrap; }
.ax-modal-foot .ax-spacer { margin-left: auto; }
.ax-audit-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ax-muted); font-weight: 600; margin-top: 14px; }
.ax-audit-note svg { width: 15px; height: 15px; }

/* Rückmeldung */
.ax-toast-host { position: fixed; right: 24px; bottom: 24px; display: grid; gap: 10px; z-index: 200; }
.ax-toast {
    background: var(--ax-graphite); color: #fff; border-radius: 12px; padding: 12px 16px 12px 12px; display: flex; gap: 12px;
    align-items: center; box-shadow: 0 14px 34px rgba(10, 12, 16, .3); font-weight: 600; max-width: 380px;
    animation: axToast .22s ease-out;
}
.ax-toast-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--ax-gold); color: var(--ax-graphite); display: grid; place-items: center; flex: none; }
.ax-toast-ico svg { width: 15px; height: 15px; }
.ax-toast.bad .ax-toast-ico { background: var(--ax-bad); color: #fff; }
@keyframes axToast { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Anmeldung */
.ax-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.ax-auth-art { background: var(--ax-graphite); color: #fff; padding: 56px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.ax-auth-art img { width: 220px; position: relative; }
.ax-auth-art h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-top: auto; max-width: 13ch; position: relative; }
.ax-auth-art p { color: rgba(255, 255, 255, .72); margin-top: 14px; max-width: 40ch; line-height: 1.6; font-weight: 500; position: relative; }
.ax-auth-art .ax-motif-a { right: -40px; top: 160px; width: 260px; height: 260px; border-width: 14px; opacity: .85; }
.ax-auth-art .ax-motif-b { right: 170px; top: 360px; width: 110px; height: 110px; border-width: 8px; opacity: .3; }
.ax-auth-form { display: grid; place-items: center; background: #fff; padding: 40px 24px; }
.ax-auth-box { width: 100%; max-width: 390px; }
.ax-auth-box h1 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.ax-auth-box > p { color: var(--ax-muted); margin: 6px 0 24px; font-weight: 500; line-height: 1.55; }
.ax-auth-box .ax-field { margin-bottom: 14px; }
.ax-auth-box .ax-btn-lg { width: 100%; margin-top: 6px; }
.ax-auth-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; font-size: 13px; flex-wrap: wrap; }
.ax-auth-meta a { color: var(--ax-gold-deep); }
.ax-auth-mobile-logo { display: none; }
.ax-code-input { letter-spacing: .5em; text-align: center; font-size: 22px; font-variant-numeric: tabular-nums; height: 54px; }

/* Öffentliche Support-Seite und Fehlerseiten */
.ax-plain { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.ax-plain-box { max-width: 520px; width: 100%; text-align: center; }
.ax-plain-box img { width: 180px; margin-bottom: 24px; }

/* Klein */
@media (max-width: 1100px) {
    .ax-hello { grid-template-columns: 1fr; }
    .ax-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .cp-sidebar {
        position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; transform: translateX(-100%);
        transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .3);
    }
    body.cp-nav-open .cp-sidebar { transform: none; }
    .cp-topbar .cp-menu-toggle { display: inline-grid; }
    .cp-topbar { padding: 0 14px; gap: 10px; }
    .cp-topbar-title { display: none; }
    .cp-user { border-left: 0; padding-left: 0; }
    .cp-user form { display: none; }
    .cp-side-logout { display: block; }
    .cp-content { padding: 18px 14px; }
    .cp-user-name { display: none; }
    .cp-switch-btn .cp-switch-lbl { max-width: 130px; }
    .ax-grid2, .ax-form-grid { grid-template-columns: 1fr; }
    .ax-span2 { grid-column: auto; }
    .ax-auth { grid-template-columns: 1fr; }
    .ax-auth-art { display: none; }
    .ax-auth-mobile-logo { display: block; width: 170px; margin-bottom: 26px; }
    .ax-stats { grid-template-columns: 1fr; }
    .ax-page-head .ax-actions { margin-left: 0; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }
.ax-pill-nodot::before { display: none; }

.ax-action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.ax-action-card {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--ax-line);
    border-radius: var(--ax-r); color: var(--ax-ink); transition: border-color .15s ease, box-shadow .15s ease, transform .08s ease;
}
.ax-action-card:hover { border-color: var(--ax-gold); box-shadow: 0 8px 22px rgba(20, 24, 30, .08); color: var(--ax-ink); }
.ax-action-card:active { transform: translateY(1px); }
.ax-action-card .ax-stat-ico { width: 48px; height: 48px; }
.ax-action-card b { display: block; font-size: 16px; font-weight: 800; }
.ax-action-card span.ax-sub { display: block; color: var(--ax-muted); font-weight: 600; font-size: 13px; margin-top: 2px; }
.ax-action-card .ax-go { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ax-paper); color: var(--ax-ink-2); flex: none; }
.ax-action-card .ax-go svg { width: 16px; height: 16px; }
.ax-action-card:hover .ax-go { background: var(--ax-gold); color: var(--ax-graphite); }
.ax-ico-mute { background: #EEF0F3; color: #4B5563; }
.ax-chip-sep { width: 1px; height: 22px; background: var(--ax-line); margin: 0 4px; align-self: center; }

.ax-drop {
    border: 2px dashed var(--ax-line-strong); border-radius: 14px; padding: 30px 16px; text-align: center; cursor: pointer;
    background: var(--ax-paper); display: grid; justify-items: center; gap: 4px; transition: border-color .15s ease, background .15s ease;
}
.ax-drop:hover, .ax-drop:focus, .ax-drop.over { border-color: var(--ax-gold); background: var(--ax-gold-soft); outline: none; }
.ax-drop-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--ax-gold); display: grid; place-items: center; color: var(--ax-graphite); margin-bottom: 6px; }
.ax-drop-ico svg { width: 22px; height: 22px; }
.ax-drop strong { font-size: 15px; font-weight: 800; }
.ax-drop span { color: var(--ax-muted); font-weight: 600; font-size: 13px; }
.ax-drop.over .ax-drop-ico { transform: scale(1.06); }
.ax-file-list { display: grid; gap: 6px; margin-top: 12px; max-height: 220px; overflow: auto; }
.ax-file-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--ax-line); border-radius: 10px; background: #fff; }
.ax-file-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--ax-gold-soft); color: var(--ax-gold-deep); display: grid; place-items: center; flex: none; }
.ax-file-ico svg { width: 16px; height: 16px; }
.ax-file-name { flex: 1; min-width: 0; font-weight: 700; word-break: break-all; }
.ax-file-size { color: var(--ax-muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.ax-files { display: grid; gap: 8px; margin-bottom: 14px; }
.ax-files .ax-file-row { padding: 10px 12px; }
.ax-files .ax-file-row a { color: var(--ax-ink); }
.ax-files .ax-file-row a:hover { color: var(--ax-gold-deep); }
.ax-file-meta { display: block; color: var(--ax-muted); font-weight: 600; font-size: 12px; margin-top: 2px; }
.ax-file-row form { margin: 0; }
