.banner {
  width: 100%;
  aspect-ratio: 16/5;
  background-image: url(/Icons/banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  text-align: center;
}
.banner p {
  padding-top: 30px;
  margin: 0;
  color: white;
  line-height: 7vmin;
  font-size: 5vmin;
}

.listen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  padding: 20px 10%;
  min-height: 600px;
}

.tabelle {
  text-align: center;
  background-color: var(--color-light-gray);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 15px;
}

.tabelle ul {
  list-style-type: none;
  padding: 0;
}

.tabelle ul li {
  text-align: left;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  margin-top: 5px;
  margin-bottom: 5px;
}

.tabelle ul li:hover {
  background-color: rgba(255, 230, 0, 0.1);
  transition: background-color 0.3s ease;
}


.tabelle ul li h3 {
  margin: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tabelle ul li h3 a {
  text-decoration: none;
  color: black;
  display: block;
}

.tabelle a:link {
  text-decoration: none;
  color: var(--color-text);
}

.tabelle a:visited {
  color: var(--color-text);
}

.tabelle a:hover {
  text-decoration: underline;
}

.tabelle a:active {
  text-decoration: underline;
}

.tabelle ul li h3 a:hover {
  text-decoration: underline 1px solid black;
}

.datum, .news-date {
  margin: 0;
  font-size: smaller;
}

.news-short, .termine-time {
  margin: 3px 0;
}

.tabelle ul li p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#map {
  width: 100%;
  height: 400px;
  border: 1px solid var(--color-light-gray);
  z-index: 0;
}

.map-container {
  margin: auto;
  width: 90%;
  position: relative;
  margin-bottom: 150px;
}

.info {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-items: center;
  align-items: center;
  height: 200px;
  width: 90%;
  bottom: -100px;
  z-index: 1000;
  padding: 0 5%;
}

.info-card {
  width: 80%;
  height: 80%;
  background-color: var(--color-light-gray);
  margin: 0;
  border-radius: 20px;
  box-shadow: 5px 5px 12px 5px rgba(0,0,0,0.2);
  padding: 20px;
}

.info-card h3 {
  border-bottom: solid black 1px;
  padding: 1px;
  margin: 10px;
}

.info-card p, h4 {
  display: inline-block;
  margin: 10px;
}

#session-storage-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  z-index: 1000;
}

#session-storage-banner p {
  max-width: 95%;
  margin: 0;
}

#accept-session-storage {
   margin-top: 10px;
   padding: 5px 10px;
}


@media (max-width: 800px) {
  .banner {
    aspect-ratio: 16/9;
  }

  .banner p {
    padding-top: 6vmin;
    font-size: 6vmin;
    line-height: 8vmin;
  }

  .listen {
    padding: 0;
  }

  .info {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 40px auto 20px auto;
    padding: 0;
    box-sizing: border-box;
    height: auto;
  }

  .info-card {
    width: 100%;
    max-width: 500px;
    margin: 10px 0;
    box-sizing: border-box; 
  }

  .map-container {
    width: 95%;
    margin-bottom: 0;
  }

}

