/* Etwas hellere Graustufen für bessere Lesbarkeit (Tailwind-Utility-Klassen) */
.text-gray-500 {
    color: #a1a8b8 !important;
}
.text-gray-400 {
    color: #b8c0ce !important;
}
.text-gray-300 {
    color: #d0d6e2 !important;
}

/* Barrierefreie Darstellung (per Button / localStorage) */
body.be-a11y-mode {
    font-size: 110%;
    line-height: 1.65;
}

body.be-a11y-mode .text-gray-500,
body.be-a11y-mode .text-gray-400,
body.be-a11y-mode .text-gray-300 {
    color: #e8eaef !important;
}

body.be-a11y-mode .text-gray-200 {
    color: #f3f4f6 !important;
}

body.be-a11y-mode .text-white\/90 {
    color: rgba(255, 255, 255, 0.97) !important;
}

body.be-a11y-mode *:focus-visible {
    outline: 3px solid #00f0ff !important;
    outline-offset: 3px !important;
}

body.be-a11y-mode * {
    scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Rechts über „Kunden Login“ + Pfeil (fixed right-8 bottom-8 z-30) */
.be-a11y-floating-btn {
    position: fixed;
    right: max(2rem, env(safe-area-inset-right, 0px));
    left: auto;
    top: auto;
    bottom: calc(
        2rem + 3.25rem + 0.5rem + 3.25rem + 0.75rem + env(safe-area-inset-bottom, 0px)
    );
    z-index: 35;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid #00f0ff;
    background: #0a0f2d;
    color: #e8eaef;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    max-width: min(22rem, calc(100vw - 2rem));
    min-height: 2.75rem;
    text-align: center;
    font-family: inherit;
}

.be-a11y-floating-btn:hover {
    background: #121a40;
    color: #fff;
}
