:root {
    --preussen-rot: #CC0024; 
    --dark-bg: #111111;      
    --pure-black: #000000;   
    --text-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#dot-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

@media (max-width: 991px) {
    #dot-nav {
        display: none !important;
    }
}

#dot-nav a {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

#dot-nav a.active {
    background-color: var(--preussen-rot);
}

#dot-nav a.active::after {
    content: "";
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border: 1px solid var(--preussen-rot);
    border-radius: 50%;
}

#dot-nav a:hover::after {
    content: "";
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border: 1px solid white;
    border-radius: 50%;
}

#dot-nav a::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#dot-nav a.active::before {
    opacity: 1;
    color: var(--preussen-rot);
    transform: translateY(-50%) translateX(-5px);
}

#dot-nav a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

.mobile-nav-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 10001;
    cursor: pointer;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-toggle div {
    width: 100%;
    height: 4px;
    background-color: var(--preussen-rot);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.mobile-nav-toggle.open .bar1 {
    transform: translateY(13px) rotate(45deg);
    background-color: white;
}
.mobile-nav-toggle.open .bar2 {
    opacity: 0;
}
.mobile-nav-toggle.open .bar3 {
    transform: translateY(-13px) rotate(-45deg);
    background-color: white;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 25px;
}

.mobile-nav-content a {
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mobile-nav-content a:hover {
    color: var(--preussen-rot);
}

h1, h2, h3 {
    font-weight: 800; 
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left { transform: translateX(-150px); }
.reveal-right { transform: translateX(150px); }
.reveal-bottom { transform: translateY(100px); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.accent-line {
    width: 60px;
    height: 5px;
    background-color: var(--preussen-rot);
    margin-bottom: 25px;
}

.accent-line-white {
    width: 60px;
    height: 5px;
    background-color: white;
    margin-bottom: 25px;
}

.section-subline {
    color: var(--preussen-rot) !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    letter-spacing: 4px !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem !important;
    display: block !important;
}

.section-subline-white {
    color: white;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.faq-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
}

.accordion-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: #1a1a1a;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #222;
    color: var(--preussen-rot);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    color: #ccc;
    line-height: 1.6;
    background-color: #1a1a1a;
    padding: 20px;
    border-top: 1px solid #333;
}

.info-section {
    position: relative; 
    background-color: var(--preussen-rot);
    padding: 100px 0;
    overflow: hidden; 
}

.info-bg-logo-large {
    position: absolute;
    top: 50%;
    left: 70%; 
    transform: translate(-50%, -50%); 
    width: 70%; 
    height: auto;
    opacity: 0.10; 
    z-index: 0; 
    pointer-events: none; 
}

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

.date-display {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    font-weight: 800; 
    line-height: 1;
    letter-spacing: -0.05em; 
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 65%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.map-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    filter: grayscale(100%) invert(90%) contrast(1.2);
}

.hero-wrapper {
    position: relative;
    min-height: 100vh;
    background-color: #050505;
    overflow: hidden;
}

.hero-bg-stadium {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%; 
    background: url('img/stadion-hintergrund.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
    opacity: 0.8;
    will-change: transform;
}

.container-hero { position: relative; z-index: 10; min-height: 100vh; display: flex; flex-direction: column; }
.logo-row { padding-top: 50px; }
.hero-content-group { flex-grow: 1; display: flex; align-items: center; padding-bottom: 50px; }

.highlight-badge {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 4px 12px;
    font-weight: 400; 
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-trikot-layer {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 50px rgba(0,0,0,0.9));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 767px) {
    .hero-trikot-layer {
        margin-top: 150px;
    }
}

.sponsor-section { 
    background-color: var(--pure-black); 
    padding: 100px 0; 
    border: none; 
}

.sponsor-logo { 
    width: auto; 
    max-width: 100%; 
    opacity: 0.9; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    display: block;
    margin: 0 auto;
}

.partner-link:hover .sponsor-logo { 
    opacity: 1; 
    transform: scale(1.08); 
    filter: brightness(1.2);
}

@media (max-width: 767px) {
    .sponsor-section .col:empty {
        display: none;
    }
    .sponsor-logo {
        max-width: 80%; 
        margin-bottom: 20px;
    }
}

.why-section { 
    background-color: var(--pure-black); 
    overflow: hidden; 
    padding: 200px 0; 
}

.why-image-container { 
    position: relative; 
    height: 600px; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 40px; 
}

@media (max-width: 991px) { 
    .why-section { padding: 100px 0; }
    .why-image-container { height: 400px; padding: 20px; } 
}

.mission-img-wrapper:hover img { filter: grayscale(0%) !important; transform: scale(1.05); }

.gallery-section { background-color: var(--pure-black); padding: 100px 0; }
.trikot-card { background-color: #151515; border: 1px solid #222; border-radius: 8px; overflow: hidden; transition: all 0.3s ease; height: 100%; }
.trikot-card:hover { transform: translateY(-10px); border-color: var(--preussen-rot); box-shadow: 0 10px 30px rgba(204, 0, 36, 0.2); }

.trikot-img-wrapper { 
    position: relative;
    width: 100%; 
    height: 300px; 
    background-color: #000; 
    background-image: url('img/hintergrund_produkt.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.trikot-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    opacity: 0; 
    transition: all 0.3s ease;
    user-select: none;
    font-size: 14px;
}

.trikot-card:hover .slider-arrow {
    opacity: 1;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

.slider-arrow:hover {
    background: var(--preussen-rot);
    scale: 1.1;
}

@media (max-width: 767px) {
    .slider-arrow {
        display: none !important;
    }
}

.trikot-slider::-webkit-scrollbar { display: none; }
.trikot-slider { -ms-overflow-style: none; scrollbar-width: none; }

.trikot-slider img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    scroll-snap-align: start;
    padding: 20px; 
    transition: transform 0.3s ease;
}

.trikot-info-box { padding: 20px; }
.trikot-verein { font-size: 1.25rem; color: var(--preussen-rot); font-weight: 800; text-transform: uppercase; letter-spacing: 0px; margin-bottom: 0px; }
.trikot-titel { font-size: 1.25rem; color: var(--preussen-rot); font-weight: 400; margin-bottom: 10px; line-height: 1.2; }
.trikot-details { font-size: 0.9rem; color: #ffffff; font-weight: 400; }



@media (max-width: 767px) {
    .gallery-section { padding: 60px 0; }
    .trikot-img-wrapper { height: 220px; } 
    .trikot-titel { font-size: 1.1rem; }
    .mt-4, .mt-5 { margin-top: 1.5rem !important; } 
}

.sponsor-cta-section {
    background-color: var(--preussen-rot);
    padding: 60px 0;
    color: #000000;
}

.sponsor-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.mail-link {
    color: #000000;
    font-weight: 800;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.mail-link:hover {
    opacity: 0.7;
    color: #000000;
}

.jubilaeum-final-call {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.jubilaeum-final-call h2 {
    color: var(--text-white);
}

.jubilaeum-final-call p.lead {
    color: #ccc !important;
}

.final-call-box {
    border: 2px solid var(--preussen-rot);
    padding: 40px;
    border-radius: 15px;
    background: rgba(204, 0, 36, 0.05);
}

.final-call-bg-text {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 250px;
    font-weight: 900;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    line-height: 1;
}

footer { 
    background-color: var(--pure-black); 
    padding: 60px 0; 
    border: none; 
}

.footer-link {
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--preussen-rot);
}

.legal-text a[href^="mailto:"],
.legal-text a[href^="mailto:"]:link,
.legal-text a[href^="mailto:"]:visited,
.legal-text a[href^="mailto:"]:active {
    color: #333333 !important;
    text-decoration: underline !important;
    text-decoration-color: var(--preussen-rot) !important;
    -webkit-text-decoration-color: var(--preussen-rot) !important;
}

.legal-text a[href^="mailto:"]:hover {
    opacity: 0.7;
    color: var(--preussen-rot) !important;
    text-decoration-color: var(--preussen-rot) !important;
}

.legal-header {
    background-color: var(--pure-black);
    padding: 20px 0;
    text-align: center;
}

.legal-header img {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.legal-header a:hover img {
    transform: scale(1.05);
}

.header-divider {
    height: 3px;
    background-color: var(--preussen-rot);
    width: 100%;
}

.legal-content {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.legal-content h1 {
    color: var(--pure-black);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 30px;
    color: var(--preussen-rot);
}

.trikot-dots-container {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 15;
    pointer-events: none;
}

.trikot-dots-container .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.trikot-dots-container .dot.active {
    background: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    .slider-arrow {
        opacity: 0.5 !important;
        width: 35px;
        height: 35px;
        background: rgba(0,0,0,0.8);
        display: flex !important;
    }
    
    .trikot-img-wrapper {
        height: 280px;
    }
}

.trikot-card:hover {
    border: 1px solid var(--preussen-rot);
    transform: translateY(-10px);
}

.sponsor-section {
    padding: 100px 0;
    background-color: var(--pure-black);
}

.partner-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.partner-item {
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item:hover {
    transform: scale(1.05);
}

.custom-sponsor-logo {
    width: auto;
    max-width: 160px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(2);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-item:hover .custom-sponsor-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@media (min-width: 768px) {
    .partner-flex-container {
        gap: 5rem;
    }
    
    .custom-sponsor-logo {
        max-width: 220px;
        max-height: 110px;
    }
}