
/* ---------- Legende (gemeinsamer Bauplan, Abschnitt 8) ---------------------- */
:root {
  --leg-kommt: #306100;            --leg-kommt-text: #FFFFFF;       /* 7,41 : 1 */
  --leg-gelaufen: #C9D8BA;         --leg-gelaufen-text: #122512;    /* 11,9 : 1 */
  --leg-angefragt: #4C761E;
  --leg-zu: #6F766C;               --leg-zu-grund: #E9EBE5;
  --leg-beispiel: #4C761E;         --leg-beispiel-grund: #F4F8EE;
  --leg-vorfall: #A33A30;          --leg-erinnerung: #2F6B4F;       --leg-hinweis: #1F5F8B;
  --leg-heute: #122512;
}
html[data-theme="dark"] {
  --leg-kommt: #B5E26B;            --leg-kommt-text: #17210F;       /* 11,15 : 1 */
  --leg-gelaufen: #3E5E2A;         --leg-gelaufen-text: #F1E9DB;    /* 6,13 : 1 */
  --leg-angefragt: #B5E26B;
  --leg-zu: #B0A496;               --leg-zu-grund: #2B3A2C;
  --leg-beispiel: #B9CBA6;         --leg-beispiel-grund: #1B3A1F;
  --leg-vorfall: #FF9A8C;          --leg-erinnerung: #8FD19E;       --leg-hinweis: #9CC8F0;
  --leg-heute: #F1E9DB;
}

.bp {
  --bp-tinte: #122512;  --bp-leise: #4F5F44;  --bp-flaeche: #FFFFFF;  --bp-we: #F4F1EA;  --bp-kopf: #F7F3EA;
  --bp-linie: #E3E7DF;  --bp-linie-stark: #8A9187;  --bp-akzent: #306100;  --bp-fokus: #4C761E;
  --bp-hinweis-grund: #F4F8EE;  --bp-doppelt: #AED46D;  --bp-doppelt-rand: #4C761E;
}
html[data-theme="dark"] .bp {
  --bp-tinte: #F1E9DB;  --bp-leise: #C9D8BA;  --bp-flaeche: #14361A;  --bp-we: #0F2A12;  --bp-kopf: #0D270D;
  --bp-linie: rgba(181, 226, 107, .16);  --bp-linie-stark: #557A39;  --bp-akzent: #B5E26B;  --bp-fokus: #B5E26B;
  --bp-hinweis-grund: #0F2A12;  --bp-doppelt: #8F6A16;  --bp-doppelt-rand: #E8C77A;
}

.rb {
  --rb-tinte: #122512;  --rb-leise: #4F5F44;  --rb-flaeche: #FFFFFF;  --rb-zeile: #F4F7F0;  --rb-linie: #E3E7DF;
  --rb-linie-stark: #8A9187;  --rb-akzent: #306100;  --rb-beruflich: #306100;  --rb-privat: #C27A12;
  --rb-ohne: #8A9187;  --rb-ohne-hell: #D5D9D1;  --rb-zu-grund: #E9EBE5;  --rb-zu-punkt: #6F766C;
  --rb-vj: #122512;  --rb-heute: #122512;  --rb-hinweis-grund: #F4F8EE;  --rb-hinweis-rand: #4C761E;  --rb-fokus: #4C761E;
  --rb-schatten: var(--gs-schatten-karte, 0 1px 2px rgba(33, 52, 18, .06), 0 6px 16px rgba(33, 52, 18, .08));
  --rb-tip-schatten: 0 12px 30px -10px rgba(18, 37, 18, .38);
  --rb-bsp-streifen: rgba(255, 255, 255, .62);
}
html[data-theme="dark"] .rb {
  --rb-tinte: #F1E9DB;  --rb-leise: #C9D8BA;  --rb-flaeche: #14361A;  --rb-zeile: #0F2A12;  --rb-linie: #2B4D2E;
  --rb-linie-stark: #6E8C5A;  --rb-akzent: #B5E26B;  --rb-beruflich: #34A07A;  --rb-privat: #C27A12;
  --rb-ohne: #93A887;  --rb-ohne-hell: #2E4A30;  --rb-zu-grund: #2B3A2C;  --rb-zu-punkt: #B0A496;
  --rb-vj: #F1E9DB;  --rb-heute: #F1E9DB;  --rb-hinweis-grund: #0F2A12;  --rb-hinweis-rand: #B5E26B;  --rb-fokus: #B5E26B;
  --rb-schatten: 0 14px 32px -14px rgba(0, 0, 0, .7);
  --rb-tip-schatten: 0 14px 32px -10px rgba(0, 0, 0, .8);
  --rb-bsp-streifen: rgba(20, 54, 26, .7);
}

