

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.jugend-page{
    font-family:'Inter',sans-serif;

    background:#f3f4f6;

    color:#222;

    overflow-x:hidden;
}
.container{width:95%;max-width:1500px;margin:0 auto}


/* =========================
   Header
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;

    background: rgba#111827;

    border: 0;
    box-shadow: none;
}
header.header-hidden {
    transform: translateY(-100%);
}
.navbar {
    position: relative;

    height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-menu-button {
    display: none;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 18px;

    color: inherit;
    text-decoration: none;
}

.logo:hover,
.logo:focus,
.logo:focus-visible {
    color: inherit;
    text-decoration: none;
}

.logo:focus-visible {
    outline: 3px solid #e30613;
    outline-offset: 4px;
    border-radius: 6px;
}

.logo-icon img {
    display: block;

    width: auto;
    height: 120px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.logo-icon img:hover {
    transform: scale(1.05);
}

.logo-text h3 {
    margin: 0;
    text-transform:uppercase;

    color: #e30613;
    font-size: 18px;
    line-height: 1;
}
.logo-text span {
    color: #ffffff;
    font-size: 16px;
}

/* Desktop-Navigation */

#hauptnavigation ul {
    display: flex;
    align-items: center;
    gap: 40px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#hauptnavigation a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

#hauptnavigation a:hover,
#hauptnavigation a:focus-visible {
    color: #d70000;
    text-decoration: none;
}

#hauptnavigation a:focus-visible {
    outline: 3px solid #e30613;
    outline-offset: 4px;
    border-radius: 3px;
}

/* =========================
   Mobile Navigation
========================= */

@media (max-width: 1000px) {
    .navbar {
        height: auto;
        min-height: 90px;

        flex-direction: row;

        padding-top: 15px;
        padding-bottom: 15px;
    }

    .navbar .logo {
        min-width: 0;
        gap: 10px;
    }

    .navbar .logo-icon img {
        width: 65px;
        height: auto;
    }

    .navbar .logo-text h3 {
        margin: 0;
        font-size: 12px;
    }

    .navbar .logo-text span {
        font-size: 12px;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        margin-left: auto;
        padding: 12px 16px;

        border: 0;
        border-radius: 10px;

        background: #e30613;
        color: #ffffff;

        font: inherit;
        font-weight: 700;

        cursor: pointer;
    }

    .mobile-menu-button:focus-visible {
        outline: 3px solid #222222;
        outline-offset: 3px;
    }

    .navbar #hauptnavigation {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;

        display: none;

        width: min(280px, 100%);
        padding: 12px;

        background: #ffffff;
        border-radius: 0 0 16px 16px;

        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .navbar #hauptnavigation.is-open {
        display: block;
    }

    .navbar #hauptnavigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        width: 100%;
        margin: 0;
        padding: 0;

        list-style: none;
    }

    .navbar #hauptnavigation a {
        display: block;

        width: 100%;
        padding: 14px 16px;

        border-radius: 8px;

        color: #222222;
        font-weight: 600;
        text-decoration: none;
        text-transform: uppercase;

        overflow-wrap: anywhere;
    }

    .navbar #hauptnavigation a:hover,
    .navbar #hauptnavigation a:focus-visible {
        background: #fff0f1;
        color: #e30613;
    }

}
/* Statistik */

.stats{
    margin:50px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stat-card{
    background:white;
    border-radius:16px;
    padding:30px;
    text-align:center;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.08);
}

.stat-card h2{
    font-size:48px;
    color:#d70000;
    margin-bottom:10px;
}

.stat-card p{
    color:#666;
    font-weight:600;
}

/* Buttons */

.hero-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;
}

.btn{

    padding:18px 36px;

    border-radius:14px;

    text-decoration:none;

    font-weight:700;

    transition:
        transform .3s,
        box-shadow .3s;
}

.btn:hover{

    transform:translateY(-4px);
}

.btn-red{

    background:#e30613;

    color:white;

    border:1px solid #e30613;
}

.btn-red:hover{

    background:#c50011;

    box-shadow:
        0 12px 25px rgba(227,6,19,.25);
}

