/*d_grau*/
/*
@font-face {
	font-family: 'Callibri';
	src: url('/_intern/fonts/Calibri.ttf') format('truetype');
}
@font-face {
	font-family: 'CallibriBold';
	src: url('/_intern/fonts/Calibri-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'Neris';
	src: url('/_intern/fonts/Neris-SemiBold.otf') format('truetype');
}
*/
.eins {
  width: 29.3%;
}
.eins_padding {
  padding: 23px 20px 40px 30px;
  width: 24.4%;
}
.zwei {
  width: 64.5%;
}
.drei {
  width: 100%;
}
.left {
  float: left;
}
.right {
  float: right;
}
.button {
  padding: 10px 20px;
  background-color: #fece00;
  background-image: -webkit-linear-gradient(top, #fece00, #fffffe);
  background-image: -moz-linear-gradient(top, #fece00, #fffffe);
  background-image: -o-linear-gradient(top, #fece00, #fffffe);
  background-image: -ms-linear-gradient(top, #fece00, #fffffe);
  background-image: linear-gradient(top, #fece00, #fffffe);
  /*fucking IE9 hat Pech gehabt*/
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
  text-shadow: 1px 1px 0px #777;
}
.button:hover {
  -webkit-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -ms-transform: scale(1.01);
  -o-transform: scale(1.01);
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.4);
}
/* --- 1280px --------------------------------------------- */
@media only screen and (max-width: 1280px) {
  #nav a {
    padding: 3px 18px;
  }
  #nav li.last ul {
    left: -50px;
  }
}
/* --- 1040px --------------------------------------------- */
@media only screen and (max-width: 1040px) {
  #bereiche .item {
    width: 29%;
    margin: 0 3% 30px 3%;
  }
  #bereiche .item img {
    width: 100%;
    height: auto;
  }
  #bereiche .item .text {
    height: 21%;
  }
  #vorteile .item {
    width: 28%;
    margin: 0 15px;
  }
  #vorteile .item .text {
    font-size: 12px;
    width: 90%;
    padding: 5px;
  }
  #footer #adresse,
  #footer #footer_nav1,
  #footer #footer_nav2 {
    margin-left: 10px;
    margin-bottom: 20px;
  }
  #footer #copy {
    margin-bottom: 40px;
  }
  #kontakt .item {
    margin: 10px;
  }
}
/* --- 980px --------------------------------------------- */
@media only screen and (max-width: 979px) {
  #mobilemenu,
  #burgerbutton {
    display: block !important;
  }
  #mainmenu {
    display: none;
  }
  #header #logo {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    float: none;
  }
  .asp {
    width: 100%;
    text-align: center;
    padding: 0 0 20px 0;
    margin-top: 20px;
  }
  #kontakt .item:nth-of-type(3n+0) {
    margin-right: 10px;
  }
  #kontakt .item:nth-of-type(3n+1) {
    margin-left: 10px;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  #footer {
    background-size: contain;
  }
}
/* --- 785px --------------------------------------------- */
@media only screen and (max-width: 785px) {
  .eins,
  .eins_padding,
  .zwei {
    width: 100%;
    float: none;
  }
  .eins_padding {
    width: 94%;
    padding: 23px 3% 40px 3%;
    margin: 15px 0;
  }
  .item .text {
    height: 28%;
  }
  .row img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto 0 auto;
  }
  #testimonial .item .inner {
    padding: 30px 0;
  }
  #testimonial .item .inner .bild {
    width: 100%;
  }
  #testimonial .item .inner .bild img {
    margin: 0 auto 7px auto;
  }
  #testimonial .item .inner .text {
    width: 95%;
    margin: 0 10px;
    height: auto;
  }
  #testimonial .item .inner .text h3 {
    font-size: 16px;
    display: inline;
  }
  #testimonial .item .inner .text h3:after {
    content: ', ';
  }
  #testimonial .item .inner .text h4 {
    font-size: 14px;
    display: inline;
  }
  #testimonial .item .inner .text .head_container {
    width: 100%;
    height: 70px;
    float: left;
    text-align: center;
  }
  #testimonial .item .inner .text .zitat {
    width: 100%;
    font-size: 16px;
    float: left;
    text-align: center;
    height: 110px;
    margin-top: 0;
    display: table-cell;
    vertical-align: middle;
  }
  .slick-dots {
    bottom: inherit !important;
    top: 0;
  }
  #bereiche .item h2 {
    font-size: 16px;
  }
  #kontakt .item {
    margin: 10px 0;
    width: 100%;
  }
  #kontakt .item:nth-of-type(3n+1) {
    margin-left: 0;
  }
  #kontakt .item img {
    display: block;
    margin: 10px auto 0 auto;
  }
  #kontakt .item .text {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    filter: alpha(opacity=100);
    position: inherit;
    width: 280px;
    top: 0;
    padding: 10px;
  }
  #kontakt .item .text .link {
    position: inherit;
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  #content {
    margin-top: 20px;
  }
  #content h1 {
    font-size: 22px;
    line-height: 1.2em;
    margin-bottom: 15px;
  }
  #header .inner {
    padding: 0;
  }
  #head_bild #slider_head .item .bild .sl_container {
    position: inherit;
    width: 100%;
    left: 0 !important;
    top: 0 !important;
  }
  #head_bild #slider_head .item .bild .sl_container .sl_head,
  #head_bild #slider_head .item .bild .sl_container .sl_text {
    width: 100%;
    margin: 0 auto;
    float: none !important;
    padding: 10px 0;
    text-align: center;
  }
  #head_bild #slider_head .item .bild .sl_container .sl_head {
    font-size: 23px;
  }
  #head_bild #slider_head .item .bild .sl_container .sl_text {
    font-size: 14px;
    line-height: 1.1em;
    height: 50px;
    display: table-cell;
    vertical-align: middle;
  }
  #inhalt .kontaktbox {
    margin-top: 20px;
  }
  #inhalt .kontaktbox .bild {
    float: none;
  }
  #inhalt .kontaktbox .text {
    margin-top: 20px;
    float: none;
    width: 100%;
  }
  #inhalt .kontaktbox .text .mail {
    position: inherit;
  }
  #kontakt .item {
    width: 100%;
  }
  #kontakt .item img {
    width: 100%;
    height: auto;
  }
  #kontakt .item .text {
    width: 96%;
  }
  #kontakt .item .text .kt_outer {
    height: 140px;
  }
  #kontakt .item .text .link {
    margin-bottom: 40px;
  }
  #bereiche .item .text {
    height: 63%;
  }
  .slick-prev,
  .slick-next {
    top: 27% !important;
  }
  .slick-prev {
    left: 1px !important;
  }
  .slick-next {
    right: -1px !important;
  }
  #footer {
    background-image: none;
  }
}
/* --- 490px --------------------------------------------- */
@media only screen and (max-width: 490px) {
  #bereiche .item,
  #vorteile .item {
    width: 100%;
    margin: 0 0 20px 0;
  }
}
/* --- 320px --------------------------------------------- */
