/**
 * Modularisierte CSS-Datei für entruempelung-genthin.html
 * Master-Vorlage für alle künftigen Unterseiten
 * Basiert auf wechselnden .section--cream und .section--blue Sektionen
 * Bereinigt und optimiert - Version 2.0
 */

/* ---------- BASISVARIABLEN ---------- */
:root {
    /* Farbpalette */
    --primary-color: #1c3d5a;
    --primary-light: #2c4b6a;
    --primary-dark: #132a3f;
    --secondary-color: #2c86c7;
    --accent-color: #4CAF50;
    --accent-bright: #5ac85e;
    --accent-dark: #3b9c3f;
    --accent-color-light: #e8f5e9;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --dark-gray: #666;
    --white: #ffffff;
    --neutral-light: rgba(255,255,255,0.9);
    --section-blue: #2c4b6a;
    --section-cream: #fefcf7;
    
    /* Shadows und Transitions */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 15px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient-overlay: linear-gradient(135deg, rgba(28,61,90,0.5) 0%, rgba(28,61,90,0.85) 100%);
    
    /* Typografie */
    --font-size-base: 16px;
    --line-height-base: 1.6;
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ---------- RESET & BASISSTILE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-position: inside;
}

strong {
    font-weight: 600;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip-Link für Barrierefreiheit */
.skip-link, a[href="#main-content"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- SECTION BASISKLASSE & VARIANTEN ---------- */
.section {
    padding: 80px 0;
    position: relative;
}

/* Cremefarbene Sektionen */
.section--cream {
    background-color: var(--section-cream);
    color: var(--text-color);
}

/* Blaue Sektionen */
.section--blue {
    background-color: var(--section-blue);
    color: var(--white);
    position: relative;
}

.section--blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(28, 61, 90, 0.97) 0%, rgba(44, 75, 106, 0.95) 100%);
    z-index: 0;
}

.section--blue .container {
    position: relative;
    z-index: 1;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 15px auto 0;
}

.section--cream .section-header h2 {
    color: var(--primary-color);
}

.section--cream .section-header p {
    color: var(--dark-gray);
}

.section--blue .section-header h2,
.section--blue .section-header p {
    color: var(--white);
}

.section--blue .section-header h2::after {
    background-color: var(--white);
}

/* ---------- HEADER ---------- */
.main-header {
    background: var(--gradient-overlay), url('../images/entrümpelung_genthin.webp');
    background-size: cover;
    background-position: center;
    color: var(--neutral-light);
    padding: 180px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 61, 90, 0.7), rgba(28, 61, 90, 0.4));
    z-index: 1;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.header-content h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content .subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    margin-top: 10px;
}

.header-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
}

.name-part {
    color: var(--white);
}

/* ---------- BREADCRUMB NAVIGATION ---------- */
.breadcrumb {
    font-size: 0.85rem;
    background-color: var(--section-cream);
    border-bottom: 1px solid rgba(28, 61, 90, 0.05);
    padding: 0;
    position: relative;
    margin-top: -1px;
}

.breadcrumb .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 6px;
    color: rgba(28, 61, 90, 0.4);
}

.breadcrumb a {
    color: rgba(28, 61, 90, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* ---------- TEXT-IMAGE SECTION ---------- */
.section--text-image .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section--text-image .content-wrapper.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.section--text-image .text-container,
.section--text-image .image-container {
    direction: ltr;
}

.section--text-image .image-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.section--text-image .image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.section--text-image .image-container:hover img {
    transform: scale(1.05);
}

.section--text-image .text-container {
    padding: 20px 0;
}

.section--text-image .text-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.section--text-image .text-container p {
    margin-bottom: 15px;
}

.section--blue .text-container h2,
.section--blue .text-container p {
    color: var(--white);
}

/* Listen in text-container */
.service-area-list {
    list-style: none;
    margin: 20px 0;
}

.service-area-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.service-area-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.text-highlight {
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0 15px;
}

.section--blue .text-highlight {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- BUTTONS & CTAs ---------- */
.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-family: var(--font-heading);
}

.cta-button.large {
    padding: 16px 35px;
    font-size: 1.1rem;
}

.cta-button:not(.secondary) {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-bright) 100%);
    color: var(--white);
    border: none;
}

