/* ==========================================================================
   Design tokens. LAYOUT FILE.
   Values from the handover board ("Design rules"). They are binding and apply to
   all templates, even where the canvas is a few pixels off. Change them here only.
   ========================================================================== */

:root {
  /* Colours. The logo keeps #FF5722 / #303841 on purpose. No black surfaces. */
  --ah-orange: #FF5E00;        /* buttons, fills, check marks */
  --ah-orange-text: #C44500;   /* links, labels, orange text on white */
  --ah-orange-dark: #8F3200;   /* small uppercase kicker on peach */
  --ah-text: #1B1714;          /* headings, body copy */
  --ah-grey: #5E5650;          /* secondary text, the only grey */
  --ah-beige: #FAF6F1;         /* header areas, footer */
  --ah-peach: #FFF1E8;         /* CTA areas, notices */
  --ah-line: #EDE5DD;          /* all dividers, 1 px */
  --ah-input-border: #E3D9CF;  /* input fields, 2 px */
  --ah-muted: #C7BDB3;         /* breadcrumb separators, inactive marks */
  --ah-white: #FFFFFF;
  --ah-pro-bg: #F0F7F2;        /* pros box, dezent */
  --ah-pro: #2F8F5B;
  --ah-con-bg: #FBF0EE;        /* cons box, dezent */
  --ah-con: #B3402C;
  --ah-image-bg: #EFE4D8;      /* placeholder behind images */
  --ah-logo-orange: #FF5722;
  --ah-logo-dark: #303841;
  --ah-bar: #FFD3B8;           /* chart bars, current month is --ah-orange */
  --ah-axis: #D9CFC5;          /* chart baseline */
  --ah-pro-dark: #1C4A30;      /* text on --ah-pro-bg */
  --ah-calc-soft: #F2ECE6;     /* calculator: inactive segments */
  --ah-calc-bar: #FFC9A6;      /* calculator: bars in the factor comparison */

  /* Grade scale Zeugnis-Check, 1 (green) to 5 (red) */
  --ah-grade-1: #2F8F5B;
  --ah-grade-2: #7FB84A;
  --ah-grade-3: #C98A1E;
  --ah-grade-4: #C8482F;
  --ah-grade-5: #A32D2D;
  --ah-grade-3-text: #B07A12;
  --ah-grade-bg-green: #EEF8F1;  /* soft fills behind grade badges and tiles */
  --ah-grade-bg-amber: #FDF4E3;
  --ah-grade-bg-red: #FBEEEC;
  --ah-secret: #8B3D9E;          /* "Geheimcode" */
  --ah-secret-bg: #F4ECF7;
  --ah-paid-border: #FFC7A3;     /* border of the paid report card */

  /* Third-party brand colours, only inside their badges */
  --ah-star-google: #FBBC04;
  --ah-trustpilot: #00B67A;
  --ah-google-blue: #4285F4;
  --ah-google-red: #DB4437;
  --ah-google-yellow: #F4B400;
  --ah-google-green: #0F9D58;
  --ah-linkedin: #0A66C2;

  /* Review avatars, in this order */
  --ah-avatar-1: #C2185B;
  --ah-avatar-2: #1565C0;
  --ah-avatar-3: #2E7D32;
  --ah-avatar-4: #6A1B9A;

  /* Shadows: cards lie flat, raised boxes (calculator, forms) float a bit */
  --ah-shadow-card: 0 10px 28px rgba(27, 23, 20, 0.05);
  --ah-shadow-raised: 0 18px 44px rgba(27, 23, 20, 0.10);

  /* Type: Raleway 400 to 800 */
  --ah-font: 'Raleway', 'Raleway Fallback', Arial, sans-serif;
  --ah-h1: 52px;
  --ah-h1-mobile: 30px;
  --ah-h2: 30px;
  --ah-h2-mobile: 24px;
  --ah-body: 17px;
  --ah-body-mobile: 16px;
  --ah-small: 15px;
  --ah-tiny: 13px;             /* never below 12 px on mobile */

  /* Radii */
  --ah-radius-button: 14px;
  --ah-radius-input: 12px;
  --ah-radius-card: 20px;
  --ah-radius-box: 24px;
  --ah-radius-pill: 999px;

  /* Buttons: S 44/15, M 52/16 (default, all of mobile except hero), L 56/17 (hero only) */
  --ah-btn-s: 44px;
  --ah-btn-m: 52px;
  --ah-btn-l: 56px;

  /* Layout */
  --ah-page-margin: 120px;
  --ah-page-margin-mobile: 20px;
  --ah-section-gap: 72px;
  --ah-section-gap-mobile: 40px;
  --ah-header-height: 84px;
  --ah-header-height-mobile: 64px;
  --ah-content-max: 1440px;
  --ah-breakpoint: 900px;      /* reference only, media queries use the literal */
}
