/* OEZ Premium · premium-tokens.css · Kopie von 10-design-system/tokens.css (Gate 1, 12.11.2026), Block 1–9.
   Block 10 „Basis“ steht angepasst in premium-base.css (Snackys-verträglich). Nicht hier pflegen: Änderungen in
   10-design-system/tokens.css, dann neu kopieren (S4-shell.md §Deploy). Fonts relativ: themes/premium/fonts/. */
/* 1 · Schriften (lokal, OFL · fonts/OFL-*.txt) ---------------------------- */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-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: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-black-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-variable-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: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-variable-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* 2 · Farbe ------------------------------------------------------------
     Primär-Orange = Logo-Orange (#FF8800). Theme-#FF6C31 ist nur noch
     Mapping-Ziel (Block 9). Orange ist NIE Fließtext auf Weiß (2,4:1);
     dafür gibt es --oez-orange-text (5,9:1 auf Weiß, 5,3:1 auf Tint).  */
  --oez-orange:        #FF8800;  /* Flächen, Buttons, Icons, Akzente          */
  --oez-orange-hover:  #E67A00;  /* Hover auf Primär-Button                   */
  --oez-orange-active: #CC6C00;  /* Pressed / aktiv                           */
  --oez-orange-text:   #A04E00;  /* Links, Textakzente, Fokusring (5,86:1)    */
  --oez-orange-50:     #FFF6EA;  /* leichter Tint (Hinweis, Hover-Fläche)     */
  --oez-orange-100:    #FFEBD1;  /* Tint (Badges „Angebot“, Aktiv-Chip)       */
  --oez-orange-200:    #FFD6A3;  /* Rahmen auf Tint, Trennlinie orange        */
  --oez-orange-300:    #FFBB66;  /* Dekor, Balkenfüllung Fortschritt          */

  /* Ink: ein warmes Dunkel (ersetzt #111/#1A1A1A/#24262A/#191B1E/#1F2933/Navy) */
  --oez-ink:        #232120;  /* Überschriften, Fließtext, Nav-Leiste, Footer (16:1) */
  --oez-ink-2:      #4A4643;  /* Sekundärtext                              (8,6:1) */
  --oez-ink-3:      #6E6964;  /* Muted, Meta, Platzhalter  (5,4:1 Weiß · 4,6:1 Band) */
  --oez-ink-soft:   #BDB8B2;  /* Muted auf dunklem Grund                   (8,1:1) */
  --oez-dark-2:     #2E2B29;  /* erhöhte Fläche auf Ink (Footer-Karte, Nav-Hover)   */
  --oez-dark-line:  #3F3B38;  /* Linien auf Ink                                     */

  /* Warmes Off-White-/Grau-System (ersetzt Tailwind-Slate, #f6f6f6, #EDEAE5 …) */
  --oez-white:      #FFFFFF;  /* Canvas, Karten, Kacheln, Packshot-Grund     */
  --oez-surface-2:  #F7F5F2;  /* Papier: Formular-Panels, Hinweisboxen      */
  --oez-surface-3:  #EFECE7;  /* Band: Pre-Footer, Trust-Band, Tabellenkopf */
  --oez-surface-4:  #E6E2DC;  /* Skeleton, deaktivierte Flächen             */
  --oez-line:       #E3DFD9;  /* Hairline                                   */
  --oez-line-strong:#CFC9C1;  /* Eingabefeld-Rahmen, Tabellenlinien         */

  /* Status (getrennt vom WhatsApp-Grün) */
  --oez-ok:         #1B8A4C;  /* Punkt/Icon „Sofort lieferbar“ (nicht als Text auf Weiß) */
  --oez-ok-text:    #15733F;  /* Text „Sofort lieferbar“ (5,9:1 Weiß · 5,2:1 Tint)       */
  --oez-ok-bg:      #E4F4EA;
  --oez-warn:       #D08A00;  /* Punkt „Begrenzt“ / MHD-Hinweis                           */
  --oez-warn-text:  #9A6400;  /* 5,0:1 Weiß · 4,6:1 Tint                                  */
  --oez-warn-bg:    #FFF4D6;
  --oez-err:        #C0392B;  /* Fehlerrahmen, Punkt                                       */
  --oez-err-text:   #B3261E;  /* 5,7:1 auf Tint                                            */
  --oez-err-bg:     #FCEBEA;
  --oez-info-bg:    var(--oez-surface-2);   /* Hinweisbox: neutral warm, ersetzt JTL-Hellblau */
  --oez-info-line:  var(--oez-line-strong);
  --oez-whatsapp:   #25D366;  /* NUR für WhatsApp-Pill/-Button, Text darauf = Ink (8,1:1) */
  --oez-whatsapp-dark: #128C7E; /* Hover-Variante, Weiß darauf 4,1:1 nur für Großtext      */

  /* 3 · Typografie ----------------------------------------------------- */
  --oez-font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --oez-font-text:    "Manrope", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;

  --oez-fs-12: 0.75rem;    /* Meta, Badges                     */
  --oez-fs-13: 0.8125rem;  /* Tabellen-Meta, Hilfetext         */
  --oez-fs-14: 0.875rem;   /* UI-Text, Kachel-Meta, Buttons sm */
  --oez-fs-16: 1rem;       /* Fließtext, Eingabefelder, Buttons */
  --oez-fs-18: 1.125rem;   /* Lead, Kachel-Preis               */
  --oez-fs-20: 1.25rem;    /* H4                               */
  --oez-fs-24: 1.5rem;     /* H3                               */
  --oez-fs-30: 1.875rem;   /* H2 Fließ (Manrope 800)           */
  --oez-fs-36: 2.25rem;    /* Display md                       */
  --oez-fs-44: 2.75rem;    /* Display lg                       */
  --oez-fs-56: 3.5rem;     /* Display xl (Desktop-Hero)        */

  --oez-display-xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);   /* Hero-H1 Startseite */
  --oez-display-lg: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); /* H1 Seiten          */
  --oez-display-md: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);    /* H2 Sektionen       */

  --oez-lh-display: 1.04;
  --oez-lh-tight:   1.25;
  --oez-lh-text:    1.55;
  --oez-ls-display: 0.01em;  /* Archivo Black Versalien leicht geöffnet */
  --oez-ls-caps:    0.06em;  /* Manrope-Versalien (Nav, Kicker)        */

  --oez-fw-text:   400;
  --oez-fw-ui:     500;
  --oez-fw-label:  600;
  --oez-fw-strong: 700;
  --oez-fw-num:    800;      /* Preise, Zahlen-Band (tabular-nums)    */

  --oez-measure: 68ch;       /* max. Zeilenlänge Fließtext             */

  /* 4 · Abstände (4-px-Raster) ---------------------------------------- */
  --oez-s-1: 4px;  --oez-s-2: 8px;   --oez-s-3: 12px;  --oez-s-4: 16px;
  --oez-s-5: 20px; --oez-s-6: 24px;  --oez-s-8: 32px;  --oez-s-10: 40px;
  --oez-s-12: 48px;--oez-s-16: 64px; --oez-s-20: 80px; --oez-s-24: 96px;
  --oez-section: clamp(48px, 7vw, 96px);   /* vertikaler Sektionsabstand */
  --oez-gutter:  16px;                      /* Seitenrand mobil (24 ab md, 32 ab lg) */
  --oez-container: 1280px;
  --oez-container-text: 760px;

  /* 5 · Radius-Raster (ersetzt 19 Werte) ------------------------------ */
  --oez-r-sm:   6px;   /* Chips, Badges, kleine Felder, Tabellenzellen */
  --oez-r-md:   10px;  /* Buttons, Eingabefelder, Kacheln, Hinweisboxen */
  --oez-r-lg:   16px;  /* Karten, Panels, Hero, Modal                   */
  --oez-r-pill: 999px; /* Pills, Avatare, Fortschrittsbalken            */

  /* 6 · Eine Schattenfamilie (warm, flach) ----------------------------- */
  --oez-shadow-sm: 0 1px 2px rgba(35, 33, 32, .06), 0 1px 1px rgba(35, 33, 32, .04);
  --oez-shadow-md: 0 2px 6px rgba(35, 33, 32, .06), 0 12px 28px rgba(35, 33, 32, .08);
  --oez-shadow-lg: 0 24px 56px rgba(35, 33, 32, .14);
  --oez-focus: 0 0 0 2px var(--oez-white), 0 0 0 4px var(--oez-orange-text);

  /* 7 · Maße, Ebenen, Motion ------------------------------------------- */
  --oez-control:    44px;  /* Touch-Höhe Buttons/Felder          */
  --oez-control-sm: 36px;
  --oez-control-lg: 52px;
  --oez-header-h:   72px;  /* Hauptzeile Desktop (Logo 168 px + 8 px Schutzraum) */
  --oez-nav-h:      48px;  /* dunkle Navigationsleiste           */
  --oez-topbar-h:   36px;

  --oez-z-dropdown: 100;
  --oez-z-sticky:   200;
  --oez-z-backdrop: 300;
  --oez-z-modal:    400;
  --oez-z-toast:    500;
  --oez-z-tooltip:  600;

  --oez-ease:     cubic-bezier(.22, 1, .36, 1);  /* ease-out-quint       */
  --oez-ease-in:  cubic-bezier(.4, 0, 1, 1);
  --oez-t-fast:   120ms;
  --oez-t-base:   200ms;
  --oez-t-slow:   320ms;

  /* 8 · Breakpoints (Dokumentation; in Media Queries als Zahl verwenden)
     sm 480px · md 768px · lg 1024px · xl 1280px                          */

  /* 9 · Legacy-Aliase für die Übergangszeit (siehe klassenkatalog.md).
     Alte Variablennamen zeigen auf die neuen Tokens, damit bestehende
     Child-CSS-Reste, OPC-Blöcke und lib_v3-Inline-Styles sofort die
     richtige Farbe bekommen. Nach der Migration löschen.               */
  --brand: var(--oez-orange);            /* Snackys css_brand  (#FF6C31) */
  --price: var(--oez-ink);               /* Snackys css_price  (#FF6C31) */
  --oez-f-orange: var(--oez-orange);     /* Footer G7 (#FF7925)          */
  --oez-f-bg: var(--oez-ink);            /* Footer G7 (#191B1E)          */
  --oez-f-text: var(--oez-white);
  --oez-f-muted: var(--oez-ink-soft);
  --oez-f-line: var(--oez-dark-line);
  --ozs-orange: var(--oez-orange);       /* Hero G3 (#F39519)            */
  --ozs-orange-dark: var(--oez-orange-hover);
  --ozs-blue: var(--oez-ink);            /* Navy #070B2A → Ink           */
  --ozs-ink: var(--oez-ink);
  --ozs-muted: var(--oez-ink-3);
  --ozs-line: var(--oez-line);
  --oez-orange-alt: var(--oez-orange);   /* Checkout G4 (#f47b20)        */
  --oez-orange-dark: var(--oez-orange-active);
  --oez-soft: var(--oez-orange-50);
  --oez-bg: var(--oez-surface-2);
  --oez-border: var(--oez-line);
  --oez-green: var(--oez-ok);
  --oez-whatsapp-legacy: var(--oez-whatsapp);
  --oez-radius: var(--oez-r-md);
  --oez-cart-orange: var(--oez-orange);  /* Cart G9 (#FF6B2C/#FF5A1F)    */
  --oez-cart-orange-dark: var(--oez-orange-hover);
  --oez-cart-ink: var(--oez-ink);
  --oez-cart-muted: var(--oez-ink-3);
  --oez-cart-line: var(--oez-line);
  --oez-cart-canvas: var(--oez-surface-2);
  --oez-cart-warm: var(--oez-orange-50);
  --oez-pdp-orange: var(--oez-orange);   /* PDP G8 (#ED6908/#F66B00)     */
  --pdf-orange: var(--oez-orange);
  --oez-pdp-ink: var(--oez-ink);
  --oez-pdp-tint: var(--oez-orange-50);
  --accent: var(--oez-orange);           /* Prototyp G12                 */
  --gold: var(--oez-orange);             /* „Marken-Gold“ #F39519 → Orange */
  --ground: var(--oez-white);
  --cream: var(--oez-surface-2);
  --r: var(--oez-r-md);
}

