/* **********************************************
 * Fußzeile
 * ********************************************** */

.sitemap-wrapper {
  width: 100%;
  margin: 0 auto;
  background-color: var(--theme-color);
}

.sitemap {
  color: var(--theme-color-overlay);
  max-width: var(--content-max-width);

  margin: 0 auto;

  font-size: var(--default-font-size);
  font-weight: normal;
  text-decoration: none;
}

.sitemap-wrapper .sitemap ul li input {
  display: none;
}

.sitemap-wrapper .sitemap a {
  text-decoration: none;
}

.sitemap-wrapper .sitemap a,
.sitemap-wrapper .sitemap a:visited {
  color: var(--theme-color-overlay);
}

.sitemap-wrapper .sitemap a:active,
.sitemap-wrapper .sitemap a:hover {
  background-color: var(--theme-color-lighter);
}

.sitemap ul,
.sitemap li {
  list-style: none;
}

.sitemap>ul {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 0 1em;
  flex-direction: row
}

.sitemap>ul>li {
  text-align: left;
  width: 250px;
  font-family: var(--nav-header-font-family);
}


.sitemap>ul>li>ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin-top: 0.5rem;
  gap: 0.25rem;
}

.sitemap>ul>li>ul>li {
  font-family: var(--sitemap-font-family);
}

@media (max-width: 512px) {
  .sitemap>ul {
    flex-direction: column;
    gap: 0.5em;
  }

  .sitemap>ul>li {
    width: auto;
    font-size: calc(var(--default-font-size) - 2px);
  }


  .sitemap ul li ul {
    display: none;
    margin-top: 0;
  }

  .sitemap input:checked+label+ul {
    display: block;
  }

  .sitemap input+label {
    cursor: pointer;
  }

  .sitemap input+label::after {
    content: url(../css-image/keyboard_arrow_down_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg);
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25em;
    filter: invert(100%) grayscale(0%);
  }

  .sitemap input+label:hover {
    background-color: var(--theme-color-lighter);
  }

  .sitemap input:checked+label::after {
    content: url(../css-image/keyboard_arrow_up_24dp_5F6368_FILL0_wght400_GRAD0_opsz24.svg);
  }

}

footer {
  background: var(--header-grey);
  color: var(--header-grey-dark);
  text-align: center;
  padding: 0.2rem;
  font-size: 10px;
}

footer a,
footer a:visited {
  text-decoration: none;
  color: var(--header-grey-dark);
}

footer a:active,
footer a:hover {
  color: var(--theme-color-overlay);
}