/*
 * Barrierefreiheits-Box Styling (accessibility.css)
 * Box jetzt am festen, schwebenden LINKEN Bildschirmrand, vertikal zentriert
 */

#accessibility-sidebar {
    position: fixed;
    /* Vertikal zentrieren */
    top: 50%;
    /* Links positionieren */
    left: 0;
    /* right: 0; */
    transform: translateY(-50%); 
    z-index: 9999; 
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: system-ui, sans-serif;
}

#accessibility-toggle {
/*    background-color: #0073aa; 
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px; */
    font-size: 36px;
    color:#000;
    /* Vertikale/Horizontale Zentrierung des Icons im Kreis */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    /* transition: background-color 0.3s ease; */
}

#accessibility-toggle i {
  font-size: 36px;
}

/* #accessibility-toggle:hover { background-color: #005177; } */

#accessibility-controls {
    display: none; /* ANFÄNGLICH VERSTECKT */
    position: absolute;
    /* Controls klappen rechts auf und sind vertikal auf Button-Mitte ausgerichtet */
    top: 50%;
    left: 60px; 
    transform: translateY(-50%);
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 10px;
    flex-direction: column;
    background: #fff;
 
}

#accessibility-controls h4 {
    margin-top: 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#accessibility-controls button {
    display: block; 
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #fff;
    color: #000
}

#accessibility-panel button i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

#accessibility-controls button:hover {
    background-color: #d4d4d4;
    border: 1px solid #000;
}

/* ********** Barrierefreiheits-Funktionen (CSS-Klassen) ********** */

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

.high-contrast a {
    color: yellow !important;
    border-bottom: 1px solid yellow !important;
}

.high-contrast button, 
.high-contrast input[type="submit"] {
    background-color: white !important;
    color: black !important;
    border-color: white !important;
}

/* Vergrößerte Schrift (Beispielklassen) */
.font-size-large {
    font-size: 1.1em; /* 10% größer */
}

.font-size-x-large {
    font-size: 1.2em; /* 20% größer */
}