/* weinkarte */

.category-buttons {

  margin: 0 0 50px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
}

.category-buttons a {
  text-decoration: none;
  padding: 10px 5px;
  border: 1px solid #7F7F7F;

  margin: 5px 3px;
  cursor: pointer;
         height:60px;
         width: 16.0%;

         font-family: 'Montserrat', Helvetica, Arial, sans-serif;
                font-size: 90%;
                font-weight:500;
                color: #6F6F6F;
                line-height:1.3em;
                letter-spacing: 0.1em;
                text-align:center;
                text-transform: uppercase;

}

.category-buttons a:hover {
  border: 1px solid #184193;
  background-color: #184193;
  color:#ffffff;
           -webkit-transition: .3s ease-in-out;
          transition: .3s ease-in-out;
}



.category-buttons a.active {
  border: 1px solid #184193;
  background-color: #184193;
  color:#ffffff;
}



@media (max-width: 610px) {
  .category-buttons {
    margin: 0 0 30px 0;

  }
  .category-buttons a {
   display: inline-block;
    width: 46%;
    padding: 12px 10px !important;
    margin: 1.5% 1% !important;

  }
  .category-buttons a:nth-child(even) {
    margin-right: 0;
  }
  .category-buttons a:nth-child(odd) {
    margin-left: 0;
  }
}



/*
@media (min-width: 611px) {
  .category-buttons a:first-child {
    margin-left: 0;


  }
  .category-buttons a:last-child {
    margin-right: 0;

  }
}
*/






.work .grid {
  margin-top: 40px;
  width: 100%;
  max-width: 1260px;                      /* wrap */
  margin: 0 auto;
  position: relative;
  -webkit-transition: all 750ms cubic-bezier(1, 0, 0, 1);
  transition: all 750ms cubic-bezier(1, 0, 0, 1);

}
@media (max-width: 960px) {
  .work .grid {
    width: 100%;

  }
}
@media (max-width: 720px) {
  .work .grid {
    width: 100%;

  }
}
.work .grid .animating {
  -webkit-transition: all 750ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
  transition: all 750ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.work .grid .setScale {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.work .grid .show {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}


.work .card {
  background: #fff;
  display: block;
  text-decoration: none;
  color: #2b2b2b;
  width: 32%;
  /* background-color: #184193;       */

  box-shadow: 0 0 0 0px rgba(0, 0, 0, 1.1), 0 1px 20px rgba(0, 0, 0, 0.0);
  border-right:1px solid #000000;
  border-bottom:1px solid #000000;

  padding-right:10px;
  transform-origin: center center;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
}

@media (max-width: 960px) {
  .work .card {
    width: 49.25%;
  }
}
@media (max-width: 720px) {
  .work .card {
    width: 100%;
  }
}


.card img {
  display: block;
  width: 60%;                     /* bildbreite */
  margin-left:20%;
}

.card:hover img {
  display: block;
  width: 60%;                     /* bildbreite */
  margin-left:20%;
  scale:1.05;
  filter: brightness(1.15);
         -webkit-transition: .3s ease-in-out;
          transition: .3s ease-in-out;
}

.work .guide {
  width: 32%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1000;
}
@media (max-width: 960px) {
  .work .guide {
    width: 49.25%;
  }
}
@media (max-width: 720px) {
  .work .guide {
    width: 100%;
  }
}





/* grid innerhalb der card */
.weinbox {
display: grid;
grid-template-columns: repeat(2, 50%);
grid-template-rows: 3fr 2fr 6fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.box_weinbild { grid-area: 1 / 1 / 4 / 2; border:0px solid #FF0000; padding-bottom:10px;}
.box_weinhead { grid-area: 1 / 2 / 2 / 3; border:0px solid #FF0000; display: grid; align-items:end; }
.box_weinadd  { grid-area: 2 / 2 / 3 / 3; border:0px solid #FF00FF; display: grid; align-items:center; }
.box_weintext { grid-area: 3 / 2 / 4 / 3; border:0px solid #FF0F00;}


.weinhead { font-size: 115%;
                font-weight:500;
                color: #184193;
                line-height:1.2em;
                letter-spacing: 0.1em;
                text-transform: uppercase;
                margin:0;
                }


.weinadd {font-size: 80%;font-weight:600;color: #bea681;}
.weintext {font-size: 80%;font-weight:500;color: #000000; margin:0;
         -moz-hyphens: auto;
         -o-hyphens: auto;
         -webkit-hyphens: auto;
         -ms-hyphens: auto;
         hyphens: auto;}





/* -------------------- toggle box - show/hide ------------------------------ */

.content-section {
  margin: 20px 0;
}

.toggle-button {
  height:60px;
  padding: 10px 20px;
  width:34%;
  cursor: pointer;
  margin: 10px auto;


  background-color:#ffffff;
  border:1px solid #184193;

  color: #000000;
  line-height:120%;
  letter-spacing:0.15em;
  text-transform:uppercase;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  overflow: hidden;

  transition: 0.3s;
}


.toggle-button:hover {
  background-color:#184193;
  border:1px solid #fff;
  color: #ffffff;
  transition: 0.3s;

}

.togglebox {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;

  padding:  0px;
  margin-bottom: 20px;
}



@media (max-width: 610px) {
  .toggle-button {width:94%; margin-left:-1%;}

  }