/*
 * Barrierefreiheit: hoher Kontrast (?highcontrast=1)
 *
 * Die uebrigen Farben schaltet die TypoScript-Bedingung in
 * Configuration/TypoScript/constants.typoscript um (SCSS wird dafuer neu
 * kompiliert). Seit bootstrap_package 16 sind primary/secondary/light/
 * success/body-color jedoch typisierte Site-Settings – die lassen sich per
 * Bedingung nicht mehr veraendern. Diese Datei holt genau das nach.
 */
:root {
    --bs-primary: #ffffff;
    --bs-primary-rgb: 255, 255, 255;
    --bs-secondary: #ffffff;
    --bs-secondary-rgb: 255, 255, 255;
    --bs-success: #000000;
    --bs-light: #000000;
    --bs-body-color: #ffffff;
    --bs-body-color-rgb: 255, 255, 255;
    --bs-link-color: #ffffff;
    --bs-link-hover-color: #ffffff;
    --bs-emphasis-color: #ffffff;
}

/* Ueberschriften in Frames ohne Hintergrund (sonst Themenfarbe) */
.frame-background-none .frame-header h1,
.frame-background-none .frame-header h2,
.frame-background-none .frame-header h3,
.frame-background-none .frame-header h4,
.frame-background-none .frame-header h5,
.frame-background-none .frame-header h6,
.frame-background-light .frame-header h1,
.frame-background-light .frame-header h2,
.frame-background-light .frame-header h3,
.frame-background-light .frame-header h4,
.frame-background-light .frame-header h5,
.frame-background-light .frame-header h6,
.footer-section-content h5,
.text-primary {
    color: #ffffff !important;
}

/* Fliesstext und Links */
body,
p,
li,
.item-teaser,
.datagroup-item-extra {
    color: #ffffff;
}

a:not(.btn):not(.nav-link):not(.menu-link) {
    color: #ffffff;
    text-decoration: underline;
}

/* Buttons invertiert */
.btn-primary,
.btn-secondary {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Flaechen mit Themenfarbe */
.frame-background-primary,
.frame-background-secondary {
    background-color: #000000 !important;
    color: #ffffff !important;
}
.frame-background-primary::before,
.frame-background-primary::after,
.frame-background-secondary::before,
.frame-background-secondary::after {
    background-color: #000000 !important;
}
