/* Muhmelädchen – Richtung B „Ladenschild“ – Typografie-System
   Einbinden: <link rel="preload" href="fonts/muhme-slab-zillaslab-700.woff2" as="font" type="font/woff2" crossorigin>
              <link rel="preload" href="fonts/muhme-text-instrumentsans-var.woff2" as="font" type="font/woff2" crossorigin>
              <link rel="stylesheet" href="fonts/fonts.css"> <link rel="stylesheet" href="typo.css">
   Fluid zwischen 390 px (iPhone) und 2560 px (Kevins Desktop). */

:root {
  --f-slab: "Muhme Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --f-text: "Muhme Text", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Skala (min @390 px … max @2560 px) */
  --t-hero:    clamp(2.625rem, 1.6rem + 4.2vw, 7.5rem);   /* 42 → 120  H1 Hero, zweizeilig */
  --t-display: clamp(2.5rem, 1.4rem + 3.6vw, 6.5rem);     /* 40 → 104  Muhme-Frage, Seitenköpfe */
  --t-h2:      clamp(2rem, 1.25rem + 2.4vw, 4.5rem);      /* 32 →  72  Section-Überschrift */
  --t-h3:      clamp(1.375rem, 1.15rem + 0.7vw, 2.125rem);/* 22 →  34  Händlername, Kartenkopf */
  --t-time:    clamp(1.75rem, 1.2rem + 1.9vw, 3.75rem);   /* 28 →  60  Uhrzeit Ticketliste, Datum */
  --t-lead:    clamp(1.25rem, 1.12rem + 0.45vw, 1.625rem);/* 20 →  26  Einleitung */
  --t-body:    clamp(1.125rem, 1.08rem + 0.12vw, 1.1875rem); /* 18 → 19 Fließtext */
  --t-ui:      1.125rem;                                   /* 18  Buttons, Navigation */
  --t-plate:   clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem); /* 15 → 17 Sortiment auf Schildplatte */
  --t-small:   1rem;                                       /* 16  Footer, Bildnachweis, Rechtliches */
  --t-stamp:   0.875rem;                                   /* 14  Stempel-Umlauf (nur Großbuchstaben ohne ß) */
}

html {
  font-family: var(--f-text);
  font-size: 100%;
  font-synthesis: none;            /* nie Fake-Bold/-Kursiv: Slab gibt es nur in 700 */
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
body {
  font-size: var(--t-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  hyphens: manual; -webkit-hyphens: manual;   /* keine Silbentrennung */
  overflow-wrap: normal;
}
p, li { max-width: 64ch; text-wrap: pretty; }

/* ---------- Slab: nur groß, eng, immer 700 ---------- */
h1, h2, h3, .t-display, .t-time, .ticket__zeit {
  font-family: var(--f-slab);
  font-weight: 700;
  font-style: normal;
  text-wrap: balance;
  margin: 0;
}
h1, .t-hero  { font-size: var(--t-hero);    line-height: 0.94; letter-spacing: -0.018em; }
.t-display   { font-size: var(--t-display); line-height: 0.98; letter-spacing: -0.015em; max-width: 14ch; }
h2           { font-size: var(--t-h2);      line-height: 1.02; letter-spacing: -0.012em; max-width: 18ch; }
h3           { font-size: var(--t-h3);      line-height: 1.08; letter-spacing: -0.005em; }
h1 .zeile    { display: block; }   /* „Muhmelädchen“ / „Lößnitz“ als feste Zeilen, nie automatisch umbrechen */

/* Unterzeile unter H1 („Dein Lieblingsladen im Erzgebirge“) – Grotesk, nicht Slab */
.t-sub  { font-family: var(--f-text); font-size: var(--t-lead); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.t-lead { font-size: var(--t-lead); font-weight: 400; line-height: 1.45; max-width: 44ch; }

/* ---------- Schildplatte (schwarze Platte auf Fotos/Karten) ---------- */
.plate__name  { font-family: var(--f-slab); font-weight: 700; font-size: var(--t-h3); line-height: 1.05; white-space: nowrap; }
.plate__info  { font-family: var(--f-text); font-size: var(--t-plate); font-weight: 600; font-stretch: 85%;
                line-height: 1.3; letter-spacing: 0.01em; }
/* Firmen-/Händlernamen nie umbrechen */
.name, .firma { white-space: nowrap; }

/* ---------- Ticketliste Öffnungszeiten ---------- */
.ticket__tag  { font-family: var(--f-text); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem); font-weight: 600; }
.ticket__zeit, .t-time {
  font-size: var(--t-time); line-height: 1; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1;
  white-space: nowrap;
}

/* ---------- Bedienelemente ---------- */
.btn {
  font-family: var(--f-text); font-size: 1.1875rem;   /* 19 px / 700 = „große Schrift“ nach WCAG -> 3:1 reicht */
  font-weight: 700; font-stretch: 100%; line-height: 1; letter-spacing: 0.005em;  /* Fläche Terrakotta tief #9A4E25 + Kalk = 5,29:1 (siehe system_farbe.md) */
  min-height: 52px; white-space: nowrap;
}
.nav a  { font-family: var(--f-text); font-size: var(--t-ui); font-weight: 600; min-height: 44px; }
.filter { font-family: var(--f-text); font-size: 1.0625rem; font-weight: 600; font-stretch: 90%; min-height: 44px; }
.hero__info { font-family: var(--f-text); font-size: 1rem; font-weight: 500; font-stretch: 85%; letter-spacing: 0.01em; }

/* Stempel-Umlauf: einzige Stelle mit Versalien + Sperrung; nur Sätze ohne ß */
.stamp__text { font-family: var(--f-text); font-size: var(--t-stamp); font-weight: 700; font-stretch: 75%;
               text-transform: uppercase; letter-spacing: 0.16em; }

.t-small, footer { font-size: var(--t-small); line-height: 1.5; }

/* Dunkle Flächen: Fließtext minimal leichter laufen lassen, Antialiasing gegen „Ausbluten“ */
.dunkel { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.dunkel p { font-weight: 400; letter-spacing: 0.005em; }

/* Mobil: Section-Überschriften dürfen volle Breite nutzen */
@media (max-width: 899px) {
  h2 { max-width: none; }
  .t-display { max-width: none; }
}
