/* Hamburger Button (Palme) - auf Desktop versteckt */
.burger-checkbox {
    display: none;
}

.burger-menu-btn {
    display: none;
}

/* Breakpoint für Smartphones (max-width: 699px) */
@media (max-width: 699px) {
    
    /* Bürger menü erscheint, dann achmale navbar */
    .navbar-top {
        height: 6rem;
        background-image: url(../images/ObenKanten2050schmal.svg);
    }

    /* Versteckte Checkbox */
    .burger-checkbox {
        display: none;
    }

    /* Palme als Hamburger Button - oben links fixiert */
    .burger-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        background-color: var(--background-srlb-very-dark-green);
        cursor: pointer;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1001;
        border-radius: 0 15px 15px 0;
        padding: 0.3rem;
        transition: all 0.3s ease;
    }

    .palme-burger {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* filter: brightness(0) saturate(100%) invert(85%) sepia(31%) saturate(1049%) hue-rotate(358deg) brightness(103%) contrast(102%); */
        transition: transform 0.3s ease;
    }

    /* Rotation bei geöffnetem Menü */
    .burger-checkbox:checked + .burger-menu-btn .palme-burger {
        transform: rotate(30deg);
    }

    /* Mobile Menü - per default versteckt */
    .navbar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 16rem;
        height: 100vh;
        background-color: var(--background-srlb-very-dark-green);
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0 15px 15px 0;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        pointer-events: none;
    }

    /* Mobile Menü - sichtbar wenn Checkbox checked */
    .burger-checkbox:checked ~ .navbar {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Desktop Navigation verstecken */
    .cd {
        bottom: 0px;
        pointer-events: none;
    }
    .cd:hover {    
        transform: none !important;
        -webkit-transform: none !important;
        transition: none !important;
        width: 100%;
    }
    .date-btn,
    .date-btn:active,
    .date-btn:focus {
        transform: none !important;
        outline: none;
        box-shadow: none !important;
    }

     /* Alle Links im Countdown-Container dürfen NICHT die Größe ändern */
    .countdown-container a,
    .countdown-container a:active,
    .countdown-container a:focus,
    .countdown-container a:hover {
        outline: none;
        transform: none !important; /* ✅ Keine Transformation */
        box-shadow: none !important;
        margin: 0 !important; /* ✅ Kein Margin-Change */
        padding: inherit !important; /* ✅ Kein Padding-Change */
    }

    .notlinked {
        display: none;
    }

        .footer-right {
        display: none !important;
    }
    body {
        background-color: var(--background-srlb-yellow);
    }

    .hero-image-bg-mobile img {
        display: block;
        width: 70%;
        margin: 0 auto;   
        filter: brightness(1) drop-shadow(0 0 8px #ffd862);
    }

    .hero-video {
        object-fit: contain;
        height: auto;
        min-height: 0vh;

    }
    .hero-section {
        min-height: calc(62vw + 500px);
    }
    .hero-image-bg {
        align-items: flex-start;
    }
    .hero-image-bg-mobile {
        display: block;
        margin: 20px auto;
        background-color: var(--background-color-light);
    }   

    .navbar-left,
    .navbar-right {
        display: none !important;
    }

    /* Mobile/Tablet Vertikale Navigation anzeigen */
    .navbar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 10rem;
        background-color: var(--background-srlb-very-dark-green);
        z-index: 999;
        overflow: hidden;
        transition: width 0.3s ease;
        height: auto;
        border-radius: 0 15px 15px 0;
    }

    .navbar-nav {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-item-start {
        margin-top: 10px;
        padding-bottom: 1rem;
    }

    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        height: 3rem;
        padding: 0;
        color: #b6b6b6;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        filter: grayscale(100%) opacity(0.7);
    }

    .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.2);
        color: #ffffff;
        filter: grayscale(100%) opacity(1);
    }

    .nav-icon {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        margin-left: 0.5rem;
        margin-right: 0;
        stroke: currentColor;
        color: currentColor;
        flex-shrink: 0;
    }

    .srlb-icon-nav {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        margin-left: 0.5rem;
        margin-right: 0;
        object-fit: contain;
    }

    .link-text {
        display: inline;
        margin-left: 0.5rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .palme-icon-nav {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
        margin-left: 0.5rem;
        object-fit: contain;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .palme-close-btn {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }

    .palme-close-btn:hover .palme-icon-nav {
        transform: scale(1.1);
    }

    /* Hauptinhalt nach rechts verschieben */
    body {
    }

    main {
        margin-left: 0;
    }

    h1, h2, h3, h4, h5, h6 {
    }
    
    /* Hero Section */
    .hero-schriftzug {
        top: 20px;
        width: 80vw;
        max-width: 400px;
    }
    
    /* Countdown */
    .countdown-container {
        margin-bottom: 2rem;
        padding-bottom: 5rem;
    }
    
    .countdown-container h2 {
    }
    
    #countdown {
    }
    
    .countdown-date {
    }
    
    /* Event Cards */
    .event-card {
        flex-direction: column;
        align-items: center;
        padding: 16px;
        margin: 16px auto;
        gap: 12px;
        max-width: 100%;
    }
    
    .event-image {
        width: 120px;
        height: 120px;
    }
    
    .event-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .event-date,
    .event-location,
    .event-organizer,
    .event-tags,
    .event-participants,
    .event-contact {
    }
    
    .event-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    /* Tickets Button */


    .tickets-btn {
    }
    .cdright {
    }
        
    
    .cd:hover {    
    }
    .more-more-details {
        display: none;
    }
    
    /* Content */
    main .content,
    .zwei-button-likedivs {
        width: 95%;
        padding: 20px 15px; 
        margin: 15px auto;
        border-radius: 8px;
    }
    
    /* Navigation */
    .container {
        width: 100%;
        padding: 0 5px;
    }
    
/*     .navbar-list {
        padding: 0rem 0.5em 4em 0.5em;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
 */    
    nav a {
        display: inline-block;
        margin: 5px 5px;
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    /* Footer Navigation */
    #footnavi .footnav-link {
        font-size: 0;
    }
    
    #footnavi .footnav-link::before {
        font-size: 20px;
        margin: 0 3px;
    }
    
    /* Footer */
    header, footer {
        width: 100%;
        max-width: 100%;
        line-height: 1.4rem;
    }
    /* Footer */
    main {
        width: 100%;
        max-width: 100%;
        line-height: 2rem;
    }
    
    .footer-left,
    .footer-right {
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .band-liste {
    }
    
    .event-address,
    .event-time,
    .event-email {
        font-size: 1.2rem;
    }
        
    /* Icons */
    .palme-icon {
        height: 50px;
    }
    
    .srlb-icon {
        height: 40px;
        margin-top: 1em;
    }
    
    #twitterlogo::before,
    #fblogo::before,
    #youtubelogo::before,
    #maillogo::before,
    #presselogo::before,
    #instagramlogo::before {
        height: 20px;
        margin-right: 2px;
        margin-bottom: 1px;
    }
    
    /* Footer Images */
    .footer-hero-image {
        height: 300px;
    }
    
    .hero-image {
        height: 200px;
    }

    footer .hero-text {
        display: block ;
        /* top: 90%; */
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
        width: 100%;
        font-weight: normal;
        line-height: 1rem;
    
    }
    .footer-left, .footer-right {
        padding-top: 7.8rem;
    }

    .left-info {
        padding-left: 3.5rem;
    }
     .left-info  {
        margin: 3px auto;
        width: 45%;
    }
     .right-info {
        margin: 3px auto;
        width: auto;
    }

}

/* Aber Links müssen anklickbar bleiben! */
.cd a,
.cd button {
    pointer-events: auto;
}



/* ==========================================
   Smartphone QUERFORMAT (Landscape)
   Desktop-Navigation anzeigen
   ========================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .navbar-top {
        height: 100px;
        background-image: url(../images/ObenKanten2050schmal.svg);
    }
    .navbar-right {
        padding: 2rem 0em 0em 0em;
    }
    .palme-icon {
        height: 40px;
        margin: 10px 0px;
    }
    .srlb-icon {
        height: 30px;
        margin-top: 1em;
    }

    

    
    
    .countdown-container h2 {
        font-size: 1.5rem;
    }
    .countdown-container {
        padding-bottom: 5rem;

    }
    
    .date-btn {
        font-size: 1.2rem;
    }
    
    /* Event Details nebeneinander wenn Platz */
    .row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .left-info,
    .right-info {
        flex: 1 1 45%;
        min-width: 200px;
    }
    .left-info {
        padding-left: 20px;
    }

    /* Ticket-Button kompakter */
    .tickets-btn {
        font-size: 1.2rem;
    }
    main {
     line-height: 1.2rem;
     font-size: 12px;
    }
    
}