/* css/accessibility.css */

/* Kontrast-Modi */
body.high-contrast {
    background-color: black !important;
    color: white !important;
}

body.high-contrast .DWM-sand,
body.high-contrast .DWM-white {
    background-color: #333 !important;
    color: white !important;
}

body.high-contrast .DWM-brown,
body.high-contrast .DWM-amber,
body.high-contrast .DWM-black {
    background-color: #555 !important;
    color: yellow !important;
}

body.high-contrast a {
    color: yellow !important;
    text-decoration: underline !important;
}

body.inverted-contrast {
    filter: invert(100%) hue-rotate(180deg);
}

/* Graustufen */
body.grayscale {
    filter: grayscale(100%);
}

/* Schriftgrößen */
body.font-size-small {
    font-size: 0.8em;
}

body.font-size-medium {
    font-size: 1em; /* Standard */
}

body.font-size-large {
    font-size: 1.2em;
}

/* Visually Hidden für Screenreader */
.DWM-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

/* Stil für einfache Sprache (Beispiel) */
body.easy-language p,
body.easy-language h1,
body.easy-language h2,
body.easy-language h3,
body.easy-language li {
    font-family: Arial, sans-serif !important; /* Eine einfachere Schriftart */
    line-height: 1.6 !important; /* Erhöhter Zeilenabstand */
    word-spacing: 0.1em !important; /* Erhöhter Wortabstand */
    font-weight: normal !important; /* Keine übermäßige Fette */
}
.highlighted-link {
  border: 2px solid #FF5733; /* Ein auffälliger Rand um den Link */
  background-color: #FFFF99; /* Eine Hintergrundfarbe */
  padding: 2px; /* Etwas Platz um den Text */
  text-decoration: underline; /* Unterstreichung, falls nicht vorhanden */
}