/* Rentware-Buchungskalender in unserem Design.
 *
 * Rentware bringt seine eigene Oberflaeche mit (Shadow DOM) - von aussen laesst
 * sich daran nur ueber die vorgesehenen CSS-Variablen und ueber vererbte
 * Eigenschaften wie die Schrift etwas aendern. Genau das passiert hier:
 * dieselben Farben, Rundungen und dieselbe Schrift wie im uebrigen Formular.
 *
 * Die Vorgabewerte stehen weiter oben im <style>-Block der Seite auf :root;
 * diese Datei wird danach geladen und gewinnt bei gleicher Spezifitaet.
 *
 * Farben ausschliesslich aus der CI: Orange #F27E00, Schwarz/Anthrazit,
 * Weiss, unsere Grautoene. Kein Gruen, kein Pink.
 */

:root {
  /* --- Flaechen und Linien --------------------------------------------- */
  --rentware-global-settings-background-primary: 255, 255, 255;
  --rentware-global-settings-background-secondary: 248, 248, 247;
  --rentware-global-settings-background-tertiary: 240, 241, 239;
  --rentware-global-settings-stroke-primary: 226, 228, 225;
  --rentware-global-settings-stroke-secondary: 234, 236, 233;
  --rentware-global-settings-stroke-tertiary: 240, 242, 239;

  /* --- Schriftfarben wie im Formular ----------------------------------- */
  --rentware-global-settings-font-primary: 27, 31, 28;
  --rentware-global-settings-font-secondary: 92, 98, 93;
  --rentware-global-settings-font-tertiary: 140, 146, 141;

  /* --- Rundungen: Karten wie unsere Anfrage-Karte, Knoepfe als Pille ---- */
  --rentware-global-settings-rounding: 14px;
  --rentware-global-button-rounding: 999px;

  /* --- Knoepfe in CI-Orange -------------------------------------------- */
  --rentware-global-button-background-primary: 242, 126, 0;
  --rentware-global-button-background-secondary: 247, 150, 45;
  --rentware-global-button-background-tertiary: 250, 176, 99;
  --rentware-global-button-font-primary: 255, 255, 255;
  --rentware-global-button-font-secondary: 255, 240, 227;
  --rentware-global-button-font-tertiary: 254, 223, 195;

  /* --- Kalender: gewaehlter Zeitraum in Orange statt Violettgrau -------- */
  --rentware-global-calendar-selection-background-primary: 242, 126, 0;
  --rentware-global-calendar-selection-background-secondary: 247, 150, 45;
  --rentware-global-calendar-selection-background-quaternary: 252, 198, 146;
  --rentware-global-calendar-selection-font: 255, 255, 255;
  /* freie Tage: heller Orangeton statt Gruen - keine Farbe ausserhalb der CI */
  --rentware-global-calendar-available: 250, 190, 130;

  /* --- Fehlermeldung: Anthrazit statt Pink ----------------------------- */
  --rentware-global-error-background: 27, 31, 28;
  --rentware-global-error-font: 255, 255, 255;

  /* --- Warenkorb (die Blase unten rechts) ------------------------------ */
  --rentware-cart-colors-button-background-primary: 242, 126, 0;
  --rentware-cart-colors-button-background-secondary: 247, 150, 45;
  --rentware-cart-colors-button-background-tertiary: 250, 176, 99;
  --rentware-cart-colors-button-icon: 255, 255, 255;
  --rentware-cart-colors-amount-background-primary: 27, 31, 28;
  --rentware-cart-colors-amount-background-secondary: 45, 50, 46;
  --rentware-cart-colors-amount-font: 255, 255, 255;
  --rentware-cart-colors-active-tab: 242, 126, 0;
  --rentware-cart-colors-status-bar: 226, 228, 225;
}

/* Schrift: font-family wird vererbt und erreicht so auch das Innere der
   Rentware-Bausteine. Damit steht der Kalender in derselben Schrift wie das
   Formular daneben. */
rtr-article-booking,
rtr-search,
rtr-checkout,
rtr-cart-trigger,
rentware-cart,
rtr-article-details {
  font-family: var(--font-kit-text-font, Montserrat), Montserrat, system-ui, sans-serif;
}
