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

/* main.css 2.1.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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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
   ========================================================================== */

   *{
    font-family: 'Fira Sans', sans-serif;
   }

   h1 p{
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size:60px;
    line-height: 72px;
   }

   h2, h3{
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
   }

   h2{
    font-size:50px;
    line-height: 50px;
    margin-top: 100px;
   }

   h3{
    margin: 0;
   }

   h3, h3 p{
    font-size:25px;
    line-height: 30px;
    font-weight: 600;
   }

  p{
    font-size: 19px;
    line-height: 25px;
    margin-top: 30px;
    font-weight: 400;
   }

   ul{
    margin: 0;
   }

   a{
    color: #518570;
    transition: all .3s ease-out;
   }
   a:hover{
    color: #D39A2E;
    transition: all .3s ease-out;
   }

   .grid-cont{
    margin:0 5vw;
   }

   .sep{
    margin-top: 30px;
   }

   button{
    background: #fff;
    font-size: 19px;
    padding: 12px;
    border-radius: 50px;
    margin-top: 50px;
    cursor: pointer;
   }

   .button{
    background: none;
    margin: 0 auto;
    padding: 0;
    cursor: default;
   }
   .button:hover{
    background: none;
    margin: 0 auto;
    padding: 0;
    cursor: default;
   }

   .mobilenav{
    display: none;
   }

   .plus .pluscontainer {
    width: 35px;
    height: 35px;
    background: #518570;
    border-radius: 100px;
    position: relative;
    transition: all 0.5s ease-out;
    cursor: pointer;
  }
  
  .plus .pluscontainer div {
    width: 22px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1.5px;
    margin-left: -10px;
  }
  
  .plus .pluscontainer div:nth-child(2) {
    transform: rotate(90deg);
    transition: all 0.5s ease-out;
  }
  .rotate {
    transform: rotate(180deg) !important;
    transition: all 0.5s ease-out;
  }
  .infomehrdazu{
    display: block !important;
   }
   .datenschutzopenclose .infomehr{
    display: none;
   }

   /*
 * NAV – Header
 */
   header{
    background:#fff;
   }

   header ul{
    display: flex;
    justify-content: space-evenly;
    padding: 30px 0;
   }

   header ul li{
    list-style-type: none;
    display: inline-block;
    font-size: 19px;
    line-height: 23px;
    font-weight: 600;
   }

   header ul li a{
    color: #518570;
    transition: all .3s ease-out;
   }

   header ul li .active{
    color:#D39A2E;
   }

   header ul li a:hover{
    color: #D39A2E;
    transition: all .3s ease-out;
   }

   /*
 * HOME - Haut de page
 */

   #HautdePage{
    background-image: url(../img/HautdePage.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    text-shadow: #0000007b 0 0 15px;
   }

   .subtitle{
    display: none;
   }

   #HautdePage .subtitle p{
    font-size: 30px;
    line-height: 36px;
   }

   #HautdePage .grid-x{
    height: 91vh;
   }

   #HautdePage h1{
    margin-top: 60px;
   }

   /*
 * Introduction
 */

   #introduction{
    background:#D39A2E;
    color: #fff;
    padding-bottom: 100px;
    text-align: center;
   }

   #introduction button{
    color:#D39A2E;
    transition: all .3s ease-out;
   }

   #introduction button:hover{
    color:#fff;
    background: #ffffff33;
    transition: all .3s ease-out;
   }

   /*
 * HOME - Was entsteht?
 */

   #was{
    background: #F9F6F3;
    color: #518570;
    padding-bottom: 100px;
   }

   #was h2{
    margin-bottom: 50px;
    text-align: center;
   } 

   #was .waspunkte{
    text-align: center;
   }

   #was .waspunkte img{
    width: 75%;
    margin-bottom: 30px;
   }

   #was .baufirma p{
    font-weight: 300;
    position: relative;
   }

   #was .baufirma span{
    width: 17px;
    height: .5px;
    background: #518570;
    position: fixed;
    top: 10px;
   }

   /*
 * HOME – Meilensteine
 */

   #meilensteine{
    background: #EBE3D9;
    color: #518570;
   }

   #meilensteine h2{
    margin-bottom: 50px;
    text-align: center;
   }

  #meilensteine .homepost{
    background: #fff;
    min-height: 300px;
    padding: 30px;
    margin-top: 20px;
  }   

    #meilensteine .homepost p, #meilensteine .homepost .date{
      font-size: 16px;
      line-height: 22px;
    }  

    #meilensteine .button{
      text-align: center;
      margin: 0 auto;
    }

    #meilensteine .sep, #GeschichtenTeaser .sep{
      margin: 50px 0 20px 0;
    }

    #GeschichtenTeaser{
      display: none;
    }

    #meilensteine button{
      color: #518570;
      transition: all .3s ease-out;
    }

    #meilensteine button:hover{
      background: #518570;
      color: #fff;
      transition: all .3s ease-out;
    }


    #meilensteine .slider{
      margin: 0 8.3333%;
    }

    #meilensteine .slick-slide{
      margin-left: .9375rem;
      margin-right: .9375rem;
    }

    #meilensteine .slick-arrow{
      position: absolute;
      height:60px;
      width: 60px;
      border-radius: 100px;
      display: flex;
    }

    #meilensteine .slick-arrow span{
      display: flex;
      width: 25px;
      height: 25px;
      border-top: 7px solid;
      border-left: 7px solid;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -12px;
      margin-left: -12px;
    }

    #meilensteine .slick-prev{
      top: 45%;
      left: -8.333%;
      transform: rotate(-45deg);
    }

    #meilensteine .slick-next{
      top: 45%;
      right: -8.333%;
      transform: rotate(135deg);
    }

    #meilensteine a{
      text-decoration: underline;
    }


    /*
 * HOME – Bilder Section
 */
   #BilderPause{
    height: 80vh;
    background: url(../img/pause.jpg);
    background-size: cover;
    background-position: center;
   }

   /*
 * HOME – Projekt Teaser
 */
   #projektteaser{
    background: #9E6D56;
    text-align: center;
    padding-bottom: 100px;
   }

   #projektteaser h2{
    color: #fff;
   }

   #projektteaser .block{
    background: #fff;
    min-height: 400px;
    padding: 25px;
    color: #9E6D56;
    margin-top: 30px;
    hyphens: auto;
   }

   #projektteaser .icons{
    height: 100px;
   }

   #projektteaser .block1 .icons img, #projektteaser .block3 .icons img{
    margin-top: 15px;
   }

   #projektteaser button{
    color: #9E6D56;
    transition: all .3s ease-out;
   }

   #projektteaser button:hover{
    background: #ffffff33;
    color: #fff;
    transition: all .3s ease-out;
   }

   #projektdetail3{
    display: none;
   }

   /*
 * HOME – Karte
 */

   #Plan{
    position: relative;
   }

   #Plan .infobox{
    position:absolute;
    max-width: 350px;
    color: #518570;
   }

   #Plan .icon{
    position:absolute;
    z-index: 10;
    top: -21px;
    left: -21px;
    cursor: pointer;
    transition: all .3s ease-in-out;
   }
   #Plan .icon:hover{
    transform: scale(1.1);
    z-index: 31 !important;
    transition: all .3s ease-in-out;
   }

   #Plan .infotext{
    opacity: 0;
    pointer-events: none;
    background: #fff;
    padding: 30px;
    transition: all .1s ease-in-out;
   }

   #Plan .FAMBAU p, #Plan .Domicil p, #Plan .Wms p{
    display: none;
   }

   #Plan p{
    margin: 0;
   }

   #Plan button{
    background: #518570;
    color: #fff;
    margin-top: 15px;
    transition: all .3s ease-out;
   }
   #Plan button:hover{
    background: #51857056;
    color: #518570;
    margin-top: 15px;
    transition: all .3s ease-out;
   }

   .infotextshow{
    opacity: 1 !important;
    z-index: 30 !important;
    pointer-events:all !important;
    position: relative;
    transition: all .3s ease-in-out;
   }

   .premierplan{
    z-index: 31 !important;
    transition: all .3s ease-in-out;
   }

   .drehen{
    animation: drehen .3s ease-in-out forwards;
    transition: all .3s ease-in-out;
   }

   @keyframes drehen {
    from {transform: rotate(0);}
    to {transform: rotate(45deg);}
  }

  #Plan .Wms {
    top: 62%;
    left: 37%;
  }
  #Plan .Domicil {
    top: 78%;
    left: 43%;
  }
   #Plan .FAMBAU {
    top: 59%;
    left: 48%;
  }
   #Plan .Apotheke {
    top: 9%;
    left: 38%;
  }
  #Plan .Bienzgut {
    top: 27%;
    left: 36%;
  }
   #Plan .Bus {
    top: 5%;
    left: 49%;
  }
  #Plan .Einkaufen {
    top: 62%;
    left: 7%;
  }
  #Plan .Schule {
    top: 88%;
    left: 18%;
  }
   #Plan .Post {
    top: 15%;
    left: 30%;
  }
  #Plan .Osteria {
    top: 35%;
    left: 40%;
  }
  #Plan .Kita {
    top: 70%;
    left: 11%;
  }
   #Plan .Kirche {
    top: 43%;
    left: 35%;
  }

    /*
  * HOME – Geschichten Teaser
  */
    #GeschichtenTeaser{
      background: #F9F6F3;
      color: #518570;
    }

    #GeschichtenTeaser h2{
      text-align: center;
      margin-bottom: 50px;
    }

    #GeschichtenTeaser .teasertextGesch a{
      text-decoration: underline;
    }

    #GeschichtenTeaser .button{
      text-align: center;
    }

    #GeschichtenTeaser button{
      color: #fff;
      background: #518570;
      transition: all .3s ease-out;
    }
    #GeschichtenTeaser button:hover{
      background: #fff;
      color: #518570;
      transition: all .3s ease-out;
    }

  /*
  * FOOTER
  */
    footer{
      background: #F9F6F3;
      font-size: 19px;
      color: #518570;
      padding: 100px 0 50px 0;
    }

    footer h3{
      margin-bottom: 30px;
    }

    footer ul li{
      list-style-type: none;
    }

    footer ul li:first-child{
      font-weight: 600;
    }

    footer ul .phone{
      margin-top: 30px;
    }

    footer .impressum{
      margin-top: 100px;
      text-align: right;
    }

    footer p{
      margin-top: 0;
      margin-bottom: 0;
      font-size: 20px !important;
      line-height: 28px;
    }

    /*
  * PROJEKT – Haut de Page
  */

    #projekt, #zeitplan{
      color: #518570;
      background: #F9F6F3;
    }

    .hdp{
      text-align: center;
      margin-bottom: 30px;
    }

    #projekt .arg2, .argbild2{
      margin-top: 50px;
    }

    /*
  * PROJEKT – Quote
  */
    #projekt #quote{
      background: #9E6D56;
      text-align: center;
      color: #fff;
      padding-bottom: 100px;
      margin-top: 100px;
    }

    #projekt #quote h2{
      line-height: 60px;
    }

    /*
  * PROJEKT – second argument
  */

    #projektdetail2 .hdp{
      margin-bottom: 50px;
    }

    .sepprojekt{
      text-align: center;
    }

    #projekt .sepprojekt .sep{
      margin: 50px 0 20px 0;
    }

    /*
 * PROJEKT – Bilder Section
 */
   #BilderPauseprojekt{
    height: 80vh;
    background: url(../img/projektfullpage.jpg);
    background-size: cover;
    background-position: center;
   }

      /*
 * ZEITPLAN – agenda
 */

   #zeitplan h2{
    text-align: center;
   }

   #zeitplan .zeititem{
    text-align: center;
   }

   #zeitplan .longsep{
    height: 80px;
    width: 2px;
    background: #518570;
    margin-left: 50%;
    margin-bottom: 10px;
   }

   #zeitplan .zeititem:last-child .longsep{
    display: none;
   }

   #zeitplan .zeittext{
    margin-bottom: 40px;
   }

   #zeitplan .sidebutton{
    position: fixed;
    transform: rotate(-90deg);
    right: -46px;
    top: 50vh;
    background: #518570;
    border-radius: 20px 20px 0 0;
    padding: 10px;
    transition: all ease-out .3s;
   }
   #zeitplan .sidebutton a{
    color: #fff;
    transition: all ease-out .3s;
   }
   #zeitplan .sidebutton:hover{
    background: #D39A2E;
    transition: all ease-out .3s;
   }

         /*
 * Bautraeger
 */

 .bautrager{
  text-align: center;
 }

 .bautrager img{
  margin-bottom: 30px;
  margin-top: 30px;
  width: 80%;
 }

