/* ================================================================= */
/*                           Allgemeine Stile                        */
/* ================================================================= */
@import url('../css/variables.css');

/* ======================= Grundstruktur ======================= */
.about-section {
  width: 100%;
  background-color: #f3f4ed;
  padding: 6rem 2rem;
}

/* =============== Container für About-Inhalte =============== */
.about-container {
  max-width: 99rem;
  height: 60rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* ============= Textbereich der About-Sektion ============== */
.about-tagline {
  font-size: 1.1rem;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.about-text {
  flex: 1 1 50%;
  max-width: 600px;
  padding-right: 2rem;
}

.about-heading {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: #212121;
}

.about-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #333;
}

/* ========== Bildbereich der About-Sektion ========== */
.about-image-wrapper {
  flex: 1 1 40%;
  text-align: center;
}

.about-image {
  width: 100%;
  max-width: 700px;
  height: 600px;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* ================================================================= */
/*                        Responsive Anpassungen                     */
/* ================================================================= */
@media (max-width: 768px) {

  /* ============ Anpassungen für die mobile Ansicht ============ */
  .about-section {
    padding: 4rem 1rem;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    text-align: left;
    gap: 2rem;
  }

  .about-text {
    max-width: 100%;
    padding: 0;
    text-align: left;
  }

  .about-heading {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  .about-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-item {
    flex: none;
    text-align: left;
  }

  .about-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .about-item p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-button-wrapper {
    margin-top: 1.5rem;
    width: 100%;
  }

  .about-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background: none;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
  }

  .about-image-wrapper {
    width: 100%;
    text-align: left;
    margin-top: 1.5rem;
    order: 2;
  }

  .about-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
  }
}
