/*! 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.5em;
}

/*
 * 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-face {
    font-family: "futura";
    src:  url("/fonts/Futura-Medium.woff2") format("woff2"), 
          url("/fonts/Futura-Medium.woff") format("woff");
  }
  @font-face {
    font-family: "futurabold";
    src:  url("/fonts/FuturaStd-Heavy.otf") format("opentype");
  }

  body{
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    opacity: 0;
    scroll-behavior: smooth;
    transition: all .5s ease-out;
    background: #87B7A7;
  }

  html{
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  *, h2, h3, h4{
    font-family: 'futura', sans-serif;
  }

  ul li, ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  .grid-x{
    padding: 6vh 6vw;
  }

  h3{
    position:relative;
    margin: 30px 0;
    font-size: 35px;
    line-height: 40px;
  }

  h4{
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 10px;
  }

  h3 span{
    position: absolute;
    width:60px;
    height: 1px;
    top: -5px;
    background: #000;
  }

  p, li{
    font-size: 18px;
    line-height: 23px;
    margin: 0;
  }

  #video{
    position: absolute;
    min-height: 100vh;
    min-width: 100vw;
    left: 0;
    top: 0;
    background-color: #fff;
    transition: all .5s ease-out;
  }
  .content {
    position: fixed;
    z-index: 110;
    color: #f1f1f1;
    width: 100%;
    height: 100%;
    padding: 20px;
  }

  .content svg{
    position: absolute;
    top: 45%;
    left: 45%;
    z-index: 80;
  }

  .content p{
    position: absolute;
    top: 60%;
    left: 48%;
    color: #fff;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    z-index: 80;
  }

  .disapear{
    opacity: 0 !important;
  }
  .ciao{
    display: none !important;
  }

  .hello{
    opacity: 1 !important;
  }

  /* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #BDDBD3;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #005A60;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

   /*
 * Header
 */

 header h1 svg{
  z-index: 11;
  position: relative;
}

  header h2{
    color: #fff;
    font-size: 80px;
    line-height: 80px;
    z-index: 11;
  }

  header nav{
    position:fixed;
    z-index: 20;
    right: 0;
    top: 0;
    width: 50px;
  }

  header nav ul{
    height: 100%;
    margin: 0;
    padding: 0;
  }

  header nav ul li{
    list-style-type:none;
    text-align: center;
    margin: 0;
    width: 50px;
    padding: 30px 0; 
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header nav ul li span{
    display: block;
    transform: rotate(-90deg);
    transform-origin: center;
  }

  header nav .gewaehlt{
    position: absolute;
    width: 1px;
    background: #fff;
    height: 0;
    left: 8px;
    top: 0;
    transition: all 0.5s ease-out;
    animation: menuline 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
  }

  @keyframes menuline {
    0% {
      left: 8px;
      top: 0;
      height: 0;
    }
    21% {
      height: 12vh;
      left: 8px;
      top: 3.5vh;
    }
    40% {
      height: 6vh;
      left: 8px;
      top: 24.5vh;
    }
    70% {
      height: 0;
      left: 8px;
      top: 30.5vh;
    }
    75% {
      height: 0;
      left: 8px;
      top: 74.2vh;
    }
    93% {
      height: 7vh;
      left: 8px;
      top: 74.2vh;
    }
  }

  /* .gewaehltausbau{
    height: 7.2vh !important;
    left: 8px !important;
    top: 30.5vh !important;
    transition: all 0.5s ease-out;
  }
  .gewaehltflachen{
    height: 16vh !important;
    left: 8px !important;
    top: 5vh !important;
    transition: all 0.5s ease-out;
  } */

  header .flaechenuebersichtlink{
    position: absolute;
    background: #81DCC6;
    height: 20vh;
    top: 0;
    right:0;
  }

  header .ausbaulink{
    position: absolute;
    background: #D2CD52;
    height: 15vh;
    top: 20vh;
    right:0;
  }

  header .layoutvariantenlink{
    position: absolute;
    background: #A09A88;
    height: 20vh;
    top: 35vh;
    right:0;
  }
  header .themenlink{
    position: absolute;
    background: #87B7A7;
    height: 15vh;
    top: 55vh;
    right:0;
  }
  header .lageplanlink{
    position: absolute;
    background: #005A60;
    height: 15vh;
    top: 70vh;
    right:0;
  }
  header .kontaktlink{
    position: absolute;
    background: #FFD900;
    height: 15vh;
    top: 85vh;
    right:0;
  }


  /*
 * Home header
 */

  #homeheader{
    height: 120vh;
    background: url(../img/220920_E_Allreal_website-header.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
  }

  #homeheader h2{
    margin-top: 20vh;
    transition: all .5s ease-out;
    opacity: 0;
    text-shadow: 5px 5px 10px #5555553e;
  }

  #homeheader .headercontainer{
    height: 100vh;
    display: block;
    position: relative;
  }

  #homeheader .thementeaser{
    position: absolute;
    bottom: 5vh;
    padding: 10px 0 20px 0;
    opacity: 0;
    width: 80%;
    transition: all .5s ease-out;
  }
  .themeappear{
    opacity: 1 !important;
  }
  #homeheader .thementeaser .grid-x{
    padding: 0;
  }
  #homeheader .thementeaser h3{
    margin: 16px 0 0 0;
    padding-right: 45px;
    position: relative;
    z-index: 10;
  }
  #homeheader .thementeaser a {
    color: #fff;
  }
  #homeheader .thementeaser .themteastext{
    position: relative;
  }
  #homeheader .thementeaser .themteastext p{
    padding: 10px 45px 0 0;
    position: relative;
    z-index: 10;
  }
  #homeheader .thementeaser .backgroundthementeaser{
    background: #555;
    width: 110%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .4;
    filter: blur(1.5rem);
  }
  #homeheader .thementeaser #mehr{
    position: absolute;
    display: flex;
    align-items: center;
    text-align: center;
    height: 100%;
    top: 0;
    right: -20px;
    z-index: 10;
  }
  #homeheader .thementeaser #mehr p{
    transform: rotate(-90deg);
    padding:0;
  }
  #homeheader .thementeaser .sepline{
    width: 1px;
    background: #fff;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
  }
  #homeheader .thementeaser .flecheteaser{
    z-index: 10;
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    right: -40px;
    top: 0;
    transition: all .3s ease-out;
  }
  #homeheader .thementeaser .flecheteaser div{
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    border-top:1px solid #fff;
    border-right:1px solid #fff;
  }
  #homeheader .thementeaser .themteastext:hover .flecheteaser{
    right: -50px;
    transition: all .3s ease-out;
  }


  

  /*
 * Flächenübersicht
 */

  #stereowaittext p {
    color: #005A60;
    }

    #stereo{
      margin-top: 9vh;
    }

  #flacheruebersicht{
    background:#BDDBD3;
    padding-bottom: 120px;
  }

  #flacheruebersicht a{
    color: #005A60;
  }

  #flacheruebersicht .grid-x{
    position: relative;
  }
  
  #flacheruebersicht .grid-x:nth-child(2){
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
  }

  #flacheruebersicht h3{
    color: #005A60;
  }
  #flacheruebersicht h3 span{
    background: #fff;
  }

  #flacheruebersicht .zoneIndication{
    display: flex;
    justify-content: center;
    position: relative;
  }
  #flacheruebersicht .ZoneInfos h3{
    text-align: center;
    border: solid 1px #005A60;
    border-radius: 100px;
    padding-top: 4px;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    margin: 11px 0;
  }

  #flacheruebersicht .ZoneInfos .grid-x{
    padding: 0;
  }

  #flacheruebersicht .ZoneInfos{
    border-bottom: 1px #005A60;
    letter-spacing:-0.1px;
    margin-top: 22vh;
    color:#005A60;
  }

  #flacheruebersicht table{
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 23px;
  }

  #flacheruebersicht .ZoneInfos thead{
    background: none;
    display: table-header-group;
    width: calc(100% - 17px); /* - 17px because of the scrollbar width */
  }
  #flacheruebersicht .ZoneInfos thead tr{
    display: table-header-group;
  }
  #flacheruebersicht .ZoneInfos thead th{
    font-family: "futurabold";
    font-weight: 300;
  }

  #flacheruebersicht .ZoneInfos tbody{
    display:block;
    width: 100%;
    overflow: auto;
    height: 20vw;
    background: none;
  }
  #flacheruebersicht .zone td{
    border-left: solid 1px #005A60;
    color:#005A60;
  }
  #flacheruebersicht .zone td, #flacheruebersicht th{
    padding: 5px;
    text-align: left;
    width: 120px;
  }

  #flacheruebersicht .zone a{
    color:#005A60;
  }
  #flacheruebersicht .zone:hover td{
    background: #005A60;
    color: #BDDBD3;
    border-left: solid 1px #BDDBD3;
    cursor: pointer;
  }
  #flacheruebersicht .zone:hover a{
    color: #BDDBD3;
  }

  #flacheruebersicht table .zoneTitles{
    height: 75px;
    color:#005A60;
  }

  #flacheruebersicht table tbody tr:last-child td{
    margin-bottom: 75px;
  }

  #flacheruebersicht .verpunkt{
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 20px;
    margin-left: 10px;
    background: #5DC578;
  }

  #flacheruebersicht .reserviert{
    background: #BFB7ED !important;
  }
  #flacheruebersicht .vermietet{
    background: #F88A98 !important;
  }
  #flacheruebersicht .tablevermleg li{
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
  }
  #flacheruebersicht .tablevermleg li span {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 20px;
    background: #5DC578;
    top: 7px;
    left: 0;
    position:absolute;
  }

  tbody, tfoot, thead {
    border: none;
    background-color: none;
  }

  tbody tr td {
    background-color: #BDDBD3;
  }
  tbody td, tbody th {
    text-align: left;
    padding: 5px;
  }

  #flacheruebersicht #grundrissblattlink, #layoutvariantenlink{
    border: solid 1px #005A60;
    color: #005A60;
    background:#BDDBD3 ;
    position:absolute;
    transform: rotate(-90deg);
    transform-origin: top right;
    padding: 10px 50px;
    top: -1px;
    right: calc(6vw + 5.3333%);
  }
  #flacheruebersicht #grundrissblattlink{
    right: calc(6vw + 5.3333% + 41px);
  }
  #flacheruebersicht #layoutvariantenlink{
    padding: 10px 48px;
  }
  #flacheruebersicht .grundrisse::before{
    content: "Grundrisse";
  }

  #stereo svg path, #stereo svg polygon, #stereo svg line, #stereo svg polyline{
    stroke: #005A60;
    fill: #BDDBD3;
    cursor: pointer;
  }

  .select2{
    fill: #005A60 !important;
    stroke: #BDDBD3 !important;
    background:#005A60 !important;
    color:#BDDBD3 !important;
    border-left: solid 1px #BDDBD3 !important;
    cursor: pointer;
  }
  .selecta{
    color:#BDDBD3 !important;
    cursor: pointer;
  }

  @media screen 
  and (min-device-width: 1024px)  {
    .selectahover{
      color:#BDDBD3 !important;
      cursor: pointer;
    }
    .select{
      fill: #005A60 !important;
      stroke: #BDDBD3 !important;
      background:#005A60 !important;
      color:#BDDBD3 !important;
      border-left: solid 1px #BDDBD3 !important;
      cursor: pointer;
    }
  }

  [data-name="grise"], [data-name="grise"] polygon, [data-name="grise"] path, [data-name="grise"] line {
    fill: #BDDBD3 !important;
    stroke: #005A60 !important;
  }

  .transparent{
    opacity: 0.2 !important;
  }

  .opaque{
    opacity: 1 !important;
  }

  .stereoflaech, #O, #N, #W{
    transition: all .3s ease-out;
    cursor: pointer;
  }

  .openstock{
    transform: translateY(-120px) !important;
    transition: all .3s ease-out;
  }

  #N, #W, #O{
    transform: translateY(120px) !important;
  }
  .stereoflaech{
    cursor: pointer;
  }

  .gebselect{
    opacity: .3;
    pointer-events: none;
    background: transparent;
    cursor: pointer;
  }

  .GebSelection{
    width: 55px;
    height: 55px;
    border: #005A60 solid 1px;
    border-radius: 100px;
    float: left;
    cursor: pointer !important;
    margin-right: 20px;
    color: #005A60;
    transition: all .5s ease-out;
    z-index: 10;
    position: relative;
  }

  #GebW{
    margin-right: 75%;
  }
  #GebO{
    margin-left: 25%;
  }

  .GebSelection:hover{
    background: #005A60;
    color: #BDDBD3;
    cursor: pointer;
  }

  .GebSelection p{
    text-align: center;
    margin-top: 15px;
    font-size: 1.9375rem;
  }

  .GebSelectionclick{
    background: #005A60;
    color: #BDDBD3;
    cursor: pointer;
  }

  .netto, .neben, .brutto{
    display: none;
  }


  /*
 * Ausbau
 */

  #ausbau{
    background:#F0F0F0;
    color: #005A60;
    position: relative;
  }

  #ausbau span{
    background:#005A60;
  }

  #ausbau h4{
    margin-top:30px;
  }

  #ausbau #broschurelink{
    border: 1px solid #005A60;
    color: #005A60;
    position: absolute;
    z-index: 20;
    transform: rotate(-90deg);
    padding: 10px 50px;
    transform-origin: top left;
    top: 224px;
  }
  #ausbau #PDFlink{
    border: 1px solid #005A60;
    color: #005A60;
    position: absolute;
    z-index: 20;
    transform: rotate(-90deg);
    padding: 10px 50px;
    transform-origin: top left;
    top: 424px;
  }
  #ausbau #broschurelink p, #PDFlink p{
    margin: 0 !important;
  }
  #ausbau .ausbaupunkte{
    column-count: 4;
    column-gap: 6vw;
    }
    #ausbau .ausbaupunkte div{
      break-inside: avoid;
      }
  #ausbau .ausbaupunkte div img{
    margin-top: 100px;
  }
  #ausbau .ausbaupunkte img{
    margin-bottom: 50px;
    height: 120px;
  }
  #ausbau ul li{
    list-style-type: none;
    margin-bottom: 25px;
  }
  #ausbau ul li::before {
    content: "\2022";
    color: #81dcc6;
    font-weight: bold;
    font-size: 30px;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
  }
  #ausbau .innen{
    margin-top: 200px;
  }

  #visualisierungen{
    height: 70vh;
    background-image: url(../img/atrium.jpg);
    background-size: cover;
    background-position: center;
  }

   /*
 * Wichtige Punkte
 */

 #WichtigePunkte{
  display: flex;
  align-items: center;
  margin-top: 75px;
}

