body{
  background-size: cover;
  overflow: hidden;
  
}

.wichtigbox {
  position: absolute;
  width:40%;
  right: 2%;
  padding:15px;
  margin: 5px;
  border-style:solid;
}

.basis {
  position: absolute;
  bottom:-1%;
  width: 102vw;
  margin: 0;
  padding: 0;
  float: left;
  left: -20px;
}
li :hover {
 # background-color: #f3f46c;
}


.thumbs{
 
  width: 100px;
  height:100px;

}

input{
  display:none;
}

  input[type=checkbox]:checked ~ .terminDiv {
    display: none;
  }


.termineUl:hover {
  background-color: magenta;
  height: 100%;
}
.termineUl {
  height: 100%;
  padding: 20px;
  position: absolute;
  right: 0;
  left: 60%;
  top:0;
  background-color: pink;
  font-size: 24px;
  line-height: 2em;
}


.grid {
  display: grid;
  list-style: none;
  grid-gap: 1rem;
  line-height: 0;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
}
.grid li {
  position: relative;
  --cols: 1;
  --rows: 1;

  overflow: hidden;
  background: #000;
  line-height: 0;
}
.grid li:first-child {
  --cols: 2;
  --rows: 2;
}
.grid li:nth-child(5) {
  --cols: 2;
}
.grid li:nth-child(6) {
  --rows: 2;
}
.grid li:nth-child(7) {
  --cols: 2;
}
.grid a {
  display: block;
  height: 10rem;
}
.grid img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}
.grid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1;
  text-align: center;
  background: rgba(0,0,0, .5);
  text-transform: uppercase;
  font-size: .875rem;
  letter-spacing: .125em;
  font-weight: 600;
}

@media screen and (min-width: 45em) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid li {
    grid-column-start: span var(--cols);
    grid-row-start: span var(--rows);
  }
  .grid a {
    padding-bottom: 52.65%;
  }
}
