/*
 * Central color + font palette.
 * Loaded first in the frontend (page.includeCSS.css00) and in the backend RTE (RTE/Default.yaml contentsCss).
 * Use only var(--…) in other CSS files and templates. Exceptions (no CSS variable support):
 * - Layouts/SystemMail/SystemEmail.html (e-mail clients)
 * - aerport_gruenapi/Resources/Private/CSS/style.scss $primary (Sass compile time)
 */
:root {
  /* Brand tokens (temporary color refresh "AERPort – vorübergehende Farbanpassung") */
  --brand_burgundy: #77002B;       /* "dunkel" */
  --brand_orange: #FC4C02;         /* "orange" */
  --brand_orange_light: #FEE4D9;   /* orange tinted 85 % to white */
  --brand_sand: #F4F1EC;           /* "hell hintergrund" */
  --brand_sand_dark: #EAE6DF;      /* hover / header bars on sand boxes */
  --white: #ffffff;
  --black: #000000;

  /* Neutral tokens */
  --text_color: #474747;
  --text_color_darker: #222222;
  --text_color_dark: #333333;
  --text_color_medium: #444444;
  --text_color_muted: #666666;
  --text_color_light: #888888;
  --text_color_lighter: #aaaaaa;
  --black_button_color: #3a3a3a;
  --menu_background: #2C2D2D;
  --menu_border: #dedede;
  --border_light: #dddddd;
  --grey_light: #f0f0f0;
  --grey_lighter: #f5f5f5;
  --grey_middle: #cccccc;
  --grey_border: #e0e0e0;
  --grey_background_cool: #f5f7fa;
  --table_head_background: var(--brand_sand_dark);
  --member_background: #F1EEE9;        /* sand − 3 (was #f7f7f7 on #fafafa) */
  --member_hover_background: #E9E6E1;  /* sand − 11 (was #efefef) */

  /* Status tokens */
  --success_background: #dff0d8;
  --success_border: #d0e9c6;
  --success_text: #3c763d;
  --success_dark: #0a4a0a;
  --error_background: #f2dede;
  --error_border: #ebcccc;
  --error_text: #a94442;

  /* Semantic aliases (kept for the existing var() usages throughout the CSS) */
  --primary_color_highlight: var(--brand_burgundy);   /* was #ff2323 */
  --primary_color_link: var(--brand_burgundy);        /* was #dd0022 */
  --primary_color_link_hover: var(--brand_orange);    /* was #ff8877 */
  --primary_color_dark: var(--brand_burgundy);        /* was #aa1122 */

  --secondary_color_dark: var(--brand_burgundy);        /* was #002255 */
  --secondary_color: var(--brand_orange);               /* was #003377 – dark blue → orange */
  --secondary_color_middle: var(--brand_burgundy);      /* was #2277bb – light blue → dunkel */
  --secondary_color_middle_light: var(--brand_burgundy);/* was #66bbee */
  --secondary_color_light: var(--brand_orange_light);   /* was #ddeeff */

  --contour_color_dark: var(--brand_burgundy);   /* was #005599 */
  --contour_color_light: var(--brand_orange_light); /* was #aaddff */

  --footer_background: rgb(77,77,77);
  --header_background: var(--brand_sand);
  --news_background: var(--brand_sand);           /* was rgb(250,250,250) */
  --body_background: var(--brand_sand);           /* was #fafafa */
  --box_background: var(--brand_sand);            /* text boxes and panels, was white */

  /* Fonts */
  --primary_font: 'Manrope', sans-serif;    /* was Roboto */
  --secondary_font: 'Manrope', sans-serif;  /* was Roboto Slab */

  /* Layout */
  --page_width: 100rem;
  --container_max: 100rem;
  --container_xl: 87.5rem;
  --container_l: 75rem;
  --container_m: 62.5rem;
  --container_s: 50rem;
  --container_xs: 36rem;
}