/* ---------- Vermerke, Fenster, Suche, Legende, Kartenstapel, die vier alten Schwaechen ------------------------ */
:root {
  --pv-tinte: #122512;             /* 16,0 : 1 auf Weiss */
  --pv-leise: #4F5F44;             /* 6,9 : 1 auf Weiss */
  --pv-flaeche: #FFFFFF;
  --pv-linie: #E3E7DF;
  --pv-linie-stark: #8A9187;
  --pv-akzent: #306100;            /* 7,41 : 1 */
  --pv-fokus: #4C761E;
  --pv-hinweis-grund: #F4F8EE;     --pv-hinweis-rand: #306100;
  --pv-achtung-grund: #FFF3D6;     --pv-achtung-text: #4D3300;      /* 11,6 : 1 */

  --gv-zeichen-text: #FFFFFF;
  --gv-zeichen-ring: #FFFFFF;
  --gv-vorfall-grund: #FBE9E6;     --gv-vorfall-text: #4A120C;      /* 14,5 : 1 */
  --gv-erinnerung-grund: #E7F2EC;  --gv-erinnerung-text: #163828;   /* 12,1 : 1 */
  --gv-hinweis-grund: #E6EFF8;     --gv-hinweis-text: #102F4A;      /* 12,4 : 1 */
  --gv-leise-grund: #F1F2EE;       --gv-leise-text: #3B4036;        --gv-leise-rand: #6F766C;   --gv-leise-zeichen: #5D645A;
  --gv-marke-grund: rgba(0, 0, 0, .07);
  --gv-nw-grund: #A33A30;          --gv-nw-text: #FFFFFF;
  --gv-knopf-text: #1F3A11;        --gv-knopf-grund: #FFFFFF;       --gv-knopf-rand: #4C761E;   --gv-knopf-hover: #F4F8EE;
  --gv-ja-text: #FFFFFF;           --gv-ja-grund: #306100;          --gv-ja-rand: #306100;      --gv-ja-hover: #2A5300;
  --gv-weg-text: #8F2A21;          --gv-weg-grund: #FFFFFF;         --gv-weg-rand: #A33A30;     --gv-weg-hover: #FBE9E6;
  --gv-fenster-grund: #FBF9F6;     --gv-fenster-text: #1A1F17;      --gv-fenster-leise: #3B4A32;  --gv-fenster-satz: #4F5F44;
  --gv-feld-grund: #FFFFFF;        --gv-feld-text: #1A1F17;         --gv-feld-rand: #6F766C;
  --gv-wahl: #306100;
  --gv-fehler: #8F2A21;            /* 8,0 : 1 */
  --gv-popup-vermerk: #4A120C;
  --gv-heute-grund: #F4F8EE;       --gv-heute-text: #122512;        --gv-heute-rand: #306100;
  --gv-legende-text: #122512;      --gv-legende-satz: #4F5F44;

  --pv-storniert-text: #4B5645;    /* auf #EFEADF 6,44 : 1, war #6D835D 3,46 : 1 */
  --pv-bearbeiten-text: #306100;   /* auf der Karte #FFFFFF 7,41 : 1, war #4C761E auf Knopfgrau (WebKit #C0C0C0) 2,94 : 1 */
  --pv-bearbeiten-rand: #306100;
  --pv-bestaetigt-text: #2F6B4F;   /* auf #EBF3ED 5,57 : 1 wie in der Liste; in der Tagesansicht dunkel war es 1,06 : 1 */

  --pv-kal-belegt: #306100;        --pv-kal-belegt-text: #F7F3EA;
  --pv-kal-gesperrt: #1B4D12;      --pv-kal-gesperrt-text: #F7F3EA;
  --pv-kal-heute: #306100;

  /* Kartenstapel neuer Anfragen */
  --pv-stapel-grund: #F7F1E6;
  --pv-stapel-schatten: 0 -1px 0 rgba(23, 33, 15, .14), 0 -12px 24px -14px rgba(23, 33, 15, .45);
  --pv-stapel-mehr-text: #1F3A11;  --pv-stapel-mehr-rand: #4C761E;  --pv-stapel-mehr-grund: #FFFFFF;
}
html[data-theme="dark"] {
  --pv-tinte: #F1E9DB;             /* 11,1 : 1 auf #14361A */
  --pv-leise: #C9D8BA;             /* 8,9 : 1 */
  --pv-flaeche: #14361A;
  --pv-linie: #2B4D2E;
  --pv-linie-stark: #6E8C5A;
  --pv-akzent: #B5E26B;            /* 8,9 : 1 */
  --pv-fokus: #B5E26B;
  --pv-hinweis-grund: #0F2A12;     --pv-hinweis-rand: #B5E26B;
  --pv-achtung-grund: #3A2C0E;     --pv-achtung-text: #F6E2B5;      /* 11,4 : 1 */

  --gv-zeichen-text: #10140C;      /* 9,2 / 10,4 / 10,6 : 1 */
  --gv-zeichen-ring: #14361A;
  --gv-vorfall-grund: #3A1714;     --gv-vorfall-text: #F7D9D4;
  --gv-erinnerung-grund: #173226;  --gv-erinnerung-text: #D3EBDD;
  --gv-hinweis-grund: #142536;     --gv-hinweis-text: #D4E4F5;
  --gv-leise-grund: #262A23;       --gv-leise-text: #D6D9CF;        --gv-leise-rand: #6F766C;   --gv-leise-zeichen: #B0B6A8;
  --gv-marke-grund: rgba(255, 255, 255, .14);
  --gv-nw-grund: #FF9A8C;          --gv-nw-text: #1A0806;
  --gv-knopf-text: #F1E9DB;        --gv-knopf-grund: #14361A;       --gv-knopf-rand: #8FB86A;   --gv-knopf-hover: #1B4620;
  --gv-ja-text: #FFFFFF;           --gv-ja-grund: #2F5F0E;          --gv-ja-rand: #B5E26B;      --gv-ja-hover: #2F5F0E;
  --gv-weg-text: #FFD9D2;          --gv-weg-grund: #5A1F1A;         --gv-weg-rand: #D47A6E;     --gv-weg-hover: #5A1F1A;
  --gv-fenster-grund: #14361A;     --gv-fenster-text: #F1E9DB;      --gv-fenster-leise: #C9D8BA;  --gv-fenster-satz: #C9D8BA;
  --gv-feld-grund: #0D270D;        --gv-feld-text: #F1E9DB;         --gv-feld-rand: #8FB86A;
  --gv-wahl: #B5E26B;
  --gv-fehler: #FFB4A8;
  --gv-popup-vermerk: #FFD9D2;
  --gv-heute-grund: #14361A;       --gv-heute-text: #F1E9DB;        --gv-heute-rand: #B5E26B;
  --gv-legende-text: #F1E9DB;      --gv-legende-satz: #C9D8BA;

  --pv-storniert-text: #4B5645;    /* die Abzeichen bleiben im Dunkeln hell wie in der Liste */
  --pv-bearbeiten-text: #F1E9DB;   --pv-bearbeiten-rand: #557A39;
  --pv-bestaetigt-text: #2F6B4F;

  --pv-kal-belegt: #B5E26B;        --pv-kal-belegt-text: #17210F;
  --pv-kal-gesperrt: #1F3A11;      --pv-kal-gesperrt-text: #F1E9DB;
  --pv-kal-heute: #B5E26B;

  --pv-stapel-grund: #0D270D;
  --pv-stapel-schatten: 0 -1px 0 #3E5E2A, 0 -12px 24px -14px rgba(0, 0, 0, .8);
  --pv-stapel-mehr-text: #F1E9DB;  --pv-stapel-mehr-rand: #8FB86A;  --pv-stapel-mehr-grund: #14361A;
}

