
/* Optional: Mobil-Anpassung, falls das Logo auf dem Handy zu groß ist */
@media (max-width: 767px) {
    .header-logo {
        width: 60px;
    }
    .logo-text h1 {
        font-size: 1.5rem;
    }
    .titelDatum {
		font-size: 1rem;	
		margin-top:0px;
		margin-left: 6px;
	}
	.titelTurnier {
		font-size: 1.2rem;
		color: #2d5a27;
		margin-top:0px;
		font-weight: bold;
	}
}
/* --- Responsive Anpassungen --- */
        
        
        /* PC / Tablet-Ansicht (ab 768px Breite) */
        @media (min-width: 768px) {
            .slide {
                flex: 0 0 33.333%; /* 3 Bilder pro Ansicht auf PC */
            }
        }






        /* Handy-Ansicht (bis 767px Breite) */
        @media (max-width: 767px) {
            .hero-text h2 { font-size: 1.8rem; }
            nav a { display: block; margin: 8px 0; }
            .slide { height: 200px; } /* Etwas flacher auf Handy */
             .slideSponsor { height: 120px;}
        }
        
        
        
    /* Mobil-Anpassung: Buttons etwas kleiner */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 2rem;
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
    }
}    
        
        
     /* --- MOBILE ANSICHT (Handy) --- */
@media (max-width: 950px) {
	h1 {
    font-size: 1.4rem;
	}
	h2 {
	    font-size: 1.2rem;
	}
	h3 {
	    font-size: 1.1rem;
	}
	
	
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 25px;
        position: relative;
        z-index: 1001; /* Sicherstellen, dass es oben liegt */
padding-left:20px;
    }

    /* Die drei Striche zeichnen */
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
       background-color: #333333 !important;
        height: 3px;
        width: 30px;
        border-radius: 2px;
        position: absolute;
        transition: all 0.3s;
    }

    .nav-toggle-label span { top: 11px; } /* Mittlerer Strich */
    .nav-toggle-label span::before { content: ""; top: -9px; left: 0; } /* Oberer Strich */
    .nav-toggle-label span::after { content: ""; top: 9px; left: 0; } /* Unterer Strich */

    /* Menü als Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Versteckt außerhalb des Bildschirms */
        bottom: 0;
        width: 250px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
    }

    /* Wenn Checkbox aktiv -> Menü reinschieben */
    .nav-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Animation zum 'X' wenn offen */
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
}