* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Trebuchet MS", "Arial", sans-serif;
}
html {
  padding: 0;
}
body {
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0;
  margin: 0;
}

.card {
  background-color: white;
  width: 100%;
  max-width: 1200px; /* Breiter gemacht */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  padding: 40px;
  gap: 50px;
  margin: 0;
  justify-content: flex-start;
}

.zitat {
  font-weight: bolder;
  font-size: 20px;
  text-align: center;
}

/* Größeres und rechteckiges Portrait */
.photo {
  flex-shrink: 0;
  width: 250px;
  margin-top: 20px;
}

.photo img {
  border-radius: 15px;
  width: 100%;
  height: 60%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Infobereich */
.info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.contact h2 {
  font-size: 1.2rem;
}

.job-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 20px;
}

.bio {
  color: #555;
  line-height: 1.8;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: justify;
}

.bio strong {
  color: #222;
}

/* Kontaktbereich */
.contact p {
  color: #777;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact strong {
  color: #333;
}

/* Hover-Effekt für das Bild */
.photo img {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.contact a {
  color: inherit;
}

/* Media Queries für mobile Geräte */
@media (max-width: 768px) {
  html {
    padding: 0px;
  }
  body {
    margin: 0;
    padding: 0;
    height: auto;
  }

  .card {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 20px;
  }

  .photo {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .info h1 {
    font-size: 2rem;
  }

  .info p {
    font-size: 1rem;
  }

  .contact p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .info h1 {
    font-size: 1.8rem;
  }

  .bio {
    font-size: 1rem;
  }
}