:root {
  --pv-leg-grund: #F4F6F0;         --pv-leg-rand: #DDE3D6;
  --pv-leiste-grund: #F7F3EA;      --pv-leiste-schatten: 0 8px 14px -12px rgba(23, 33, 15, .55);
  --pw-grund: #FBF9F6;             --pw-text: #1A1F17;              --pw-leise: #3B4A32;
  --pw-feld-grund: #FFFFFF;        --pw-feld-rand: #6F766C;         --pw-fokus: #306100;
  --pw-gut-grund: #EAF3DF;         --pw-gut-text: #1F3A11;          --pw-fehler-grund: #FBE9E6;  --pw-fehler-text: #7A1F17;
  --pw-ja-grund: #306100;          --pw-ja-text: #FFFFFF;
}
html[data-theme="dark"] {
  --leg-gelaufen: #3F4E38;         --leg-gelaufen-text: #F7F3EA;    /* 8,0 : 1 */
  --leg-angefragt: #E8C77A;        /* Streifen gold, 8,2 : 1 gegen den Plan */
  --leg-zu: #C8BBAA;               --leg-zu-grund: #3A3530;         /* Punkte 6,4 : 1 */
  --leg-heute: #F2C75C;            /* 8,3 : 1 gegen den Plan */
  --tf-karte: linear-gradient(180deg, #1B3F20 0%, #12301A 100%);
  --tf-karte-rand: #2F5A33;
  --tf-karte-schatten: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 4px rgba(0, 0, 0, .45), 0 16px 30px -18px rgba(0, 0, 0, .9);
  --tf-frei: #0C2010;              --tf-frei-text: #B8C9AA;
  --tf-vertieft: inset 0 1px 2px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 255, 255, .05);
  --tf-erhaben: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 -1px 0 rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .65);
  --tf-balken: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(0, 0, 0, .28), 0 2px 3px -1px rgba(0, 0, 0, .75);
  --tf-bel-1: #1C4426;  --tf-bel-1-text: #F4F0E6;
  --tf-bel-2: #225923;  --tf-bel-2-text: #F4F0E6;
  --tf-bel-3: #6EB33C;  --tf-bel-3-text: #0C1806;
  --tf-bel-4: #84C936;  --tf-bel-4-text: #0C1806;
  --tf-bel-5: #ACDB4F;  --tf-bel-5-text: #0C1806;
  --tf-bel-6: #D7EC81;  --tf-bel-6-text: #0C1806;
  --tf-zu: #48413B;     --tf-zu-text: #F4F0E6;     --tf-zu-punkt: rgba(244, 240, 230, .22);
  --tf-heute: #F2C75C;  --tf-heute-schein: rgba(242, 199, 92, .32);
  --tf-tag-belegt: #17391C;  --tf-tag-belegt-kante: #B5E26B;
  /* Proben der Kalenderlegende so, wie die Tage jetzt gezeichnet sind */
  --pv-kal-belegt: #84C936;        --pv-kal-belegt-text: #0C1806;
  --pv-kal-gesperrt: #48413B;      --pv-kal-gesperrt-text: #F4F0E6;
  --pv-kal-heute: #F2C75C;

  --pv-leg-grund: rgba(255, 255, 255, .05);   --pv-leg-rand: rgba(255, 255, 255, .12);
  --pv-leiste-grund: #112D0B;      --pv-leiste-schatten: 0 10px 16px -12px rgba(0, 0, 0, .9);
  --pw-grund: #14361A;             --pw-text: #F1E9DB;              --pw-leise: #C9D8BA;
  --pw-feld-grund: #0D270D;        --pw-feld-rand: #8FB86A;         --pw-fokus: #B5E26B;
  --pw-gut-grund: #1F3A11;         --pw-gut-text: #E2F2C8;          --pw-fehler-grund: #3A1714;  --pw-fehler-text: #FFD9D2;
  --pw-ja-grund: #B5E26B;          --pw-ja-text: #17210F;
  --pv-bestaetigt-text: #1F5A3F;   /* auf #EBF3ED 7,2 : 1, war 5,57 */
  --pv-offen-text: #7D420C;        /* auf #FEF3EB 7,2 : 1, war 6,27 */
  --pv-anderer-monat-text: #A0B694; /* auf #0E2810 7,2 : 1, war 6,16 */
  --pv-reiter-wartet-text: #0C1806; /* auf #7CB838 7,5 : 1, war 6,96 */
  --pv-eintragen-text: #B3C2A6;    /* Knopf Buchung eintragen auf #112D0B 8,0 : 1, war 6,87 (WebKit 667 x 375) */
}
