*, *:before, *:after {
  margin: 0 auto;
  padding: 0;
}

.invisible, .mod_newsreader p.back,
.ce_player h1, .ce_player h2 {
  display: none;
}

sub, sup {
	font-size: 0.7em;
  line-height: 0.5;
}

img {
  width: 100%;
  height: auto;
}


/* -----   Layout   ----- */

@media (min-aspect-ratio: 1/1) {
  html {
    scroll-snap-type: y mandatory;
  }
  body.snap .ce_gallery li {
    scroll-snap-align: center;
  }
  body.snap #header {
    scroll-snap-align: start;
  }
  body.snap #footer {
    scroll-snap-align: end;
  }
}

html {
  height: 100%;
  background-image: url("css-img/pp22_logo-HG_2Prozent.svg");
  background-position: 0 0;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 87% auto;
}

#wrapper {
  position: relative;
  min-height: 100vh;      /* Bezugspunkt für Footer */
  box-sizing: border-box;
}

header {
  height: 9vh;
}

/* durch header-Höhe ersetzt, damit scroll-snap funktioniert
#main {
  padding-top: 9vh;
} */

.mod_article:last-child {
  padding-bottom: 8rem;
}

body > div.custom ~ #wrapper .mod_article:first-child {
  margin-top: 55vh;
}

.mod_article.fade {
  padding-top: 2rem;
}

.mod_article.space {
  margin-top: 16vh;
}

.mod_article .ce_text:last-child,
#container .mod_article .ce_player:last-child,
#container .mod_article .ce_image:last-child {
  padding-bottom: 3.5rem;
}

.ce_text, h2.ce_headline,
.mod_newslist .layout_latest h2 a span,
.mod_newsreader h1, .mod_newsreader h2,
.ce_player, #container .ce_image,
.mod_C4gReservation, .mod_C4gReservationCancellation {
  padding-left: 5%;
  padding-right: 5%;
}

.ce_text, h2.ce_headline,
.mod_newsreader h1, .mod_newsreader h2,
.mod_C4gReservation, .mod_C4gReservationCancellation {
  max-width: 800px;
}


/* -----   Content   ----- */

.mod_newslist, .ce_gallery, .ce_text figure.image_container:first-child,
#container .ce_player, #container .ce_image {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

/* -----   Galerien   ----- */

.ce_gallery li + li {
  border-top: 1vh solid transparent;
}

figure.image_container {
  font-size: 0;
}


/* -----   Buchungsformular   ----- */

.datepicker-grid {
  width: 100%;
}

.reservation-object {
  display: none !important;
}

.datepicker-cell, .datepicker-cell.disabled,
.datepicker-picker {
  background-color: transparent;
}

.datepicker-controls .btn,
.datepicker-controls .c4g__btn,
.datepicker-controls .ui-button
.datepicker-controls .btn:disabled,
.datepicker-controls .c4g__btn:disabled,
.datepicker-controls .ui-button:disabled {
  border-color: transparent;
  background-color: transparent;
  color: inherit;
}

.datepicker-controls .next-btn, .datepicker-controls .prev-btn {
  padding-right: 0;
  padding-left: 0;
  width: 34%;
}

.datepicker-controls * {
  width: 34%;
}

.datepicker-cell.disabled {
  opacity: 0.3;
}

.datepicker-cell.focused:not(.selected) {
  background-color: transparent;
}

.c4g_brick_dialog .c4g_mandatory_class {
  margin-left: 0.2em;
}

.LinkToParentPage {
  margin-top: 1em;
  text-align: center;
}

/* -----   Content-Videos + Bilder  ----- */

#container .ce_player, #container .ce_image {
  max-width: 1600px;
}

#container .ce_player video {
  width: 100%;
  height: auto;
}


/* -----   Nachrichten   ----- */

.mod_newslist {
  columns: 3 592px;
  column-gap: 0.5vh;
}

.mod_newslist p.more {
  display: none;
}

.mod_newslist .layout_latest {
  position: relative;     /* Bezugspunkt für Bild, a und Name */
  overflow: hidden;
  page-break-inside: avoid;
  height: 500px;
  margin-bottom: 0.5vh;

}

.mod_newslist .layout_latest img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
          transform: translateX(-50%) translateY(-50%) scale(1);
  -webkit-transition: transform 0.7s;
          transition: transform 0.7s;
  min-height: 100%;
  max-height: inherit;
  width: auto;
  min-width: 100%;
}

.mod_newslist .layout_latest a:hover img {
  -webkit-transform: translateX(-50%) translateY(-50%) scale(1.07);
          transform: translateX(-50%) translateY(-50%) scale(1.07);
  }

