body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}

.container {
  display: flex;
  justify-content: space-between;
  padding: 5%;
  align-items: flex-start;
  min-height: 100vh;
  margin-top: 50px;
}

.left {
  flex: 0 0 60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: rgb(255, 255, 255);
}

.baum-image {
  max-width: 60%;
  height: auto;
  border: 5px solid #fff;
  box-sizing: border-box;
  margin-top: 20px;
}

.right {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid #000;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  min-height: 30vh;
  overflow-y: auto;
}

.menu {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  background-color: #ffffff;
}

.menu-item {
  cursor: pointer;
  padding: 10px;
  text-transform: uppercase;
  font-weight: normal;
  border-bottom: 2px solid transparent;
  position: relative;
  flex-grow: 1;
  text-align: center;
  background-color: #fff;
}

.menu-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background-color: #000;
}

.menu-item:last-child::after {
  display: none;
}

.menu-item.selected {
  border-bottom: 2px solid #000;
  font-weight: bold;
}

.product-details {
  text-align: left;
  background-color: #fff;
  padding: 20px;
}

.product-details p {
  text-align: justify;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-details h2 {
  margin-top: 0;
  text-transform: uppercase;
  background-color: #fff;
}

.price {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  background-color: #fff;
}

.add-to-cart,
.details-toggle {
  padding: 10px 20px;
  background-color: rgb(111, 124, 92);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover,
.details-toggle:hover {
  filter: brightness(107%);
  transform: scale(1.04);
}

.add-to-cart-ich {
  background-color: rgb(111, 124, 92);
}

.calendar-link {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.calendar-link:hover {
  text-decoration: underline;
}

.move-down {
  margin-top: 160px;
}
a.email-link {
  color: black;
  text-decoration: none;
}

a.email-link:hover {
  text-decoration: underline;
}
@media only screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin-top: 0;
    height: 100vh;
  }

  .left,
  .right {
    flex: 0 0 50%;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .left {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    overflow: auto;
  }

  .right {
    order: 3;
    padding: 10px;
    position: relative;
    overflow-y: auto;
    border: 1px solid #fff; /* Weißer Rand nur im Handy-Format */
  }

  .right::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
  }

  .baum-image {
    width: 80%;
    height: auto;
    max-width: 80%;
    margin: 0;
    border: none;
  }

  .menu {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    border-top: none;
    border-bottom: 1px solid #000;
    background-color: #fff;
    z-index: 1000;
  }

  .menu-item {
    flex: 0 0 auto;
    padding: 10px 10px;
    border-bottom: 2px solid transparent;
    background-color: #fff;
    font-size: 12px;
  }

  .menu-item.selected {
    border-bottom: 2px solid #000;
  }

  .product-details {
    text-align: center;
    padding: 4px 10px;
  }

  .product-details h2 {
    font-size: 15px;
    margin-top: 4px;
  }

  .product-details p {
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 4px;
  }

  .add-to-cart,
  .details-toggle {
    display: block;
    width: 80%;
    margin: 10px auto;
    padding: 8px;
    font-size: 12px;
    background-color: rgb(111, 124, 92);
    color: #fff;
    border: none;
    cursor: pointer;
  }

  .add-to-cart:hover,
  .details-toggle:hover {
    filter: brightness(107%);
    transform: scale(1.04);
  }

  .calendar-link {
    color: #fff;
    text-decoration: none;
  }

  .calendar-link:hover {
    text-decoration: underline;
  }

  .button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
  }

  #spotify-embed {
    width: calc(90% - 20px);
    margin: 2px;
  }

  #spotify-embed iframe {
    width: 100%;
    height: 360px;
  }

  .menu-item#musik.selected + #spotify-embed {
    display: block;
  }

  .menu-item#date.selected + .calendar-link {
    display: block;
  }
}