.btn-light{

    background:white;

    color:#1a1a1a;

    border:1px solid #d8d8d8;
}

.btn-light:hover{

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}
/* =========================
   Scroll Animationen
========================= */

.hidden{
    opacity:0;
    transform:translateY(40px);
}

.show{
    opacity:1;
    transform:translateY(0);
    transition:all .8s ease;
}

/* Navbar Scroll Zustand */


.jugend-hero{position:relative;
    isolation:isolate;
    min-height:650px;
    padding: 130px 0 110px; 
    display:flex;
    align-items:center;
    color:#fff;
    background:var(--jugend-hero-bild, url("../jpg/jugend/JF_training.jpg")) center 58%/cover no-repeat}
.page-header-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,15,25,.9),rgba(9,15,25,.52) 60%,rgba(9,15,25,.28))}
.page-header-content{max-width:1050px}
.section-tag{display:inline-block;margin-bottom:14px;color:#e30613;font-size:14px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase}
.page-header-content h1{max-width:900px;margin:0 0 18px;font-size:clamp(35px,5.6vw,56px);line-height:1.04;letter-spacing:-1.2px}
.page-header-content p{max-width:800px;margin:0;color:#f0f2f5;font-size:19px;line-height:1.68}

.jugend-sections{padding:58px 0 82px solid #e30613}
.jugend-stack{display:grid;gap:22px}
.content-card,.gallery-section,.faq-section{padding:34px 38px;background:#fff;border:1px solid #e4e7eb;border-radius:18px;box-shadow:0 9px 28px rgba(15,23,42,.065)}
.content-card-emphasis{border-top:4px solid #e30613}
.content-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.content-card-half{height:100%}
.content-card-center{border-left:4px solid #e30613}
.content-card>:first-child,.gallery-heading>:first-child,.faq-intro>:first-child{margin-top:0}
.content-card>:last-child,.gallery-heading>:last-child,.faq-intro>:last-child{margin-bottom:0}
.content-card h2,.content-card h3,.gallery-heading h2,.faq-intro h2{margin:0 0 16px;color:#171a20;font-size:clamp(27px,2.8vw,40px);line-height:1.16}
.content-card p,.content-card li,.gallery-heading p,.faq-intro p{color:#59616d;font-size:17px;line-height:1.72}
.content-card ul,.content-card ol{padding-left:22px}

.gallery-section{padding:34px 38px 42px}
.gallery-heading{margin-bottom:22px}
.modern-slider{position:relative;overflow:hidden;height:clamp(360px,48vw,640px);background:#e8ebef;border-radius:15px}
.slides{position:absolute;inset:0}
.slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .42s ease,visibility .42s ease}
.slide.active{opacity:1;visibility:visible}
.prev,.next{position:absolute;top:50%;z-index:3;width:50px;height:50px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#fff;background:#e30613;font-size:21px;cursor:pointer;transform:translateY(-50%);transition:background .2s ease,transform .2s ease}
.prev:hover,.next:hover{background:#b9000b;transform:translateY(-50%) scale(1.04)}
.prev{left:18px}.next{right:18px}
.prev:focus-visible,.next:focus-visible,.dot:focus-visible{outline:3px solid #fff;outline-offset:3px}
.slider-dots{position:absolute;z-index:3;left:50%;bottom:20px;display:flex;gap:9px;transform:translateX(-50%)}
.dot{width:12px;height:12px;padding:0;border:2px solid #fff;border-radius:50%;background:rgba(0,0,0,.22);cursor:pointer}
.dot.active-dot{background:#e30613;border-color:#e30613}
.slider-timer{position:absolute;z-index:4;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.28)}
.slider-timer-fill{width:100%;height:100%;background:#e30613;transform:scaleX(0);transform-origin:left center;will-change:transform}
.slider-timer-fill.is-running{transform:scaleX(1);transition:transform 5s linear}

.faq-section{padding:34px 38px}
.faq-intro{max-width:900px;margin-bottom:24px}
.faq-dropdown-title{margin:30px 0 16px;color:#171a20;font-size:clamp(26px,2.6vw,36px);line-height:1.2}
.faq-accordion{display:grid;gap:10px}
.faq-item{overflow:hidden;border:1px solid #dee2e7;border-radius:12px;background:#fafbfc}
.faq-question{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;color:#20242b;font-size:17px;font-weight:750;cursor:pointer;list-style:none}
.faq-question::-webkit-details-marker{display:none}
.faq-question::marker{display:none;content:""}
.faq-question:hover,.faq-question:focus-visible{color:#e30613;background:#fff4f5}
.faq-question:focus-visible{outline:3px solid #e30613;outline-offset:-3px}
.faq-icon{flex:0 0 auto;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#fff;background:#e30613;font-size:20px;line-height:1;transition:transform .2s ease}
.faq-item[open] .faq-icon{transform:rotate(45deg)}
.faq-answer-static{padding:0 20px 18px;color:#59616d;font-size:16px;line-height:1.7}
.faq-answer-static>:first-child{margin-top:0}.faq-answer-static>:last-child{margin-bottom:0}



/* Footer */
.site-footer{padding:28px 0;background:#111827;color:#fff}
.site-footer .footer-inhalt{display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-copyright,.footer-ersteller{margin:0;color:#d1d5db;font-size:14px;line-height:1.5}
.footer-links{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.footer-rechtliches{display:flex;align-items:center;gap:12px}
.site-footer a,.site-footer a:visited{color:#fff;font-size:14px;font-weight:600;text-decoration:none;transition:color .2s ease}
.site-footer a:hover,.site-footer a:focus-visible{color:#ff626c;text-decoration:none}
.site-footer a:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:2px}
.footer-trenner,.footer-haupttrenner{color:#6b7280}.footer-ersteller a{margin-left:4px}
@media (max-width:850px){.site-footer .footer-inhalt{flex-direction:column;justify-content:center;gap:14px;text-align:center}.footer-links{justify-content:center;flex-wrap:wrap;gap:12px 16px}}
@media (max-width:550px){.site-footer{padding:24px 0}.footer-links{flex-direction:column;gap:10px}.footer-haupttrenner{display:none}.footer-copyright,.footer-ersteller,.site-footer a{font-size:13px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}.slider-timer{display:none}}

/* =========================================================
   Smartphone-Optimierung nur für den Seiteninhalt
   Header, Navigation und Footer bleiben unverändert.
========================================================= */

@media (max-width: 600px) {
    body.jugend-page {
        min-width: 0;
        overflow-x: hidden;
    }

    body.jugend-page main {
        width: 100%;
        min-width: 0;
    }

    .jugend-hero {
        min-height: 340px;
        padding: 42px 0;
        background-position: center;
    }

    .page-header-content {
        width: 100%;
        max-width: none;
    }

    .page-header-content h1 {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: clamp(35px, 8vw, 56px);
        line-height: 1.08;
        letter-spacing: -0.5px;
        overflow-wrap: anywhere;
    }

    .page-header-content p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .section-tag {
        margin-bottom: 11px;
        font-size: 12px;
        letter-spacing: 1.3px;
    }

    .jugend-sections {
        padding: 34px 0 48px;
    }

    .jugend-stack {
        gap: 15px;
    }

    .content-pair {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .content-card,
    .gallery-section,
    .faq-section {
        min-width: 0;
        padding: 21px 18px;
        border-radius: 14px;
    }

    .content-card h1,
    .content-card h2,
    .content-card h3,
    .gallery-heading h1,
    .gallery-heading h2,
    .gallery-heading h3,
    .faq-intro h1,
    .faq-intro h2,
    .faq-intro h3 {
        max-width: 100%;
        margin-bottom: 13px;
        font-size: clamp(24px, 7.6vw, 29px);
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .content-card p,
    .content-card li,
    .gallery-heading p,
    .faq-intro p {
        font-size: 16px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .content-card ul,
    .content-card ol {
        padding-left: 20px;
    }

    .stats {
        margin: 28px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat-card {
        min-width: 0;
        padding: 22px 12px;
        border-radius: 13px;
    }

    .stat-card h2 {
        margin: 0 0 8px;
        font-size: 34px;
        line-height: 1;
    }

    .stat-card p {
        margin: 0;
        font-size: 14px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .gallery-section {
        padding-bottom: 24px;
    }

    .gallery-heading {
        margin-bottom: 17px;
    }

    .modern-slider {
        width: 100%;
        height: 290px;
        border-radius: 12px;
    }

    .prev,
    .next {
        width: 42px;
        height: 42px;
    }

    .prev {
        left: 9px;
    }

    .next {
        right: 9px;
    }

    .slider-dots {
        bottom: 14px;
        gap: 8px;
    }

    .dot {
        width: 11px;
        height: 11px;
    }

    .faq-intro {
        max-width: 100%;
        margin-bottom: 18px;
    }

    .faq-dropdown-title {
        margin: 24px 0 14px;
        font-size: 26px;
    }

    .faq-question {
        gap: 12px;
        padding: 15px;
        font-size: 16px;
        line-height: 1.4;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }

    .faq-answer-static {
        padding: 0 15px 16px;
        font-size: 15px;
        line-height: 1.65;
    }
}

@media (max-width: 380px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .modern-slider {
        height: 250px;
    }
}


/* Smartphone: Jugend-Hero ohne weisse Aussenabstaende */
@media (max-width: 600px) {
    html,
    body,
    body.jugend-page,
    body.jugend-page main {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .jugend-hero {
        width: 100vw;
        max-width: none;
        margin: 0;
        margin-left: calc(50% - 50vw);
        padding: 42px 0;
        border: 0;
        border-radius: 0;
        background-size: cover;
    }

    .jugend-hero .container,
    .jugend-hero .page-header-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-right: 20px;
        padding-left: 20px;
    }
}


/* =========================================================
   Einheitliche Navigation nach dem Standard der Galerie-Seite
========================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 110px;
}

.mobile-menu-button {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.logo:hover,
.logo:focus,
.logo:focus-visible {
    color: inherit;
    text-decoration: none;
}

.logo-icon img {
    display: block;
    width: auto;
    height: 120px;
    object-fit: contain;
}

.logo-text h2 {
    margin: 0;
    color: #e30613;
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    line-height: 1;
}

.logo-text span {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}

#hauptnavigation ul {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

header .navbar #hauptnavigation ul li a {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500 !important;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

header .navbar #hauptnavigation ul li a:hover,
header .navbar #hauptnavigation ul li a:focus-visible {
    color: #d70000;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .navbar {
        height: auto;
        min-height: 90px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .navbar .logo {
        min-width: 0;
        gap: 10px;
    }

    .navbar .logo-icon img {
        width: 65px;
        max-width: none;
        height: auto;
    }

    .navbar .logo-text h3 {
        margin: 0;
        font-size: 12px;
    }

    .navbar .logo-text span {
        font-size: 12px;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: auto;
        padding: 12px 16px;
        border: 0;
        border-radius: 10px;
        background: #e30613;
        color: #ffffff;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .navbar #hauptnavigation {
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;
        display: none;
        width: min(280px, 100%);
        padding: 12px;
        background: #ffffff;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .navbar #hauptnavigation.is-open {
        display: block;
    }

    .navbar #hauptnavigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    header .navbar #hauptnavigation ul li a {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        color: #222222;
        font-size: 16px;
        font-weight: 500 !important;
        overflow-wrap: anywhere;
    }

    header .navbar #hauptnavigation ul li a:hover,
    header .navbar #hauptnavigation ul li a:focus-visible {
        background: #fff0f1;
        color: #e30613;
    }
}


/* =========================================================
   Einheitlicher Hero-Bereich nach dem Standard der Galerie
========================================================= */
.jugend-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    width: 100%;
    min-height: 850px;
    height: 850px;
    max-height: 850px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.jugend-hero .page-header-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
}

@media (max-width: 650px) {
    html,
    body,
    body main {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .jugend-hero {
        width: 100vw;
        min-height: 620px;
        height: 620px;
        max-height: 620px;
        margin: 0;
        margin-left: calc(50% - 50vw);
        padding: 0;
        background-size: cover;
        background-position: center;
    }

    .jugend-hero .page-header-content {
        width: 100%;
        max-width: 100%;
        padding-top: 55px;
        padding-bottom: 55px;
    }
}
