/* Smartphone-Ansicht (max-width: 767px) */
@media (max-width: 767px) {
    .masterclass-flex-container {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .rabatt-special-offer {
        font-size: 1.5em;
        font-weight: bold;
        color: #b10404;
        margin-bottom: 5px;
    }
 
    /* Beide Container sollen auf voller Breite angezeigt werden */
    .masterclass-image-container,
    .masterclass-text-container {
        width: 100% !important; 
        display: block !important; /* Stellt sicher, dass sie untereinander liegen */
    }
 
    /* Transform entfernen, um ein sauberes Erscheinungsbild zu gewährleisten */
    .masterclass-image-container {
        transform: none !important;
    }
 
    .masterclass-title {
        font-size: 2em; /* Schriftgröße für Smartphones */
        text-align: center;
    }
 
    .masterclass-description {
        font-size: 1.8em;
        text-align: center;
    }
 
    .masterclass-cta-button {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 20px;
        font-size: 1em;
        text-align: center;
    }
 
    .masterclass-bestellnotes {
        font-size: 12px;
        max-width: 90%;
    }
 }
 
 /* Sehr kleine Smartphones (max-width: 480px) */
 @media (max-width: 480px) {
    #masterclass-section {
        padding: 30px 5px;
        border-radius: 8px;
    }
 
    .masterclass-title {
        font-size: 1.8em !important; /* Noch kleinere Schriftgröße */
        text-align: center;
    }
 
    .masterclass-description {
        font-size: 1.6em !important;
        
    }
 
    .masterclass-cta-button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
 
    .masterclass-bestellnotes {
        font-size: 11px;
        max-width: 100%;
    }
 }
 
 /* Responsive Design für Tablets */
@media (max-width: 1024px) {
    .erlebnis-flex-box-container {
      grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
    }
  }
  
  /* Responsive Design für Smartphones */
  @media (max-width: 768px) {
    .erlebnis-flex-box-container {
      grid-template-columns: 1fr; /* 1 Spalte auf Smartphones */
    }
  }


  /* --- RESPONSIVES DESIGN FÜR TABLETS (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
    #erlebnis-section {
        padding: 60px 20px;
        max-width: 1000px;
        border-radius: 15px;
    }

    /* Bild und Text etwas enger, aber noch nebeneinander */
    .erlebnis-flex-container {
        flex-direction: row;
        gap: 15px;
    }

    .erlebnis-image-container {
        width: 40%;
    }

    .erlebnis-text-container {
        width: 60%;
        text-align: left;
    }

    #erlebnis-section h2 {
        font-size: 2.5em;
    }

    .erlebnis-box h3 {
        font-size: 1.6em;
    }

    .erlebnis-box p {
        font-size: 1.1em;
    }

    /* Die unteren Boxen von 3 auf 2 Spalten reduzieren */
    .erlebnis-flex-box-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- RESPONSIVES DESIGN FÜR SMARTPHONES (max-width: 767px) --- */
@media (max-width: 767px) {
    #erlebnis-section {
        padding: 40px 10px;
        max-width: 100%;
        border-radius: 10px;
    }

    /* Bild und Text untereinander anordnen */
    .erlebnis-flex-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .erlebnis-image-container,
    .erlebnis-text-container {
        width: 100% !important; /* volle Breite auf Smartphones */
    }

    #erlebnis-section h2 {
        font-size: 2em; /* Kleinere Schriftgröße für Smartphones */
    }

    .erlebnis-box h3 {
        font-size: 1.4em;
    }

    .erlebnis-box p {
        font-size: 1em;
        line-height: 1.5;
    }

    /* Die unteren Boxen auf 1 Spalte reduzieren */
    .erlebnis-flex-box-container {
        grid-template-columns: 1fr;
    }
}

/* --- RESPONSIVES DESIGN FÜR SEHR KLEINE SMARTPHONES (max-width: 480px) --- */
@media (max-width: 480px) {
    #erlebnis-section {
        padding: 30px 5px;
        border-radius: 8px;
    }

    #erlebnis-section h2 {
        font-size: 1.8em; /* Noch kleinere Schriftgröße */
    }

    .erlebnis-box h3 {
        font-size: 1.2em;
    }

    .erlebnis-box p {
        font-size: 0.95em;
    }
}
