/* Projektseiten Desktop */
@media only screen and (min-width: 1025px) {
    .portfolio_page-template-default.single.single-portfolio_page 
    .content .container .container_inner.default_template_holder {
        width: 76% !important;
    }
}

/* iPad / Tablet / Handy */
@media only screen and (max-width: 1024px) {
    .portfolio_page-template-default.single.single-portfolio_page 
    .content .container,
    .portfolio_page-template-default.single.single-portfolio_page 
    .content .container .container_inner.default_template_holder {
        width: 97% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.page-id-22225 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-22564 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-22615 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-23608 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-23611 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-23641 .full_width {
    width: 97% !important;
    margin: 0 auto;
}

.page-id-23644 .full_width {
    width: 97% !important;
    margin: 0 auto;
}


@media only screen and (max-width: 600px) {
    .footer_top .qode_column {
        margin-bottom: 0px !important;
    }
}

@media only screen and (max-width: 600px) {
    .footer_top .qode_column {
        text-align: center;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .qode_column.column4 {
        display: none;
    }

    .qode_column {
        width: 33% !important;
    }
}


li.filter_title span {
    display: none !important;
}


@media only screen and (max-width: 600px) {
    .portfolio_single.fixed-right .two_columns_66_33.clearfix.portfolio_container {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width: 600px) {
    .portfolio_single .column2 {
        margin-top: 0;
    }
}


div.portfolio_single .portfolio_images > a.lightbox_single_portfolio {
    margin-bottom: 40px;
}


@media only screen and (max-width: 768px) {
    .page-id-22225 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-22564 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-22615 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-23611 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-23608 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-23641 h2 {
        text-align: left !important;
    }
}

@media only screen and (max-width: 768px) {
    .page-id-23644 h2 {
        text-align: left !important;
    }
}


@media only screen and (max-width: 1000px) and (min-width: 768px) {
    .vc_col-sm-1\/5 .wpb_text_column h2 {
        font-size: 19px !important;
    }
}


@media only screen and (min-width: 1000px) {
    .qode_column.column1,
    .qode_column.column2,
    .qode_column.column3 {
        width: 33.33% !important;
    }

    .qode_column.column4 {
        display: none;
    }
}


.footer_top_holder .textwidget p {
    text-align: center;
}


@media only screen and (max-width: 768px) {
    .bild {
        margin-top: 45px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .bild {
        margin-top: 45px;
    }
}


.container_inner.q_404_page.default_template_holder {
    padding-top: 115px !important;
}


a:hover {
    text-decoration: underline;
}


@media only screen and (max-width: 1024px) and (min-width: 768px) {

    .single-portfolio_page .two_columns_66_33 .column1 {
        width: 100%;
    }

    .two_columns_66_33 .column2 {
        width: 100% !important;
    }

    .portfolio_single.fixed-right .two_columns_66_33.clearfix.portfolio_container {
        display: flex;
        flex-direction: column-reverse;
    }

    .portfolio_single .column2 {
        margin-top: 0 !important;
    }

    .portfolio_single_sticky {
        position: relative !important;
        top: auto !important;
        margin-top: 35px !important;
        margin-left: -15px !important;
        margin-bottom: 15px !important;
        width: auto !important;
    }
}


/* Mobile Menu Volle Höhe */

#menu-main-menu-1 {
    height: 100vh;
}

#menu-main-menu-it-1 {
    height: 100vh;
}

#menu-main-menu-en-1 {
    height: 100vh;
}


nav.mobile_menu ul li a {
    font-size: 43px;
    margin-top: 20px;
}


/* Language Switcher */

li.wpml-ls-last-item a {
    margin-right: 15px !important;
}

li.wpml-ls-first-item a {
    margin-left: 15px !important;
}

li.wpml-ls-item a {
    padding: 0 3px !important;
    font-weight: normal !important;
}

li.wpml-ls-current-language a {
    font-weight: bold !important;
}


@media only screen and (max-width: 843px) {

    li.wpml-ls-first-item a {
        margin-left: 0px !important;
    }

    li.wpml-ls-item a {
        font-size: 25px !important;
        margin-left: 10px !important;
    }

    #mobile-menu-item-wpml-ls-2781-de,
    #mobile-menu-item-wpml-ls-2781-it,
    #mobile-menu-item-wpml-ls-2781-en {
        display: inline-block !important;
    }
}

/* Portfolio fixed right – Bildspalte etwas weiter nach links */

@media only screen and (min-width: 1025px) {
    .single-portfolio_page .two_columns_66_33 .column1 {
        position: relative;
        left: -15px;
    }
}

/* Unterstrichen Name Projekte auf Einzelprojekten aktiv */

.single-portfolio_page nav.main_menu .portfolio-menu-link > a {
    text-decoration: none !important;
}

.single-portfolio_page nav.main_menu .portfolio-menu-link > a span {
    position: relative;
    text-decoration: none !important;
    border-bottom: none !important;
}

.single-portfolio_page nav.main_menu .portfolio-menu-link > a span::before {
    display: none !important;
    content: none !important;
}

.single-portfolio_page nav.main_menu .portfolio-menu-link > a span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: currentColor;
}

