/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
  * Global css
  */

@import url("../fonts/FrutigerLTStd-Bold.otf");
@import url("../fonts/FrutigerLTStd-Light");

@font-face {
  font-family: "FrutigerBold";
  src: url("../fonts/FrutigerLTStd-Bold.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "FrutigerLight";
  src: url("../fonts/FrutigerLTStd-Light.otf") format("opentype");
  font-display: swap;
}

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

body {
  background: #fff;
  width: 100vw;
  overflow-x: hidden;
}

.grid-container {
  max-width: 80%;
  padding: 0;
}

p,
a {
  font-size: 18px;
  line-height: 23px;
  font-family: "FrutigerLight";
  color: #000;
  margin: 0;
}

p {
  margin-bottom: 18px;
}

a:hover,
a:visited,
a:focus {
  color: #000;
}
a[download] {
  text-decoration: underline;
}

h2,
h2 p {
  font-family: "FrutigerBold";
  font-size: 50px;
  line-height: 63px;
}

strong {
  font-size: 18px;
  line-height: 23px;
  font-family: "FrutigerBold";
  font-weight: 300;
}

h2 {
  margin: 75px 0 35px 0;
}

ul{
  margin: 0;
}

h3,
h3 p {
  font-family: "FrutigerLight";
  font-size: 30px;
  line-height: 37px;
  margin: 0;
}

figcaption {
  margin-top: 10px;
  margin-left: 10px;
  text-align: center;
}

figcaption.quelle__caption p {
  position: relative;
  margin-top: 55px;
  color: white;
  font-family: "FrutigerLight";
  font-size: 12px;
  line-height: 1.1;
}

header h1 {
  margin: 35px 0 100px 0;
}

header nav,
footer nav {
  display: flex;
  justify-content: right;
  z-index: 3;
  position: relative;
}

footer nav {
  position: absolute;
  top: 0;
  right: 10%;
}

footer p {
  padding-left: 0 !important;
}

header .languages{
  position: absolute;
  top: 5px;
  right: 290px;
}

header .languages li{
  list-style-type: none;
  margin-right: 0;
}

header .languages li a{
  font-family: "FrutigerLight";
  font-size: 18px;
  line-height: 23px;
}

header .languages .active{
  text-decoration: underline;
}

header nav ul li,
footer nav ul li {
  display: inline-block;
  list-style-type: none;
  width: 32px;
  height: 162px;
  position: relative;
  margin-right: 12px;
}

header nav ul span,
footer nav ul span {
  font-family: "FrutigerLight";
  display: block;
  width: 250px;
  background: #fff;
  padding: 5px 23px;
  transform: rotate(-90deg);
  transform-origin: top left;
  position: absolute;
  bottom: -40px;
  left: 0;
  transition: all 0.3s ease-out;
}
header .active span,
footer .active span {
  bottom: -100px !important;
  transition: all 0.3s ease-out;
}

header nav ul li:hover span,
footer nav ul li:hover span {
  bottom: -100px;
  transition: all 0.3s ease-out;
}

footer {
  background: #fff;
  padding: 150px 0 50px 0;
  z-index: 3;
  position: relative;
}

footer .impressum {
  margin-top: 50px;
}

footer .impressum p {
  margin-bottom: 0;
}

.plus .pluscontainer {
  width: 35px;
  height: 35px;
  background: #f0f0f0;
  border-radius: 100px;
  position: relative;
  transition: all 0.5s ease-out;
  cursor: pointer;
}

.plus .pluscontainer div {
  width: 22px;
  height: 2px;
  background: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1.5px;
  margin-left: -11px;
}

.plus .pluscontainer div:nth-child(2) {
  transform: rotate(90deg);
  transition: all 0.5s ease-out;
}

/*
  * Home
  */

#home,
#aktuelles {
  background: #f0f0f0;
}

#home .homeheader {
  height: 78vh;
}

@media screen and (max-width: 60em) {
  #home .homeheader {
    height: 68vh;
  }
}

@media screen and (max-width: 40em) {
  #home .homeheader {
    height: 60vh;
  }
}

#home .homeheader #homeheaderimg {
  height: 70vh;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  margin-left: 10%;
  position: relative;
  display: flex;
  justify-content: right;
}

@media screen and (max-width: 40em) {
  #home .homeheader #homeheaderimg {
    margin-left: 0;
  }
}

#home .homeheader img {
  padding-left: 10%;
}

#home .homeheader #newspopup {
  width: 38.3333%;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 4vh;
}

#home .homeheader #newspopup div {
  background: #fff;
  padding: 23px 10vw 23px 23px;
}

