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

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

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

:root {
  --bg: #000000;
  --surface: #0b0b0d;
  --surface-2: #141417;
  --glas: rgba(28, 28, 32, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-hell: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --leise: #6e6e73;
  --accent: #ff4f7b;
  --accent-2: #38b6ff;

  --spektrum: linear-gradient(100deg, #ff7a3d 0%, #ff3d7f 32%, #9b5cff 64%, #38b6ff 100%);
  --titel-verlauf: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #a1a1a6 100%);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero: clamp(3rem, 1.4rem + 7.2vw, 8.75rem);
  --fs-h2: clamp(2.25rem, 1.3rem + 3.8vw, 5.5rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-meta: 0.8125rem;

  --lh-hero: 0.98;
  --lh-h2: 1.03;
  --lh-body: 1.6;
  --measure: 65ch;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 144px;
  --sp-11: 200px;

  --radius: 28px;
  --radius-klein: 16px;

  --max-breite: 1320px;
  --rand: clamp(20px, 5vw, 64px);

  color-scheme: dark;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.035em;
}

h1 {
  font-size: var(--fs-hero);
  line-height: var(--lh-hero);
  letter-spacing: -0.045em;
}

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

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1,
h2 {
  background: var(--titel-verlauf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p,
li {
  max-width: var(--measure);
}

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

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

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(155, 92, 255, 0.45);
  color: #fff;
}

.eyebrow {
  font-size: var(--fs-meta);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

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

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100%;
  z-index: 300;
  background: var(--text);
  color: var(--bg);
  padding: var(--sp-3) var(--sp-5);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: var(--sp-4);
}

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

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

[hidden] {
  display: none !important;
}
