@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #e3e1dd;
  --surface: #d8d5cf;
  --ink: #0b0a09;
  --muted: #57534d;
  --accent: #7d5f22;      /* Gold, dunkel genug für weiße Schrift */
  --accent-ink: #ffffff;
  --gold-light: #d2ad5c;  /* Gold auf dunklem Grund */
  --gold-name: #9a7428;   /* Gold des Namens auf hellem Grund (3,3:1, Großschrift) */
  --night: #0b0a09;
  --night-2: #16130f;
  --paper: #ecebe8;
  --paper-soft: #b9b2a6;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);

  --m: clamp(20px, 2.2vw, 32px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%;
  font-size: var(--step-body); line-height: 1.5; font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold-light); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Display: Archivo schmal und schwer */
.display {
  font-family: "Bodoni Moda", "Didot", Georgia, serif; font-optical-sizing: auto;
  font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 0.9; margin: 0;
}

/* Kopfzeile */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px var(--m); font-size: var(--step-small);
}
.bar .mark { color: var(--gold-name); font-family: "Bodoni Moda", Georgia, serif; font-weight: 600; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.06em; text-decoration: none; }
.bar nav { display: flex; gap: clamp(18px, 4vw, 64px); }
.bar nav a { text-decoration: none; font-weight: 500; position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
.bar nav a:hover::after, .bar nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 "Archivo", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:hover { background: #6a4f1a; }
.btn:active { transform: scale(0.97); }
.btn .pfeil { transition: transform 260ms var(--ease-out); }
.btn:hover .pfeil { transform: translateX(4px); }

/* Unterseiten */
.page { max-width: 760px; padding: 140px var(--m) 120px; margin-left: calc(var(--m) + 8.33vw); }
.page h1 { font-size: var(--step-head); margin-bottom: 48px; }
.page h2 { font-size: var(--step-lead); line-height: 1.2; margin: 48px 0 12px; font-weight: 700; }
.page p, .page li { max-width: 62ch; }
.page a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
