* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

a,
a:active,
a:visited,
a:focus {
   color: #90244E;
   text-decoration: none;
}

html,
body {
   width: 100%;
   height: 100%;
}

body {
   font-size: 16px;
}

#wrapper {
   /* self */
   background-color: #D7D7CF;
   width: 100%;
   min-height: 100vh;

   /* content */
   padding: 48px;
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   gap: 60px;
   font-family: "Roboto", sans-serif !important;
   font-size: 48px;
}

nav {
   /* self */
   border-bottom: 2px solid #b9b9ae;

   /* content */
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-left: 1%;
   text-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

nav h1 {
   font-weight: 400;
   font-size: 1em;
   text-transform: uppercase;
   color: #90244E;
}

main {
   /* self */
   width: 100%;
   margin: 0 auto;

   /* content */
   display: block;
   text-align: left;
   font-size: 0.4em;
   line-height: 1.4;
   padding: 1.5em;
   color: #4C494A;
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
   border-radius: 8px;
}

main ul {
   /* self */
   list-style: none;

   /* content */
   display: flex;
   flex-direction: column;
   gap: 40px;
}

main>ul>li {
   /* self */
   background-color: #ECECE5;
   padding: 20px;
   border-radius: 8px;

   /* content */
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
}

.img-wrap {
   position: relative;
   width: 200px;
   flex-shrink: 0;
   border-radius: 8px;
   overflow: hidden;
   margin-right: 40px;
}

.img-wrap img {
   display: block;
   width: 100%;
   height: auto;
   margin-right: 0;
   border-radius: 8px;
}

.img-wrap::after {
   content: "";
   position: absolute;
   inset: 0;
   box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
   border-radius: 8px;
   pointer-events: none;
}

main ul li h2 {
   font-size: 32px;
   color: #90244E;
}

#information h3 {
   /* margin-left: 40px; */
   color: #90244E;
}

#information>ul {
   background-color: #ECECE5;
   gap: 0px;
}

#information ul li {
   padding: 3px 0;
}

#flyer-download {
   margin: auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
}

#flyer-download a {
   display: flex;
   justify-content: center;
   border-radius: 8px;
   transition: background-color 1s ease;
}

#flyer-download a:hover {
   background-color: #26ff00;
}

#flyer-download p {
   margin: 8px 0 0 0;
}

#flyer-download img {
   display: block;
   width: 64px;
   height: auto;
   border: 1px solid black;
   border-radius: 8px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}



.zeiten {
   margin: 20px 0 20px 20px;
   font-size: 20px;
   font-weight: 700;
}

.info-text {
   margin: 0px 0px 0 20px;
   text-align: left;
   gap: 0;
}

.untertitel {
   margin: 20px 0 20px 20px;
   font-size: 24px;
   font-weight: 700;
}

.back-link {
   text-align: right;
   margin-right: 10%;
   font-size: 0.4em;
   color: #90244E;
   text-decoration: none;
}

.back-link:hover {
   color: #e8eef0;
   text-shadow: 0px 0px 10px #90244E;
}


/* Responsive Anpassung */
@media (max-width: 1024px) {
   #wrapper {
      padding: 32px;
      gap: 40px;
      font-size: 40px;
   }

   main {
      font-size: 1rem;
      line-height: 1.3;
      padding: 1rem;
   }

   .img-wrap {
      width: 160px;
      margin-right: 24px;
   }

   main ul li h2 {
      font-size: 26px;
      font-weight: 700;
   }

   .untertitel {
      font-size: 20px;
      font-weight: 700;
   }

 /*   .zeiten {
      font-size: 18px;
   } */

   .back-link {
      margin-right: 0;
      text-align: right;
   }
}

@media (max-width: 768px) {
   #wrapper {
      padding: 24px;
      gap: 30px;
      font-size: 32px;
   }

   nav {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      padding-left: 0;
   }

   nav h1 {
      font-size: 0.8em;
   }

   .back-link {
      font-size: 0.45em;
      text-align: left;
   }

   main {
      padding: 0.8rem;
   }

   main > ul > li {
      flex-direction: column;
      align-items: center;
   }

   .img-wrap {
      width: min(100%, 260px);
      margin-right: 0;
      margin-bottom: 24px;
   }

   .angebot,
   #information {
      width: 100%;
   }

   .info-text,
   .untertitel,
   .zeiten {
      margin-left: 0;
   }
}

@media (max-width: 480px) {
   #wrapper {
      padding: 16px;
      gap: 24px;
      font-size: 28px;
   }

   nav h1 {
      font-size: 0.65em;
   }

   .back-link {
      font-size: 0.4em;
   }

   main {
      padding: 0.6rem;
      font-size: 0.95rem;
   }

   main > ul > li {
      padding: 14px;
   }

   main ul li h2 {
      font-size: 22px;
   }

   .untertitel {
      font-size: 18px;
   }

   .zeiten {
      font-size: 16px;
   }

   #flyer-download img {
      width: 52px;
   }
}

@media (max-width: 360px) {
   #wrapper {
      padding: 12px;
      gap: 20px;
   }

   nav h1 {
      font-size: 0.55em;
   }

   .back-link {
      font-size: 0.35em;
   }

   main {
      font-size: 0.9rem;
   }

   main ul li h2 {
      font-size: 20px;
   }

}