#home #intro {
  height: 650px;
  background: linear-gradient(90deg, #fff 77%, #f0f0f0 23%);
}

#home #intro figure {
  margin-top: 75px;
}

@media screen and (max-width: 40em) {
  #home #intro img {
    margin-top: 0px;
  }
}

#home #intro .quelle {
  position: relative;
}

#home #intro .quelle span {
  position: absolute;
  bottom: 2%;
  right: 5px;
  color: #fff;
}

#home #intro figure {
  position: relative;
}

#home #intro .legende{
  position: absolute;
  font-family: "FrutigerLight";
  font-size: 18px;
  line-height: 23px;
  color: #000 !important;
  background: #ffffffee;
  padding: 5px 8px 2px 8px;
  top: 32%;
  left: 38%;
}

#home #intro .quelleimg{
  position: absolute;
  font-family: "FrutigerLight";
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  left: 50%;
  bottom: 0;
  margin-left: -80px;
  margin-bottom: 0;
}


/* Home Punkte  */

#home #punkte {
  padding-top: 150px;
  margin-bottom: 150px;
}

#home #punkte .iconcontainer {
  position: relative;
}

#home #punkte .iconcontainer:nth-child(even) {
  margin-top: 150px;
}

#home #punkte .icon {
  width: 100%;
  background: #fff;
  border-radius: 500px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home #punkte .icon svg {
  position: absolute;
  transform-origin: center;
  transform: scale(1.3) translate(1px,-5px);
}

#home #punkte .icon img {
  transform: scale(1.1);
}

#home #punkte .textsvg {
  font-size: 1.4rem;
  font-family: "FrutigerLight";
}

#home #punkte .punkttexte {
  padding: 23px 5% 23px 10%;
}

/* Home Gallery */

#home #gallery {
  background: linear-gradient(360deg, #fff 90%, #f0f0f0 10%);
  padding: 0 0 50px 0;
}

/* Splide Slider:

 * Splide.js
 * Version  : 4.1.2
 * License  : MIT
*/
.splide__slide__container {
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.splide__arrow--next {
  right: -10px;
}

.splide__arrow {
  height: 5em;
  width: 5em;
  background: #f0f0f0;
}

.splide__arrow svg {
  fill: #292929;
  height: 2em;
  width: 2em;
}

.splide__arrow.splide__arrow--prev {
  display: none;
}

.splide__slide img {
  max-height: 650px;
}

/* Home Zitat */

#home #zitat {
  height: 600px;
  display: flex;
  align-items: center;
}

#home #zitat h3 {
  margin-bottom: 35px;
}

/* Home Zeitplan */
#zeitplan {
  background: linear-gradient(360deg, #fff 90%, #f0f0f0 10%);
  padding-bottom: 50px;
  overflow: hidden;
}

#zeitplan .zeittitle {
  padding-top: 150px;
  margin-bottom: 35px;
}

#zeitplan .line {
  position: relative;
}

#zeitplan .line,
#zeitplan .icon {
  display: flex;
  justify-content: center;
  z-index: 1;
}

#zeitplan .icon img {
  min-width: 90px;
}

#zeitplan .line img {
  position: absolute;
  top: 0;
  max-width: 50%;
}

#zeitplan p {
  margin-bottom: 0;
}

#zeitplan .iconcontainer {
  margin-bottom: 45px;
  display: flex;
  align-items: center;
}

#home footer {
  background: #f0f0f0;
}

/*
  * Aktuelles
  */

#aktuelles footer nav ul span {
  background: #f0f0f0;
}

#aktuelles .bloggallery {
  margin: 100px 0;
}

#aktuelles .bloggallery .blogpost {
  background: #fff;
  margin-bottom: 50px;
}

#aktuelles .bloggallery .bloggallerytext {
  margin: 15px 0;
  padding: 25px;
}

#aktuelles .bloggallery .blogpost h3 {
  margin-bottom: 23px;
}

/* #aktuelles .bloggallery .blogpost:nth-child(odd) {
  margin-top: -15px;
} */

#aktuelles .bloggallery .blogpost:nth-child(odd) .imagebefore {
  display: none;
}
#aktuelles .bloggallery .blogpost:nth-child(even) .imageafter {
  display: none;
}
/*
  * Post
  */

#aktuelles .date {
  background: #fff;
  display: inline-block;
  padding: 15px;
}

#aktuelles .post {
  margin-top: 75px;
  padding-bottom: 150px;
}

#aktuelles h2 {
  font-family: "FrutigerLight";
  background: #fff;
  padding: 30px 30px 20px 30px;
  margin: 15px 0;
}

#aktuelles .post img {
  width: 100%;
}

