#barrierefreiheit-wrapper {
    position: fixed;
    right: 0;
    top: 260px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    background-color: #fff;
    color: #000;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    width: 260px;
    font-family: sans-serif;
}

#barrierefreiheit-wrapper.barrierefreiheit-open {
    transform: translateX(0%);
}


.bf-tts-button {
    background: #efefef;
    border: none;
    padding: 11px 12px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    line-height: 1em !important;
}

.bf-tts-button svg {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    position: relative;
    top: -2px;
    margin-right: 5px;
}

.bf-tts-button:hover {
    background: #d5d4d4;
}

button#bf-tts-toggle * {
    font-size: 16px !important;
    line-height: 1em !important;
}

#barrierefreiheit-toggle {
    position: absolute;
    left: -75px;
    top: 0;
    color: white;
    border: none;
    width: 75px;
    height: 75px;
    display:flex;
    flex-direction: center;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0 0 0px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: none !important;
    outline: none !important;
}

#barrierefreiheit-panel {
    padding: 20px;
    position: relative;
    z-index: 99999999999;
    background: white;
}

.bf-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    font-size: 15px;
}

.bf-setting>span {
    width: calc(100% - 46px) !important;
    display: block;
}

.bf-setting *{
    color: black;
    font-size: 18px !important;
}

.bf-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    margin: 0px;
}

.bf-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    -webkit-appearance: none !important;
}

.bf-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

#screenreader-hint *{
    font-size: 14px;
}

.bf-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.bf-switch input:checked + .bf-slider {
    background-color: #0073aa;
}

.bf-switch input:checked + .bf-slider:before {
    transform: translateX(22px);
}

/* Body-Klassen */
.bf-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2147483647 !important;
    mix-blend-mode: normal;
    backdrop-filter: none;
}

body.bf-grayscale .bf-overlay-grayscale {
    backdrop-filter: grayscale(100%);
}

body.bf-high-contrast .bf-overlay-contrast {
    backdrop-filter: contrast(150%);
}

