/* =========================================================
Biker Ranch Employee 2.0 – Root
Global Resets · Design Tokens · Utilities (no background / no nav)
========================================================= */

/* --- Global Reset (wie von dir genutzt) --- */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
img { max-width: 100%; display: block; }
button, input { -webkit-tap-highlight-color: transparent; }
:focus { outline: 0; }

/* --- Design Tokens --- */
:root {
  /* Palette */
  --blue-900: #0b1b3b;
  --blue-800: #0f2a5a;
  --blue-700: #164a8c;
  --blue-600: #1f6bd1;
  --blue-500: #2f80ff;
  --blue-400: #5aa0ff;
  --blue-300: #8bc0ff;
  --blue-200: #bcd9ff;
  --blue-100: #e6f0ff;
  --mint: #7af7c6;
  --violet: #b794ff;
  --warning: #ffd36a;
  --danger: #ff6b6b;

  /* UI */
  --bg: #060811;
  --ink: #f5f7fb;
  --muted: #c9ced8;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(255, 255, 255, .08);
  --blur: 18px;

  /* Radii & Shadows */
  --radius: 24px;
  --radius-sm: 14px;
  --shadow-lg: 0 20px 70px rgba(0, 0, 0, .45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .35);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fast: 160ms;
  --slow: 900ms;

  /* Font */
  --font-ui: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
  "Inter", "Segoe UI", Roboto, Helvetica, Arial,
  "Apple Color Emoji", "Segoe UI Emoji";
}

/* --- Base --- */
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg);
  overflow: hidden; /* App-Shell übernimmt Scroll */
}

/* --- Utilities --- */
.jk-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06)) border-box;
  border: 1px solid var(--line);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius);
}

a {
  cursor: pointer;
  color: var(--blue-300);
  transition: color var(--fast) var(--ease);
}
a:hover { color: var(--blue-200); }

/* ---------- Site Title ----------*/

.jk-site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.jk-site-title .jk-h1 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}
.jk-site-title .jk-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.jk-site-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Ribbon */
.jk-nav__ribbon {
  position: absolute;

  top: 10px;
  right: -28px;

  width: 90px;
  padding: 3px 0;

  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #fff;

  background: linear-gradient(135deg, var(--mint), #0072ff);

  transform: rotate(45deg);

  box-shadow: 0 4px 10px rgba(0, 114, 255, 0.35);

  pointer-events: none;
}

/* --- Accessibility / Motion --- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
