@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variabel.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --flaeche: #0c0c0e;
  --flaeche-2: #161619;
  --linie: rgba(255, 255, 255, 0.1);
  --linie-hell: rgba(255, 255, 255, 0.2);
  --text: #f5f5f7;
  --muted: #9a9aa0;
  --leise: #75757b;
  --akzent: #5b9bff;
  --akzent-tief: #1d4fd8;
  --stahl: linear-gradient(180deg, #ffffff 0%, #d7d7dc 50%, #8d8d94 100%);
  --blau-verlauf: linear-gradient(100deg, #8ab8ff 0%, #5b9bff 45%, #2f6bff 100%);

  --schrift: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-riesig: clamp(3.25rem, 1.2rem + 8.4vw, 10rem);
  --fs-h2: clamp(2.25rem, 1.2rem + 4vw, 5.5rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 1.1vw, 2.25rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --fs-text: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-klein: 0.8125rem;

  --rand: clamp(20px, 5vw, 72px);
  --breite: 1280px;
  --radius: 32px;
  --radius-klein: 18px;

  --kurve: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--schrift);
  font-size: var(--fs-text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 {
  font-size: var(--fs-riesig);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: var(--text);
  text-underline-offset: 0.22em;
  text-decoration-color: var(--leise);
}

a:hover {
  text-decoration-color: var(--akzent);
}

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

::selection {
  background: rgba(91, 155, 255, 0.4);
  color: #fff;
}

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

[hidden] {
  display: none !important;
}

.sprunglink {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.sprunglink:focus {
  top: 16px;
}

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

.etikett {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.stahl {
  background: var(--stahl);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blau {
  background: var(--blau-verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zahl {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
