html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}
figcaption {
  margin-top: 0.25rem;
  font-size: 80%;
}
.container {
  width: 100%;
  max-width: calc(100vw);
  margin: 0 auto;
  padding-top: 120px;
  /* Platz für den Header */
  padding-bottom: 60px;
  /* Platz für den Footer */
  display: flex;
      gap: 20px;
}
aside {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  border-right: 1px solid #cccccc;
  box-shadow: 3px 0px 6px 0px #cccccc;
}
aside ul{
  position: fixed;
 list-style-type: none;
  padding-left: 0;
}
aside a{
  border: 1px solid #cccccc;
      width: 100%;
    display: block;
    padding: 5px 10px;
    margin-bottom: -1px;
}
main{
  max-width: 1200px;
}
a {
  text-decoration: none; 
  color: inherit;
}
a:hover, a:focus, a:active {
  text-decoration: none;
}
section{
  border-top: 1px solid #cccccc;
  padding-top: 2rem;
  scroll-margin-top: 100px;
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  border-bottom: 1px solid #e7e7e7;
  height: 80px;
}

.site-header .header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
      padding: 0 20px;
}

.site-header .site-title h1 {
  margin: 0;
  font-size: 24px;
}

.site-header .site-title p {
  margin: 0;
  font-size: 14px;
}

.menu {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 24px;
}

.language a {
  margin-left: 8px;
  text-decoration: none;
}

.language a:first-child {
  margin-left: 0;
}

.site-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  border-top: 1px solid #e7e7e7;
}

.site-footer .footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

.warning {
  color: red;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Light/Dark-Schalter */

.lightswitch {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cccccc;
  overflow: hidden;
  font-size: 14px;
}

.lightswitch span {
  padding: 4px 12px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lightswitch span+span {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.lightswitch span.active {
  font-weight: bold;
}

/* Auswahl von Text und Bildern auf der Seite unterbinden */

body,
body * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
      max-width: 100%;
    height: auto;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 89vw;
  }
  aside {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  aside ul {
    position: static;
  }
  
}