/* public/css/tokens.css
 * Kevin / Nautilus Design-Tokens.
 * Globale CSS-Variablen fuer Farben, Radii und Touch-Targets.
 * Wird in layout.ejs + den Landing-Pages vor dem Haupt-CSS eingebunden.
 *
 * Tag 1: nur NEUE Tokens, noch keine Umfaerbung der Bestands-UI.
 * Der Farbtausch im Cockpit passiert an Tag 5 (bewusst separat).
 */
:root {
  /* Kevin-Brand */
  --kevin-warm:    #F59E0B;
  --kevin-bg:      #FFFBEB;
  --kevin-success: #22C55E;
  --kevin-danger:  #EF4444;
  --kevin-text:    #1C1917;
  --kevin-muted:   #78716C;

  /* Nautilus-Accents (bestehende Pflicht-Blautoene nicht ueberschreiben) */
  --nautilus-accent: #005A70;
  --nautilus-slate:  #1E293B;
  --nautilus-teal:   #0D9488;

  /* Touch-Targets (iOS/Android Guideline: 44x44) */
  --touch-min:     44px;
  --touch-padding: 12px 16px;

  /* Fontsize-Basis: 16px verhindert iOS Auto-Zoom auf Inputs */
  --font-base: 16px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* === Block Ω2 — Beta-Banner + Legal-Warn (additiv, nicht ersetzen) ==== */
.beta-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .5rem 1rem;
  background: var(--warn-bg, #fff7e0);
  color: var(--warn-fg, #5a4600);
  border-bottom: 1px solid var(--warn-border, #e0c270);
  font-size: .9rem;
}
.beta-banner.hidden { display: none; }
.beta-badge {
  background: var(--warn-fg, #5a4600);
  color: #fff;
  padding: .1rem .5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
}
.beta-text { flex: 1; }
.beta-close {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 0 .25rem;
}
.beta-close:focus-visible {
  outline: 2px solid var(--warn-fg, #5a4600);
  outline-offset: 2px;
}

.legal-warn {
  border-left: 4px solid var(--warn-fg, #5a4600);
  background: var(--warn-bg, #fff7e0);
  padding: .75rem 1rem;
  margin: 0 0 1.5rem;
  border-radius: 4px;
  font-size: .95rem;
  line-height: 1.45;
}
.legal-warn strong { display: inline-block; margin-bottom: .15rem; }

/* === Block T9CC-3 — Testbetrieb-Banner fuer t9cc.cloud (additiv) ====== */
/* Visuell klar anders als das Kevin-Beta-Banner: dunkler Balken mit
   T9-Cyan-Akzent, damit Tester sofort sehen, dass sie auf t9cc.cloud sind. */
.t9cc-testbetrieb-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .55rem 1rem;
  background: #0f1b24;
  color: #e6f4fb;
  border-bottom: 2px solid #00c0d8;
  font-size: .9rem;
  line-height: 1.35;
}
.t9cc-testbetrieb-banner.hidden { display: none; }
.t9cc-testbetrieb-badge {
  background: #00c0d8;
  color: #0f1b24;
  padding: .15rem .55rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  flex-shrink: 0;
}
.t9cc-testbetrieb-text { flex: 1; }
.t9cc-testbetrieb-close {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 0 .25rem;
}
.t9cc-testbetrieb-close:focus-visible {
  outline: 2px solid #00c0d8;
  outline-offset: 2px;
}

.legal-testbetrieb-note {
  border-left: 4px solid #00c0d8;
  background: #eaf8fb;
  color: #083642;
  padding: .75rem 1rem;
  margin: 1rem 0 1.5rem;
  border-radius: 4px;
  font-size: .92rem;
  line-height: 1.5;
}
.legal-testbetrieb-note strong { display: inline-block; margin-bottom: .2rem; }
.legal-testbetrieb-note ul { margin: .35rem 0 0 1.15rem; }
.legal-testbetrieb-note li { margin-bottom: .15rem; }

.consent-beta-note {
  background: var(--warn-bg, #fff7e0);
  border: 1px solid var(--warn-border, #e0c270);
  color: var(--warn-fg, #5a4600);
  padding: .6rem .75rem;
  border-radius: 6px;
  margin: .75rem 0;
  font-size: .9rem;
  line-height: 1.4;
}

/* === Block ο — Demo-Banner (additiv) ================================ */
.demo-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .55rem 1rem;
  background: repeating-linear-gradient(
    45deg,
    #fff4b8,
    #fff4b8 10px,
    #fff0a0 10px,
    #fff0a0 20px
  );
  color: #5a4400;
  border-top: 2px solid #e6c200;
  border-bottom: 2px solid #e6c200;
  font-size: .9rem;
  line-height: 1.35;
}
.demo-banner__badge {
  background: #5a4400;
  color: #fff4b8;
  padding: .15rem .55rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  flex: 0 0 auto;
}
.demo-banner__text { flex: 1; }
@media (max-width: 480px) {
  .demo-banner { font-size: .82rem; padding: .45rem .75rem; }
}
