@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-full-normal.imnk5ipnhm.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.2kwgw4cyms.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #faf6ee;
  --paper-2: #fcefcc;
  --ink: #1a1e3a;
  --ink-2: #4a4e6a;
  --muted: #7d7f95;
  --sky: #2443d6;
  --sky-deep: #15299a;
  --sky-light: #cdd8ff;
  --sun: #ffc928;
  --line: rgba(26, 30, 58, 0.14);
  --f-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --gap: clamp(10px, 1.2vw, 18px);
  --side: clamp(1.25rem, 4vw, 4rem);
  --max: 1480px;
  --header: 92px;
  --r: clamp(16px, 1.6vw, 24px);
  --ease: cubic-bezier(0.22, 0.75, 0.12, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: clamp(0.98rem, 0.95rem + 0.12vw, 1.05rem);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

::selection {
  background: var(--sun);
  color: var(--ink);
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.wrap {
  width: min(100% - 2 * var(--side), var(--max));
  margin-inline: auto;
}

.serif {
  font-family: var(--f-serif);
  font-weight: 420;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -0.01em;
}

.statement {
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.statement em {
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  letter-spacing: -0.015em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}

.small {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.95rem 0.62rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:hover {
  background: var(--sky);
}

.btn--sun {
  background: var(--sun);
  color: var(--ink);
}

.btn--sun:hover {
  background: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.textlink svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.35s var(--ease);
}

.textlink:hover svg {
  transform: translateX(3px);
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.split-head .label {
  margin-top: 0.8rem;
  align-self: start;
}

.label--hell {
  color: rgba(255, 246, 230, 0.75);
}

@media (max-width: 760px) {
  .split-head {
    grid-template-columns: 1fr;
  }
}

/* Große Bildschirme (WQHD, 4K ohne Skalierung): alles proportional größer statt breiter Leere */
@media (min-width: 2000px) {
  html {
    font-size: 112.5%;
  }

  :root {
    --max: 1680px;
  }
}

@media (min-width: 2800px) {
  html {
    font-size: 140%;
  }

  :root {
    --max: 2150px;
    --header: 116px;
  }
}
