/* ===================== WCAG AA ACCESSIBILITY =============================*/
/* Screen Reader Only Content */
.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;
}

/* Skip Links */
.skip-links {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--gray-900);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
    /* Weiße Glow-Effekte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(255, 255, 255, 0.1);
}

.skip-links:focus {
    top: 6px;
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Focus Styles für alle interaktiven Elemente */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* ===================== HERO SECTION =============================*/
.hero {
    padding: 8rem 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.9), 
        rgba(0, 0, 0, 0.95)
    ), url('../images/med_software.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.hero_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero_left h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    /* WCAG AA: Kontrast mindestens 4.5:1 */
}

.hero_left p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    /* WCAG AA: Ausreichender Kontrast */
}

.hero_right {
    /* Kein Bild mehr nötig - wird als Hintergrundbild verwendet */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.btn {
    /* WCAG AA: Mindestgröße 44x44px für Touch-Targets */
    min-height: 44px;
    min-width: 44px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 0rem;
    background: var(--gray-900);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    /* Weiße Glow-Effekte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(255, 255, 255, 0.1);
}

.btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
    /* Verstärkte weiße Glow-Effekte */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(255, 255, 255, 0.2),
                inset 0 0 15px rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ===================== CHALLENGE SECTION =============================*/
.challenge {
    padding: 8rem 0;
    background: var(--gray-900);
    position: relative;
}

.challenge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.challenge_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.challenge_left img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0rem;
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(0, 93, 139, 0.2);
    filter: brightness(0.3) contrast(1.2);
}

.challenge_right h1 {
    margin-bottom: 2rem;
    color: var(--color-white);
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.challenge_right h2 {
    margin: 2.5rem 0 1.5rem;
    color: var(--color-white);
    font-size: 2.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.challenge_right p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.challenge_problems {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.challenge_problems li {
    position: relative;
    padding: 1rem 0 1rem 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.challenge_problems li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--color-white);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Symmetrisches Icon */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================== SOLUTION SECTION =============================*/
.solution {
    padding: 8rem 0;
    background: var(--color-black);
    position: relative;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.solution_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.solution_left h1 {
    margin-bottom: 2rem;
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.solution_left > p {
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.solution_features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    align-items: stretch;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 4rem;
    background: var(--gray-950);
    border-radius: 1.2rem;
    border-left: 4px solid var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 240px;
    /* Weiße Glow-Effekte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(255, 255, 255, 0.05);
    /* WCAG AA: Visueller Indikator für bessere Struktur */
}

.feature:hover {
    background: var(--color-black);
    transform: translateY(-5px);
    /* Verstärkte weiße Glow-Effekte beim Hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(255, 255, 255, 0.1),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature_icon {
    background: var(--gray-900);
    color: var(--color-white);
    padding: 0;
    border-radius: 50%;
    font-size: 2rem;
    flex-shrink: 0;
    /* PERFEKT SYMMETRISCH: Gleich breit = gleich hoch */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Weiße Glow-Effekte */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
                0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Symmetrische Icon-Gestaltung */
    position: relative;
    transition: all 0.3s ease;
}

.feature_icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.1));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover .feature_icon {
    color: var(--color-white);
    background: var(--color-black);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3),
                0 8px 25px rgba(0, 0, 0, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature:hover .feature_icon::before {
    opacity: 1;
}

.feature_content h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
    font-size: 1.4rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.feature_content p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.solution_right img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 20px rgba(255, 255, 255, 0.05);
    filter: brightness(0.3) contrast(1.2);
}

/* ===================== PROJEKTE SECTION =============================*/
.projekte {
    padding: 8rem 0;
    background: var(--gray-900);
    position: relative;
}

.projekte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.projekte h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-white);
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.projekte_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.projekt_item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.projekt_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.projekt_item:hover::before {
    opacity: 1;
}

.projekt_item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 255, 255, 0.1);
}

.projekt_image {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.projekt_image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    filter: brightness(0.25) contrast(1.3);
    transition: filter 0.3s ease;
}

.projekt_item:hover .projekt_image img {
    filter: brightness(0.4) contrast(1.2);
}

.projekt_info {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.projekt_info h4 {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.projekt_info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.projekt_links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.projekt_links a {
    background: var(--gray-900);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    /* PERFEKT SYMMETRISCH: Gleich breit = gleich hoch */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* Weiße Glow-Effekte */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(255, 255, 255, 0.1);
}

.projekt_links a:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
    /* Verstärkte weiße Glow-Effekte */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* WCAG AA: Responsive Design für verschiedene Bildschirmgrößen */
@media screen and (max-width: 1024px) {
    .hero_container, .challenge_container, .solution_container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero_left h1, .challenge_right h1, .solution_left h1 {
        font-size: 2.8rem;
    }
    
    .projekte_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution_features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .hero_left h1, .challenge_right h1, .solution_left h1 {
        font-size: 2.2rem;
    }
    
    .challenge_right h2 {
        font-size: 1.8rem;
    }
    
    .hero, .challenge, .solution, .projekte {
        padding: 4rem 0;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .feature_icon {
        align-self: center;
    }
}
