/* ===== GRUNDLAGEN ===== */
#masterclass-section {
  padding: 30px 0;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
 
}

/* ===== FLEX-CONTAINER (Überlappung vorbereitet) ===== */
.masterclass-flex-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 500px;
  padding: 40px 20px;
}

/* ===== BILD HINTER TEXT ===== */
.masterclass-image-container {
  position: absolute;
  left: 0;
  top: -48px;
  width: 50%;
  height: 100%;
  z-index: 1;
 /* opacity: 0.1;  optional – für dezentes Einblenden */
}

.masterclass-image-container img {
  width: 100%;
  height: 100%;
  object-fit: none;
  border-radius: 0;
}

/* ===== TEXTBLOCK (liegt über dem Bild) ===== */
.masterclass-text-container {
  position: relative;
  z-index: 2;
  width: 60%;
  margin-left: auto;
  background-color: transparent;
  padding: 40px;
  border-radius: 12px;
  box-shadow: none);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== TITEL ===== */
.masterclass-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1d2a75;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ===== BESCHREIBUNG ===== */
.masterclass-description {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2rem;
}

/* ===== PREISBLOCK ZENTRIERT ===== */
.masterclass-prices-wrapper {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  width: fit-content;
  margin: 0 auto 30px auto;
}

.masterclass-special-offer {
  font-size: 1.1rem;
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.masterclass-prices-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: baseline;
}

.price {
  font-size: 2.4rem;
  color: #d32f2f;
  font-weight: 800;
}

.old-price {
  font-size: 1.4rem;
  color: #888;
  text-decoration: line-through;
}

/* ===== CTA BUTTON ZENTRIERT UND 50% BREITE ===== */
.masterclass-cta-button {
  background: linear-gradient(135deg, #c62828, #8e0000);
  color: white;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin: 5px auto 0 auto;
  width: 50%;
  max-width: 300px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.masterclass-cta-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff3d00, #b71c1c); /* kräftiger Hover */
  box-shadow: 0 10px 25px rgba(255, 61, 0, 0.5);
  color: #fff; 
}

/* ===== HINWEISTEXT UNTER BUTTON ===== */
.masterclass-bestellnotes {
  font-size: 1.11rem;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-style: italic;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .masterclass-flex-container {
    flex-direction: column;
    min-height: auto;
    padding: 20px;
  }

  .masterclass-image-container {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 1;
    margin-bottom: 30px;
  }

  .masterclass-image-container img {
    height: auto;
    border-radius: 12px;
  }

  .masterclass-text-container {
    width: 100%;
    margin-left: 0;
  }

  .masterclass-cta-button {
    width: 80%;
  }
}
