/* Zentrale – Heimspiel AI · Cinematic Design System (Coral #FF4A4B, Deep Teal #162E36, Abyss #0B1A1F, Paper #F6F4F0,
   Inter Tight + JetBrains Mono). Ergänzt plattform.css (dort der Grundstil). */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,700;0,900;1,900&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
  --akzent: #FF4A4B; --akzent-hell: #FFE7E7; --akzent-dunkel: #E03536;
  --hs-abyss: #0B1A1F; --hs-void: #05100F; --hs-teal: #162E36; --hs-teal-700: #1F3F4A;
  --hs-mist: #8FB8C4; --hs-amber: #F7B816; --hs-petrol: #3A788C; --hs-paper: #F6F4F0;
}
body { background: var(--hs-paper); color: var(--hs-teal); }
a { color: var(--akzent-dunkel); }
.btn--primaer { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.btn--primaer:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); filter: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(255, 74, 75, .22); }
.hs-box { background: var(--akzent); color: #fff; padding: 0 10px; font-style: italic; }

/* Anmeldung: links Abyss-Bühne mit Aussage, rechts ruhiges Formular auf Paper */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 46%) 1fr; padding: 0; place-items: stretch; background: var(--hs-paper); }
.login__buehne { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 48px 56px;
  background: var(--hs-abyss); color: var(--hs-paper); isolation: isolate; }
.login__buehne::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(143, 184, 196, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 196, .07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(160deg, #000 10%, transparent 75%); }
.login__buehne::after { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; left: -180px; bottom: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 75, .45), rgba(255, 74, 75, 0) 68%); }
.login__logo { height: 44px; width: auto; align-self: flex-start; }
.login__kicker { display: block; margin-bottom: 18px; font-family: var(--hs-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--hs-mist); }
.login__aussage h2 { margin: 0 0 22px; font-size: clamp(44px, 5.2vw, 76px); font-weight: 900; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; color: #fff; }
.login__aussage h2 .hs-box { display: inline-block; margin-top: 6px; padding: 0 14px 2px; }
.login__aussage p { margin: 0; max-width: 30em; font-size: 17px; line-height: 1.55; color: rgba(246, 244, 240, .72); }
.login__fuss { font-family: var(--hs-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(143, 184, 196, .7); }
.login__seite { position: relative; display: grid; place-items: center; padding: 48px 24px; }
.login__sprache { position: absolute; top: 24px; right: 28px; }
.login__sprache > * { margin: 0 !important; }
.login__box { width: 100%; max-width: 400px; background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 0; gap: 18px; }
.login__box h1 { margin: 0; font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; text-transform: none; }
.login__unter { margin: -10px 0 8px; color: var(--ink-2); }
.login__box input { background: #fff; height: 48px; }
.login__box .btn--primaer { height: 50px; margin-top: 4px; }
.login__box .fehler:empty { display: none; }
.login__box .fehler { margin: -4px 0; padding: 10px 12px; border-radius: 8px; background: var(--akzent-hell); color: var(--akzent-dunkel); font-size: 14px; }
.login__box .hinweis { margin: 0; }
.login__hilfe { color: var(--ink-3); line-height: 1.5; }
.login__oder { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; color: var(--ink-3); font-size: 12px; }
.login__oder::before, .login__oder::after { content: ""; flex: 1; height: 1px; background: var(--linie, rgba(22, 46, 54, .14)); }
#anbieter:empty { display: none !important; }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .login__buehne { padding: 28px 24px 30px; gap: 22px; }
  .login__buehne::after { width: 360px; height: 360px; left: auto; right: -160px; bottom: -220px; }
  .login__logo { height: 34px; }
  .login__kicker { margin-bottom: 10px; font-size: 11px; }
  .login__aussage h2 { font-size: 36px; margin-bottom: 0; }
  .login__aussage p, .login__fuss { display: none; }
  .login__seite { place-items: start center; padding: 56px 20px 48px; }
  .login__sprache { top: 16px; right: 20px; }
  .login__box h1 { font-size: 28px; }
}

/* Navigation: Abyss, Coral markiert die aktive Ansicht */
.nav { background: var(--hs-abyss); border-right: 0; color: var(--hs-paper); overflow: hidden; }
.nav::before { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -110px; border-radius: 50%; background: var(--akzent); opacity: .18; filter: blur(80px); pointer-events: none; }
.nav__kopf { padding: 6px 10px 26px; }
.nav__kopf img { height: 44px; width: auto; display: block; }
.nav__kopf small { display: block; margin-top: 12px; color: var(--hs-mist); font-family: var(--hs-mono); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.nav a { color: rgba(246, 244, 240, .74); position: relative; border-radius: 6px; font-weight: 500; }
.nav a:hover { background: rgba(246, 244, 240, .06); color: #fff; }
.nav a.an { background: rgba(246, 244, 240, .09); color: #fff; font-weight: 700; }
.nav a.an::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--akzent); }
.nav__fuss { position: relative; color: var(--hs-mist); }
.nav__fuss .btn { background: transparent; color: #fff; border-color: rgba(246, 244, 240, .28); }
.nav__fuss .btn:hover { border-color: #fff; }

/* Zustände als Kapitel-Chips */
.badge--an { background: var(--hs-teal); color: var(--hs-paper); }
.badge--an::before { background: var(--hs-mist); }
.status--gesperrt { background: var(--akzent-dunkel); color: #fff; }
.status--eingeladen { background: var(--hs-amber); color: var(--hs-abyss); }
.badge--warn { background: var(--hs-amber); color: var(--hs-abyss); }

/* Bausteine der Zentrale */
.qr { width: 240px; height: 240px; margin: 0 auto; padding: 0; background: #fff; border: 1px solid var(--linie); border-radius: 6px; }
.qr svg { width: 100%; height: 100%; display: block; }
.code-eingabe { font: 500 24px var(--hs-mono); letter-spacing: .3em; text-align: center; }
.linkfeld { display: flex; gap: 8px; }
.linkfeld input { font: 13px var(--hs-mono); }
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filter > * { width: auto; min-width: 180px; }
.kunden { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kunde { display: grid; gap: 10px; text-decoration: none; color: inherit; transition: border-color .12s var(--hs-ease), transform .12s var(--hs-ease); }
.kunde:hover { border-color: var(--akzent); transform: translateY(-2px); }
.kunde h2 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
.kunde small { color: var(--ink-2); font-family: var(--hs-mono); font-size: 12px; }
.mitglied { display: inline-flex; gap: 4px; align-items: center; margin: 2px 6px 2px 0; }
.fortschritt i { background: var(--akzent); }

.hinweis--ok { background: #E6F4EA; color: #1E5631; }
.hinweis--warn { background: #FFF4D6; color: #7A5A00; }

.funktionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 20px; }
.funktionen .check { align-items: flex-start; line-height: 1.35; }
