/*
 * goya-tokens.css – nur Tokens, die V4-Variables nicht abbilden koennen
 * (PLAN Kap. 10, 1.1 und 1.5). Farben, Schrift und Groessen liegen als
 * V4-Variables im Kit (--goya-akzent, --goya-font, --goya-leiste …) und
 * werden hier NICHT dupliziert.
 *
 * Regeln:
 * - Ausschliesslich :root-Custom-Properties. Keine Selektoren auf body/html
 *   oder Elemente (Coming soon darf sich nicht veraendern).
 * - Im eigenen CSS ohne Fallback verwenden: var(--goya-z-footer), nicht
 *   var(--goya-z-footer, 10000) (PLAN Kap. 10, 1.1).
 * - Namen sind API: nicht umbenennen, nur ergaenzen.
 * - Groessen (Schrift, Zeilenhoehe, Leiste 40px, Panel 390/410px, Thumbs 370px)
 *   sind V4-Size-Variables (--goya-fs-*, --goya-lh-*, --goya-leiste-h,
 *   --goya-panel-w, --goya-panel-versatz, --goya-thumbs-w), siehe
 *   _rohdaten/phase3/design-system.md. Hier nur, was V4 nicht abbilden kann
 *   (z-index ist in V4 ein Number-Prop, Easing hat kein V4-Feld, Scrollbar-
 *   Pseudo-Elemente sind in V4 nicht stylbar).
 */
