/* ===== MOBILE OPTIMIERUNG ===== */
/* Verbesserte responsive Darstellung für Smartphones */

/* Basis-Anpassungen für alle mobilen Geräte */
@media (max-width: 768px) {
    
    /* ===== NAVIGATION ===== */
    .nav {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 0.9rem !important;
    }
    
    .nav-links a {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .btn-primary {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .lang-switcher {
        gap: 0.3rem !important;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem !important;
    }
    
    /* ===== HERO SECTION ===== */
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-features {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }
    
    .hero-features .feature {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
        min-width: auto !important;
        flex: 0 0 auto !important;
    }
    
    .hero-features .feature svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .rating {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .rating-text {
        font-size: 0.8rem !important;
    }
    
    .btn-cta {
        padding: 0.7rem 1.5rem !important;
        font-size: 0.9rem !important;
        margin-top: 1rem !important;
    }
    
    /* ===== SECTION TITLES ===== */
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    h4 {
        font-size: 1rem !important;
    }
    
    /* ===== TEXT & PARAGRAPHS ===== */
    p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.8rem !important;
    }
    
    /* ===== AUSSTATTUNG GRID ===== */
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .amenity {
        padding: 0.6rem !important;
        font-size: 0.8rem !important;
    }
    
    .amenity svg {
        width: 16px !important;
        height: 16px !important;
        margin-right: 0.4rem !important;
    }
    
    /* ===== SCHLAFMÖGLICHKEITEN ===== */
    .sleeping-arrangements {
        gap: 0.6rem !important;
    }
    
    .bed-item {
        font-size: 0.85rem !important;
        padding: 0.6rem !important;
    }
    
    /* ===== PRICE BOX ===== */
    .price-box {
        margin-bottom: 1rem !important;
    }
    
    .price .amount {
        font-size: 2rem !important;
    }
    
    .price .currency {
        font-size: 1.5rem !important;
    }
    
    .price .period {
        font-size: 0.85rem !important;
    }
    
    .price-note {
        font-size: 0.85rem !important;
        margin-top: 0.4rem !important;
    }
    
    .price-note.small {
        font-size: 0.75rem !important;
    }
    
    /* ===== HOST BOX ===== */
    .host-box h3 {
        font-size: 1rem !important;
    }
    
    .host-box p {
        font-size: 0.85rem !important;
    }
    
    .host-name {
        font-size: 0.9rem !important;
    }
    
    .host-status {
        font-size: 0.75rem !important;
    }
    
    .host-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    /* ===== LOCATION ===== */
    .nearby-list li {
        font-size: 0.85rem !important;
        padding: 0.4rem 0 !important;
    }
    
    /* ===== BOOKING FORM ===== */
    .form-group label {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem !important;
        padding: 0.6rem !important;
    }
    
    .btn-submit {
        font-size: 0.95rem !important;
        padding: 0.8rem 1.5rem !important;
    }
    
    .price-calculation {
        font-size: 0.85rem !important;
        padding: 0.8rem !important;
    }
    
    .calc-row {
        padding: 0.4rem 0 !important;
    }
    
    /* ===== AIRBNB LINK ===== */
    .airbnb-link p {
        font-size: 0.85rem !important;
    }
    
    .btn-airbnb {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.5rem !important;
    }
    
    /* ===== FOOTER ===== */
    .footer {
        font-size: 0.85rem !important;
        padding: 2rem 0 1rem !important;
    }
    
    .footer h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
    }
    
    .footer p,
    .footer a {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
    }
    
    .footer-bottom {
        font-size: 0.75rem !important;
        margin-top: 1.5rem !important;
        padding-top: 1rem !important;
    }
    
    /* ===== CALENDAR ===== */
    .calendar-title {
        font-size: 1rem !important;
    }
    
    .calendar-weekday {
        font-size: 0.7rem !important;
        padding: 0.25rem !important;
    }
    
    .calendar-day {
        font-size: 0.75rem !important;
    }
    
    /* Kalender-Navigation auf Mobile ANZEIGEN aber kleiner */
    .calendar-nav-side {
        width: 35px !important;
        height: 35px !important;
        font-size: 20px !important;
        margin-top: 30px !important;
    }
    
    /* Kalender-Container anpassen */
    .calendar-container-dual {
        gap: 0.5rem !important;
    }
    
    .calendar-month {
        min-width: auto !important;
    }
    
    /* ===== GALLERY ===== */
    .gallery-grid {
        gap: 0.5rem !important;
    }
    
    .gallery-item::after {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }
    
    /* ===== COOKIE CONSENT ===== */
    #cookie-consent-banner {
        padding: 1rem !important;
    }
    
    .cookie-text h3 {
        font-size: 1rem !important;
    }
    
    .cookie-text p {
        font-size: 0.85rem !important;
    }
    
    .cookie-buttons button {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.5rem !important;
    }
}

/* ===== EXTRA KLEIN (unter 480px) ===== */
@media (max-width: 480px) {
    
    .hero-title {
        font-size: 1.3rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .hero-features .feature {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr !important;
    }
    
    .amenity {
        font-size: 0.85rem !important;
    }
}

/* ===== LANDSCAPE MODUS (Querformat) ===== */
@media (max-width: 768px) and (orientation: landscape) {
    
    .hero {
        min-height: 400px !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
    }
    
    .hero-features {
        flex-direction: row !important;
    }
}

/* ===== CONTAINER PADDING FÜR MOBILE ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* ===== OPTIMIERUNGEN FÜR TOUCH ===== */
@media (max-width: 768px) {
    /* Größere Touch-Targets */
    button,
    a,
    .gallery-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Bessere Abstände zwischen klickbaren Elementen */
    .nav-links a {
        margin: 0.2rem !important;
    }
}
