/* Basis-Styling */
body {
  margin: 0;
  background-color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Wrapper für Inhalt + Navigation */
.site-wrapper {
  position: relative;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Ab 800px: fixer 800px-Container, zentriert */
@media (min-width: 800px) {
  .site-wrapper {
    width: 800px;
    margin: 0 auto;
  }
}

/* Hamburger-Icon */
#hamburger {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}

#hamburger div {
  height: 4px;
  background-color: black;
}

/* Navigation Menü */
#navMenu {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-250px);
  height: 100%;
  width: 250px;
  background-color: #ffffff;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding-top: 60px;
  /* Kein Schatten im Standardzustand */
  z-index: 900;
}

/* Sichtbares Menü mit Schatten */
#navMenu.open {
  transform: translateX(0);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.15);
}

#navMenu a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
}

/* Inhalte */
.title {
  font-family: 'Lato', sans-serif;
  font-size: 30px;
  font-weight: bold;
  margin-top: 20px;
}

.section-title {
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
}

.portrait {
  float: right;
  margin-left: 20px;
  width: 250px;
  height: 250px;
  object-fit: cover;
}

p,
ul li,
.contact-item {
  line-height: 1.5;
}

.testimonial {
  display: flex;
  margin-top: 30px;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 20px;
}

.testimonial-content {
  flex-grow: 1;
}

.testimonial-name {
  font-weight: bold;
  margin-top: 10px;
}

.testimonial-title {
  font-style: italic;
  margin-top: 5px;
}

/* Footer */
footer {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-icons a {
  font-size: 1.2em;
}

/* Mobile (<800px) Anpassungen */
@media (max-width: 800px) {
  .portrait {
    float: none;
    display: block;
    margin: 0 auto 20px;
    width: 200px;
    height: 200px;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-icons {
    margin-top: 20px;
  }
}

/* In style.css */
.carousel-wrapper {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
  text-align: center;
  padding: 1rem;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.carousel-item h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.25rem;
}

.carousel-item p {
  font-size: 1rem;
  line-height: 1.4;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 4px;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

.carousel-control:hover {
  background: rgba(0,0,0,0.7);
}
