/* Ergänzungen für die portable statische Fassung. */
/* Die Desktopgestaltung bleibt an die Originalseite angelehnt. */
header.header,
header.header nav {
  background: transparent;
}

.header > nav {
  display: contents;
}

/* Der Kontaktbereich funktioniert auch ohne JavaScript. */
summary.topic {
  display: block;
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: 26px;
}

summary.topic::-webkit-details-marker {
  display: none;
}

summary.topic::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 4px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 6px solid #4f87be;
}

details[open] > summary.topic::after {
  border-top: 0;
  border-bottom: 7px solid #4f87be;
}

details[open] > .text {
  display: flow-root;
}

.box {
  overflow-wrap: anywhere;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid #4f87be;
  outline-offset: 4px;
}

/* Breite Originalseiten auf Tablets und Smartphones lesbar halten. */
@media (max-width: 980px) {
  .page {
    width: calc(100% - 40px);
  }

  .main2 {
    width: 100%;
  }

  .nav {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .page {
    width: calc(100% - 32px);
  }

  .header {
    height: auto;
    margin-top: 24px;
    margin-bottom: 32px;
    overflow: visible;
  }

  #logo {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .nav {
    float: none;
    padding: 20px 0 0;
  }

  .nav a {
    padding: 0;
    margin-right: 24px;
    font-size: 14px;
  }

  .main,
  .main2 {
    width: 100%;
    margin-bottom: 24px;
  }

  h1,
  .loggedinheadline {
    padding: 24px;
    overflow-wrap: anywhere;
  }

  .contentpadding,
  .content4 {
    padding: 24px;
  }

  summary.topic {
    line-height: 20px;
    padding-right: 24px;
  }

  summary.topic::after {
    right: 0;
    top: 7px;
  }

  .text {
    padding: 24px 0 0;
  }

  .box {
    float: none;
    width: 100%;
  }

  .box + .box {
    margin-top: 16px;
  }

  .innercontent4 {
    overflow-wrap: anywhere;
  }
}
