/* Selbst gehostete Schriften (SIL Open Font License) */

@font-face {
  font-family: Anton;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  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;
}

:root {
  --color-bg: #070404;
  --color-bg-soft: #0e0807;
  --color-surface: rgb(255 240 224 / 4%);
  --color-text: #fdf5ea;
  --color-text-muted: #b9a99e;
  --color-line: rgb(255 240 224 / 10%);
  --color-line-strong: rgb(255 240 224 / 18%);
  --color-flame: #ff5a1f;
  --color-flame-bright: #ffb52e;
  --color-ember: #e93214;
  --color-hot: #ffe9b0;
  --color-focus: #ffd37a;
  --color-paper: #f0e5d1;
  --color-paper-shade: #e2d4bb;
  --color-ink: #191009;
  --color-ink-soft: #5c4c3e;
  --color-print-red: #b02220;
  --gradient-fire: linear-gradient(
    98deg,
    var(--color-flame-bright) 0%,
    var(--color-flame) 48%,
    var(--color-ember) 100%
  );
  --font-display: Anton, "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --container: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5rem, 10vw, 9.5rem);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --shadow-glow: 0 1.5rem 5rem rgb(255 79 22 / 14%);
  --transition: 240ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
}

/* Feiner Filmkorn-Layer über der gesamten Seite */
body::after {
  position: fixed;
  z-index: 90;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 15rem;
  content: "";
  opacity: 0.05;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
h4,
p {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

::selection {
  background: var(--color-flame);
  color: #130705;
}

:focus-visible {
  outline: 0.18rem solid var(--color-focus);
  outline-offset: 0.3rem;
}

.container {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  color: var(--color-flame-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--color-ember), var(--color-flame-bright));
  content: "";
}

/* Gestempeltes Label im Plakat-Stil */
.stamp {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 2px solid currentColor;
  border-radius: 0.4rem;
  color: var(--color-print-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-2.5deg);
}

@media (max-width: 40rem) {
  :root {
    --gutter: 1.15rem;
  }

  body {
    line-height: 1.55;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