.mod_newslist .layout_latest .image_container a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(180deg,
    rgba(27, 27, 30, 0.0 )  78%,
    rgba(27, 27, 30, 0.13)  86%,
    rgba(27, 27, 30, 0.5 ) 100%);
}


.mod_newslist .layout_latest h2 a span {
  position: absolute;
  right: 0;
  bottom: 0.7em;
  text-align: right;
}


/* -----    Mission Statement    ----- */

#container .mod_article.statement {
  position: fixed;
  bottom: 15%;
  width: 100%;
  padding: 0;
  font-size: 14px;
  text-align: center;
  text-shadow: 0.4em 0.4em 1.2em #000e;
}

@media (max-width: 2000px) and (min-aspect-ratio: 1/1) {
  #container .mod_article.statement {
    font-size: 6.9px;
    font-size: calc(0.423vh + 5.548px)
  }
}

@media (max-height: 2000px) and (max-aspect-ratio: 1/1) {
  #container .mod_article.statement {
    font-size: 6.9px;
    font-size: calc(0.423vw + 5.548px)
  }
}

.mod_article.statement .ce_text {
  max-width: none;
}

.mod_article.statement h1 {
  display: inline-block;
  text-align: left;
  margin-bottom: 0;
  font-size: 10em;
  line-height: 0.9;
  font-weight: normal;
  text-transform: uppercase;
}

.mod_article.statement p {
  margin-top: 0.3em;
  font-size: 3.81em;
  line-height: 1;
  font-weight: bold;
}


/* -----   HGs   ----- */

body > div.custom {
  position: fixed;
}

#hg-container .ce_image {
  padding: 0;
}

#hg-container iframe, #hg-container video, #hg-container img {
  position: fixed;
  top: 50%;
  left: 50%;

  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
  border: none;
}

@media (max-aspect-ratio: 16/9) {
  #hg-container iframe, #hg-container video, #hg-container img {
    height: 100vh;
    min-width: 178vh;
  }
}

@media (min-aspect-ratio: 16/9) {
  #hg-container iframe, #hg-container video, #hg-container img {
    height: 56.25vw;
    min-width: 100vw;
  }

  #hg-container img {
    max-height: inherit;    /* max-height: 100% überschreiben */
  }
}

#hg-container .ce_vimeo, #hg-container .ce_player {
  width: 100%;
  height: 100vh;
  top: 0;
  animation: 5s linear 2s backwards fadein;
}

@keyframes fadein {
  0%   { background-color: #1b1b1e }
  100% { background-color: #1b1b1e00 }
}

#hg-container .mod_article {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(180deg,
    rgba(27, 27, 30, 0.7 )   0%,
    rgba(27, 27, 30, 0.3 )   3rem,
    rgba(27, 27, 30, 0.15) 4.3rem,
    rgba(27, 27, 30, 0.0 )   7rem,
    rgba(27, 27, 30, 0.0 )  78%,
    rgba(27, 27, 30, 0.13)  86%,
    rgba(27, 27, 30, 0.8 ) 100%);
}


/* -----   Navi   ----- */

.navi.logo, .navi.main {
  position: absolute;
}

.navi.logo li , .navi.main li {
  display: inline-block;
}

.navi.main li:not(:first-child), .navi.sub li:not(:first-child) {
  margin-left: 5%;
}

.navi.main {
  right: 3rem;
  text-align: right;
}

.navi.logo {
  top: 0;
  left: 2.7rem;
}

/* @media (min-width: 1201px) {
  .navi.logo {
    position: fixed;
  }
} */

.navi.logo li:before {
  top: 0;
  content: "";
  display: inline-block;
  width: 3.6em;
  height: 2.6em;
  background-image: url("css-img/pp22_logo_grafik_fff.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: -0.8em;
}

.navi.main, body.projekt .navi.logo {
  top: 1.87rem;
}

body.projekt .navi.logo li a {
  margin-left: 2.8em;
}

body.projekt .navi.logo li:before {
  position: fixed;
}

.navi.main {
  width: 80%;
}


/* -----   Burger + Closer   ----- */

.navi.mobil, #navitoggle, #naviclose {
  display: none;
}

#navitoggle, #naviclose {
  position: fixed;
  right: 5%;
  top: 1.46rem;
}

#navitoggle {
  z-index: 10;
}

#naviclose {
  z-index: 30;
}

