@import url('./movement-tokens.css');

/* ==========================================================================
   MOVEMENT – Design-Tokens (angelehnt an movement-shop.at)
   Alle Farben & Schriften an EINER Stelle.
   ========================================================================== */

/* Schriften lokal eingebunden (DSGVO: keine Verbindung zu Google-Servern) */
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-700-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-800-italic.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Schriften */
  --font-display: var(--movement-font-display);
  --font-body: var(--movement-font-body);
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* CI-Farben */
  --mv-purple: var(--movement-purple);
  --mv-cream: var(--movement-cream);
  --mv-white: var(--movement-white);

  /* abgeleitete Töne */
  --mv-purple-hover: #4f3390;
  --mv-purple-light: #9b82d9;
  --mv-purple-soft: rgba(63, 39, 116, 0.28);
  --mv-black: var(--movement-background);
  --mv-ink: #121115;
  --mv-graphite: var(--movement-surface);
  --mv-steel: #26242c;
  --mv-concrete: #3a3842;
  --mv-line: rgba(255, 245, 230, 0.12);
  --mv-muted: rgba(255, 245, 230, 0.64);

  /* Status */
  --mv-ok: var(--movement-success);
  --mv-warn: var(--movement-warning);
  --mv-error: var(--movement-error);

  --radius: var(--movement-radius-small);
  --radius-lg: var(--movement-radius-large);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --max: var(--movement-max);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mv-black);
  color: var(--mv-cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--mv-cream);
  margin: 0 0 0.45em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 700;
}

a {
  color: var(--mv-purple-light);
}

img {
  max-width: 100%;
  display: block;
}

.mono {
  font-family: var(--font-mono);
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  height: 40px;
  width: auto;
}

/* kleine Mono-Kapsel wie "● Geschlossen" im Shop */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background: var(--mv-steel);
  color: var(--mv-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--mv-ok));
}

.chip--live {
  --dot: var(--mv-ok);
}

.chip--closed {
  --dot: var(--mv-error);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mv-purple-light);
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.8em 1.4em;
  border: 1px solid var(--mv-purple);
  border-radius: var(--radius);
  background: var(--mv-purple);
  color: var(--mv-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--mv-purple-hover);
  border-color: var(--mv-purple-hover);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  border-color: var(--mv-cream);
  color: var(--mv-cream);
  font-family: var(--font-mono);
}

.btn--ghost:hover {
  background: var(--mv-cream);
  border-color: var(--mv-cream);
  color: var(--mv-black);
}

.btn--cream {
  background: var(--mv-cream);
  border-color: var(--mv-cream);
  color: var(--mv-black);
}

.btn--cream:hover {
  background: var(--mv-white);
  border-color: var(--mv-white);
}

.btn--small {
  padding: 0.5em 0.95em;
  font-size: 0.86rem;
}

:focus-visible {
  outline: 2px solid var(--mv-purple-light);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
