/* =====================================================================
   TYPOGRAFIE
   Zwei Stimmen:
   1. Anton, versal, eng gesetzt  → alles was ruft (Headlines, Preise groß)
   2. Archivo                     → alles was erklärt (Fließtext, Labels)
   Labels laufen versal mit weiter Sperrung – die Anmutung einer
   Preistafel am Grillwagen.
   ===================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: var(--leading-body);
  font-synthesis-weight: none;
}

/* --- Display -------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  text-wrap: balance;
  /* Anton sitzt optisch etwas hoch – optische Korrektur */
  font-feature-settings: 'kern' 1;
}

.display--hero {
  font-size: var(--display-hero);
  /* Jede Hero-Zeile sitzt in einer eigenen Maske — hier darf es eng sein */
  line-height: 0.84;
}
.display--xl {
  font-size: var(--display-xl);
}
.display--lg {
  font-size: var(--display-lg);
}
.display--md {
  font-size: var(--display-md);
  line-height: 0.95;
}

/* Signatur: das Wort wirkt, als läge Glut darunter.
   Wird sparsam eingesetzt – im Hero genau einmal. */
.display--ember {
  background-image: linear-gradient(
    177deg,
    var(--cream) 22%,
    var(--bread) 47%,
    var(--gold) 63%,
    var(--fire) 84%,
    var(--ember) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* schwacher Glutschein, bleibt unter dem Text */
  filter: drop-shadow(0 0.055em 0.075em rgb(210 74 42 / 0.4));
}

/* --- Überschriften-Rollen ------------------------------------------ */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

/* Laufende Nummer vor dem Eyebrow – gehört zu einer echten Abfolge
   (01 Klassiker → 02 Speisekarte → 03 Vom Rost), nicht Zierde. */
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.eyebrow::after {
  content: '';
  width: clamp(1.75rem, 5vw, 4rem);
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  font-weight: 400;
}

.prose p + p {
  margin-top: var(--space-s);
}

/* --- Utility-Stimme (Preistafel) ------------------------------------ */

.label {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.4;
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
}

/* --- Farbrollen ----------------------------------------------------- */

.t-light {
  color: var(--text-light);
}
.t-dark {
  color: var(--text-dark);
}
.t-muted-light {
  color: var(--text-light-muted);
}
.t-muted-dark {
  color: var(--text-dark-muted);
}
.t-fire {
  color: var(--fire);
}
.t-gold {
  color: var(--gold);
}

/* --- Links im Fließtext --------------------------------------------- */

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}

.link:hover {
  text-decoration-color: currentColor;
}

/* --- Zugänglichkeit -------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:where(a, button, [tabindex]):focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-xs);
}
