/*
  all4cad corporate style (GC 11): the single place for colors and fonts.
  Values follow support.all4cad.de/css/project.css and the logo colors.
  The accent orange is a surface/button color with dark text (#333) only,
  never a text color on white (too little contrast).
  The layout's <meta name="theme-color"> mirrors --accent.
*/

/* Self-hosted fonts. Weight naming follows the all4cad CMS: 500 = Regular file, 600 = Medium, 700 = SemiBold. */
@font-face { font-family: 'ac'; font-weight: 300; font-style: normal; font-display: swap;
    src: url('../fonts/acl.woff') format('woff'); }
@font-face { font-family: 'ac'; font-weight: 500; font-style: normal; font-display: swap;
    src: url('../fonts/ac.woff2') format('woff2'); }
@font-face { font-family: 'ac'; font-weight: 700; font-style: normal; font-display: swap;
    src: url('../fonts/acb.woff') format('woff'); }
@font-face { font-family: 'IBMplex'; font-weight: 500; font-style: normal; font-display: swap;
    src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBMplex'; font-weight: 600; font-style: normal; font-display: swap;
    src: url('../fonts/IBMPlexSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'IBMplex'; font-weight: 700; font-style: normal; font-display: swap;
    src: url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); }

:root {
    --accent: #F6A100;          /* surfaces and buttons only */
    --accent-light: #FDF2D9;    /* highlight surfaces */
    --on-accent: #333333;       /* text on the accent */
    --text: #666666;            /* body text */
    --text-strong: #4E4E4D;     /* bold text and headings */
    --line: #E3E3E3;
    --bg: #ffffff;
    --card: #ffffff;
    --error: #b00020;
    --ok: #1b6e3a;
    --come: #1b6e3a;            /* Kommen button, white text (contrast about 6:1) */
    --on-come: #ffffff;
    --overdue:#c62828;         /* overdue tasks: text and left marker, on white */
    --overdue-bg: #fdecea;

    --font-body: 'IBMplex', Arial, Helvetica, sans-serif;
    --font-heading: 'ac', 'IBMplex', Arial, Helvetica, sans-serif;
}
