* {
  box-sizing: border-box;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

#fimg {
  background-size: cover;

  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

#fimg > div {
  background-color: #efefef;
  /* opacity: 0.2; */
  padding: 20px;
  color: black;
}

.bildmittext {
  width: 100%;
  /* display: flex;
    /* flex-wrap: wrap;
    flex-grow: 1; */
  /* ← wichtig für responsives Umbrechen 
    gap: 20px;
    border: 1px solid #efefef;
    */
}

.bildmittext > * {
  width: 100%;
  /* ← Desktop: 50% nebeneinander */
  height: auto;
}

.bildmittext img {
  width: 100%;
  height: auto;
}

.bildmittext > div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.bildmittext > div > a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 20px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #efefef;
  margin-top: 20px;
  background-color: lightgreen;
}

@media screen and (max-width: 800px) {
  .bildmittext > * {
    width: 100%;
    /* ← Handy: untereinander */
  }

  .bildmittext > div {
    padding: 10px;
    font-size: 16px;
  }

  .bildmittext a {
    font-size: 16px;
    padding: 5px;
  }

  #fimg h1 {
    font-size: 16px;
  }
}

#foot li {
  background-color: none;
}
