/* ==================================================
   Startseite: About us
   schwimm einfach Theme
================================================== */

.about-section {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 701px;
  padding: 0 10px;

  background-color: var(--color-background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-section__container {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
}

/* ==================================================
   Inhaltsbox
================================================== */

.about-section__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  width: min(100%, 626px);
  min-height: 481px;
  margin: 100px;
  padding: 70px;

  background-color: rgb(247 247 247);
  text-align: center;
}

/* ==================================================
   Überschrift
================================================== */

.about-section__title {
  margin: 0;

  color: #000;

  font-family: var(--font-family-heading);
  font-size: 45px;
  font-weight: var(--font-weight-regular);
  line-height: 1;

  text-align: center;
  padding-bottom: 30px;
}

/* ==================================================
   Text
================================================== */

.about-section__text {
  width: 100%;
  margin: 0;

  color: #000;

  font-family: var(--font-family-body);
  font-size: 18px;
  font-weight: var(--font-weight-regular);
  line-height: 27px;

  text-align: center;
  padding-bottom: 30px;
}

.about-section__text > :first-child {
  margin-top: 0;
}

.about-section__text > :last-child {
  margin-bottom: 0;
}

.about-section__text p {
  margin-top: 0;
  margin-bottom: 1em;
}

.about-section__text p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   Button
================================================== */

.about-section__actions {
  display: flex;
  justify-content: center;

  width: 100%;
}

.about-section__button {
  min-width: 180px;

  color: var(--color-white);
  background-color: #4a4a4a;
  border-color: #4a4a4a;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 1100px) {
  .about-section {
    min-height: 620px;
  }

  .about-section__panel {
    width: min(100%, 580px);
    min-height: 430px;
    margin: 70px;
    padding: 56px;
  }

  .about-section__title {
    font-size: 38px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {
  .about-section {
    min-height: 0;
    padding: 48px 16px;
  }

  .about-section__panel {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 40px 24px;
  }

  .about-section__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .about-section__text {
    font-size: 17px;
    line-height: 1.6;
  }

  .about-section__button {
    width: 100%;
    max-width: 280px;
  }
}