@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: #f6f3ee;
  --flaeche: #ffffff;
  --flaeche-2: #efe9e0;
  --text: #1a1815;
  --muted: #5f584e;
  --akzent: #b4541f;
  --rand: rgba(26, 24, 21, 0.12);

  --schrift: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --fs-riese: clamp(2.5rem, 1.2rem + 5.6vw, 6rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-meta: 0.8125rem;

  --lh-eng: 1.05;
  --lh-body: 1.65;
  --zeilenbreite: 62ch;

  --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;

  --max-breite: 1320px;
  --seitenrand: clamp(20px, 5vw, 72px);
  --kopfzeile-hoehe: 72px;

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

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-eng);
  text-wrap: balance;
}

h1 { font-size: var(--fs-riese); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-h3); }

p {
  margin: 0;
  max-width: var(--zeilenbreite);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

img {
  height: auto;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sprunglink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: var(--sp-3) var(--sp-5);
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.sprunglink:focus {
  left: var(--sp-4);
  top: var(--sp-4);
}

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