.hexagon-menu{
  list-style-type: none;

}
.hexagon-path {
  /* fill:lightgray; */
  fill:white;
}
.hexagon-item:first-child {
    margin-left: 0;
}
.hexagon-item {
    cursor: pointer;
    width: 200px;
    height: 173.20508px;
    float: left;
    margin-left: -29px;
    z-index: 0;
    position: relative;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    transform: rotate(30deg); }

.hexagon-item:first-child {
    margin-left: 0; 
}
.hexagon-item .hex-item div::before,
.hexagon-item .hex-item div::after{
  /* background-color:dimgray; */
  background-color: lightgray;
}
.hexagon-item:hover {
    z-index: 1; 
}
.hexagon-item:hover .hex-item:last-child {
    opacity: 1;
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3); 
}
.hexagon-item:hover .hex-item:first-child {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2); 
}
.hexagon-item:hover .hex-item:first-child div:before,
.hexagon-item:hover .hex-item:first-child div:after {
    height: 5px; 
}
.hexagon-item:hover .hex-item div::before,
.hexagon-item:hover .hex-item div::after {
    /* background-color: #ff0037;  */
    /* background-color:#0060b3; */
    background-color:dimgray;
}
.hexagon-item:hover .hex-content svg {
    -webkit-transform: scale(0.97);
    -moz-transform: scale(0.97);
    -ms-transform: scale(0.97);
    -o-transform: scale(0.97);
    transform: scale(0.97); 
}
  
.hexagon-item:nth-last-child(1),
.hexagon-item:nth-last-child(2),
.hexagon-item:nth-last-child(3) {
    -webkit-transform: rotate(30deg) translate(87px, -80px);
    -moz-transform: rotate(30deg) translate(87px, -80px);
    -ms-transform: rotate(30deg) translate(87px, -80px);
    -o-transform: rotate(30deg) translate(87px, -80px);
    transform: rotate(30deg) translate(87px, -80px); 
}
  
.hex-item {
    position: absolute;
    top: 0;
    left: 50px;
    width: 100px;
    height: 173.20508px; 
}
.hex-item:first-child {
      z-index: 0;
      -webkit-transform: scale(0.9);
      -moz-transform: scale(0.9);
      -ms-transform: scale(0.9);
      -o-transform: scale(0.9);
      transform: scale(0.9);
      -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); 
}
.hex-item:last-child {
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1; 
}
.hex-item div {
      box-sizing: border-box;
      position: absolute;
      top: 0;
      width: 100px;
      height: 173.20508px;
      -webkit-transform-origin: center center;
      -moz-transform-origin: center center;
      -ms-transform-origin: center center;
      -o-transform-origin: center center;
      transform-origin: center center; 
}
.hex-item div::before, .hex-item div::after {
    background-color: #1e2530;
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; 
}
.hex-item div:before {
    top: 0; 
}
.hex-item div:after {
  bottom: 0; 
}
.hex-item div:nth-child(1) {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg); 
}
.hex-item div:nth-child(2) {
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  transform: rotate(60deg); 
}
.hex-item div:nth-child(3) {
  -webkit-transform: rotate(120deg);
  -moz-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  -o-transform: rotate(120deg);
  transform: rotate(120deg); 
}
  
  .hex-content {
    color: #fff;
    display: block;
    height: 180px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    transform: rotate(-30deg);
    width: 156px; 
    font-size:0.75rem;
    font-weight:bold;
}
.hex-content .hex-content-inner {
  left: 50%;
  margin: -3px 0 0 2px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); 
}
.hex-content .icon {
    display: block;
    font-size: 36px;
    line-height: 30px;
    margin-bottom: 11px; 
    height:32px;
    background-repeat:no-repeat;
    background-position: center;
    filter: invert(40%) sepia(18%) saturate(6%) hue-rotate(12deg) brightness(97%) contrast(91%);
}
.hex-content .leistung-wasserversorgung-img{
    background-image: url('../images/Wasser_Gray.png');
}
.hex-content .leistung-abwasser-img{
    background-image: url('../images/Abwasser_Gray.png');
}
.hex-content .leistung-gis-img{
    background-image: url('../images/GIS_Gray.png');
}
.hex-content .leistung-umwelt-img{
    background-image: url('../images/Umwelt_Gray.png');
}
.hex-content .leistung-facilitymanagement-img{
    background-image: url('../images/Facilitymanagement_Gray.png');
}
.hex-content .leistung-mitarbeit-img{
    background-image: url('../images/Mitarbeit_Gray.png');
}
.hex-content .leistung-strassen-img{
    background-image: url('../images/Strassen_Gray.png');
}
.hex-content .title {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 0.70rem;
    letter-spacing: 0px;
    line-height: 24px;
    text-transform: uppercase; 
    color:dimgray;
    word-wrap:break-word;
}
.hex-content svg {
    left: -7px;
    position: absolute;
    top: -13px;
    transform: scale(0.87);
    z-index: -1;
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s; 
}
.hex-content:hover {
      color: #fff; 
}

.hexagon-item:nth-last-child(1), .hexagon-item:nth-last-child(2), .hexagon-item:nth-last-child(3) {
        -webkit-transform: rotate(30deg) translate(87px, -80px);
        -moz-transform: rotate(30deg) translate(87px, -80px);
        -ms-transform: rotate(30deg) translate(87px, -80px);
        -o-transform: rotate(30deg) translate(87px, -80px);
        transform: rotate(30deg) translate(87px, -80px);
}
.hexagon-item:first-child {
        margin-left: 0;
}    
    
    
.hexagon-item:hover .title
{
  -webkit-animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}    
@-webkit-keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

@media only screen and (max-width: 767px)
{
  .hexagon-menu{
    margin:0 auto;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding:0;
  }

  .hexagon-item {
      width:80%;
      cursor:pointer;
      height:auto;
      display:flex;
      flex-direction: row;
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
      transform: none;
      margin: 0 auto 15px auto;
      padding:15px;
      height:auto;
      background-color:#FFF;
      border-radius: 5px;
  }
.hex-item{
    display:none;
}
.hex-content {
    display: flex;
    height: auto;
    margin: auto auto;
    text-align: center;
    transform: none;
    width:100%;
    font-size:0.75rem;
    font-weight:bold;
}
.hex-content .hex-content-inner {
    margin: auto auto;
    position:unset;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}
.hex-content .icon {
  display: flex;
  font-size: 36px;
  line-height: 30px;
  margin:0;
  height:32px;
  width:auto;
  background-repeat:no-repeat;
  background-position: center;
}
.hex-content svg{
    display:none;
}
.hexagon-item:first-child {
    margin: 0 auto 15px auto;
}
.hex-content .hex-content-inner {
  left: 0;
  margin:auto auto;
  position: unset;
  top:0;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}
.hexagon-item:hover 
{
  transform: scale(1.5);
}
.hexagon-item:nth-last-child(1):hover, .hexagon-item:nth-last-child(2):hover,  .hexagon-item:nth-last-child(3):hover {
  transform: scale(1.5);
} 
  
   .hexagon-item:nth-last-child(1), .hexagon-item:nth-last-child(2),  .hexagon-item:nth-last-child(3) {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}
}