/* tokens/colors.css */
/* CSE Batterien — Farben (Quelle: Vertriebspräsentation v02, Folie 18 "CD-Basis") */
:root {
  /* Base */
  --cse-navy: #232F5D;          /* Primärfarbe */
  --cse-green: #95C11F;         /* Akzentfarbe */
  --cse-text: #3D3D3D;          /* Fließtext */
  --cse-surface: #F4F5F7;       /* Flächen */
  --cse-tint-green: #F5F9E9;    /* Tint Grün */
  --cse-tint-navy: #EEF1F8;     /* Tint Navy */
  --cse-white: #FFFFFF;

  /* Derived shades (oklch-abgeleitet, harmonisch zur CD-Basis) */
  --cse-navy-deep: #1A2347;     /* dunkler Navy, Footer/Hover */
  --cse-navy-60: #6572A0;       /* Navy 60% für Sekundärtext auf hell */
  --cse-green-dark: #7FA51A;    /* Hover-Grün */
  --cse-border: #DDE2EC;        /* Linien, Card-Border */
  --cse-icon-light: #D8DDEA;    /* Icons auf Navy (aus Deck-Kontaktfolie) */
  --cse-text-muted: #71717A;    /* Bildunterschriften, Fußnoten */
  --cse-text-on-navy: #C9D1E6;  /* Fließtext auf Navy */

  /* Semantic aliases */
  --text-heading: var(--cse-navy);
  --text-body: var(--cse-text);
  --text-muted: var(--cse-text-muted);
  --text-inverse: #FFFFFF;
  --surface-page: #FFFFFF;
  --surface-card: var(--cse-surface);
  --surface-tint-accent: var(--cse-tint-green);
  --surface-tint-primary: var(--cse-tint-navy);
  --surface-dark: var(--cse-navy);
  --accent: var(--cse-green);
  --accent-hover: var(--cse-green-dark);
  --primary: var(--cse-navy);
  --primary-hover: var(--cse-navy-deep);
  --border-default: var(--cse-border);
  --focus-ring: rgba(149, 193, 31, 0.45);
}

/* tokens/typography.css */
/* CSE Batterien — Typografie. CD-Schrift: Poppins (laut Deck-CD-Notizen, Website-Schrift).
   Geladen von Google Fonts (keine Fontdateien geliefert — Substitution flaggen!). */
/* Poppins — lokal gehostet (DSGVO) */
@font-face{font-family:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/poppins-italic-400-latin-ext.woff2') format('woff2');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:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/poppins-italic-400-latin.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/poppins-normal-300-latin-ext.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/poppins-normal-300-latin.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/poppins-normal-400-latin-ext.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/poppins-normal-400-latin.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/poppins-normal-500-latin-ext.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/poppins-normal-500-latin.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins-normal-600-latin-ext.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins-normal-600-latin.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/poppins-normal-700-latin-ext.woff2') format('woff2');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:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/poppins-normal-700-latin.woff2') format('woff2');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;}



:root {
  --font-sans: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-display: var(--font-sans);

  /* Scale (Website, 1440px Referenz) */
  --text-kicker-size: 13px;        /* KAPITEL-KICKER, uppercase, letter-spacing */
  --text-kicker-tracking: 0.18em;
  --text-h1-size: 52px;
  --text-h2-size: 36px;
  --text-h3-size: 22px;
  --text-h4-size: 17px;
  --text-body-size: 16px;
  --text-small-size: 14px;
  --text-caption-size: 12.5px;
  --stat-value-size: 44px;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.15;
  --leading-heading: 1.25;
  --leading-body: 1.6;
}

/* tokens/spacing.css */
/* CSE Batterien — Spacing, Radii, Schatten, Motion */
:root {
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --section-pad-y: 96px;
  --container-max: 1200px;
  --container-pad-x: 32px;

  /* Radii — zurückhaltend, technisch */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows — sehr sparsam; Karten leben von Fläche + Border, nicht Schatten */
  --shadow-card: 0 1px 2px rgba(35, 47, 93, 0.06);
  --shadow-raised: 0 8px 24px rgba(35, 47, 93, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --dur-fast: 150ms; /* @kind other */
  --dur-med: 300ms; /* @kind other */
}

/* tokens/base.css */
/* CSE Batterien — Basis-Element-Styles (schlank halten) */
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cse-navy); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--cse-green-dark); }
::selection { background: var(--cse-tint-green); }

