/* Jumpboard: Schrift und Farb-Tokens nach docs/design/designsprache.md (B3, B4, B5, B10). */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schrift/roboto-latin-400-normal.4279528ce0e7.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: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../schrift/roboto-latin-ext-400-normal.5aabe8157d61.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../schrift/roboto-latin-500-normal.55cfeb5304f0.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: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../schrift/roboto-latin-ext-500-normal.3a24e2af79df.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../schrift/roboto-latin-700-normal.10a07810f28f.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: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../schrift/roboto-latin-ext-700-normal.57ef729e27c0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  color-scheme: light;
  /* Marke (gemessen auf jump-fitnessclub.de) */
  --jump-rot: #9C140E;
  --jump-rot-dunkel: #7A0F0A;
  --jump-rot-hell: #FBEAE9;
  --anthrazit: #1E1D1C;
  --akzent-schrift: #9C140E;

  /* Flächen und Text, hell */
  --seite: #F4F3F1;
  --karte: #FFFFFF;
  --flaeche-grau: #F2F2F2;
  --text: #1E1D1C;
  --text-neben: #55524F;
  --rahmen: #8C8884;
  --rahmen-leise: #DDD9D5;
  --kopf: #1E1D1C;
  --kopf-knopf: #3A3836;
  --gewaehlt: #1E1D1C;
  --gewaehlt-text: #FFFFFF;

  /* Status: Schrift / Fläche / gefüllt */
  --status-erledigt: #1B6B2F;     --status-erledigt-flaeche: #E5F3E8;
  --status-offen: #1C4F8C;        --status-offen-flaeche: #E6EEF8;
  --status-ueberfaellig: #B3120C; --status-ueberfaellig-flaeche: #FDE8E7; --status-ueberfaellig-voll: #C4170F;
  --status-reparatur: #8A4B00;    --status-reparatur-flaeche: #FFF1D6;    --status-reparatur-voll: #F5B841;
  --status-ausser-betrieb: #3B3936; --status-ausser-betrieb-flaeche: #E4E2DF;

  /* Saison-Pille (Öffnungszeiten): Winter kühles Blau, Sommer warmes Orange. Schrift auf Fläche 6,76 / 6,44 : 1 */
  --saison-winter: #0B5878;       --saison-winter-flaeche: #E1F1F8;
  --saison-sommer: #8A4100;       --saison-sommer-flaeche: #FFEEC2;

  /* Schrift */
  --schrift: Roboto, "Segoe UI", Arial, sans-serif;
  --schrift-titel: 2rem;    /* 32px */
  --schrift-h2: 1.625rem;   /* 26px */
  --schrift-h3: 1.375rem;   /* 22px */
  --schrift-gross: 1.25rem; /* 20px */
  --schrift-basis: 1.125rem;/* 18px */
  --schrift-klein: 1rem;    /* 16px, Untergrenze */

  /* Form */
  --ecke-karte: 12px;
  --ecke-feld: 8px;
  --ecke-button: 999px;
  --schatten-karte: 0 1px 3px rgba(0,0,0,.12);
  --hoehe-button: 48px;
  --hoehe-button-gross: 56px;
}

/* Dunkel: fest gewählt ... */
[data-theme="dunkel"] {
  color-scheme: dark;
  --seite: #161514;
  --karte: #232220;
  --flaeche-grau: #2C2B29;
  --text: #F2F2F2;
  --text-neben: #BDBAB6;
  --rahmen: #807C78;
  --rahmen-leise: #3A3836;
  --akzent-schrift: #F86B65;
  --jump-rot-dunkel: #B8170F; /* im Dunkeln wird Hover heller statt dunkler */
  --jump-rot-hell: #3A1A18;
  --kopf: #0E0D0C;
  --kopf-knopf: #2C2B29;
  --gewaehlt: #F2F2F2;
  --gewaehlt-text: #1E1D1C;
  --status-erledigt: #7DD394;     --status-erledigt-flaeche: #1B2E21;
  --status-offen: #8CB8F0;        --status-offen-flaeche: #1A2433;
  --status-ueberfaellig: #FF8A84; --status-ueberfaellig-flaeche: #3A1A18;
  --status-reparatur: #F5B841;    --status-reparatur-flaeche: #33280F;
  --status-ausser-betrieb: #BDBAB6; --status-ausser-betrieb-flaeche: #2C2B29;
  --saison-winter: #86D3F2;       --saison-winter-flaeche: #10303D; /* 8,34 : 1 */
  --saison-sommer: #FFC24A;       --saison-sommer-flaeche: #3A2A08; /* 8,63 : 1 */
}

/* ... oder automatisch nach Geräteeinstellung (gleiche Werte wie oben). */
@media (prefers-color-scheme: dark) {
  [data-theme="automatisch"] {
    color-scheme: dark;
    --seite: #161514;
    --karte: #232220;
    --flaeche-grau: #2C2B29;
    --text: #F2F2F2;
    --text-neben: #BDBAB6;
    --rahmen: #807C78;
    --rahmen-leise: #3A3836;
    --akzent-schrift: #F86B65;
    --jump-rot-dunkel: #B8170F;
    --jump-rot-hell: #3A1A18;
    --kopf: #0E0D0C;
    --kopf-knopf: #2C2B29;
    --gewaehlt: #F2F2F2;
    --gewaehlt-text: #1E1D1C;
    --status-erledigt: #7DD394;     --status-erledigt-flaeche: #1B2E21;
    --status-offen: #8CB8F0;        --status-offen-flaeche: #1A2433;
    --status-ueberfaellig: #FF8A84; --status-ueberfaellig-flaeche: #3A1A18;
    --status-reparatur: #F5B841;    --status-reparatur-flaeche: #33280F;
    --status-ausser-betrieb: #BDBAB6; --status-ausser-betrieb-flaeche: #2C2B29;
    --saison-winter: #86D3F2;       --saison-winter-flaeche: #10303D;
    --saison-sommer: #FFC24A;       --saison-sommer-flaeche: #3A2A08;
  }
}

/* Personenfarben (konten.models.FARBEN), weiße Schrift */
.farbe-blau { background: #1C4F8C; }
.farbe-gruen { background: #1B6B2F; }
.farbe-lila { background: #6B3FA0; }
.farbe-petrol { background: #0F6E6E; }
.farbe-braun { background: #8A4B00; }
.farbe-beere { background: #A3195B; }
.farbe-oliv { background: #4A5A12; }
.farbe-anthrazit { background: #3B3936; }
.farbe-grau { background: #55524F; }
.farbe-nachtblau { background: #2B3A67; }
