/* GRLTech Studio – Basis: Schriften, Variablen, Hintergrund, Typografie */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #06080d;
  --bg-alt: #080b12;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef2fb;
  --muted: #8f9bb3;
  --cyan: #5ee7ff;
  --violet: #7c5cff;
  --pink: #ff5ecb;
  --grad: linear-gradient(120deg, var(--cyan), var(--violet) 55%, var(--pink));
  --radius: 22px;
  --display: "Space Grotesk", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body);
  font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
::selection { background: rgba(124, 92, 255, 0.45); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: #000; padding: .6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* Hintergrund: Raster + leuchtende Kugeln */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-orb { position: fixed; z-index: -1; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); opacity: .32; pointer-events: none; }
.orb-a { top: -200px; right: -120px; background: var(--violet); animation: drift 22s ease-in-out infinite alternate; }
.orb-b { top: 200px; left: -240px; background: var(--cyan); opacity: .16; animation: drift 28s ease-in-out -8s infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 80px) scale(1.15); } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; }
.progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Typo-Helfer */
.eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .08em; color: var(--cyan); margin-bottom: 1rem; }
.gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 58ch; }
