.about {
    background: var(--bg-color);
    display: flex;
    align-items: center;
    padding: 10rem 9%;
    flex-direction: column;
    gap: 2rem;
    padding-top: 20rem;
}

.about .heading {
    font-size: 5.6rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.about h2 {
    position: relative;
    display: inline-block;
    font-size: 5.6rem;
    font-weight: 700;
}

.about-content {
    display: flex; /* Flexbox aktivieren */
    align-items: center; /* Vertikale Ausrichtung */
    gap: 3rem; /* Abstand zwischen Text und Logo */
}

.about-content text {
    flex: 2; /* Text nimmt mehr Platz ein */
}

.about-content .image {
    flex: 1; /* Bild nimmt weniger Platz ein */
    text-align: center; /* Logo zentrieren */
}

.about-content .image img {
    width: auto; /* Bild passt sich dem Container an */
    max-width: 450px; /* Begrenzung der maximalen Breite */
    border-radius: 10px; /* Optional: abgerundete Ecken */
    height: auto;
    display: block;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 2rem;
    margin: 2rem 0 3rem;
}

#about_me {
    width: 100%;
    padding: 10rem 2rem;
    margin-top: 10rem;
    box-sizing: border-box;
}

.about_me-content {
    display: flex; /* Aktiviert Flexbox */
    align-items: center; /* Zentriert Bild und Text vertikal */
    justify-content: space-between; /* Verteilt Platz zwischen den Elementen */
    gap: 3rem; /* Abstand zwischen Bild und Text */
    flex-wrap: wrap; /* Für kleinere Bildschirme: Zeilenumbruch ermöglichen */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about_me-img {
    position: relative;
    width: 30rem;
    height: 30rem;
    border-radius: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.about_me-img img {
    width: 90%;
    border-radius: 50%;
    border: .2rem solid var(--main-color);
}

.about_me-img .circle-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid var(--bg-color);
    border-bottom: .2rem solid var(--bg-color);
    border-left: .2rem solid var(--main-color);
    border-right: .2rem solid var(--main-color);
    animation: aboutSpinner 8s linear infinite paused; /* Animation standardmäßig pausiert */
    animation-play-state: paused; /* Animation startet erst bei Hover */
    transition: transform 0.1s linear;
}

.about_me-content p {
    flex: 2; /* Text nimmt mehr Platz ein */
    font-size: 1.8rem;
    line-height: 1.6;
    margin: 0;
}

.about_me h3 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--main-color);
}

.btn-box.btns {
    display: inline-block;
    width: 15rem;
    margin-left: 79rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-box.btns a::before {
    background: var(--bg-color);
}

.about-contact {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10rem; /* Abstand zwischen den Elementen */
    left: 14%;
    margin-top: 5rem;
    transform: translateY(-50%);
    max-width: 1200px;
    text-align: center;
}

.about-contact .contact-heading {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem; /* Abstand zu den Icons */
}

.about-contact .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 2rem; /* Abstand zwischen den Social-Media-Icons */
}

.about-contact .social-icons a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.about-contact .social-icons a:hover {
    color: var(--bg-color);
}

.about-contact .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.about-contact .social-icons a:hover::before {
    width: 100%;
}

/* ---------- RESPONSIVE: TABLET & HANDY ---------- */
@media (max-width: 991px) {
  .about {
    padding: 12rem 5%;
  }

  #about_me {
    padding: 8rem 2rem;
  }

  .about_me-content {
    flex-direction: column;
    text-align: center;
  }

  .about_me-img {
    margin-bottom: 2rem;
  }

  .about_me-content p {
    font-size: 1.8rem;
  }

  .about-contact {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    left: 0;
    transform: translateY(0);
    margin-top: 4rem;
  }

  .about-contact .contact-heading {
    font-size: 2.8rem;
  }

  .about-contact .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-contact .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

@media (max-width: 520px) {
  .about_me h3 {
    font-size: 2.8rem;
  }

  .about_me-content p {
    font-size: 1.6rem;
  }

  .about-contact .contact-heading {
    font-size: 2.2rem;
  }

  .about-contact .social-icons {
    gap: 1.5rem;
  }

  .about-contact .social-icons a {
    width: 45px;
    height: 45px;
  }
}