/* Barrierefreiheits-Verbesserungen für müllerditzen */

/* Link-Kontrast verbessern - nur für Links im Text */
p a,
div a {
    /* color: #0056cc !important; */
    text-decoration: underline;
    font-weight: 500;
}

p a:hover,
div a:hover,
p a:focus,
div a:focus {
    color: #9B0000 !important;
    text-decoration: underline;
}
.blog-grid:hover a {
    color: #9B0000 !important;
}

/* Focus-States für bessere Tastaturnavigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #9B0000;
    outline-offset: 2px;
}

/* Skip-Links für Screen Reader */
.skip-link {
    background: #9B0000;
    color: white;
    font-weight: 700;
    left: 6px;
    padding: 8px 16px;
    position: absolute;
    top: 6px;
    transform: translateY(-100px);
    transition: transform 0.3s;
    z-index: 100000;
}

.skip-link:focus {
    transform: translateY(0%);
}

/* Social Media Links besser zugänglich machen */
.social a {
    color: inherit;
    text-decoration: none;
}

.social a:hover,
.social a:focus {
    color: #9B0000;
    text-decoration: underline;
}

/* Buttons ohne Text besser zugänglich machen */
.btn:not([aria-label]):not([title]) {
    position: relative;
}

.btn:not([aria-label]):not([title])::after {
    content: "Button";
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Überschriften-Reihenfolge korrigieren */
h1, h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Formulare besser zugänglich machen */
label {
    font-weight: 600;
    color: #333333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border: 2px solid #cccccc;
    padding: 8px 12px;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #9B0000;
    outline: none;
}

/* Hauptnavigation schwarz machen */
.main-nav a,
.main-nav .nav-link,
.main-nav li a {
    color: #000000 !important;
}

/* Footer Links weiß machen */
footer a,
.footer a,
.site-footer a {
    color: #ffffff !important;
}

/* Text-decoration in Dropdowns entfernen */
.dropdown-menu a,
.submenu a,
.menu-item a,
.nav-menu a,
ul.menu a,
ul.nav a {
    text-decoration: none !important;
}

/* Mobile Navigation verbessern */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}
