@font-face {
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Regular.ttf') format('truetype');
  }

body{
    background-color: lightgray;
    font-family: 'Open Sans';
    margin: 0; /*Notwendig, damit die Fußzeile gleichmäßig zentriert wird.*/
}

h1, h2, a{
    color: #ef770b;
    padding: 10px;
}

h1, h2 {
    margin-top: 5px;
}

 img {
    height: 100px;
    border-radius: 5px;
}

th {
    text-align: left;
    padding-right: 6px;
}

.infos {
    margin: 0;
    padding: 90px 20px 99px 20px;
    text-align: justify;
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive für .infos Container */
@media (max-width: 768px) {
    .infos {
        margin: 0;
        padding: 90px 5px 99px 5px;
        width: 100%;
        box-sizing: border-box;
    }
}
.versand > img {
height: 70px;
}

/* --- Carousel Styles --- */
.carousel {
    position: relative; /* Wichtig für die Positionierung der Buttons */
    display: inline-block;
}

.carousel .prev,
.carousel .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 3px;
    user-select: none;
    z-index: 5; /* Stellt sicher, dass sie über dem Bild sind */
    transition: background-color 0.3s ease;
}

.carousel .prev {
    left: 5px;
}

.carousel .next {
    right: 5px;
}

.carousel .prev:hover,
.carousel .next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/* --- Modal Styles --- */
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.85);
  z-index: 998; /* Unter dem Modal, aber über allem anderen */
}

#modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Höchster z-index */
}

#modal-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 5px;
}

#modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  background-color: #ef770b;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  z-index: 1001;
}

#modal-prev, #modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    user-select: none;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#modal-prev {
    left: 15px;
}

#modal-next {
    right: 15px;
}

#modal-prev:hover, #modal-next:hover {
    background-color: rgba(0,0,0,0.8);
}
