/* 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;
}


/* Footer Mobil */
@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;
    }
}


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

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


/* Portfolio Filter Titel ausblenden */
li.filter_title span {
    display: none !important;
}


/* Portfolio Einzelprojekt Mobil */
@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;
    }
}


/* Abstand Portfolio-Bilder */
div.portfolio_single .portfolio_images > a.lightbox_single_portfolio {
    margin-bottom: 40px;
}


/* Seitentitel Mobil links */
@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;
    }
}


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


/* Footer Desktop */
@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 Text zentrieren */
.footer_top_holder .textwidget p {
    text-align: center;
}


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


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


/* 404 Seite */
.container_inner.q_404_page.default_template_holder {
    padding-top: 115px !important;
}


/* Links Hover */
a:hover {
    text-decoration: underline;
}


/* Portfolio Einzelprojekt Tablet */
@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;
}


/* Portfolio Übersicht Mobil */

@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: #888888 !important;
        padding: 0 !important;
        white-space: nowrap;
    }

    /* Aktive Kategorie Mobil */
    .filter_holder li.active span,
    .filter_holder li.current span {
        color: #222 !important;
    }
}


/* Aktive Projektkategorie unterstreichen – Desktop + Mobil */

.filter_holder li.active span,
.filter_holder li.current span {
    text-decoration: underline !important;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}


/* Abhängig von Hintergrundbild ein oder ausschalten */
@media only screen and (min-width: 1025px),
       only screen and (min-width: 768px) and (max-width: 1024px) and (min-height: 600px) and (orientation: landscape) {

    /* Logo auf Hero vollständig weiß */
    .home header:not(.scrolled) .q_logo img {
        filter: brightness(0) invert(1);
    }

    /* Beim Scrollen wieder Originalfarben */
    .home header.scrolled .q_logo img {
        filter: none;
    }

    /* Navigation und Sprachen weiß */
    .home header:not(.scrolled) nav.main_menu > ul > li > a,
    .home header:not(.scrolled) nav.main_menu > ul > li > a span,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_inner,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_text,
    .home header:not(.scrolled) .wpml-ls-item a {
        color: #fff !important;
    }

    /* Menülinien auf Hero weiß */
    .home header:not(.scrolled) nav.main_menu > ul > li > a::before,
    .home header:not(.scrolled) nav.main_menu > ul > li > a::after,
    .home header:not(.scrolled) nav.main_menu > ul > li > a span::before,
    .home header:not(.scrolled) nav.main_menu > ul > li > a span::after,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_inner::before,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_inner::after,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_text::before,
    .home header:not(.scrolled) nav.main_menu > ul > li > a .item_text::after {
        background-color: #fff !important;
        border-color: #fff !important;
        box-shadow: none !important;
    }

    /* Aktive Navigation und Hover weiß */
    .home header:not(.scrolled) nav.main_menu > ul > li.active > a,
    .home header:not(.scrolled) nav.main_menu > ul > li.current-menu-item > a,
    .home header:not(.scrolled) nav.main_menu > ul > li:hover > a,
    .home header:not(.scrolled) nav.main_menu > ul > li.active > a span,
    .home header:not(.scrolled) nav.main_menu > ul > li.current-menu-item > a span,
    .home header:not(.scrolled) nav.main_menu > ul > li:hover > a span,
    .home header:not(.scrolled) nav.main_menu > ul > li.active > a .item_inner,
    .home header:not(.scrolled) nav.main_menu > ul > li.current-menu-item > a .item_inner,
    .home header:not(.scrolled) nav.main_menu > ul > li:hover > a .item_inner,
    .home header:not(.scrolled) nav.main_menu > ul > li.active > a .item_text,
    .home header:not(.scrolled) nav.main_menu > ul > li.current-menu-item > a .item_text,
    .home header:not(.scrolled) nav.main_menu > ul > li:hover > a .item_text {
        color: #fff !important;
        border-color: #fff !important;
        text-decoration-color: #fff !important;
    }

    /* Social Icons – Kreis entfernen */
    .home .header_bottom_right_widget_holder
    .q_social_icon_holder.circle_social .fa-stack {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Social Icons auf Hero weiß */
    .home header:not(.scrolled)
    .header_bottom_right_widget_holder .social_icon,
    .home header:not(.scrolled)
    .header_bottom_right_widget_holder .social_icon::before {
        color: #fff !important;
        opacity: 1 !important;
    }

    /* Social Icons nach Scrollen dunkel */
    .home header.scrolled
    .header_bottom_right_widget_holder .social_icon,
    .home header.scrolled
    .header_bottom_right_widget_holder .social_icon::before {
        color: #222 !important;
        opacity: 1 !important;
    }

}

/* Handy + iPad hoch = Mobile-Hero-Bild */
@media only screen and (max-width: 1024px) and (orientation: portrait) {

    .home #qode-home-slider .carousel-inner .item .image {
        background-image: url("https://stephanprossliner.it/wp-content/uploads/2026/10/stephan_prossliner_architekt_hotel_carinzia008©tony_gigov_bigsee_mobil-4.jpg") !important;
    }

}