/* =========================================================================
   Fahrschule MAX · Design-Tokens
   Farben, Typo, Abstände, Radien, Motion. Logo-Rot aus der Logodatei: #E4322B
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-cyrillic-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Georgisch (Mchedruli) als Fallback für mehrsprachige Inhalte */
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F;
}
@font-face {
  font-family: "Noto Sans Georgian";
  src: url("../fonts/noto-sans-georgian-georgian-700-normal.woff2") format("woff2");
  font-weight: 700; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F;
}

:root {
  /* Farbe */
  --ink: #0E0F12;            /* Asphalt bei Nacht: Text, dunkle Sektionen */
  --asphalt: #17191E;        /* dunkle Karten, Footer */
  --asphalt-2: #1F2228;
  --line: #2B2E35;           /* feine Linien auf Dunkel */
  --fog: #9BA1AB;            /* Sekundärtext auf Dunkel (6,9:1) */
  --fog-ink: #575C66;        /* Sekundärtext auf Hell (6,3:1) */
  --paper: #F6F5F3;          /* heller Hintergrund */
  --paper-2: #ECEAE6;
  --rule: #D9D6D0;           /* Haarlinien auf Hell */
  --white: #FFFFFF;
  --max-red: #E4322B;        /* Logo-Rot: Nadel, Zahlen, Flächen, große Schrift */
  --max-red-cta: #D42A23;    /* Button-Fläche, weiße Schrift 5,05:1 */
  --max-red-strong: #B3211B; /* Hover, rote Schrift auf Hell (6,4:1) */
  --max-red-bright: #FF5A4F; /* rote Schrift auf Dunkel (6,1:1) */
  --max-red-glow: rgb(228 50 43 / 0.32);
  --go: #22C55E;             /* nur Status „heute Theorie“ / „geöffnet“ */
  --go-ink: #15803D;
  --amber: #F2A33A;          /* nur „nach Vereinbarung“ */

  /* Typo */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);   /* Fließtext ≥ 17px */
  --step-1: clamp(1.25rem, 1.16rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.75vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.8rem + 3vw, 4.6rem);
  --step-5: clamp(3rem, 1.9rem + 5.5vw, 6rem);
  --step-xxl: clamp(5rem, 1rem + 19vw, 22rem);              /* „MAX“, „MACHT MOBIL“ */

  /* Abstände */
  --gutter: clamp(16px, 4vw, 56px);
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: clamp(4rem, 3rem + 5vw, 8rem);
  --space-10: clamp(5rem, 3rem + 9vw, 11rem);
  --max-w: 1440px;
  --header-h: 72px;

  /* Radien: Karten 16, Flächen 28, Steuerelemente 8 */
  --r-s: 8px; --r-m: 16px; --r-l: 28px;

  /* Schatten nur auf Hell, dezent und eingefärbt */
  --shadow-1: 0 1px 2px rgb(14 15 18 / 0.06), 0 8px 24px -12px rgb(14 15 18 / 0.18);
  --shadow-2: 0 2px 6px rgb(14 15 18 / 0.08), 0 24px 48px -24px rgb(14 15 18 / 0.32);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-drive: cubic-bezier(.33, 0, .15, 1);
  --ease-snap: cubic-bezier(.34, 1.56, .64, 1);   /* CSS-Näherung an back.out(1.6) */
  --dur-xs: 150ms; --dur-s: 300ms; --dur-m: 600ms; --dur-l: 1000ms;
  --stagger: 70ms;

  /* Ebenen */
  --z-banner: 40; --z-header: 50; --z-sticky: 45; --z-menu: 60; --z-skip: 100;
}
