/* ==========================================================================
   younity Design Tokens · Version 2.0 · November 2026
   Quelle: younity Brand Guidelines 2.0
   Schrift: DM Sans (SIL Open Font License), selbst gehostet
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-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: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-italic-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 {
  /* ---- Primärfarben ---------------------------------------------------- */
  --yn-space-blue: #1D2E64;      /* Pantone 288 C · Markenfarbe, dunkle Flächen, Headlines */
  --yn-deep-pink: #E5007D;       /* Pantone 226 C · Highlight: Buttons, Links, Schlüsselwort. Auf Space Blue als Schrift nur ab 32 px */
  --yn-white: #FFFFFF;

  /* ---- Flächenfarben --------------------------------------------------- */
  --yn-light-blue: #EEEFF4;      /* ehemals "Light Grey": ruhige Flächen, Porträt-Hintergründe */
  --yn-light-pink: #FCE7F2;      /* warme Flächen, Porträt-Hintergründe */
  --yn-off-white: #F5F6F9;       /* sehr leichte Flächen, Formularfelder */

  /* ---- Erweiterte Palette (nur digital) -------------------------------- */
  --yn-navy-800: #18265A;        /* Tiefe in Space-Blue-Flächen */
  --yn-night: #0F1838;           /* Footer, Overlays */
  --yn-pink-hover: #C8006D;      /* Hover und Pressed von Pink */
  --yn-pink-soft: rgba(229, 0, 125, 0.10);

  /* ---- Text ------------------------------------------------------------- */
  --yn-ink: #16193A;             /* Fliesstext und Headlines auf hell */
  --yn-text-lead: #33364A;
  --yn-text-muted: #595F78;      /* Sekundärtext */
  --yn-text-faint: #6B7086;      /* Hinweise, Metadaten */
  --yn-text-on-dark: #FFFFFF;
  --yn-text-on-dark-muted: #CFD4E6;

  /* ---- Linien ----------------------------------------------------------- */
  --yn-border: #D5D8E3;
  --yn-border-soft: #E6E8EF;

  /* ---- Verlauf (nur Logo und Verlaufsleiste) ---------------------------- */
  --yn-gradient-brand: linear-gradient(90deg, #1D2E64 0%, #E5007D 95%);

  /* ---- Typografie -------------------------------------------------------- */
  --yn-font: "DM Sans", Arial, Helvetica, sans-serif;
  --yn-fs-display: 56px;  --yn-lh-display: 60px;
  --yn-fs-h1: 48px;       --yn-lh-h1: 54px;
  --yn-fs-h2: 40px;       --yn-lh-h2: 46px;
  --yn-fs-h3: 22px;       --yn-lh-h3: 28px;
  --yn-fs-h4: 20px;       --yn-lh-h4: 28px;
  --yn-fs-lead: 20px;     --yn-lh-lead: 31px;
  --yn-fs-body: 17px;     --yn-lh-body: 28px;
  --yn-fs-sm: 15px;       --yn-lh-sm: 23px;
  --yn-fs-xs: 13px;       --yn-lh-xs: 19px;
  --yn-fs-meta: 14px;     --yn-lh-meta: 20px;    /* Metazeilen, normale Schreibweise */
  --yn-tracking-tight: -0.02em;

  /* ---- Radien ------------------------------------------------------------ */
  --yn-radius-sm: 12px;     /* kleine Elemente unter 100 px */
  --yn-radius-lg: 24px;     /* alles Flächige: Karten, Fotos, Kacheln */
  --yn-radius-pill: 999px;  /* alles Klickbare: Buttons, Felder, Badges, Chips */

  /* ---- Schatten ---------------------------------------------------------- */
  --yn-shadow-card: 0 18px 40px -18px rgba(29, 46, 100, 0.22), 0 2px 6px rgba(29, 46, 100, 0.05);
  --yn-shadow-button: 0 10px 24px -10px rgba(229, 0, 125, 0.55);
  --yn-shadow-badge: 0 8px 20px -6px rgba(29, 46, 100, 0.30);

  /* ---- Abstände (5er-Raster) -------------------------------------------- */
  --yn-s1: 5px;   --yn-s2: 10px;  --yn-s3: 15px;  --yn-s4: 20px;
  --yn-s5: 25px;  --yn-s6: 30px;  --yn-s7: 40px;  --yn-s8: 50px;
  --yn-s9: 60px;  --yn-s10: 70px; --yn-s11: 85px; --yn-s12: 105px;
  --yn-s13: 120px;

  /* ---- Layout ------------------------------------------------------------ */
  --yn-container: 1160px;
  --yn-container-wide: 1320px;
  --yn-container-narrow: 760px;
  --yn-measure: 680px;

  /* ---- Bewegung ---------------------------------------------------------- */
  --yn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --yn-duration: 240ms;
}
