
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.header_jugend {
    background-image: linear-gradient(to bottom, #000000cc, #00000080), 
                      var(--bg-image);
    min-height: 85vh; 
    display: flex;    
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-jugend {
    padding: 2rem 3rem;
    max-width: 1600px; 
    margin: 0 auto;
}

.h1_jugend {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: var(--fs-h2); 
}

.h2_jugend {
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-size: var(--fs-h3); 
}

.hero-jugend p {
    color: var(--color-white);
    line-height: 1.5;
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 400;
    font-size: var(--fs-p); 
    max-width: 900px; 
}




#main_bereich_jugend {
    background-color: #cfdfe6;
    min-height: 90vh; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    padding: 2rem;
}


.h3_jugendwart {
    padding-bottom: 2rem;
    padding-left: 2rem;
    font-weight: 700;
    color: var(--color-black);
    text-align: left;
    width: 100%;
    font-size: var(--fs-h3);
    margin-bottom: 1rem;
}

.flex_container_jugendwart {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 1600px; 
    justify-content: center;
}

.container_jugendwart {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--color-black);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.container_jugendwart:hover {
    transform: translateY(-5px);
}

.img_jugendwart {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    padding: 0;
    overflow: hidden;
}

.foto_jugendwart {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    box-shadow: none;
}


.text_jugendwart {
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    background-color: var(--color-white);
}

.text_jugendwart p {
    margin: 0;
    color: var(--color-black);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}




.article_hw_pokal_2025 {
    background-color: var(--color-beige-light);
    margin-top: 1rem;
    padding: 2rem 0;
}

.h3_hw_pokal_jugend2025 {
    padding: 0 5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.hw_pokal_2025 {
    line-height: 1.2;
    text-align: justify;
    padding: 1rem 5rem;
    color: #333;
    font-weight: 400;
}

.hw_pokal_gruppenbild {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

.img_gruppenbild_hwpokal {
    width: 70vw;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    object-fit: cover;
}

.caption_gruppenbild {
    padding: 1rem;
    text-align: center;
    font-style: italic;
    color: #555;
    max-width: 70vw;
}





@media screen and (max-width: 480px) {
    
    
    .hero-jugend {
        padding: 1.5rem;
    }
    
    .h1_jugend {
        font-size: 1.5rem;
    }
    
    .h4_jugend {
        font-size: 1rem;
    }
    
    
    .h3_jugendwart {
        padding: 1.5rem 1.5rem 0 1.5rem;
        font-size: 1.2rem;
    }
    
    .flex_container_jugendwart {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .container_jugendwart {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .img_jugendwart {
        width: 100%;
        aspect-ratio: 3 / 4;
        padding: 0;
    }
    
    .foto_jugendwart {
        width: 100%;
    }
    
    .text_jugendwart {
        width: 100%;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    }
    
    
    .h3_hw_pokal_jugend2025,
    .hw_pokal_2025 {
        padding: 1rem 1.5rem;
        text-align: left;
    }
    
    .hw_pokal_gruppenbild {
        padding: 2rem 1rem;
    }
    
    .img_gruppenbild_hwpokal {
        width: 90vw;
    }
    
    .caption_gruppenbild {
        padding: 1rem 1.5rem;
        max-width: 90vw;
        font-size: 0.9rem;
    }
}


@media screen and (min-width: 481px) and (max-width: 860px) {
    
    
    .hero-jugend {
        padding: 2rem;
    }
    
    
    .h3_jugendwart {
        padding: 2rem;
    }
    
    .flex_container_jugendwart {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .container_jugendwart {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .img_jugendwart {
        width: 100%;
        aspect-ratio: 3 / 4;
        padding: 0;
    }
    
    .foto_jugendwart {
        width: 100%;
    }
    
   


    
    
    .h3_hw_pokal_jugend2025,
    .hw_pokal_2025 {
        padding: 1rem 2rem;
        text-align: left;
    }
    
    .caption_gruppenbild {
        padding: 1rem 2rem;
        max-width: 80vw;
    }
}

@media screen and (min-width: 855px) and (max-width: 1200px) {
    .img_jugendwart {
        aspect-ratio: 3 / 4;
    }
}

    
    

@media screen and (min-width: 1201px) and (max-width: 1400px) {
    
    .hero-jugend {
        padding-right: 10rem;
    }
}


@media screen and (min-width: 1401px) {
    
    .hero-jugend {
        padding-right: 12rem;
    }
    
    .img_gruppenbild_hwpokal {
        width: 60vw;
    }
    
    .caption_gruppenbild {
        max-width: 60vw;
    }
}
