/* Zentral INT Portal · Tokens aus der Bitxafe-Website (site.css v6), Logo-Gold aus bitxafe-logo. */
@font-face { font-family: Geist; src: url('./geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('./geist-mono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --paper: #fff;
  --paper-2: #f6f6f5;
  --paper-3: #ededeb;
  --ink: #0a0a0b;
  --ink-2: #2b2b2e;
  --muted: #57575c;
  --line: rgb(10 10 11 / 10%);
  --line-2: rgb(10 10 11 / 20%);
  --night: #0d0d0e;
  --night-2: #18181a;
  --night-line: rgb(255 255 255 / 11%);
  --on-night: #f4f4f5;
  --on-night-2: #a7a7ad;
  --cobalt: #2f5bff;
  --cobalt-ink: #2449d8;
  --gold: #c8a45a;
  --gold-hell: #b08d3f;
  --ok: #1f7a4d;
  --warn: #8a5a00;
  --danger: #b4232f;
  --font: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(20px, 4.2vw, 64px);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; accent-color: var(--ink); caret-color: var(--cobalt); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--paper); color: var(--ink-2); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-feature-settings: 'kern', 'calt'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: .9em; }

.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.unterzeile { color: var(--muted); font-size: 1rem; }
h1 { color: var(--ink); font-weight: 520; letter-spacing: -.025em; line-height: 1.1; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); text-wrap: balance; }

/* ---------- Schaltflächen ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 1rem; letter-spacing: -.005em; transition: background-color .2s var(--ease-out), transform .16s var(--ease-out); }
.knopf:hover { background: var(--ink-2); }
.knopf:active { transform: scale(.985); }
.knopf .pfeil { transition: transform .25s var(--ease-out); }
.knopf:hover .pfeil { transform: translateX(3px); }
.knopf-leise { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: .875rem; font-weight: 500; color: var(--ink); transition: border-color .2s, background-color .2s; }
.knopf-leise:hover { border-color: var(--ink); background: var(--paper-2); }

/* ---------- Anmeldung ---------- */
.anmelden { display: grid; min-height: 100vh; min-height: 100dvh; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.buehne { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 4vw, 56px); background: radial-gradient(120% 80% at 0% 100%, rgb(47 91 255 / 9%), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night) 55%); color: var(--on-night); overflow: hidden; }
.buehne::after { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: .55; }
.buehne-logo { width: min(240px, 70%); height: auto; }
.buehne-mitte { max-width: 22ch; }
.label-nacht { color: var(--gold); margin-bottom: 18px; }
.buehne-titel { font-size: clamp(2rem, 1.2rem + 2vw, 3.25rem); font-weight: 480; line-height: 1.08; letter-spacing: -.03em; color: var(--on-night); hyphens: manual; }
.buehne-fuss { font-size: .8125rem; color: var(--on-night-2); letter-spacing: .02em; }

.formular-seite { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 96px) var(--gutter); background: var(--paper); }
.formular-box { width: 100%; max-width: 400px; }
.formular-box h1 { margin-bottom: 10px; }
.formular-box .unterzeile { margin-bottom: 36px; }
.mobil-logo, .mobil-label { display: none; }
.formular { display: grid; gap: 18px; }
.formular .knopf { margin-top: 10px; }
.feld { display: grid; gap: 8px; }
.feld span { font-size: .875rem; font-weight: 500; color: var(--ink); }
.feld input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--paper); font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.feld input:hover { border-color: rgb(10 10 11 / 35%); }
.feld input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(10 10 11 / 6%); }
.meldung { margin-bottom: 22px; padding: 12px 16px; border-radius: var(--r-md); font-size: .9375rem; line-height: 1.45; }
.meldung.fehler { background: rgb(180 35 47 / 7%); color: var(--danger); border: 1px solid rgb(180 35 47 / 18%); }
.meldung.info { background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); }
.klein { margin-top: 28px; font-size: .8125rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 899px) {
  .anmelden { grid-template-columns: 1fr; }
  .buehne { display: none; }
  .formular-seite { align-items: flex-start; padding-top: clamp(40px, 12vh, 96px); }
  .mobil-logo { display: block; width: 168px; height: auto; margin-bottom: 44px; }
  .mobil-label { display: block; margin-bottom: 12px; color: var(--gold-hell); }
}

/* ---------- Übersicht ---------- */
.seite-uebersicht { background: var(--paper-2); display: flex; flex-direction: column; }
.kopf { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.kopf-logo img { width: 168px; height: auto; }
.kopf-rechts { display: flex; align-items: center; gap: 16px; }
.kopf-name { font-size: .9375rem; color: var(--muted); }
.uebersicht { flex: 1; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.kopfbereich { margin-bottom: clamp(32px, 4vw, 56px); }
.kopfbereich .label { color: var(--gold-hell); margin-bottom: 14px; }
.kopfbereich h1 { margin-bottom: 10px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.kachel { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color .25s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out); }
.kachel:hover { border-color: var(--line-2); box-shadow: 0 1px 2px rgb(10 10 11 / 4%), 0 12px 32px -12px rgb(10 10 11 / 14%); transform: translateY(-2px); }
.kachel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--paper-2); font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-aktiv .punkt { background: var(--ok); box-shadow: 0 0 0 3px rgb(31 122 77 / 14%); }
.status-in-arbeit .punkt { background: var(--warn); box-shadow: 0 0 0 3px rgb(138 90 0 / 14%); }
.status-pausiert .punkt { background: #9a9aa0; }
.erreich { font-size: .75rem; color: var(--muted); }
.erreich.nein { color: var(--danger); }
.kachel h2 { color: var(--ink); font-size: 1.5rem; font-weight: 520; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.kunde { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.beschreibung { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 22px; }
.fakten { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.fakten div { display: flex; justify-content: space-between; gap: 16px; font-size: .8125rem; }
.fakten dt { color: var(--muted); }
.fakten dd { font-family: var(--mono); color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.oeffnen { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.oeffnen .pfeil { transition: transform .25s var(--ease-out); }
.kachel:hover .oeffnen .pfeil { transform: translateX(3px); }
.leer { padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); background: var(--paper); }
.fuss { padding-block: 28px; font-size: .8125rem; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 599px) {
  .kopf-name { display: none; }
  .kopf-logo img { width: 140px; }
  .kachel { padding: 22px; }
}

/* ---------- Hinweis / Abmelden ---------- */
.seite-karte { background: var(--paper-2); }
.karte-seite { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 32px var(--gutter); }
.karte { width: 100%; max-width: 440px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.karte-logo { width: 150px; height: auto; margin-bottom: 40px; }
.karte h1 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin-bottom: 12px; }
.karte .unterzeile { margin-bottom: 28px; }
.link-zurueck { display: block; margin-top: 18px; text-align: center; font-size: .9375rem; color: var(--muted); }
.link-zurueck:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .kachel:hover { transform: none; }
}
