@font-face { font-family: "Heldane Text"; src: url("/fonts/HeldaneTextRegular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Heldane Text"; src: url("/fonts/HeldaneTextMedium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/fonts/Syne-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --onyx-1: #1b1b1a; --onyx-2: #101010; --onyx-3: #060605;
  --white-1: #f7f7f6; --white-2: #f1f1ef; --white-3: #e9e9e7;
  --silver-1: #83898a; --silver-2: #d7d8d9; --silver-3: #545556; --silver-4: #b9bbbc; --silver-5: #98999a; --silver-hi: #f7f8f8;
  --ink: #eeeeec; --muted: #939393; --line: rgba(205,205,205,.22); --line-soft: rgba(255,255,255,.07);
  --serif: "Heldane Text", Georgia, "Times New Roman", serif;
  --sans: "Syne", "Helvetica Neue", Arial, sans-serif;
  --chrome: linear-gradient(115deg, var(--silver-1) 0%, var(--silver-hi) 18%, var(--silver-5) 36%, var(--silver-2) 52%, var(--silver-3) 70%, var(--silver-4) 86%, var(--silver-1) 100%);
  --ok: #d7d8d9; --err: #e7a19a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--onyx-3); color: var(--ink);
  font: 400 17px/1.55 var(--serif); font-style: normal; -webkit-font-smoothing: antialiased;
}
em, i { font-style: normal; }
a { color: var(--silver-2); text-underline-offset: 3px; }
.label, button, .btn, .chip, label.field > span {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0;
  font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums;
}
.label { font-size: 12px; color: var(--muted); margin: 0; }
.num { font-family: var(--sans); font-weight: 600; font-feature-settings: "lnum" 1, "tnum" 1; }

button, .btn {
  -webkit-appearance: none; appearance: none; cursor: pointer; font-size: 13px; line-height: 1.2;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0;
  padding: 15px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; transition: border-color .2s, color .2s, background .2s, opacity .2s; min-height: 48px;
}
button:hover, .btn:hover { border-color: var(--silver-4); color: var(--silver-2); }
button:disabled { opacity: .4; cursor: default; }
.btn.primary { background: var(--chrome); background-size: 180% 100%; color: var(--onyx-3); border-color: transparent; }
.btn.primary:hover { color: var(--onyx-3); background-position: 100% 0; }
.btn.ghost { border-color: transparent; color: var(--muted); padding: 10px 12px; min-height: 40px; }
.btn.ghost:hover { color: var(--ink); }
.btn.small { padding: 9px 12px; min-height: 36px; font-size: 11px; }

input, select {
  font: 400 17px/1.3 var(--serif); color: var(--ink); background: transparent; width: 100%;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; outline: none;
}
input:focus, select:focus { border-bottom-color: var(--silver-4); }
input::placeholder { color: #6d6d6c; }
select option { background: var(--onyx-2); }
label.field { display: grid; gap: 4px; }
label.field > span { font-size: 11px; color: var(--muted); }

.logo { width: 132px; height: auto; display: block; }
.err { color: var(--err); font-size: 15px; min-height: 1.2em; margin: 0; }

/* Anmeldung Verwaltung */
body.login { display: grid; place-items: center; padding: 24px 16px; }
.card { width: min(360px, 100%); display: grid; gap: 18px; padding: 32px 26px; border: 1px solid var(--line-soft); background: var(--onyx-2); }
.card .logo { margin: 0 auto 4px; }
.card .label { text-align: center; }

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