body {
  font-family: 'Montserrat', sans-serif;
}

.business-card-container {
  position: relative;
  width: 800px;
  height: 400px;
  perspective: 1000px;
  margin: auto;
}

.business-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.6s ease-in-out, background-color 0.3s ease;
  backface-visibility: hidden;
}

.front {
  background-color: #0A1828;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.back {
  background-color: #fff !important;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
}

.business-card-container:hover .front {
  transform: rotateY(180deg);
  background-color: white;
}

.business-card-container:hover .back {
  transform: rotateY(0deg);
  background-color: #e0f2f7;
}

/* Logo und Text auf der Vorderseite */
.front-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.front-logo {
  width: 150px;
  margin-bottom: 1rem;
}

.front-title {
  font-size: 2.7rem;
  font-weight: bold;
  color: #eaecef;
  margin-bottom: 0.5rem;
}

.front-subtitle {
  font-size: 0.7rem;
  letter-spacing: 6px;
  color: #37cff5db;
  font-family: 'Montserrat', sans-serif;
  font-weight: light;
}

/* Logo und Text auf der Rueckseite */
.back-logo {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 8rem;
}

.back-title-container {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4a5764;
}

.back-subtitle {
  font-size: 0.7rem;
  color: #143150cb;
  font-family: 'Montserrat', sans-serif;
  font-weight: light;
  letter-spacing: 4px;
}

.back-content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
}

/* Follow us */
.follow-us {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 25%;
  padding-left: 2.5rem;
}

.follow-us-title {
  font-weight: 600;
  color: black;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  background-color: #1c2c46;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

.separator {
  width: 3px;
  height: 7.5rem;
  background-color: #1c2c46;
  border-radius: 9999px;
  margin: 0 1.5rem;
}

/* Kontakt informationen */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 66.666667%;
  gap: 1rem;
  font-size: 1rem;
  color: #4a5764;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  background-color: #37d0f5;
  padding: 5px;
  border-radius: 50%;
  color: #0A1828;
  font-size: 1rem;
}

.website-link {
  text-align: center;
  font-size: 1rem;
  color: #1c2c46;
  margin-top: 1rem;
}

.website-link a {
  text-decoration: none;
}

.website-link a:hover {
  text-decoration: underline;
}

/* Flip-Effekt für mobile Geräte */
.business-card-container.flipped .front {
  transform: rotateY(180deg);
}

.business-card-container.flipped .back {
  transform: rotateY(0deg);
}
/* Zeige vorne */
.business-card-container .front {
  transform: rotateY(0deg);
}

.business-card-container .back {
  transform: rotateY(180deg);
}

.business-card-container.flipped .front {
  transform: rotateY(180deg);
}

.business-card-container.flipped .back {
  transform: rotateY(0deg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .business-card-container {
    width: 90%;
    height: 400px;
    padding: 1rem;
    margin: auto;
  }

  .business-card {
    height: 100%;
  }

  .front-title {
    font-size: 2.5rem;
  }

  .back-title {
    font-size: 1.5rem;
  }

  .follow-us {
    width: 30%;
    padding-left: 2rem;
  }

  .follow-us-title {
    font-size: 1rem;
  }

  .contact-info {
    padding-top: 2%;
    font-size: 1rem;
  }

  .separator {
    height: 7.5rem;
  }
}

@media (max-width: 768px) {
  .business-card-container {
    width: 80%;
    height: 350px;
    padding: 1rem;
    margin: auto;
  }

  .business-card {
    height: 100%;
  }

  .front-title {
    font-size: 2rem;
  }

  .back-title {
    font-size: 1.25rem;
  }

  .follow-us-title {
    font-size: 0.9rem;
  }

  .contact-info {
    padding-top: 2%;
    font-size: 0.9rem;
  }

  .separator {
    height: 5rem;
  }
}

@media (max-width: 600px) {
  .business-card-container {
    width: 100%;
    height: 300px;
    padding: 0.5rem;
    margin: 0;
  }

  .business-card {
    height: 100%;
  }

  .front-title {
    font-size: 1.8rem;
  }

  .back-title {
    font-size: 1rem;
  }

  .back-logo {
    width: 7rem;
    padding: 0rem;
    margin: 0rem;
  }

  .follow-us  {
    width: 100%;
    padding: 0rem;
    align-items: center;
    justify-content: center;
  }

  .follow-us-title {
    font-size: 0.8rem;
  }

  .contact-info {
    display: block;
    width: 100%;
    padding: 0rem;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0rem;
    padding-bottom: 1.5rem;
    margin: 0rem;
    padding-top: 2rem;
  }

  .contact-icon {
    font-size: 0.8rem;
  }

  .separator {
    height: 4rem;
  }
}

@media (max-width: 480px) {
  .business-card-container {
    width: 100%;
    height: 280px;
    padding: 0.2rem;
    margin: 0;
  }

  .business-card {
    height: 100%;
  }

  .front-content {
    padding: 0rem;
    margin: 0rem;
  }
  
  .front-title-container {
    padding: 0rem;
    margin: 0rem;
  } 

  .front-logo {
    width: 156px;
    padding: 0rem;
    margin: 0rem ;
  }

  .front-title {
    font-size: 1.5rem;
  }

  .back-title {
    font-size: 0.7rem;
  }

  .back-subtitle {
    font-size: 0.5rem;
  }

  .back-logo {
    width: 6rem;
    padding: 0rem;
    margin: 0rem;
  }

  .follow-us  {
    width: 100%;
    padding: 0rem;
    align-items: center;
    justify-content: center;
  }	

  .follow-us-title {
    font-size: 0.7rem;
  }

  .contact-info {
    display: block;
    width: 100%;
    padding: 0rem;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    padding: 0rem;
    padding-bottom: 1.5rem;
    margin: 0rem;
    padding-top: 2rem;
  }

  .contact-icon {
    font-size: 0.8rem;
  }

  .social-link {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  .social-link:hover {
    opacity: 0.8;
  }

}
