/* Grundlayout */

body {
  line-height: 1.5;
  font-size: 17px;
  color: #111;
  margin: 0;
  background: #e9e9e9;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px 0 0 0;
  min-height: calc(100vh - 180px);
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

#content,
.content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 50px 20px;
  text-align: left;
  box-sizing: border-box;
}

#content::after,
.content::after {
  content: "";
  display: block;
  clear: both;
}

#content.home-content {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 40px;
  text-align: center;
}

#content.kontakt-content {
  padding-bottom: 400px;
}

p {
  margin: 0 0 14px 0;
  text-indent: 0;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

h1 + p,
h2 + p {
  text-indent: 0;
}


/* Kopfbereich */

.site-header {
  text-align: center;
  background: #ffffff;
}

.logo {
  font-family: "Segoe Script", "Palatino Linotype", serif;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.39);
  font-size: 24px;
  margin-top: 10px;
}

.subtitle {
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 16px;
  margin-bottom: 10px;
}


/* Hauptnavigation */

#mainnav {
  width: 100%;
  background-color: #1f4478;
}

#mainnav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 62px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0 30px;
  box-sizing: border-box;

  background-color: transparent;
}

#mainnav .main-menu {
  grid-column: 2;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;

  padding: 0;
  margin: 0;
  background-color: transparent;
  white-space: nowrap;
}

#mainnav .main-menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Palatino Linotype", Georgia, serif;
  font-weight: bold;
  font-size: 16px;

  margin: 0;
  padding: 0;
}

#mainnav .main-menu a:hover {
  text-decoration: underline;
}


/* Sprachauswahl */

.language-switch {
  grid-column: 3;
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 16px;

  white-space: nowrap;
}

.language-switch a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Palatino Linotype", Georgia, serif;
  font-weight: bold;
  font-size: 16px;

  padding: 5px 10px;
  border-radius: 4px;
}

.language-switch a:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.language-switch a.active {
  background-color: rgba(255, 255, 255, 0.22);
}

.language-switch span {
  color: rgba(255, 255, 255, 0.5);
}


/* Seitenfuß */

#footer {
  margin-top: auto;
  background: #f3f3f3;
  border-top: 1px solid #d6d6d6;
}

#footer footer {
  margin: 0;
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  background: transparent;
}

#footer a {
  color: #1d3d6f;
  text-decoration: none;
  margin: 0 8px;
}

#footer a:hover {
  text-decoration: underline;
}


/* Startbild */

.startbild {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* Pergamentseite */

#content.parchment-content {
  max-width: 780px;
  padding: 0;
}

.parchment-page {
  max-width: 900px;
  margin: 25px auto 45px auto;
  padding: 120px 120px 140px 120px;

  background-image: url("../images/old_parchment_paper_for_document_background_free.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;

  color: #3a2412;
  box-sizing: border-box;
  min-height: 950px;
}

.parchment-page h1 {
  text-align: center;
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 32px;
  font-weight: normal;
  margin: 0 0 40px 0;
}

.poem {
  font-family: "Palatino Linotype", Palatino, serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.poem p {
  margin: 0 0 30px 0;
}

.poem .signature {
  margin-top: 55px;
  font-size: 22px;
}


/* Bilder im Fließtext */

.widar-logo {
  float: right;
  width: 300px;
  max-width: 33%;
  height: auto;
  margin: 0 0 16px 28px;
}

.koerner-bild {
  float: right;
  width: 150px;
  height: auto;
  margin: 0 0 20px 35px;
}


/* Hinweislink mit Pfeil */

.hinweislink {
  color: inherit;
  text-decoration: none;
}

.hinweislink .linkwort {
  color: inherit;
  font-weight: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hinweislink .linkwortfettgross {
  color: inherit;
  font-weight: bold;
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hinweislink .textpfeil {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 0.95em;
  height: 0.95em;
  margin-left: 2px;

  background-color: #1f4478;
  color: #ffffff;

  font-size: 0.72em;
  font-weight: bold;
  line-height: 1;

  border-radius: 2px;
  vertical-align: baseline;
  transform: translateY(-1px);
}

.hinweislink:hover .linkwort,
.hinweislink:hover .linkwortfettgross {
  color: #1f4478;
}


/* Buch-/Coverseiten */

#content.cover-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

#content.cover-content h1 {
  text-align: left;
  margin-bottom: 24px;
}

.boek-cover,
.buch-cover {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.untertitel {
  font-style: italic;
  margin-bottom: 28px;
}

.bild-untertitel {
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 32px;
}

.buchbeschreibung {
  width: fit-content;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.buchbeschreibung p {
  margin-bottom: 26px;
}


/* Audioabschnitt */

.audio-section {
  max-width: 600px;
  margin: -20px auto 0 auto;
  padding: 0 20px 20px 20px;
  text-align: left;
  box-sizing: border-box;
}

.audio-section-mit-trenner {
  border-top: 1px solid #d8d8d8;
  margin-top: 28px;
  padding-top: 30px;
}

.audio-item {
  margin-bottom: 28px;
}

.audio-title {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: bold;
  font-style: italic;
  text-align: center;
}

.audio-item audio {
  width: 90%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}


/* Druckhinweis */

.druckhinweis {
  color: #9b0000;
  text-align: center;
  margin: 10px 0 26px 0;
  line-height: 1.2;
}

.druckhinweis > div:first-child {
  font-size: 34px;
  font-weight: bold;
}

.druckhinweis .erscheinung {
  font-size: 20px;
  font-weight: normal;
  margin-top: 6px;
  font-style: italic;
}

.schriften-liste {
  margin-top: 28px;
}

.schrift-eintrag:hover {
  background: #e3edf7;
}

.schrift-titel {
  display: block;
  font-size: 19px;
  font-weight: bold;
  color: #1f4478;
  margin-bottom: 5px;
}

.schrift-beschreibung {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

.schrift-inhalt {
  display: flex;
  align-items: center;
  gap: 18px;
}

.schrift-icon {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}

.schrift-text {
  display: block;
}

.schrift-eintrag {
  display: block;
  background: #eef3f8;
  border: 1px solid #d4dfec;
  border-left: 5px solid #1f4478;
  padding: 16px 20px;
  margin-bottom: 16px;
  text-decoration: none;
  color: #111;
}

.symbolik-teaser {
  margin-top: 90px;
  text-align: center;
}

.symbolik-teaser hr {
  margin: 0 auto 24px auto;
  width: 100%;
  border: none;
  border-top: 1px solid #999;
}

.symbolik-link {
  text-align: left;
  margin-bottom: 40px;
}

.symbolik-bild {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


