* {
  line-height: 1.5em;
}

body {
  font-size: 12pt;
  background-color: lightgrey;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
  text-align: justify;
  color: white;
}

.wrapper {
  margin: 0 auto;
  max-width: 1000px;
  border-left: 1px solid grey;
  border-right: 1px solid grey;
  background-color: white;
  box-shadow: 0 0 25px darkgrey;
  position: relative;
  min-height: 100vh;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
}

a,
a:link,
a:visited {
  color: blue;
  text-decoration: underline;
  padding-left: 0.125em;
  padding-right: 0.125em;
}

a:hover {
  color: white;
  background-color: blue;
}

header {
  text-align: center;
  background: repeating-linear-gradient(to bottom, #a90329 0px, #a90329 18px, #ffffff 18px, #ffffff 36px);
  max-height: 90px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header img {
  max-width: calc(100% - 20px);
  width: 500px;
  height: auto;
  flex-shrink: 0;
  margin: auto;
  filter: drop-shadow(2px 4px 2px black);
}

header .vorort-liste {
  position: absolute;
  background: #2094f3;
  border-radius: 0 105px 100px 0;
  overflow: hidden;
  z-index: 10;
  top: calc(50% - 1em);
}

header .vorort-liste a,
header .vorort-liste a:link a:visited {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.1em 0.5em 0.1em 0.25em;
}

header .vorort-liste a:hover {
  background-color: white;
  color: #2196F3;
}

caption,
h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.25em;
  color: #B22234;
  text-shadow: 1px 1px 0 white, 0 1px 0 white, 1px 0 0 white, -1px 0 1px white, -1px -1px 0 white, 0 -1px 0 white;
}

h1 {
  margin: 0;
  text-align: center;
}

main {
  flex-wrap: wrap;
  display: flex;
  margin: auto;
  padding: 0.25em 0.25em 2em;
  flex: 2;
  min-height: calc(100vh - 95px - 2em);
}

.col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.col h1,
.col section {
  padding: 0.5em;
  background-color: #486699;
  margin: 0.25em;
  flex-grow: 1;
  min-height: 1px;
}

.col section {
  box-shadow: 0 0 2px #676767;
}

.col section:nth-of-type(odd) {
  background-color: #244885;
}

.col .flex-text,
.col section:last-of-type {
  flex-grow: 3 !important;
}

.row-bottom section:nth-of-type(odd) {
  background-color: #486699;
}

.row-bottom section:nth-of-type(even) {
  background-color: #244885;
}

.col-left {
  flex: 3;
}

.col-left section {
  padding-bottom: 1.5em;
}

.col-right {
  flex: 2;
  max-width: 400px;
}

.col-right img {
  width: 100%;
}

.col-right em {
  margin-top: 0.25em;
  text-align: center;
  font-size: 0.9em;
  font-style: italic;
  font-family: serif;
  display: inline-block;
  width: 100%;
}

footer {
  text-align: center;
  font-size: 0.8em;
  padding-bottom: 0.25em;
  position: absolute;
  background-color: repeating-linear-gradient(to bottom, #a90329 0px, #a90329 18px, #ffffff 18px, #ffffff 36px);
  bottom: 0;
  width: 100%;
  color: black;
}

h2 + p {
  margin: 0;
}

h3 + p {
  margin-top: 0.25em;
}

table {
  background-color: white;
  text-align: left;
}

table tr td {
  background-color: #486699;
  padding: 0.25em;
}

table tr td:first-of-type {
  padding-right: 2em;
  width: 33%;
}

table tr:nth-of-type(even) td {
  background-color: #244885;
}

@media screen and (max-width: 570px) {
  .wrapper {
    box-shadow: none;
  }
  header .vorort-liste {
    background-color: rgba(32, 148, 243, 0.73);
  }
  main {
    padding-bottom: 2em;
  }
}

@media screen and (max-width: 500px) {
  body {
    font-size: 11pt;
  }
  .col {
    min-width: 100%;
  }
}