@media only screen and (max-width: 767px) {

    /* gesamte Portfolio-Liste schmaler */
    .projects_holder_outer {
        width: 94% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Projektbilder */
    .projects_holder article {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

/* Mobile: Logo-Größe begrenzen */
@media only screen and (max-width: 767px) {
    .q_logo img {
        max-height: 80px !important;
        width: auto !important;
    }
}

/* Mobile: Abstand zwischen Header/Logo und Portfolio-Filter reduzieren */
@media only screen and (max-width: 767px) {
    .filter_outer {
        margin-top: -25px !important;
    }
}

/* Mobile: Hamburger-Menü etwas kleiner */
@media only screen and (max-width: 767px) {
    .mobile_menu_button {
        transform: scale(0.65);
        transform-origin: center;
    }
}

/* Facebook im Header und Footer ausblenden */
header a[href*="facebook.com"],
footer a[href*="facebook.com"] {
    display: none !important;
}

/* Instagram und LinkedIn im Header enger zusammen */
header a[href*="linkedin.com"] {
    margin-left: -10px !important;
}
	
/* Projektübersicht – Mobile Abstände */
@media only screen and (max-width: 600px) {

    /* Abstand Filter -> erstes Bild */
    .page-id-18686 .projects_holder_outer .filter_outer {
        margin-bottom: 25px !important;
    }

    /* Titel näher ans Bild */
    .page-id-18686 .projects_holder article .portfolio_description {
        padding-top: 10px !important;
        padding-bottom: 14px !important;
    }

    /* Abstand zwischen den Projekten */
    .page-id-18686 .projects_holder .mix {
        margin-bottom: 2.5% !important;
    }

    /* Abstand zum Footer */
    .wpb-content-wrapper > .vc_row:last-child {
        padding-bottom: 10px !important;
    }
}
	
/* Anzeige Kategorie Mobil */

@media (max-width: 767px) {

  /* Filter-Container */
  .filter_outer,
  .filter_outer .filter_holder {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Responsive Kategorienzeile */
  .filter_holder ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  /* Sort Portfolio ausblenden */
  .filter_holder ul > li:not(.filter) {
    display: none !important;
  }

  /* Kategorien flexibel verteilen */
  .filter_holder ul > li.filter {
    display: block !important;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 clamp(2px, 0.6vw, 5px) !important;
    border: none !important;
    text-align: center;
    white-space: nowrap;
  }

  /* Alte Trennstriche entfernen */
  .filter_holder li.filter::before,
  .filter_holder li.filter::after,
  .filter_holder li.filter span::before,
  .filter_holder li.filter span::after {
    content: none !important;
    display: none !important;
  }

  /* Neue Trennstriche */
  .filter_holder li.filter ~ li.filter::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: #bbb;
  }

  /* Responsive Schriftgröße */
  .filter_holder li.filter span {
    display: inline-block !important;
    font-size: clamp(9.5px, 3vw, 13px) !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #999 !important;
    padding: 0 !important;
    white-space: nowrap;
  }

  /* Aktive Kategorie */
  .filter_holder li.active span,
  .filter_holder li.current span {
    color: #222 !important;
    border-bottom: none !important;
    text-decoration: none !important;
  }

}