@media (max-width: 1200px) {
  .navi.logo {
    left: 5%;
  }

  .navi.main, .navi.sub {
    display: none;
  }

  .navi.mobil {
  	display: block;
  }

  #naviclose, #navitoggle {
    display: inline-block;
    font-size: 2.9rem;
    line-height: 0.6;
  }

  .navi.mobil, #naviclose {
  	opacity: 0;
  	-webkit-transform: scaleY(0);
            transform: scaleY(0);
	  -webkit-transition: transform 0s 0.7s, opacity 0.7s;
            transition: transform 0s 0.7s, opacity 0.7s;
  }

  body.active .navi.mobil,  body.active #naviclose {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  	opacity: 1;
  	-webkit-transition: transform 0s 0s, opacity 0.7s;
            transition: transform 0s 0s, opacity 0.7s;
  }

  body.active #navitoggle {
  	opacity: 0;
  	-webkit-transition: opacity 0.7s;
            transition: opacity 0.7s;
  }
}


/* -----    Navi mobil    ----- */

.navi.mobil {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 20;
  text-align: left;
}

.navi.mobil ul.level_2 {
  text-transform: none;
}

.navi.mobil ul.level_1 {
  margin-left:  17%;
  margin-right: 10%;
  padding-top: 15.6%;
}

.navi.mobil li {
  margin-bottom: 1.5em;
}

.navi.mobil .level_2 li {
  margin-top: 1em;
  margin-left:  10%;
  margin-right: 10%;
}

body.active  {
  overflow: hidden; /* Content bei geöffneter Mobilnavi nicht scrollbar */
}


/* -----   Footer   ----- */

footer {
  position: absolute;
  bottom: 1.6vh;
  width: 100%;
  text-align: center;
}

.footertext span {
  white-space: nowrap;
}

@media (min-width: 751px) {
  .footertext > span:not(:first-child) {
    margin-left: 2.5%;
  }
}

@media (max-width: 750px) and (min-aspect-ratio: 1/1) {
  footer {
    font-size: calc(0.957vh + 11.32px);
  }
}

@media (max-height: 750px) and (max-aspect-ratio: 1/1) {
  footer {
    font-size: calc(1.279vw + 8.907px);
  }
}

.navi.sub {
  width: 100%;
  margin-top: 1.36em;
}

/* -----   Farben   ----- */

html, .navi.mobil,
.anthrazit {
    background-color: #1b1b1e;
}

html, a, a:hover,
.datepicker-cell, .datepicker-cell.disabled,
.c4g_brick_dialog .c4g_mandatory_class {
    color: #fff;
}

.navi.main, .navi.sub, .footertext,
#navitoggle, body.active #naviclose {
  opacity: 0.8;
}

.transparent {
  background-color: rgba(27, 27, 30, 0.9);
}

.fade {
  background-image: linear-gradient(180deg,
      rgba(27, 27, 30, 0.0)  0%,
      20%,
      rgba(27, 27, 30, 0.85) 50%,
      59%,
      rgba(27, 27, 30, 0.9)  65%)
}


/* -----   Typo   ----- */

html {
    font-family: Courier Prime, Courier, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    line-height: 1.36;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
}

html {
    font-size: 18.5px;
}

/* @media (max-width: 1200px) {
  html {
    font-size: calc(0.11vw + 17.14px);
  }
} */

.navi li {
  list-style-type: none;
}

.navi a, .footertext a {
  text-decoration: none;
}

.navi a:hover, .navi a:focus, .navi a:active,
.footertext a:hover, .footertext a:focus, .footertext a:active {
  text-decoration: underline;
}

.navi.logo, .navi.main, .navi.mobil {
  font-size: 1.1rem;
}

h1, h2 {
  font-size: 3rem;
  line-height: 0.9;
  padding-top: 1em;
  font-weight: normal;
}

h1 {
  margin-bottom: 0.8em;
}

.mod_newsreader h1 {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  h1, h2 {
    font-size: calc(0.857vw + 32.25px);
  }
}

h3, h4, .mod_newslist .layout_latest h2 {
  font-size: 1.25rem;
  line-height: 1.133em;
}

h3, h4 {
  margin-top: 2em;
  font-weight: bold;
}

p, #container .ce_text li {
  margin-top: 0.68em;
}

.navi.sub, p.small {
  font-size: 0.9em
}



#container .ce_text li {
  padding-left: 5%;
}

#container ul ul li {
  list-style: inside;
}

.smallspaces {
  word-spacing: -0.35em;
}

.mod_newsreader p.back a:before {
  content: "<< ";
}

/* Generated by Fontie <http://fontie.pixelsvsbytes.com> */

@font-face {
    font-family:'Courier Prime';
    src: url('fonts/Courier Prime Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-203A;
}

@font-face {
    font-family:'Courier Prime';
    src: url('fonts/Courier Prime Bold Italic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-stretch: normal;
    unicode-range: U+0020-03BC;
}

@font-face {
    font-family:'Courier Prime';
    src: url('fonts/Courier Prime Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-stretch: normal;
    unicode-range: U+0020-03BC;
}

@font-face {
    font-family:'Courier Prime';
    src: url('fonts/Courier Prime Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-203A;
}