#aktuelles .posttext,
#aktuelles .block-type-text,
#aktuelles .block-type-markdown {
  background: #fff;
  padding: 30px 30px 8px 30px;
  margin-top: 15px;
}

/*
  * Fragen
  */

.fragen {
  margin-bottom: 150px;
}

#fragen .frageintrotext {
  margin-top: 75px;
  padding-left: 30px;
}

#fragen footer {
  background: #f0f0f0;
}

#fragen header nav ul span {
  background: #f0f0f0;
}

#fragen .fragen {
  position: relative;
}

#fragen .frage h3 {
  background: #f0f0f0;
  padding: 15px 15px 10px 15px;
}
#fragen .frage p {
  padding-left: 15px;
}

#fragen .fragensectiontitle p {
  background: #f0f0f0;
  width: 150px;
  transform-origin: top left;
  transform: rotate(-90deg);
  position: absolute;
  display: inline;
  padding: 5px 15px;
  top: 0;
  left: 0;
  margin-top: 150px;
}

#fragen .frage h3 {
  margin-bottom: 15px;
}

/*
  * Download
  */

#downloads {
  background: #f0f0f0;
}

#downloads footer nav ul span {
  background: #f0f0f0;
}

#downloads section {
  margin-bottom: 150px;
  min-height: 50vh;
}

#downloads .download {
  background: #fff;
  padding: 20px 20px 0 20px;
  margin-bottom: 15px;
}

#downloads .download .icon {
  display: flex;
  justify-content: flex-end;
}

/*
  * Medien
  */

#medien header nav ul span {
  background: #f0f0f0;
}

#medien section {
  margin-bottom: 150px;
}

#medien h3 {
  background: #f0f0f0;
  padding: 15px 15px 10px 0;
  margin-bottom: 15px;
}

#medien p {
  padding-left: 15px;
}

#medien footer {
  background: #f0f0f0;
}

#medien .pressefotos img {
  margin-bottom: 15px;
}

#medien .medienmitteilungen .link {
  position: relative;
}

#medien .medienmitteilungen img {
  position: absolute;
  right: 15px;
}

/*
  * Projektbeteiligte
  */

#medien .ausklap{
  background: #f0f0f0;
  padding: 15px;
  cursor: pointer;
}
#medien .ausklap span{
  display: none;
}

#medien .textausklap {
  display: none;
}

.ausklapgo {
  display: block !important;
}
.ausklapciao {
  display: none !important;
}

/*
  * Kontakt
  */

#kontakt {
  background: #f0f0f0;
}

#kontakt .intro {
  margin-top: 81px;
}

#kontakt form {
  margin-bottom: 150px;
  font-family: "FrutigerLight";
}

#kontakt footer nav ul span {
  background: #f0f0f0;
}

#kontakt form ::placeholder {
  color: #000;
}

#kontakt form input,
#kontakt form textarea {
  border: 0;
  font-size: 18px;
  line-height: 23px;
  padding: 15px 10px 10px 10px;
}

#kontakt .submit{
  margin-top: 25px;
}

#kontakt .submit input {
  background: #fff;
  color: #000;
  padding: 13px 10px 10px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 23px;
}

#kontakt textarea {
  min-height: 220px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.formcontainer{
  min-height: 400px ;
}

.sucesshome{
  background: #fff;
  padding: 5px;
}

.sucesshome p{
  margin: 0;
}

/*
  * Impressum
  */

.impressum h3 p {
  padding-left: 0 !important;
}
.datenschutzopenclose {
  position: relative;
}

.datenschutzopenclose .plus {
  position: absolute;
  top: -5px;
  left: 215px;
}

.datenschutzopenclose .infomehr {
  display: none;
}

.infomehrdazu {
  display: block !important;
}

.opaque {
  opacity: 1 !important;
  transition: all 0.3s ease-out;
}

.rotate {
  transform: rotate(180deg) !important;
  transition: all 0.5s ease-out;
}

/*
 * MEDIA QUERIES
 */

 @media screen and (min-device-width: 1023px) and (max-device-width: 1350px),
 (min-width: 1023px) and (max-width: 1350px) {
  .gallery-background {
    height: 600px;
  }
  #home #punkte .textsvg {
    font-size: 2rem !important;
  }
 }

 @media screen and (min-device-width: 1023px) and (max-device-width: 1350px),
 (min-width: 1023px) and (max-width: 1500px) {
  
 }