.cta-button:not(.secondary):hover {
    background: linear-gradient(90deg, var(--accent-bright) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.section--cream .cta-button.secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section--cream .cta-button.secondary:hover {
    background: rgba(28, 61, 90, 0.05);
    color: var(--primary-color);
}

.cta-button i {
    margin-right: 8px;
}

/* ---------- SECTION TYP: CARDS ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    color: var(--accent-color);
    font-size: 36px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* ---------- SECTION TYP: FEATURES ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 0 auto;
    padding-bottom: 15px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: visible;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    background: rgba(255, 255, 255, 0.12);
}

.feature-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-image img {
    transform: scale(1.08);
}

.feature-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(28, 61, 90, 0.8), transparent);
    z-index: 2;
}

/* Feature Icons */
.feature-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 5px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--white);
    font-size: 28px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
}

.feature-card:hover .feature-icon {
    background: var(--white);
    color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-content {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 5;
    text-align: center;
}

.feature-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.feature-cta {
    display: none;
}

.services-promo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    margin: 60px auto 0;
    max-width: 900px;
    text-align: center;
}

.services-promo h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.services-promo p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- SECTION TYP: TESTIMONIALS ---------- */
.testimonial-slider {
    margin: 40px auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
}

.testimonial-slide {
    padding: 10px;
    height: 100%;
}

.testimonial-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
}

.testimonial-content blockquote {
    font-style: italic;
    margin: 0 0 20px;
    flex-grow: 1;
    line-height: 1.8;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.author-info span i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* ---------- SECTION TYP: FAQ ---------- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
    padding-right: 30px;
    font-weight: 500;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 20px 20px;
}