.bautrageritems .bautrager:nth-child(2) img{
  width: 69%;
 }

 .bautrageritems .bautrager:nth-child(3) img{
  width: 59%;
 }

 .bautrageritems .bautrager{
  margin-bottom: 50px;
 }

 .bautrageritems button{
  background: #518570;
  margin-top: 20px;
  transition: all ease-out .3s;
 }

 .bautrageritems button:hover{
  background: #fff;
  transition: all ease-out .3s;
 }
 .bautrageritems button p{
  margin: 0;
 }
 .bautrageritems button a{
  color: #fff;
 }
 .bautrageritems button:hover a{
  color: #518570;
 }


   /*================
 * MEDIA QUERIES – IPAD
 ================*/

 /* IPAD Portrait and Landscape */
@media screen
and (min-device-width: 639px) and  (max-device-width: 1023px), (min-width: 639px)  and (max-width: 1023px) {

  #was .waspunkte {
    margin-bottom: 50px;
  }

  #meilensteine .homepost{
    min-height: 580px;
  }  

  #meilensteine .slick-next {
    right: -11.333%;
  }

  #meilensteine .slick-prev {
    left: -11.333%;
  }

  #projektteaser .block {
    min-height: 300px;
  }

  #GeschichtenTeaser .teasertextGesch{
    margin-top: 50px;
  }

  footer .impressum {
    text-align: left;
    margin-top: 0;
  }

  footer .grid-x .cell{
    margin-bottom: 50px;
  }

  .mobilespace{
    margin-top: 50px;
  }

}

