/* base.css – CSS Reset, globale Styles, Typografie */

* { box-sizing: border-box; }

html {
  background-color: var(--bg-900);
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-900);
  background-image: radial-gradient(circle at 15% 20%, rgba(110, 145, 255, 0.12), transparent 35%),
                    radial-gradient(circle at 80% 10%, rgba(225, 76, 69, 0.14), transparent 32%),
                    linear-gradient(140deg, #05070f 0%, #0b1222 48%, #05070f 100%);
  background-attachment: fixed;
  color: var(--fg-100);
  min-height: 100vh;
  min-height: 100dvh;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 40;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.08;
  z-index: 1;
}

.page-shell { position: relative; z-index: 2; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 10px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

a { color: inherit; text-decoration: none; }

a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.container {
  width: min(1200px, 88vw);
  margin: 0 auto;
}

h1, h2, h3, h4, h5 { margin: 10px 0; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 4vw, 3.8rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -0.02em; }
h3 { font-size: 1.4rem; }
p { color: rgba(255, 255, 255, 0.82); line-height: 1.6; }

.hidden { display: none !important; }