/* IPAD Portrait and Landscape */
@media screen and (min-device-width: 640px) and (max-device-width: 1023px),
  (min-width: 640px) and (max-width: 1023px) {
  header nav ul li,
  footer nav ul li {
    width: 23px;
  }
  header .languages{
    top: 5px;
    right: 240px;
    width: 51px;
  }
  #intro {
    height: auto;
    margin-bottom: 30rem;
  }
  #punkte .iconcontainer {
    margin-bottom: 50px;
  }
  #gallery {
    margin-top: 50px;
  }
  #zitat {
    height: auto;
  }
  #zitat h3 {
    margin-top: 100px;
  }
  #zeitplan {
    padding-bottom: 100px;
  }
  #aktuelles .bloggallery .blogpost {
    margin-bottom: 100px;
  }
  #fragen .frageintrotext {
    padding-left: 15px;
  }
  #home .homeheader #newspopup {
    top: 70vh;
  }
  #home #zeitplan .line img {
    max-width: 100%;
  }
  #home #punkte {
    margin-bottom: 100px;
  }
  .splide__arrow--next {
    right: 10px;
    bottom: 22px;
    top: auto;
  }
  .gallery-background {
    height: 550px;
    margin-top: -500px;
  }
  .splide__slide img {
    max-height: 550px;
  }
}

/* ==========================================================================
    Smartphones
  ========================================================================== */

/* Mobile Version Qucikfix */
@media screen and (max-width: 40em) {
  #home #punkte .iconcontainer:nth-child(even) {
    margin-left: 40%;
  }
  #home #punkte .icon img {
    width: 50%;
    height: 50%;
  }
  #home #punkte .textsvg {
    font-size: 2rem;
  }
  .splide__arrow--next {
    right: 10px;
    bottom: 50px;
    top: auto;
  }
  .splide__arrow {
    background: #fff;
  }
  header .languages {
    top: -15px;
    left: 0;
    width: 100px;
  }
  header .languages li{
    margin-right: 15px;
  }
}

@media screen and (max-device-width: 639px), (max-width: 639px) {
  p,
  a {
    font-size: 17px;
    line-height: 22px;
  }

  header h1 {
    z-index: 10;
    margin: 35px 0 30px 0;
  }

  header nav ul li,
  footer nav ul li {
    width: 16px;
    height: 145px;
    margin-right: 12px;
  }
  header nav ul li:hover span,
  footer nav ul li:hover span {
    bottom: -85px;
    width: 204px;
  }

  header nav ul span {
    width: 346px;
    padding: 2px 18px;
    bottom: -5px;
    left: 0;
  }
  #home .homeheader #newspopup {
    width: 94%;
    position: relative;
    z-index: 2;
    right: 0;
    bottom: 0;
    margin-top: -95px;
  }
  #home #intro {
    height: 800px;
    margin-top: 130px;
    background: #fff;
  }
  #home #punkte {
    padding-top: 150px;
    margin-bottom: 100px;
  }
  #home #punkte .iconcontainer {
    position: relative;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
  }
  #home #punkte .punkttexte {
    padding: 20px 0 20px 5%;
  }
  #home #gallery .image2 {
    margin-top: 0;
    margin-bottom: 50px;
  }
  #home #gallery .image1 {
    margin-bottom: 50px;
  }
  #home #zeitplan .zeittitle {
    margin-bottom: 0;
  }
  h3,
  h3 p {
    font-size: 25px;
    line-height: 32px;
  }
  header .active span,
  footer .active span {
    bottom: -85px !important;
  }
  h2,
  h2 p {
    font-size: 35px;
    line-height: 48px;
  }
  #home #gallery .grid-container{
    max-width: 100%;
  }
  #home #gallery .gallery__caption{
    padding: 0 10px;
  }
  #home #zitat {
    height: 500px;
    margin-top: 100px;
  }
  #home #zeitplan .icon img {
    min-width: 80px;
  }
  #home #zeitplan {
    position: relative;
  }
  #home #zeitplan .line img {
    top: 30px;
    max-width: 150%;
  }
  #home #zeitplan .iconcontainer {
    margin-bottom: 25px;
  }
  footer .active span {
    bottom: -85px !important;
    width: 265px !important;
  }
  footer nav ul span {
    width: 164px;
    padding: 2px 18px;
    bottom: -45px;
    left: 0;
  }
  footer {
    padding: 250px 0 50px 0;
  }
  #aktuelles .bloggallery .blogpost {
    margin-bottom: 100px;
  }
  #fragen .frageintrotext {
    padding-left: 15px;
    margin-top: 0;
  }
  #kontakt .intro {
    margin-top: 0;
  }
  .splide__slide__container{
    height: auto !important;
  }
  .splide__arrow {
    height: 4em;
    width: 4em;
  }
  .quelle figcaption{
    position: absolute;
    bottom: 0;
  }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