#WichtigePunkte div div{
  margin-bottom: 50px;
}

  #WichtigePunkte h3{
    color: #005A60;
    padding-right: 50px;
  }

  #WichtigePunkte h3 span {
    background: #005A60;
  }

  /*
 * Lageplan
 */

  #lageplan{
    background: #005A60;
    color: #fff;
    position: relative;
  }

  #lageplan .grid-x{
    padding: 6vh 50px 6vh 6vw;
  }

  #lageplan .plan{
    margin-top: 0;
  }

  #lageplan h3 span{
    background: #fff;
  }

  #lageplan p{
    margin-right: 5.3333%;
  }

  #lageplan .plan {
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .lageplaninfo p{
    margin-bottom: 30px;
  }

  .infolageplan{
    position: absolute;
    height: auto;
    width: 325px;
    top: 50%;
    left: 50%;
    background: #005A60;
    border: #87B7A7 1px solid;
    padding: 30px;
    color: #81DCC6;
    opacity: 0;
    transition: all .3s ease-out;
  }

  #numbers g{
    cursor: pointer;
    transition: all .3s ease-out;
  }

  #numbers g:hover .planrond{
    fill: #A09A88 !important;
    pointer-events:all;
    transition: all .3s ease-out;
  }
  #numbers g .planrond{
    transition: all .3s ease-out;
  }

  .infolageplan h4{
    margin-bottom: 20px;
  }

  .showinfo{
    left: 45% !important;
    opacity: 1 !important;
    z-index: 10 !important;
    transition: all .3s ease-out;
  }

  @media screen 
  and (max-device-width: 1350px), (max-width:1350px)  {

    .infolageplan{
      top: 70%;
      z-index: 10;
    }

  }

   /*
 * Themen
 */


 #themen header nav .gewaehlt{
  height: 7vh !important;
  left: 8px !important;
  top: 59vh !important;
  transition: all 0.5s ease-out;
}

 #themen{
  background: #87B7A7;
 }

 #themen .theme a{
  color: #87B7A7;
 }

 #themen h2{
  margin-top: 100px;
 }

 #themen .theme{
  background: #fff;
  color: #87B7A7;
  padding: 20px 59px 50px 0;
  margin-bottom: 50px;
  position: relative;
 }

 #themen .theme .grid-x{
  padding: 0;
 }

 #themen .theme .grid-x p{
  margin-bottom: 20px;
 }

 #themen .number{
  padding-left: 20px;
 }

 #themen .theme h3 span{
  background: #87B7A7;
 }

 #themen .theme img{
  padding-top: 25px;
 }

 #themen .theme .text{
  padding-left: 30px;
  padding-right: 70px;
 }
 #themen .theme .image{
  padding-left: 30px;
  padding-right: 30px;
 }

 #themen .textsolo{
  margin-top: 30px;
 }

 #themen .textsolotitel{
  margin-top: 100px;
 }


 .lSAction{
  width: 60px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border-left: solid 1px #87B7A7;
 }

 .lSAction .lSNext{
  height: 50%;
  width: 100%;
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: url(../img/next.svg);
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: solid 1px #87B7A7;
 }
 .lSAction .lSPrev{
  height: 50%;
  width: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: url(../img/prev.svg);
  background-repeat: no-repeat;
  background-position: center;
 }

 .lSAction .prev svg{
  transform: rotate(180deg);
  transform-origin: center;
 }

 #themen .jauge{
  position: absolute;
  width: 33%;
  height: 5px;
  bottom: 0;
  background: #FFD900;
 }

    /*
 * Layoutvarianten
 */

 #Layoutvarianten{
  background: #A09A88;
 }

 #Layoutvarianten header nav .gewaehlt{
  height: 12vh !important;
  left: 8px !important;
  top: 39vh !important;
  transition: all 0.5s ease-out;
}

 #Layoutvarianten .theme{
  background: #fff;
  color: #A09A88;
  padding: 30px 30px 50px 30px;
  margin-bottom: 50px;
  position: relative;
 }
 #Layoutvarianten .theme .grid-x{
  padding: 0;
 }
 #Layoutvarianten .theme .text{
  padding-right: 50px;
 }

 #Layoutvarianten .theme .text p{
  margin-bottom: 30px;
 }

 #Layoutvarianten .theme .image{
  position: relative;
  margin-top: 30px;
  height: fit-content;
 }


 #Layoutvarianten #visu1{
  background: url(../img/visu1.png);
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  z-index:11;
  opacity: 0;
  pointer-events: none;
  transition: all .5s ease-out;

 }
 #Layoutvarianten #visu2{
  background: url(../img/visu2.jpg);
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  z-index:11;
  opacity: 0;
  pointer-events: none;
  transition: all .5s ease-out;

 }
 #Layoutvarianten #visu3{
  background: url(../img/visu3.jpg);
  width: 100%;
  height:100%;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  z-index:11;
  opacity: 0;
  pointer-events: none;
  transition: all .5s ease-out;

 }

 #Layoutvarianten .visubutton{
  position: absolute;
  z-index: 12;
  bottom: 10px;
  right: 10px;
  transition: all .5s ease-out;
  cursor: pointer;
 }
 #Layoutvarianten .visubutton2{
  position: absolute;
  z-index: 12;
  bottom: 10px;
  right: 10px;
  transition: all .5s ease-out;
  cursor: pointer;
 }
 #Layoutvarianten .visubutton3{
  position: absolute;
  z-index: 12;
  bottom: 10px;
  right: 10px;
  transition: all .5s ease-out;
  cursor: pointer;
 }
 #Layoutvarianten .visubutton svg,  #Layoutvarianten .visubutton2 svg,  #Layoutvarianten .visubutton3 svg{
  height: 35px;
  width: 35px;
  fill: #81dcc6;
  transition: all .2s ease-out;
 }
 #Layoutvarianten .visubutton svg:hover, #Layoutvarianten .visubutton2 svg:hover, #Layoutvarianten .visubutton3 svg:hover{
  fill: #A09A88;
  transition: all .2s ease-out;
 }

 .visugo{
  opacity: 1 !important;
  transition: all .5s ease-out;
 }

 #Layoutvarianten .visuInfo{
  max-width:400px;
  max-height: 200px;
  position: absolute;
  z-index: 7;
 }
 #Layoutvarianten .visuInfo1{
  top: 7%;
  left: 50%;
 }
 #Layoutvarianten .visuInfo2{
  top: 26%;
  left: 37%;
 }
 #Layoutvarianten .visuInfo3{
  top: 87%;
  left: 11%;
 }
 #Layoutvarianten .visuInfo4{
  top: 2%;
  left: 46%;
 }
 #Layoutvarianten .visuInfo5{
  top: 85%;
  left: 11%;
 }
 #Layoutvarianten .visuInfo6{
  top: 85%;
  left: 34%;
 }
 #Layoutvarianten .visuInfo7{
  top: 31%;
  left: 12%;
 }
 #Layoutvarianten .visuInfo8{
  top: 85%;
  left: 66%;
 }
 #Layoutvarianten .visuInfo9{
  top: 11%;
  left: 81%;
 }
 #Layoutvarianten .visuInfo10{
  top: 24%;
  left: 42%;
 }
 #Layoutvarianten .visuInfo11{
  top: 24%;
  left: 73%;
 }
 #Layoutvarianten .visuInfo12{
  top: 89%;
  left: 35%;
 }
 #Layoutvarianten .visuInfo .rond{
  height: 35px;
  width: 35px;
  transform-origin: center;
  background-color: #81dcc6;
  border-radius: 100px;
  cursor: pointer;
  transition: all .5s ease-out;
  animation: rondanim 1s ease-out infinite;
 }

 @keyframes rondanim {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}



 #Layoutvarianten .visuInfo .rond:hover{
  background-color: #A09A88;
  transition: all .5s ease-out;
 }
 #Layoutvarianten .visuInfo .descriptionvisu{
  background-color: #A09A88;
  color: #fff;
  border: 1px solid #fff;
  padding: 30px;
  width: 80%;
  margin-left: 35px;
  opacity: 0;
}

  #Layoutvarianten a{
    color: #A09A88;
    font-size: 18px;
    line-height: 23px;
    bottom: 0;
  }

   /*
 * Kontakt
 */

  #kontakt{
    background-color: #EFEFEF;
  }

  #kontakt header nav .gewaehlt{
    height: 6vh !important;
    left: 8px !important;
    top: 89.6vh !important;
    transition: all 0.5s ease-out;
  }

  #kontakt h2{
    text-align: center;
  }
  #kontakt h3, #kontakt p{
    color: #005A60;
  }

  #kontakt .kontaktformular{
    margin-bottom: 163px;
  }

  #kontakt .formular{
    background: #BDDBD3;
    padding-bottom: 40px;
  }

  #kontakt .persokontakt{
    height: 40vh;
    padding: 10vh 0 0 60px;
  }

  #kontakt .persokontakt ul{
    margin-bottom: 25px;
  }

  .kontaktformular ul li, .kontaktformular ul li a{
    color: #005A60;
  }

  .kontaktformular div .grid-x{
    padding: 0 30px;
  }

  .kontaktformular .field1, .field3, .field5{
    padding-right: 30px;
  }
  .kontaktformular .field6 input{
    background: #005A60;
    color: #fff;
    margin-top: 110px;
    cursor: pointer;
  }

  .kontaktformular .field5 input{
    height: 100px;
  }

  .kontaktformular label{
    font-size: 16px;
    line-height: 21px;
    color: #005A60;
    margin-top: 30px;
  }

  .kontaktformular input{
    height: 40px;
    width: 100%;
    border: 1px solid #005A60;
    background: #BDDBD3;
  }


   /*
 * Footer
 */

  footer{
    background: #BDDBD3;
    color: #005A60;
    padding: 150px 0;
  }

  footer img{
    width: 140px;
  }
  
  footer .VonGraffenried img{
    width: 200px;
  }

  footer ul{
    margin-top: 22px;
  }

  footer a{
    color: #005A60 !important;
  }
  footer a:hover{
    color: #005A60;
  }
  footer a:visited{
    color: #005A60;
  }

  footer .impressum{
    margin-top: 39px;
  }
  footer .impressum p, .impressum a{
    font-size: 13px;
    line-height: 13px;
    padding-left: 5px;
  }

  /* ==========================================================================
    Big Desktop
  ========================================================================== */

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

    .infolageplan {
      left: 45% !important;
    }

  }




  /* ==========================================================================
    Tablettes
  ========================================================================== */

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

    @keyframes menuline {
      0% {
        left: 8px;
        top: 0;
        height: 0;
      }
      17% {
        height: 12vh;
        left: 8px;
        top: 3.5vh;
      }
      37% {
        height: 6vh;
        left: 8px;
        top: 24.5vh;
      }
      63% {
        height: 0;
        left: 8px;
        top: 30.5vh;
      }
      75% {
        height: 0;
        left: 8px;
        top: 74.2vh;
      }
      84% {
        height: 7vh;
        left: 8px;
        top: 74.2vh;
      }
      89% {
        height: 7vh;
        left: 8px;
        top: 74.2vh;
      }
    }

    .content svg {
      top: 40%;
      left: 38%;
    }

    .content p {
      top: 53%;
      left: 42%;}

    h3 {
      font-size: 25px;
      line-height: 35px;
    }
    .GebSelection p {
      margin-top: 10px;
      font-size: 25px;
      line-height: 35px;
    }

    .grid-x {
      padding: 6vh 10vw;
    }

    header h2 {
      font-size: 70px;
      line-height: 75px;
    }

    .blue{
      color: #005A60 !important;
      fill: #005A60 !important;
      transition: all .5s ease-out;
      text-shadow: 5px 5px 10px #ffffff7a !important;
    }

    .blueteaserh3pmehr{
      color: #005A60 !important;
    }
    .blueteaserback{
      background: #fff !important;
      opacity: .6 !important;
    }
    .blueline{
      background: #005A60 !important;
    }
    .bluefleche{
      border-top: 1px solid #005A60 !important;
    border-right: 1px solid #005A60 !important;   
    }

    #homeheader{
      height: 120vh;
      background: url(../img/headervertical.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      position: relative;
    }

    .themteasimg{
      display: none !important;
    }
    #homeheader .thementeaser .themteastext {
      padding: 5px 0 0 20px;
    }
    #homeheader .thementeaser h3 {
      margin: 5px 0 0 0;
    }
    #flacheruebersicht .ZoneInfos tbody {
      height: 35vw;
    }

    #flacheruebersicht .ZoneInfos {
      margin-top: 5vh;
    }

    #flacheruebersicht .ZoneInfos h3 {
      padding-top: 10px;
    }

    #ausbau .innenausbau {
      padding-top: 0;
    }

    #ausbau .grundausbau2 {
      padding-top: 6vh;
    }

    #ausbau .ausbaupunkte {
      column-count: 2;
    }

    #WichtigePunkte {
      margin: 100px 0 50px 0;
    }

    #lageplan .plan {
      margin-left: -35px;
    }
    .visuInfo{
      display: none;
    }
    .infolageplan {
      top: 81%;
      left: 10%;
    }
    .showinfo{
      left: 5% !important;
    }

    footer .VonGraffenried{
      margin-top: 100px;

    }
    footer .impressum{
      margin-top: 146px;
    }
    .kontaktformular .field1, .field3, .field5 {
      padding-right: 0;
    }
  }

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

  @media screen 
  and (max-device-width: 768px), (max-width:768px)  {

    @keyframes menuline {
      0% {
        left: 8px;
        top: 0;
        height: 0;
      }
      16% {
        height: 13vh;
        left: 8px;
        top: 3.5vh;
      }
      32% {
        height: 6vh;
        left: 8px;
        top: 24.5vh;
      }
      65% {
        height: 0;
        left: 8px;
        top: 30.5vh;
      }
      83% {
        height: 0;
        left: 8px;
        top: 74.2vh;
      }
      91% {
        height: 7vh;
        left: 8px;
        top: 74vh;
      }
      95% {
        height: 7vh;
        left: 8px;
        top: 74vh;
      }
    }

    #video{
      height: 100vh;
      left: -10%;
    }
    
    .content svg {
      position: absolute;
      top: 40%;
      left: 30%;
    }

    .content p {
      top: 56%;
      left: 38%;
    }
    .grid-x {
      padding: 5vh 5vw;
    }

    p, li {
      font-size: 14px;
      line-height: 20px;
    }

    h3 {
      margin: 15px 0;
      font-size: 18px;
      line-height: 30px;
    }

    header nav ul li {
      padding: 12px 0;
    }

    #homeheader{
      height: 120vh;
      background: url(../img/headervertical.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      position: relative;
    }
    #homeheader h2 {
      margin-top: 15vh;
      transition: all .5s ease-out;
      opacity: 0;
    }

    #homeheader .thementeaser h3 {
      margin: 6px 0 0 0;
    }
    header svg, header img{
      width: 140px;
    }
    header h2 {
      font-size: 40px;
      line-height: 50px;
    }

    .blue{
      color: #005A60 !important;
      fill: #005A60 !important;
      transition: all .5s ease-out;
      text-shadow: 5px 5px 10px #ffffff7a !important;
    }

    .blueteaserh3pmehr{
      color: #005A60 !important;
    }
    .blueteaserback{
      background: #fff !important;
      opacity: .6 !important;
    }
    .blueline{
      background: #005A60 !important;
    }
    .bluefleche{
      border-top: 1px solid #005A60 !important;
    border-right: 1px solid #005A60 !important;   
    }

    #themen header h2, #kontakt header h2{
      margin-top: 50px;
    }

    #GebW, #GebO {
      margin-right: 40%;
    }

    #flacheruebersicht svg {
      margin-top: 30px;
    }
    #flacheruebersicht table .zoneTitles {
      height: 40px;
    }
    .zoneIndication{
      display: none !important;
    }
    #flacheruebersicht .ZoneInfos {
      margin-top: 4vh;
      font-size: 12px;
    }
    #flacheruebersicht .ZoneInfos tbody {
      height: 50vw;
    }
    #flacheruebersicht #grundrissblattlink, #layoutvariantenlink {
      padding: 10px 25px;
      top: 0;
      right: calc(6vw + 16.6666%);
    }
    #flacheruebersicht #grundrissblattlink{
      right: calc(6vw + 16.3333% + 41px);
    }
    #flacheruebersicht #layoutvariantenlink {
      padding: 10px 23px;
    }
    #flacheruebersicht table {
      font-size: 14px;
      line-height: 20px;
    }
    #flacheruebersicht .grundrisse::before{
      content: "Grund.";
    }
    #flacheruebersicht .zone td, #flacheruebersicht th {
      padding: 4px;
    }
    #flacheruebersicht .tablevermleg li {
      padding-left: 15px;
      padding-right: 15px;
    }
    #flacheruebersicht .zone td, #flacheruebersicht th {
      width: 50px;
    }

    .neben, .brutto{
      display: none;
    }

    #ausbau #broschurelink {
      padding: 10px 25px;
      top: 146px;
      right: 0;
    }
    #ausbau #PDFlink {
      padding: 10px 25px;
      top: 128px;
      right: -23px;
    }
    #ausbau .innenausbau {
      padding-top: 0;
    }

    #ausbau .grundausbau2 {
      padding-top: 6vh;
    }
    #ausbau .ausbaupunkte{
      column-count: 1;
    }
    #ausbau .ausbaupunkte div img{
      margin-top: 50px;
    }
    #ausbau .innen {
      margin-top: 100px;
    }

    #lageplan svg{
      display: none;
    }

    .VonGraffenried{
      margin-top: 20px;
    }

    footer img{
      margin-bottom: 20px;
    }
    footer {
      padding: 50px 0;
    }
    #themen .theme .text {
      padding-left: 35px;
      padding-right: 5px;
    }
    .kontaktformular .field1, .field3, .field5 {
      padding-right: 0;
    }
    .visuInfo{
      display: none;
    }
    #Layoutvarianten .theme .image svg {
      display: none;
    }
    #kontakt .persokontakt {
      padding: 10vh 0 0 0;
    }
    .kontaktformular label, .kontaktformular input {
      font-size: 14px;
    }
  }

  /*SMALL SMARTPHONE*/
  @media screen 
  and (max-device-width: 320px), (max-width:320px)  {
    .thementeaser{display: none;}
  }


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

