/* ============================================================
   RESET
============================================================ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark,
audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  pointer-events: none;
}


/* ============================================================
   BOX SIZING
============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ============================================================
   HTML & BODY
============================================================ */

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  background-color: #2f3035;
  color: #aaa9a7;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 3s;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* ============================================================
   PRIMARY STRUCTURE
============================================================ */

.wrapper {
  width: 100%;
  margin: 0 auto;
}

main {
  display: block;
  width: 100%;
  background-color: #fff;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 45px;
  text-align: justify;
}


/* ============================================================
   INFO BAR
============================================================ */

.info-bar {
  padding: 0 45px;
  background-color: #fff;
  text-align: right;
  vertical-align: middle;
  max-height: 35px;
  overflow: hidden;
  transition: max-height 0.15s ease-in-out;
}

.info-bar:hover {
  max-height: 1000px;
  transition: max-height 0.3s ease-in-out;
}

.info-bar h3 {
  font-size: 1.6em;
  color: #aaa9a7;
}

.info-bar ul {
  margin: 10px 0;
}

.info-bar li {
  margin: 7px 0;
  font-size: 1em;
  color: #aaa9a7;
}

.info-bar p {
  margin: 20px 0 15px;
  font-size: 1em;
  color: #aaa9a7;
}

.time {
  font-weight: bold;
  font-size: 1.2em;
}


/* ============================================================
   SEITENMENÜ
============================================================ */

#seitenmenue ul,
#seitenmenue-active ul {
  position: fixed;
  top: 50%;
  right: 0;
  width: 100%;
  padding-right: 15px;
  text-align: right;
  transform: translateY(-63%);
}

#seitenmenue a,
#seitenmenue li,
#seitenmenue-active a,
#seitenmenue-active li {
  font-family: fontawesome;
  font-size: 18px;
}

#seitenmenue a::after {
  content: "\f10c";
}

#seitenmenue-active li::after {
  content: "\f111";
  color: #448c33;
}

.seitenmenue-label {
  display: none;
  margin-right: 5px;
  padding: 5px;
  background: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1;
}

#seitenmenue a:hover .seitenmenue-label {
  display: inline;
}

#seitenmenue ul:hover {
  z-index: 9;
}


/* ============================================================
   LINKS
============================================================ */

a {
  color: #3c8c13;
  text-decoration: none;
}

a:hover {
  color: #3caa13;
}


/* ============================================================
   SECTIONS
============================================================ */

section.module:last-child {
  margin-bottom: 0;
}

section.module h2 {
  margin-bottom: 40px;
  font-size: 30px;
}

section.module p {
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 300;
}

section.module p:last-child {
  margin-bottom: 0;
}

section.module.content {
  padding: 40px 0;
}


/* ============================================================
   PARALLAX
============================================================ */

section.module.parallax {
  height: 800px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

section.module.parallax h1 {
  color: rgba(255, 255, 255, 0.88);
  font-size: 48px;
  line-height: 800px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/* ============================================================
   SAFARI WORKAROUND FÜR BACKGROUND-ATTACHMENT: FIXED
============================================================ */

/*
 * Safari unterstützt background-attachment: fixed insbesondere
 * auf iOS nicht zuverlässig. Der Workaround ersetzt dort das
 * CSS-Parallax-Verhalten durch ein fixiertes Pseudo-Element.
 *
 * Die Hintergrundbilder bleiben dabei dieselben und alle anderen
 * Browser behalten background-attachment: fixed.
 */

@supports (-webkit-touch-callout: none) {

  section.module.parallax {
    position: relative;
    z-index: 0;
    background-attachment: scroll;
    background-image: none;
    overflow: hidden;
  }

  section.module.parallax::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: block;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    content: "";
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  section.module.parallax-1::before {
    background-image: url("../img/background/1.jpg");
  }

  section.module.parallax-2::before {
    background-image: url("../img/background/2.jpg");
  }

  section.module.parallax-3::before {
    background-image: url("../img/background/3.jpg");
  }

  section.module.parallax-4::before {
    background-image: url("../img/background/4.jpg");
  }

  section.module.parallax-5::before {
    background-image: url("../img/background/5.jpg");
  }

}


/* ============================================================
   PARALLAX BACKGROUNDS
============================================================ */

section.module.parallax-1 {
  height: 1000px;
  background-image: url("../img/background/1.jpg");
}

section.module.parallax-2 {
  background-image: url("../img/background/2.jpg");
}

section.module.parallax-3 {
  background-image: url("../img/background/3.jpg");
}

section.module.parallax-4 {
  background-image: url("../img/background/4.jpg");
}

section.module.parallax-5 {
  background-image: url("../img/background/5.jpg");
}


/* ============================================================
   TITEL
============================================================ */

#titel {
  padding: 10% 0 48px 5%;
  text-align: left;
  line-height: 48px;
}

#untertitel {
  padding: 24px 0 0 5%;
  text-align: left;
  font-size: 42px;
  line-height: 42px;
}


