html {
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  padding: 1% 0% 0% 0%;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 988px;
}

main {
  flex: 1;
  z-index: 0;
  margin-left: 2%;
  margin-right: 2%;
}

/* Kopfzeile */
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 1%;
  margin-bottom: 3%;
  border-bottom: 1px dotted black;
}

.LGLN {
  width: 30%;
  margin-left: 1%;
}

.Niedersachsen {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  min-width: 30%;
  margin-top: 2.3%;
  margin-right: 1%;
}

.Niedersachsen img {
  width: 100%;
}

.headline {
  margin-left: 16px;
}

/* Navo-Block */
.Navo {
  padding-bottom: 1%;
  margin-bottom: 2%;
  margin-left: 16px;
}

.NavoText {
  display: flex;
  flex-direction: row;
  justify-content: start;
}

.NavoButton {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 2%;
  margin-top: 1rem;
  margin-bottom: 30px;
}

a:link,
a:visited {
  text-decoration: none;
  color: white;
}

a:hover {
  text-decoration: none;
  color: white;
}

/* TabellenCSS */
.FAQ {
  margin-bottom: 3%;
}

/* TabellenCSS */
.tableCenter {
  text-align: center;
}

.table > :not(:first-child) {
  border-top: 0px;
}

.tableCaption {
  display: none;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  bottom: 0;
  align-items: center;
  background-color: #5F6164;
  color: white;
  padding: 1%;
}

.footerLeft {
  justify-content: flex-start;
  width: 12%;
}

.footerCenter {
  justify-content: center;
  margin-left: 5%;
}

@media (max-width: 500px) {
  .footerCenter {
    display: none; /* Element wird ausgeblendet, wenn die Bildschirmgröße 768px oder weniger beträgt */
  }
}

.footerRight {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-size: 1.0em;
}

.Impressum {
  padding: 1%;
}

.Impressum span {
  cursor: pointer;
}

.Datenschutz {
  padding: 1%;
}

.footer a, .footer label {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

/* Impressum */
.checkbox {
  margin-top: -5%;
}

.accordion > input[type="checkbox"] {
  position: absolute;
  left: -100vw;
}

.accordion .content {
  overflow-y: hidden;
  height: 0;
  transition: height 0.3s ease;
}

.accordion > input[type="checkbox"]:checked ~ .content {
  height: auto;
  overflow: visible;
}

.accordion label {
  display: block;
}

.accordion > input[type="checkbox"]:checked ~ .content {
  padding: 15px;
  border: 1px solid #e8e8e8;
  border-top: 0;
}

.accordion .handle label:hover,
.accordion .handle label:focus {
  background: #d8d8d8;
}

.accordion {
  max-width: 65em;
}

.accordion p:last-child {
  margin-bottom: 0;
}