/* Gemeinsame Gestaltung der Singlepage und Datenschutzerklärung. */
* { box-sizing: border-box; }
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  color: #494949;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  hyphens: none;
}
a { color: #86a0c1; text-decoration: none; }
a:hover { color: #486187; }
a:focus-visible, button:focus-visible { outline: 2px solid #486187; outline-offset: 4px; }

.site-header { background: #f4f4f4; }
.navigation-bar { position: sticky; top: 0; z-index: 10; background: #f4f4f4; }
.brand {
  padding: 20px;
  border-top: 5px solid #86a0c1;
  text-align: center;
}
.brand img { width: 272px; height: 142px; margin: -10px 0; }
.header-contact { display: none; }
.menu-toggle {
  display: block;
  position: relative;
  width: 100%;
  height: 60px;
  padding: 20px 0 0;
  border: 1px solid #eaeaea;
  border-right: 0;
  background: transparent;
  color: #bbb;
  text-align: center;
  cursor: pointer;
  font: inherit;
}
.menu-toggle svg { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); }
.menu-toggle[aria-expanded="true"] { background: #86a0c1; border-color: #86a0c1; color: #fff; }
.menu-toggle[aria-expanded="true"]::before {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 48%;
  z-index: 1;
  border: 7.5px solid transparent;
  border-bottom: 0;
  border-top: 8px solid #86a0c1;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 30px 0;
  background: #494949;
}
.site-nav.is-open { display: block; }
.site-nav ul { padding-left: 40px; list-style: none; }
.site-nav li { display: block; padding: 14px 0; text-align: center; }
.site-nav a { display: inline-block; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.site-nav a:hover { color: #86a0c1; }

main { flex-grow: 1; width: 100%; padding: 25px 20px; }
h2, h3 { margin: 1.4em 0; font-size: 22px; font-weight: bold; }
h1, .section-title { margin: 10px 0 14px; font: 400 28px/1.3 Domine, Georgia, serif; }
h1, h2, h3 { overflow-wrap: break-word; text-rendering: optimizeLegibility; }
.content-section h1 { hyphens: auto; }
.content-section { display: flow-root; scroll-margin-top: 84px; transition: opacity 3s ease; }
.content-section.reveal-from-menu { transition-duration: 1.5s; }
.content-section:not(:last-child) { margin-bottom: 40px; padding-bottom: 50px; border-bottom: 1px solid #eaeaea; }
.content-section.reveal-pending { opacity: 0; transition: none; }
.content-section:target, .content-section:focus-within { opacity: 1; }
.content-section.reveal-jump { opacity: 0; transition: none; }
main p, main ul {
  font-family: Domine, Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
main p { margin-bottom: 24px; }
main ul { margin-bottom: 24px; padding-left: 40px; overflow: auto; }
main li { margin-bottom: 20px; }
main a:hover { text-decoration: underline; }
/* Kontaktfragmente: absichtlich verstreut; Darstellung ohne JavaScript. */
:root {
  --c-a: "\37\30\36";
  --c-c: "\49\6e\66\6f";
  --c-d: "\31\39";
  --c-e: "\34\39";
  --c-f: "\54\72\61\69\6e\69\6e\67";
  --c-g: "\41\6c\6c\65\65";
  --c-h: "\38\39\34\33";
  --c-k: "\4b\49\54";
  --c-l: "\33\33\33\38";
  --c-n: "\40";
  --c-p: "\42\65\72\6e\61\75\65\72";
  --c-q: "\2e\64\65";
}
.contact-phone::before { content: "+" var(--c-e) "\a0" var(--c-l) "\a0" var(--c-a) var(--c-h); }
.contact-email::before { content: var(--c-c) var(--c-n) var(--c-k) "-" var(--c-f) var(--c-q); }
.contact-street::before { content: var(--c-p) "\a0" var(--c-g) "\a0" var(--c-d); }
a[data-contact][role="link"] { cursor: pointer; }
.header-contact a { color: inherit; }
.header-contact a:hover { color: #486187; text-decoration: underline; }
.site-footer { padding: 50px 20px 0; background: #86a0c1; }
.footer-inner { overflow: hidden; }
.credit { padding-bottom: 7px; margin-bottom: 40px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.footer-label { padding: 25px 0 35px; background: #494949; color: #86a0c1; text-align: center; }
.footer-title { margin-bottom: 20px; padding: 0 25px; font: bold 24px Domine, Georgia, serif; text-transform: uppercase; letter-spacing: 3px; }
.footer-description { max-width: 90%; margin: 0 auto; font-size: 12px; text-transform: uppercase; letter-spacing: 2px; line-height: 1.7; }

@media (min-width: 500px) {
  .brand { padding: 30px; }
  main { padding: 50px; }
  .site-footer { padding: 50px 50px 0; }
}
@media (min-width: 768px) {
  h1, .section-title { margin: 0 0 34px; font-size: 46px; }
  .content-section h1 { hyphens: none; }
  .content-section:not(:last-child) { margin-bottom: 60px; padding-bottom: 70px; }
  main p, main ul { font-size: 18px; }
  .footer-inner { text-align: center; }
  .footer-label { display: inline-block; margin: 40px auto 0; }
  .footer-description { max-width: 80%; }
}
@media (min-width: 1024px) {
  main { max-width: 800px; margin: 0 auto; padding: 60px 0; }
  main p { margin-bottom: 30px; }
  .site-footer { padding: 50px 0 0; }
  .footer-inner { max-width: 800px; margin: 0 auto; }
}
@media (min-width: 1260px) {
  .header-inner, .site-nav ul, main, .footer-inner { max-width: 1180px; margin: 0 auto; }
  .navigation-bar { border-bottom: 1px solid #eaeaea; }
  .header-inner { position: relative; border-bottom: 1px solid #eaeaea; }
  .header-inner::after { content: ""; display: block; clear: both; }
  .brand { display: inline-block; float: left; max-width: 62%; padding: 30px 0; text-align: left; }
  .header-contact { display: block; position: absolute; top: 0; right: 65px; padding: 16px 16px 16px 0; list-style: none; text-align: right; }
  .header-contact li { margin-bottom: 7px; font-size: 14px; font-style: italic; }
  .header-contact span { display: inline-block; padding: 4px 10px; }
  .menu-toggle { display: none; }
  .site-nav { display: block; position: static; max-height: none; overflow: visible; padding: 0; background: #f4f4f4; }
  .site-nav ul { padding: 0; }
  .site-nav li { display: inline-block; margin-right: 35px; padding: 20px 0; text-align: left; }
  .site-nav a { color: #494949; font-size: 14px; font-weight: bold; }
  .footer-inner { text-align: left; }
  .credit-wrap { float: left; max-width: 65%; padding-top: 30px; }
  .credit { text-align: left; }
  .footer-label { float: right; max-width: 30%; margin: 0; padding: 30px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .content-section { transition: none; }
  .content-section.reveal-pending, .content-section.reveal-jump { opacity: 1; }
}

@media print {
  body { display: block; min-height: 0; }
  .navigation-bar, .site-footer, .contact-hint { display: none; }
  .site-header { background: #fff; }
  .header-inner { display: flex; align-items: center; justify-content: space-between; border: 0; }
  .header-inner::after { display: none; }
  .brand { float: none; max-width: none; padding: 0; border: 0; }
  .brand img { margin: 0; }
  .header-contact { display: block; position: static; padding: 0; list-style: none; text-align: right; }
  .header-contact li { font-size: 12px; }
  .header-contact span { padding: 0; }
  .header-contact br { display: none; }
  main { max-width: none; margin: 0; padding: 24px 0 0; }
  .content-section, .content-section.reveal-pending, .content-section.reveal-jump { opacity: 1; transition: none; }
}
