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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Dezente Lichtflächen als eigene fixierte Ebene (statt background-attachment: fixed – auf iOS unzuverlässig) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -10%, var(--bg-glow-1), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, var(--bg-glow-2), transparent 60%);
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 750; letter-spacing: -0.01em; }
h1 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-2xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
code, kbd { font-family: var(--font-mono); font-size: 0.92em; }
kbd {
  display: inline-block; padding: 1px 6px; border-radius: 6px;
  background: var(--surface-3); border: 1px solid var(--line-strong); border-bottom-width: 2px;
  color: var(--text); font-size: 0.8em; line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

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

.muted { color: var(--text-2); }
.subtle { color: var(--text-3); font-size: var(--fs-sm); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-strong); font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow svg { width: 15px; height: 15px; flex: none; }
.ru { font-family: var(--font-sans); }
.mono { font-family: var(--font-mono); }

::selection { background: rgba(139, 124, 255, 0.35); }
