@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: #08090b;
  --surface: #0e1013;
  --surface-2: #13161a;
  --glas: rgba(14, 16, 19, 0.82);
  --border: rgba(255, 255, 255, 0.075);
  --border-hell: rgba(255, 255, 255, 0.15);
  --text: #e8eaee;
  --muted: #9a9da4;
  --leise: #7b7e85;
  --accent: #06d6a0;
  --accent-2: #5cebc4;

  --spektrum: linear-gradient(100deg, #06d6a0 0%, #3fe2bb 100%);
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3l11.26 6.5v13L16 29 4.74 22.5v-13z' fill='none' stroke='%2306d6a0' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M16 9.5l5.63 3.25v6.5L16 22.5l-5.63-3.25v-6.5z' fill='%2306d6a0'/%3E%3C/svg%3E");
  --titel-verlauf: linear-gradient(180deg, #e8eaee 0%, #e8eaee 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: 16px;
  --radius-klein: 10px;

  --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(6, 214, 160, 0.38);
  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;
}