/* ============================================================
   TEXT / HIGHLIGHTS
============================================================ */

.gross {
  float: left;
  font-size: 42px;
  line-height: 100%;
}

.circle {
  display: inline;
  margin-left: 13px;
  list-style: circle;
}


/* ============================================================
   BACKGROUND CAPTION
============================================================ */

.bg-caption {
  width: 100%;
  margin: -70px 0 50px;
  padding-right: 45px;
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.bg-caption::before {
  padding-right: 5px;
  font-family: fontawesome;
  content: "\f030";
}


/* ============================================================
   MAP
============================================================ */

#mapdiv_figure {
  float: left;
  width: 50%;
  margin: 0 40px 30px 0;
}

#mapdiv {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

#mapdiv_figure figcaption {
  margin-top: 5px;
}


/* ============================================================
   FACTS & FIGURES
============================================================ */

#container5 {
  background-color: #fff;
  overflow: hidden;
}

#container5 > .container {
  width: 100%;
  overflow: hidden;
}

.facts-grid {
  display: grid;
  clear: both;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}

.facts {
  width: auto;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.facts p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.facts i {
  margin-right: 5px;
}

.facts .fa-2x {
  display: block;
  margin: 0 0 8px;
}

.facts .hl {
  color: #3c8c13;
  font-weight: bold;
}


/* ============================================================
   FOOTER
============================================================ */

footer {
  position: relative;
  z-index: 2;
  clear: both;
  padding: 20px 0 30px;
  background-color: #2f3035;
}

footer aside {
  margin-bottom: 40px;
}

footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer li {
  font-size: 14px;
}

footer nav ul {
  text-align: left;
}

footer nav a {
  display: inline-block;
  margin: 0;
}

#copyright {
  margin-top: 40px;
  font-weight: bold;
  text-align: center;
}

footer h3 {
  font-weight: bold;
}

footer .fa {
  margin-right: 15px;
}

footer hr {
  margin: 3px 0 15px;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #mapdiv_figure {
    width: 100%;
    float: none;
    margin: 0 0 25px;
  }

  #mapdiv {
    height: 400px;
  }

  section.module h2 {
    font-size: 42px;
  }

  section.module p,
  section.module li {
    font-size: 20px;
  }

  section.module.parallax h1 {
    font-size: 96px;
  }
}


/* ============================================================
   SMALL TABLET / MOBILE
============================================================ */

@media (max-width: 830px) {

  .container {
    padding: 0 10px;
  }

  .info-bar {
    padding: 0 10px;
  }

  .bg-caption {
    padding-right: 10px;
  }

  #seitenmenue,
  #seitenmenue-active {
    display: none;
  }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 680px) {

  #mapdiv_figure {
    width: 100%;
    float: none;
    margin: 0 0 25px;
  }

  #mapdiv {
    height: 280px;
  }

  /*
   * Parallax bleibt auch auf kleinen Bildschirmen aktiv.
   * Es gibt hier bewusst KEINE Umschaltung auf "scroll".
   */
  section.module.parallax {
    background-attachment: fixed;
  }

  section.module.parallax h1 {
    font-size: 42px;
    line-height: 42px;
  }
}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 500px) {

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .facts p {
    font-size: 16px;
  }

  section.module.parallax {
    background-attachment: fixed;
  }

  section.module.parallax h1 {
    padding-top: 240px;
    font-size: 42px;
    line-height: 42px;
  }
}


/* ============================================================
   LARGE SCREENS
============================================================ */

@media all and (min-width: 1400px) {

  section.module.parallax h1 {
    font-size: 160px;
  }
}