/* --- 1280px --------------------------------------------- */
/* -- iPad --------------------------------------------- */
/* --- 980px --------------------------------------------- */
@media only screen and (max-width: 979px) {
  body {
    font-size: 16px;
  }
  .section.team_list .colleague_gallery .item {
    width: calc(25% - 24px);
  }
  #keyvisual_newstitle {
    font-size: 80px;
  }
  .blogpage #keyvisual.hasSectionLine::before, .blogpage #keyvisual.hasSectionLine::after {
    display: none;
  }
}
/* --- widescreen laptop? --------------------------------------------- */
/* --- 768px --------------------------------------------- */
@media only screen and (max-width: 767px) {
  #mainmenu {
    display: none;
  }
  #mobilmenu_trigger, #mobilemenu_container {
    display: block;
  }
  #socials {
    display: none;
  }
  #header .container {
    height: 80px;
  }
  .flexcontainer {
    flex-wrap: wrap;
  }
  .section.tiles .flexcontainer {
    flex-wrap: wrap;
  }
  .section.tiles .flexcontainer .item.grid2, .section.tiles .flexcontainer .item.grid3, .section.tiles .flexcontainer .item.grid4 {
    width: 100%;
  }
  .section.text_img .container {
    flex-wrap: wrap;
  }
  .section.text_img .container > * {
    width: 100%;
  }
  .section.team_list .colleague_gallery .item {
    width: calc(33.33% - 24px);
  }
  #blog_newest.flexcontainer {
    gap: 15px;
  }
  #blog_newest .item {
    width: calc(33.33% - 11px);
  }
  #blog_newest .item:last-Child {
    display: none;
  }
  #blog_all .masonry .grid-sizer, #blog_all .masonry .grid-item, #blog_all .masonry .item {
    width: calc(33.33% - 15px);
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  body {
    font-size: 15px;
  }
  h1, .h1 {
    font-size: 32px;
    line-height: 1.1;
  }
  h2, .h2 {
    font-size: 25px;
  }
  h3, .h3 {
    font-size: 16px;
  }
  #keyvisual_text .big {
    font-size: 50px;
  }
  #keyvisual_text .big b, #keyvisual_text .big strong {
    font-size: 55px;
  }
  #keyvisual_newstitle {
    font-size: 50px;
  }
  .flexcontainer {
    flex-wrap: wrap;
  }
  .flexcontainer > * {
    width: 100%;
  }
  .section.tiles_big .flexcontainer {
    flex-wrap: wrap;
  }
  .section.tiles_big .flexcontainer .item {
    width: 100%;
  }
  #blog_newest {
    flex-wrap: wrap;
    gap: 30px;
  }
  #blog_newest .item {
    width: calc(50% - 15px);
  }
  #footernav {
    flex-wrap: wrap;
    gap: 0px;
  }
  #footernav > li {
    width: 50%;
    flex-basis: 50%;
    flex-grow: unset;
    flex-shrink: unset;
    margin-bottom: 50px;
    text-align: center;
  }
  #footernav > li > a {
    margin-bottom: 10px;
  }
  #footer #logorow {
    flex-wrap: wrap;
  }
  #footerlogo {
    height: 120px;
    width: 100%;
    text-align: center;
  }
  #footerlogo img {
    display: inline-block;
    transform: translateX(0%);
  }
  #footerlogo::after {
    display: none;
  }
  #footer #address {
    width: 100%;
    text-align: center;
    margin: 30px 0px;
  }
  #footer .socials {
    width: 100%;
    text-align: center;
  }
  .section.quote .container .image {
    text-align: center;
    margin: auto;
  }
  .section.quote .container .quotebox .quote {
    font-size: 30px;
  }
  .section.gallery_tiles .gallery_tiles_container.masonry .grid-sizer, .section.gallery_tiles .gallery_tiles_container.masonry .grid-item, .section.gallery_tiles .gallery_tiles_container .item {
    width: calc(50% - 10px);
    min-height: 0px;
  }
  .section.gallery_tiles .gallery_tiles_container .item {
    padding-bottom: 32%;
  }
  .gallery_slider .item img {
    max-height: 75vh;
  }
  .section.text_img .textbox {
    padding: 30px 0px;
  }
  .section.team_list .colleague_gallery {
    gap: 10px;
  }
  .section.team_list .colleague_gallery .item {
    width: calc(50% - 5px);
  }
  .section.team_list .colleague_gallery .textbox {
    padding: 15px 10px;
  }
  #blog_newest .item {
    width: calc(50% - 9px);
  }
  #blog_newest .item:last-Child {
    display: block;
  }
  #blog_all .masonry .grid-sizer, #blog_all .masonry .grid-item, #blog_all .masonry .item {
    width: calc(50% - 15px);
  }
  #news_backtoOverview {
    margin: 30px 0px 0px 0px;
  }
  #news_backtoOverview .backtooverview {
    margin-left: 10px;
  }
  .section.tiles_big {
    padding: 50px 0px;
  }
  .section.tiles_big .flexcontainer .image {
    margin-bottom: 5px;
  }
  .section.tiles_big .flexcontainer .item .textbox {
    padding: 15px;
    background-color: white;
  }
}
/* --- 480px --------------------------------------------- */
@media only screen and (max-width: 479px) and (orientation: portrait) {
  h1, .h1 {
    font-size: 30px;
    line-height: 1.1;
  }
  #keyvisual_text .big {
    font-size: 40px;
  }
  #keyvisual_text .big b, #keyvisual_text .big strong {
    font-size: 45px;
  }
}
/* --- 380px --------------------------------------------- */
@media only screen and (max-width: 380px) and (orientation: portrait) {
  h1, .h1 {
    hyphens: auto;
  }
}
/* mobile LANDSCAPE ---------------------------------------------*/
