:root {
  color-scheme: light;
  font-family: Tahoma, Arial, sans-serif;
  color: #000;
  background: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  color: #0000ff;
  text-decoration: none;
}

a:visited {
  color: #800080;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #154d82;
  outline-offset: 3px;
}

p {
  margin: 0;
}

address {
  font-style: normal;
}

.site {
  width: 961px;
  max-width: 100%;
  margin: 15px auto;
}

.site-header img {
  display: block;
  width: 100%;
  height: auto;
}

.site-body {
  display: grid;
  grid-template-columns: 179px minmax(0, 770px);
  padding-right: 12px;
  background: url("background.jpg") left top / 961px 4px repeat-y;
}

.main-nav {
  padding: 20px 14px 0 45px;
  font-size: 11px;
  line-height: normal;
}

.main-nav ul,
.page-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  width: 120px;
  padding: 3px;
  color: #000;
}

.main-content {
  min-width: 0;
  margin-top: 10px;
  outline: none;
}

.page-title {
  margin: 0 6px 4px 10px;
  padding: 2px 0;
  font: bold 16px / normal Tahoma, Arial, sans-serif;
}

.page-content {
  min-height: 718px;
  padding: 0 4px 10px 10px;
}

.home-content {
  font-size: 13px;
  line-height: 16px;
}

.home-intro {
  min-height: 303px;
}

.welcome {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: normal;
  line-height: 27px;
}

.welcome span {
  display: block;
}

.welcome span + span {
  margin-top: 27px;
}

.introduction {
  margin-top: 32px;
}

.introduction p + p {
  margin-top: 16px;
}

.home-photo {
  min-height: 284px;
  margin-top: 10px;
  text-align: center;
}

.home-photo img {
  display: block;
  width: 572px;
  height: auto;
  margin: 0 auto;
}

.closing {
  min-height: 101px;
  margin-top: 10px;
}

.closing p:nth-child(2) {
  margin-top: 32px;
}

.closing p:nth-child(3) {
  margin-top: 16px;
}

.text-content,
.legal-content {
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 19px;
  overflow-wrap: break-word;
}

.address-title {
  margin: 19px 0 0;
  font: bold 16px / 19px "Times New Roman", Times, serif;
  text-decoration: underline;
}

.phone-link,
.phone-link:visited {
  color: inherit;
}

.imprint-contact {
  margin: 19px 0;
}

.imprint-email,
.tax-id {
  font: 13px / 16px Tahoma, Arial, sans-serif;
}

.tax-id {
  margin-top: 16px;
}

.legal-content h2 {
  margin: 24px 0 4px;
  padding: 2px 0;
  font: bold 16px / normal Tahoma, Arial, sans-serif;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 1em 0;
  font-size: 1.17em;
  line-height: normal;
}

.legal-content h4 {
  margin: 1.33em 0;
  font-size: 1em;
}

.legal-content p + p {
  margin-top: 16px;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 32px;
}

.legal-content li + li {
  margin-top: 8px;
}

.sitemap-list {
  margin: 0;
  padding-left: 20px;
}

.sitemap-list li + li {
  margin-top: 12px;
}

.page-links {
  margin: 8px 6px 0 10px;
  border-block: 1px solid #000;
  padding: 2px 4px;
  background: #e0e0e0;
  font-size: 11px;
  text-align: center;
}

.page-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.page-links li {
  display: flex;
  align-items: center;
}

.page-links li + li::before {
  content: "";
  height: 11px;
  margin-inline: 5px;
  border-left: 1px solid #000;
}

.page-links a,
.page-links a:visited {
  color: #000;
}

.site-footer {
  position: relative;
  font-size: 13px;
}

.footer-image {
  display: block;
  width: 100%;
  height: auto;
}

.footer-email {
  position: absolute;
  top: 14px;
  left: 71.072%;
  width: 16.754%;
  height: 16px;
}

.footer-contact,
.email-label,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border: 2px solid #154d82;
  background: #fff;
  color: #000;
}

@media (max-width: 960px) {
  .site {
    margin: 10px auto;
  }

  .site-body {
    grid-template-columns: 150px minmax(0, 1fr);
    background-size: 100% 4px;
  }

  .main-nav {
    padding-left: 36px;
  }

  .main-nav a {
    width: auto;
    min-height: 36px;
    padding-block: 10px;
    font-size: 13px;
  }

  .home-intro {
    min-height: 303px;
  }

  .home-photo {
    min-height: 0;
    padding-bottom: 24px;
  }

  .footer-image {
    display: none;
  }

  .site-footer {
    margin: 0 5px;
    padding: 12px 24px 16px;
    border: 1px solid #b8b8b8;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #fff;
    color: #a00000;
    font-size: 12px;
    line-height: 1.6;
  }

  .footer-contact,
  .email-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }

  .footer-email {
    position: static;
    display: inline-block;
    width: auto;
    height: auto;
    min-height: 32px;
    padding-top: 5px;
  }
}

@media (max-width: 640px) {
  .site {
    margin-block: 6px;
  }

  .site-body {
    display: block;
    margin: 0 5px;
    padding: 0;
    border-inline: 1px solid #c4c4c4;
    background: #fff;
  }

  .main-nav {
    padding: 8px 8px 0;
    font-size: 14px;
  }

  .main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    min-height: 44px;
    padding: 13px 10px;
    font-size: 14px;
    line-height: 18px;
  }

  .main-content {
    margin: 0;
    padding-top: 16px;
  }

  .page-title {
    margin: 0 16px 16px;
    padding: 0;
    font-size: 20px;
    line-height: 1.3;
  }

  .page-content {
    min-height: 0;
    padding: 0 16px 24px;
  }

  .home-content {
    font-size: 15px;
    line-height: 1.5;
  }

  .home-intro {
    min-height: 0;
  }

  .welcome {
    font-size: 22px;
    line-height: 1.3;
  }

  .welcome span + span {
    margin-top: 20px;
  }

  .introduction {
    margin-top: 28px;
  }

  .introduction p + p {
    margin-top: 16px;
  }

  .home-photo {
    margin-top: 24px;
    padding-bottom: 0;
  }

  .closing {
    min-height: 0;
    margin-top: 24px;
  }

  .closing p:nth-child(2) {
    margin-top: 24px;
  }

  .closing p:nth-child(3) {
    margin-top: 16px;
  }

  .text-content,
  .legal-content {
    font-size: 16px;
    line-height: 1.45;
  }

  .address-title {
    line-height: inherit;
  }

  .page-links {
    margin: 0 16px;
    padding: 4px 0;
    font-size: 12px;
  }

  .page-links a {
    display: inline-block;
    min-height: 44px;
    padding: 13px 4px;
    line-height: 18px;
  }

  .page-links li + li::before {
    margin-inline: 4px;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-contact span {
    display: none;
  }

  .footer-email {
    min-height: 44px;
    padding-block: 12px;
    line-height: 20px;
  }
}

@media print {
  .site {
    width: auto;
    max-width: none;
    margin: 0;
  }

  .site-header {
    max-width: 180mm;
  }

  .site-body {
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
  }

  .main-nav,
  .page-links,
  .skip-link {
    display: none;
  }

  .page-content,
  .home-intro,
  .home-photo,
  .closing {
    min-height: 0;
  }

  .home-photo {
    margin-block: 24px;
  }

  .site-footer {
    break-inside: avoid;
  }

  .legal-content h2,
  .legal-content h3,
  .legal-content h4 {
    break-after: avoid;
  }

  a {
    color: #000;
  }
}