.faq-item.active .faq-question {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-toggle {
    background: var(--accent-color);
    transform: rotate(180deg);
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

.footer-contact {
    margin: 15px 0;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    text-decoration: underline;
}

.footer-credit a:hover {
    color: var(--white);
}

/* ---------- SCROLL BUTTONS & ACCESSIBILITY TOGGLE ---------- */
.scroll-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.scroll-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.accessibility-toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 99;
}

#accessibility-toggle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#accessibility-toggle-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 1200px) {
    .header-content h1 {
        font-size: 2.2rem;
        max-width: 90%;
    }
    
    .header-content .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .section--text-image .content-wrapper,
    .section--text-image .content-wrapper.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        margin-bottom: 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-content {
        padding: 0 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-container {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .breadcrumb .container {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-content .subtitle {
        font-size: 1.2rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    .feature-content {
        padding: 0 15px 20px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin: 0 4px;
    }
}

/* Barrierefreiheitsmodus - Grundlegende Anpassungen */
.accessibility-mode {
    line-height: 1.6;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
}

/* Skip-Link Styling */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    z-index: 1001;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

/* Überschriften im Barrierefreiheitsmodus */
.accessibility-mode h1,
.accessibility-mode h2,
.accessibility-mode h3,
.accessibility-mode h4,
.accessibility-mode h5,
.accessibility-mode h6 {
    margin-bottom: 1em;
    line-height: 1.4;
    color: #000;
    font-weight: 700;
}

.accessibility-mode .section--blue h1,
.accessibility-mode .section--blue h2,
.accessibility-mode .section--blue h3,
.accessibility-mode .section--blue h4,
.accessibility-mode .section--blue h5,
.accessibility-mode .section--blue h6 {
    color: #fff;
}

/* Textformatierung im Barrierefreiheitsmodus */
.accessibility-mode p,
.accessibility-mode li,
.accessibility-mode td,
.accessibility-mode th,
.accessibility-mode blockquote,
.accessibility-mode label {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.2em;
    color: #333;
}

.accessibility-mode .section--blue p,
.accessibility-mode .section--blue li {
    color: #fff;
}

/* Links im Barrierefreiheitsmodus */
.accessibility-mode a {
    text-decoration: underline;
    color: #1c3d5a;
    font-weight: 700;
}

.accessibility-mode .section--blue a {
    color: #fff;
    text-decoration: underline;
}

/* Buttons und interaktive Elemente */
.accessibility-mode .cta-button,
.accessibility-mode button,
.accessibility-mode input[type="submit"] {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid #000;
    background-color: #008000;
    color: #fff;
}

.accessibility-mode .cta-button.secondary {
    background-color: #1c3d5a;
    color: #fff;
}

.accessibility-mode .section-header h2::after {
    height: 4px;
    background-color: #008000;
}

/* Verbesserter Fokus für interaktive Elemente */
.accessibility-mode a:focus,
.accessibility-mode button:focus,
.accessibility-mode input:focus,
.accessibility-mode select:focus,
.accessibility-mode textarea:focus,
.accessibility-mode [tabindex]:focus {
    outline: 3px solid #4CAF50 !important;
    outline-offset: 3px !important;
    text-decoration: underline;
}

/* Bildanpassungen */
.accessibility-mode img {
    border: 2px solid #4CAF50;
    border-radius: 6px;
}

/* Verbesserte Lesbarkeit für Banner und Karten */
.accessibility-mode .card,
.accessibility-mode .feature-card {
    border: 2px solid #000;
    background-color: #fff;
}

.accessibility-mode .feature-card .feature-content {
    background-color: #fff;
    color: #000;
}

.accessibility-mode .feature-card .feature-title {
    color: #000;
    font-weight: 700;
}

/* Name-Teil im Header */
.accessibility-mode .name-part {
    background-image: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: #008000;
    font-weight: 700;
}

/* Überschrift im Header bei aktiviertem Barrierefreiheitsmodus */
.accessibility-mode .header-content h1 {
    color: #fff;
}

/* Verbesserte Darstellung für Breadcrumb-Navigation */
.accessibility-mode .breadcrumb {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.accessibility-mode .breadcrumb a {
    color: #1c3d5a;
    font-weight: 700;
}

.accessibility-mode .breadcrumb .current {
    color: #008000;
    font-weight: 700;
}

/* Bessere Sichtbarkeit für Footer-Elemente */
.accessibility-mode footer {
    background-color: #1c3d5a;
}

.accessibility-mode footer h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.accessibility-mode footer p,
.accessibility-mode footer a {
    color: #fff;
    font-size: 1.1rem;
}

.accessibility-mode .footer-credit {
    color: #fff;
    font-size: 1rem;
}

/* Screenreader-only Elemente */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Versteckte Live-Region für Screenreader-Ankündigungen */
#accessibility-announcer {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Verbesserte Sichtbarkeit des Barrierefreiheits-Buttons */
.accessibility-mode .accessibility-toggle button {
    background-color: #4CAF50;
    color: white;
}

/* Anpassungen für die blauen Sektionen */
.accessibility-mode .section--blue {
    background-color: #00417f;
}

/* Korrektur für FAQ/Akkordeon-Bereiche */
.accessibility-mode .faq-question,
.accessibility-mode .faq-answer,
.accessibility-mode .faq-question h3,
.accessibility-mode .faq-answer p,
.accessibility-mode .section--blue .faq-question h3,
.accessibility-mode .section--blue .faq-answer p {
    color: #000;
    background-color: #fff;
}

.accessibility-mode .faq-item {
    border: 2px solid #000;
    background-color: #fff;
    margin-bottom: 10px;
}

/* Korrektur für Service-Karten */
.accessibility-mode .card,
.accessibility-mode .service-card,
.accessibility-mode .card h3,
.accessibility-mode .card p,
.accessibility-mode .service-card h3,
.accessibility-mode .service-card p {
    color: #000;
    background-color: #fff;
}

.accessibility-mode .card-icon {
    background-color: #4CAF50;
    color: #fff;
}

/* Korrektur für Feature-Karten (die oberen drei Karten) */
.accessibility-mode .feature-description,
.accessibility-mode .feature-grid .feature-description,
.accessibility-mode section .feature-description,
.accessibility-mode h3.feature-description {
    color: #000 !important;
    background-color: #fff;
}

.accessibility-mode .feature-icon-container .feature-icon,
.accessibility-mode .feature-icon {
    background-color: #4CAF50;
    color: #fff;
} 