@font-face { font-family: 'Outfit'; src: url('/fonts/outfit.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0c0517; --panel: rgba(30, 14, 52, .62); --panel2: rgba(44, 22, 74, .7); --line: rgba(255, 120, 220, .14);
  --text: #f7f1ff; --muted: #c2b0dc; --dim: #8a76a8; --sun1: #ffe27a; --sun2: #ff8a3d; --sun3: #ff2e8a; --neon: #ff46be; --cyan: #5ee7ff;
  --ok: #6fffb0; --warn: #ffcf5e; --bad: #ff6b7d; --radius: 18px; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif; background: radial-gradient(70% 50% at 50% 0%, rgba(255, 70, 190, .16), transparent 70%), var(--bg); background-attachment: fixed; color: var(--text); line-height: 1.55; min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
nav.top { position: sticky; top: 0; z-index: 50; background: rgba(12, 5, 23, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 700; letter-spacing: .3em; font-size: .95rem; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.links { display: flex; gap: 1.3rem; align-items: center; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.links a { text-decoration: none; }
.links a:hover, .links a.on { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.35rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: var(--text); transition: transform 150ms, box-shadow 150ms; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--sun1), var(--sun2) 45%, var(--sun3)); color: #230816; box-shadow: 0 8px 30px rgba(255, 70, 130, .3); }
.btn.small { padding: .45rem .9rem; font-size: .88rem; }
.btn.danger { border-color: rgba(255, 107, 125, .4); color: #ffc2ca; }
.btn[disabled] { opacity: .45; pointer-events: none; }
main { padding: 48px 0 80px; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 .4rem; letter-spacing: -.02em; }
h2 { font-size: 1.3rem; margin: 0 0 1rem; }
.sub { color: var(--muted); margin: 0 0 2rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(10px); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stack { display: flex; flex-direction: column; gap: 1.2rem; }
.auth { max-width: 26rem; margin: 3rem auto 0; }
.auth h1 { text-align: center; }
.auth .sub { text-align: center; }
label { display: block; font-size: .9rem; color: var(--muted); margin: 0 0 .35rem; }
input:not([type]), input[type=text], input[type=password], input[type=email], input[type=number], input[type=date], input[type=url], select, textarea { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .3); color: var(--text); font: inherit; outline: none; margin-bottom: 1rem; }
input:focus, select:focus, textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(255, 70, 190, .2); }
form .btn { width: 100%; margin-top: .4rem; }
.check { display: flex; gap: .6rem; align-items: center; color: var(--muted); margin-bottom: 1rem; }
.alt { text-align: center; color: var(--dim); margin-top: 1.2rem; font-size: .95rem; }
.msg { padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; font-size: .95rem; }
.msg.err { background: rgba(255, 107, 125, .12); border: 1px solid rgba(255, 107, 125, .35); color: #ffd2d8; }
.msg.ok { background: rgba(111, 255, 176, .1); border: 1px solid rgba(111, 255, 176, .3); color: #d4ffe6; }
.msg.info { background: rgba(94, 231, 255, .08); border: 1px solid rgba(94, 231, 255, .28); color: #d6f8ff; }
.pill { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: var(--muted); }
.pill.ok { background: rgba(111, 255, 176, .14); color: var(--ok); }
.pill.warn { background: rgba(255, 207, 94, .14); color: var(--warn); }
.pill.bad { background: rgba(255, 107, 125, .14); color: var(--bad); }
.pill.admin { background: rgba(255, 70, 190, .16); color: #ffb3e6; }
.kpi b { display: block; font-size: 2rem; line-height: 1.1; background: linear-gradient(90deg, var(--sun1), var(--sun3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi span { color: var(--muted); font-size: .9rem; }
.bars { display: flex; flex-direction: column; gap: .55rem; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.bar .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .t small { color: var(--dim); margin-left: .4rem; }
.bar .track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: -.3rem; }
.bar .track i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--sun2), var(--sun3)); }
.bar .v { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.days { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.days div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.days i { width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sun2), var(--sun3)); min-height: 3px; }
.days small { color: var(--dim); font-size: .72rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { text-align: left; color: var(--dim); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
td { padding: .7rem .6rem; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
td form { display: inline; }
td form .btn { width: auto; margin: 0 .25rem 0 0; }
.rank { width: 2.4rem; font-weight: 800; color: var(--neon); }
.avatar { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; letter-spacing: 0; line-height: 1; color: #230816; flex: none; background: linear-gradient(135deg, var(--sun1), var(--sun3)); margin-right: .6rem; vertical-align: middle; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 1.6rem; letter-spacing: .25em; padding: .6rem 1rem; border-radius: 12px; background: rgba(0, 0, 0, .35); display: inline-block; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--dim); font-size: .9rem; }
@media (max-width: 800px) { .grid2, .grid3 { grid-template-columns: 1fr; } .links { gap: .8rem; font-size: .9rem; } }
h1 .avatar { width: 3rem; height: 3rem; font-size: 1.1rem; margin-right: .8rem; vertical-align: .15em; }


/* Rechtliches */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.legal .lead { font-size: 1.1rem; color: var(--text); }
.legal li { margin: .35rem 0; }
footer a { color: inherit; }

select option { background: #1a1024; color: var(--text); }
input[type=date] { color-scheme: dark; }