/* IPHONE Portrait and Landscape */
@media screen
and (max-device-width: 639px), (max-width: 639px) {
  h1 p {
    font-size: 30px;
    line-height: 42px;
  }
  h2 {
    font-size: 30px;
    line-height: 35px !important;
  }
  h3 {
    font-size: 22px;
    line-height: 27px;
  }
  p {
    font-size: 16px;
    line-height: 22px;
  }
  button {
    font-size: 16px;
  }
  .desktopnav{
    display: none;
  }
   .mobilenav{
    display: block;
    color:#518570;
    text-align: center;
   }
   .mobilenav h3{
    display: block;
    background: #fff;
    padding: 15px 0;
    cursor: pointer;
    z-index: 100;
    position: relative;
   }
   .mobilenav ul{
    height: 100vh;
    display: block;
    background: #fff;
    width: 100vw;
    position: absolute;
    top: -100vh;
    transition: all .3s ease-out;
   }
   .mobilenav ul li{
    display: block;
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 30px;
   }
   .bodyblocking{
    height: 100vh !important;
    overflow: hidden !important;
   }
   .menucome{
    top: 57px !important;
    padding-top: 100px;
    transition: all .3s ease-out;
   }
  #HautdePage {
    text-shadow: #0000009a 0 0 15px;
  }
  #HautdePage .subtitle p {
    font-size: 20px;
    line-height: 26px;
  }
  #was .waspunkte {
    margin-bottom: 50px;
  }
  #meilensteine .slick-next {
    top: 15%;
    right: -12.333%;
  }
  #meilensteine .slick-prev {
    top: 15%;
    left: -12.333%;
    z-index: 10;
  }
  #projektteaser .block {
    min-height: 300px;
  }
  #Plan{
    display: none;
  }
  #GeschichtenTeaser .teasertextGesch{
    margin-top: 50px;
  }
  footer .impressum {
    text-align: left;
  }

  .mobilespace{
    margin-top: 50px;
  }
  .addresse{
    margin-top: 30px;
  }
}


/* ==========================================================================
   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
 */

.sr-only {
  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 .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.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
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. 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;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

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

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

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