:root{
  /* Easing (PLAN Kap. 2.2) */
  /* easeInOutExpo (jquery.easing 1.3) als CSS linear(), 37 Stuetzpunkte: max. Abweichung 0,35 px bei 410 px Weg
     (vorher cubic-bezier(.87,0,.13,1): bis 9 px bei 196 px). Panels Projekt/MENSCHEN, WERK-Filter 900ms.
     Browser ohne linear() (Chrome < 113, Safari < 17.2, Firefox < 112) fallen auf "ease" zurueck. */
  --goya-ease-expo:linear(0,0.0041 15.42%,0.0105 22.13%,0.0198 26.7%,0.032 30.16%,0.0471 32.96%,0.0652 35.3%,0.0861 37.31%,0.11 39.07%,0.1367 40.64%,0.1664 42.07%,0.199 43.35%,0.2346 44.54%,0.273 45.63%,0.3143 46.65%,0.3585 47.6%,0.4056 48.49%,0.4557 49.33%,0.5497 50.75%,0.5995 51.6%,0.6462 52.5%,0.6901 53.45%,0.7311 54.47%,0.7693 55.58%,0.8045 56.77%,0.8369 58.08%,0.8663 59.51%,0.8928 61.1%,0.9163 62.9%,0.937 64.94%,0.9547 67.32%,0.9695 70.17%,0.9814 73.73%,0.9903 78.47%,0.9964 85.55%,0.9995 99.8%,1);
  /* "swing" im Original = easeOutQuad: jquery.easing 1.3 ueberschreibt jQuery.easing.swing (def: easeOutQuad),
     gemessen am Buero-Panel (t = 450 ms: 75 % des Wegs). easeOutQuad ist als kubische Bezier exakt darstellbar. */
  --goya-ease-swing:cubic-bezier(.3333,.6667,.6667,1); /* Buero-Panels, Hintergrund-Fades, alle jQuery-Fades */
  --goya-ease-sort:cubic-bezier(.25,.46,.45,.94);/* WERK-FLIP 600ms */
  /* easeOutQuart (Galleria.Finger) als linear(), max. Abweichung 0,7 px bei 1920 px Weg: Projekt-/MENSCHEN-Viewer */
  --goya-ease-slide:linear(0,0.0435 1.1%,0.0861 2.23%,0.1276 3.36%,0.1682 4.5%,0.2079 5.66%,0.2466 6.83%,0.2844 8.03%,0.3212 9.23%,0.3569 10.45%,0.3917 11.68%,0.4255 12.94%,0.4584 14.21%,0.4903 15.5%,0.5212 16.81%,0.5512 18.15%,0.5802 19.5%,0.6082 20.89%,0.6353 22.29%,0.6614 23.72%,0.6865 25.17%,0.7107 26.66%,0.7339 28.18%,0.7561 29.73%,0.7774 31.31%,0.7976 32.93%,0.8169 34.59%,0.8353 36.3%,0.8527 38.05%,0.8691 39.85%,0.8846 41.71%,0.899 43.63%,0.9126 45.62%,0.9251 47.69%,0.9367 49.84%,0.9473 52.08%,0.9569 54.44%,0.9656 56.92%,0.9732 59.55%,0.98 62.38%,0.9857 65.42%,0.9905 68.77%,0.9943 72.52%,0.9971 76.87%,0.999 82.25%,0.9999 90.14%,1);

  /* Dauern (PLAN Kap. 2.2, 2.3, 2.5, 5.3) */
  --goya-dauer-panel:900ms;       /* Projekt-/MENSCHEN-Langinfo, WERK-Filterpanel, Buero-Panels */
  --goya-dauer-sort:600ms;        /* WERK-Sortierung (FLIP) */
  --goya-dauer-slide:900ms;       /* Projekt-/MENSCHEN-Viewer, horizontaler Slide: Galleria.Finger duration 900 (gemessen; transitionSpeed 700 wirkt im Swipe-Modus nicht) */
  --goya-dauer-slide-anfang:200ms;/* Finger duration2: Ziel ist das erste Bild (gemessen 1 -> 0: 200 ms) */
  --goya-dauer-mobilmenue:500ms;  /* Off-Canvas von unten */
  --goya-dauer-fade-kurz:200ms;   /* Kurzinfo-Einblendung, Tooltip WERK-Start, Panel-Fades */
  --goya-dauer-fade-lang:600ms;   /* Panel-Fades (lang) */
  --goya-dauer-hover-ein:100ms;   /* Pfeilzonen, Thumbs: Hover an */
  --goya-dauer-hover-aus:400ms;   /* Thumbs: Hover aus */
  --goya-dauer-bg-ein:600ms;      /* Hintergrund: neues Bild fadeIn (PLAN 2.4) */
  --goya-dauer-bg-aus:800ms;      /* Hintergrund: altes Bild fadeOut (PLAN 2.4) */
  --goya-dauer-bg-deckkraft:500ms;/* Hintergrund: fadeTo auf WERK/Projekte (PLAN 2.4) */
  --goya-bg-takt:10s;             /* Hintergrund-Wechsel ab Ende der Einblendung (PLAN 2.4) */
  --goya-dauer-nav-mobil:600ms;   /* Mobile-Menue-Link: Hintergrund-Uebergang normal (ORIG-CSS .mobile_menu li a, ease-out) */
  --goya-dauer-nav-mobil-hover:200ms; /* Mobile-Menue-Link: Hover/Fokus (ORIG-CSS, ease-out) */
  --goya-dauer-akkordeon:400ms;   /* PRESSE-Archive auf/zu (jQuery UI Accordion, Standarddauer 400 ms, Easing swing) */

  /* Native Scrollbars (PLAN Kap. 10, 3.1; Optik nach mCSB "light", ORIG-CSS Z. 1375-1450).
     Farben: V4-Variables --goya-scroll-rail/-thumb/-thumb-hover/-thumb-active. */
  --goya-scroll-breite:16px;       /* Spur gesamt */
  --goya-scroll-rail-breite:2px;   /* sichtbare Rail-Linie, mittig */
  --goya-scroll-thumb-breite:4px;  /* Dragger */
  --goya-scroll-thumb-min:30px;    /* Mindesthoehe Dragger */
  --goya-scroll-radius:10px;       /* Radius Dragger */
  --goya-scroll-ruhe:75%;          /* Deckkraft der Werkzeuge ohne Hover (mCSB opacity .75) */

  /* z-Ebenen (PLAN Kap. 2.2; 10 und 3000 entfallen mit dem Loader) */
  --goya-z-bg:0;
  --goya-z-panel:5;
  --goya-z-mobile-overlay:99;
  --goya-z-iconnavi:2000;
  --goya-z-mobilmenue:3999;
  --goya-z-footer:10000;
  --goya-z-thumbs:50001;
  --goya-z-filterinfo:110000;
  --goya-z-social:9999999;
}
