html, body {
  height: 100%;
  margin: 0;
}

body {
  color: rgba(0, 0, 0, 0.9);
  font-family: monospace, serif;
  min-height: 100dvh;
  background-image:
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)),
    url('../img/bg/wüste.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;     
  align-items: flex-start;     
  padding: 24px 10%;
  box-sizing: border-box;
  overflow: hidden;            
}

.legal-notice {
  width: 100%;
  max-width: 1100px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;              
  font-weight: 600;
}

.legal-notice p,
.legal-notice a,
.legal-notice li {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

h1 {
  font-size: 84px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

h2 {
  margin: 0;
  font-weight: 700;
}

.headline-legal-notice{
  position: relative;
  flex: 0 0 auto;
  padding-right: 70px; 
}

#back-arrow{
  position: absolute;
  right: 10px;
  top: 14px;
  z-index: 10;
}

#back-arrow a{
  width: 56px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  background: rgba(255,255,255,.9);
}

#back-arrow img{
  width: 28px;
  height: 28px;
  display: block;
}

.scroll-bar {
  flex: 1 1 auto;
  min-height: 0;           
}

.legal-notice-content {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
  padding-right: 10px;         
  box-sizing: border-box;
  scrollbar-width: none;      
  -ms-overflow-style: none;   
}

.legal-notice-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.sources {
  height: auto;
}

.sources p {
  margin: 0 0 6px 0;
}

.legal-notice .topnav {
  display: none;
  position: relative;
}

.legal-notice .bottomnav {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding: 12px 2%;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .legal-notice p,
  .legal-notice a,
  .legal-notice li {
    font-size: 17px;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 20px;
  }

  #back-arrow {
    right: 0px;
    top: 5px;
  }
}

@media screen and (max-width: 1024px) and (max-height: 800px) {
  h1 {
    font-size: 36px;
    margin-bottom: 10px;
  }
}