/* Responsive Styles */

/* Anpassungen für Tablet-Geräte */
@media (max-width: 1024px) {
    .top-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .beer-of-month-button {
        right: 160px;
    }
    
    .newsletter-button {
        right: 310px;
    }
    
    .beer-of-month-container {
        flex-direction: column;
    }
}

/* Anpassungen für kleinere Tablets */
@media (max-width: 900px) {
    .top-button {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .beer-of-month-button {
        right: 150px;
    }
    
    .newsletter-button {
        right: 290px;
    }
}

/* Anpassungen für sehr kleine Tablets */
@media (max-width: 800px) {
    .top-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .beer-of-month-button {
        right: 140px;
    }
    
    .newsletter-button {
        right: 270px;
    }
    
    .top-button svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Optimierungen (unter 768px) */
@media (max-width: 768px) {
    body {
        height: 100vh;
        overflow: auto;
    }
    
    .container {
        padding: 1rem;
        padding-top: 1rem; /* Reduzierter Abstand, da Top-Navigation ausgeblendet */
        padding-bottom: 5rem; /* Platz für die Mobile-Navigation */
        justify-content: space-between;
    }
    
    /* Hauptinhalt komprimieren */
    .logo {
        width: 240px;
        height: 324px;
        margin-bottom: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .tagline {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .divider {
        margin: 1rem 0;
    }
    
    .coming-soon {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-transform: none;
    }
    
    .social-links {
        margin-top: 1rem;
    }
    
    .privacy {
        position: relative;
        margin-top: 1rem;
        bottom: auto;
        padding-bottom: 3rem;
    }
    
    /* Top Navigation ausblenden */
    .top-nav {
        display: none;
    }
    
    /* Mobile Navigation einblenden */
    .mobile-nav {
        display: block;
    }
    
    /* Mobile Navigation Button für Newsletter hinzufügen */
    .mobile-nav-button.newsletter-button {
        display: flex;
    }
    
    /* Modal-Anpassungen für Mobilansicht */
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 1.5rem;
        padding-top: 3rem;
    }
    
    .event-header {
        flex-direction: column;
    }
    
    .event-date {
        align-self: flex-start;
        margin-top: 1rem;
    }
    
    .beer-facts {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    /* Navigation auf der Hauptseite verstecken */
    .modal {
        align-items: flex-start;
    }
}

/* Weitere Anpassungen für sehr kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 0.8rem;
        min-height: calc(100vh - 4rem);
        justify-content: space-between;
    }
    
    .logo {
        width: 200px;
        height: 270px;
        margin-bottom: 0.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .coming-soon {
        font-size: 1rem;
    }
    
    .email-input {
        flex-direction: column;
    }
    
    input[type="email"] {
        border-radius: 4px;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    button {
        border-radius: 4px;
        width: 100%;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
    
    .modal-content {
        padding: 1.2rem;
        padding-top: 2.5rem;
    }
    
    .event-card {
        padding: 1.2rem;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Verhindern, dass der Hauptinhalt bei kleinen Bildschirmen zu groß wird */
@media (max-height: 700px) and (max-width: 768px) {
    .container {
        padding-top: 0.5rem;
        padding-bottom: 4rem;
    }
    
    .logo {
        width: 180px;
        height: 243px;
        margin-bottom: 0.5rem;
    }
    
    h1 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .tagline {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .divider {
        margin: 0.6rem 0;
        height: 2px;
    }
    
    .coming-soon {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        margin-top: 0.8rem;
        gap: 1rem;
    }
    
    .privacy {
        margin-top: 0.8rem;
        font-size: 0.7rem;
    }
}
