#lektionen-section {
  padding: 40px 0;
  background-color: #e8aeb6;  /* <--- DAS ist deine Farbe */
  background-size: cover;
  background-position: center;
  width: 100%;
  margin-top: 5px;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  color: #1d2a75;
}

.lektionen-flex-wrapper {
  display: flex;
  justify-content: center;
}

.lektionen-flex-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 60px 25px;
  min-height: 500px;
}

.lektionen-image-container {
  position: absolute;
  left: 0;
  top: -40px;
  width: 60%;
  height: calc(100% + 80px);
  z-index: 1;
  pointer-events: none;
}

.lektionen-image-container {
  position: absolute;
  left: 0;
  top: -20px; 
  width: 60%;
  height: calc(100% + 60px);
  z-index: 1;
  pointer-events: none;
}


.lektionen-text-container {
  position: relative;
  width: 50%;              /* etwas schmaler als vorher */
  z-index: 10;
  text-align: left;        /* statt center */
  background-color: transparent;
  padding: 40px 50px;
  margin-left: 45%;        /* 🎯 verschiebt den gesamten Textblock nach rechts */
  border-radius: 15px;
  box-shadow: none;
}

.lektionen-text-container h2 {
  color: #1d2a75;
}


/* ===== AKTUALISIERTES AKKORDEON MIT ORIGINALFARBEN ===== */
.accordion-lektionen {
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-lektionen-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 22px;
  padding: 18px 25px;
  background-color: #15781b; /* Original: Grün */
  color: white;
  border: none;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.accordion-lektionen-btn:hover {
  background-color: #45a049; /* Original: Hover-Grün */
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.accordion-lektionen-btn.active {
  background-color: #0e5a14; /* Dunkleres Grün für aktiven Zustand */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-icon {
  margin-right: 15px;
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.accordion-lektionen-btn.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-lektionen-content {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f1f1f1; /* Original: Hellgrau */
  border-radius: 0 0 8px 8px;
}


.accordion-lektionen-content-inner {
  padding: 0 25px;
  font-size: 1.3em;
  color: #333;
  line-height: 1.7;
}

/* Animation beim Öffnen */
.accordion-lektionen-btn.active + .accordion-lektionen-content {
  max-height: 500px;
  padding: 15px 0;
}

/* ===== RESPONSIVE ANPASSUNGEN ===== */
@media screen and (max-width: 992px) {
  .lektionen-flex-container {
    flex-direction: column;
  }
  
  .lektionen-image-container,
  .lektionen-text-container {
    width: 100%;
  }
  
  .lektionen-text-container {
    text-align: center;
    padding: 25px;
  }
  
  .lektionen-text-container h2 {
    font-size: 2em;
  }
  
  .lektionen-text-container p {
    font-size: 1.2em;
  }
  
  .accordion-lektionen {
    width: 95%;
    margin: 30px auto;
  }
  
  .accordion-lektionen-btn {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  
  .accordion-lektionen-content-inner {
    font-size: 1em;
    padding: 0 20px;
  }
}

@media screen and (max-width: 576px) {
  #lektionen-section {
    padding: 50px 15px;
  }
  
  .accordion-lektionen-btn {
    padding: 12px 15px;
    font-size: 1em;
  }
  
  .accordion-icon {
    margin-right: 10px;
  }
}