/*
Theme Name: mbruenisholz.ch
Theme URI: 
Author: Armin Oppliger
Author URI: https://useit.ch/
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mbruenisholz-ch
Tags: 
*/

@import url('responsive.css');


/* Global */
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a:focus,
input:focus,
button:focus {
    outline: none;
}

/* Header */
.swiper-wrapper {
    line-height: 0;
}
body .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
}
.hero-image p {
    line-height:0;
    padding: 0;
    margin: 0;
}
.home .hero-image img {
    max-height: 700px;
    object-position: center center;
}
.hero-image img {
    width: 100%;
    max-height: 640px;
    height: auto;
    object-fit: cover;
    object-position: top center;
}
.dienstleistungen .hero-image img,
.bauablauf .hero-image img,
.beratung .hero-image img,
.referenzen .hero-image img,
.kontakt .hero-image img {
    object-position: center center;
}

/* Header wide gallery (Swiper) */
.mbru-header-wide-slider {
    position: relative;
}
.mbru-header-wide-slider .mbru-header-wide-swiper {
    position: relative;
}
.mbru-header-wide-slider .swiper-button-prev,
.mbru-header-wide-slider .swiper-button-next {
    color: #fff;
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.mbru-header-wide-slider .swiper-button-prev::after,
.mbru-header-wide-slider .swiper-button-next::after {
    font-size: 22px;
    font-weight: 700;
}
.mbru-header-wide-slider .swiper-button-prev {
    left: 12px;
    right: auto;
}
.mbru-header-wide-slider .swiper-button-next {
    right: 12px;
    left: auto;
}
.mbru-header-wide-slider .swiper-pagination {
    bottom: 12px !important;
}

.desc {
    color:#fff;
    text-align: center;
}
.desc h1 {
    color:#fff;
}

.call-btn a {
    transition: all 0.3s ease;
}

.call-btn a:hover {
    text-decoration: none;
    background: #fff;
    color: #6d6a59 !important;
}
.call-btn a::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    margin-right: 8px;
}

.impressum header .desc,
.datenschutzerklaerung header .desc,
.error404 header .desc {
    display: none;
}

/* Navigation */
header nav a {
    transition: all 0.3s ease;
}
header nav a:hover {
    text-decoration: none;
    color: #a8a489 !important;
}
header nav .current-menu-item a {
    color: #a8a489 !important;
    font-weight: 700;
}

/* Sticky header */
.sticky-header {
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
    z-index: 1000;
}
.sticky-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    backdrop-filter: saturate(120%) blur(6px);
}
.mbru-sticky-spacer {
    display: none;
}
.mbru-sticky-spacer.is-active {
    display: block;
}

/* Content */
.btn-beige a {
    transition: all 0.3s ease;
}
.btn-beige a:hover {
    text-decoration: none;
    background: #6d6a59 !important;
    color:#fff !important;
}

/* Contact form 7 */
.wpcf7-form input,
.wpcf7-form textarea {
    font-family: var(--wp--preset--font-family--mulish);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    border:1px solid #6d6a59; 
    padding:5px 10px   
}
.wpcf7-form textarea {
    height: 120px;
}
.wpcf7-form label {
    margin-bottom: 10px;
    display: inline-block;
}
.wpcf7-form input.wpcf7-submit {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #6d6a59;
    padding: 10px 20px;
    color: #6d6a59;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0;
}
.wpcf7-form input.wpcf7-submit:hover {
    background: #6d6a59;
    color:#fff;
}
.wpcf7 form.invalid .wpcf7-response-output {
    padding: 5px 10px;
    margin: 0;
    border: none;
    background: #ffb900;
    display: inline-block;
}
.wpcf7 form.sent .wpcf7-response-output {
    margin: 0;
    padding: 5px 10px;
    border: none;
    background: #46b450;
    display: inline-block;
    color: #fff;
    font-weight: 700;
}
/* Footer */
.kontakt .footer-hero,
.impressum .footer-hero,
.datenschutzerklaerung .footer-hero,
.error404 .footer-hero {
    display: none;
}

.footer-hero {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    color:#fff;
    position: relative;
}
.footer-hero::before {
    content:'';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0,0,0,1);
    opacity: 0.43;
}
.footer-hero i {
    font-size: 50px;
    z-index: 1;
}
.footer-heading {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Roboto' , sans-serif;
    text-align: center;
}
.footer-desc {
    text-align: center;
}
footer .call-btn {
    z-index: 1;
}
footer .call-btn a::before {
    display: none;
}

/* Referenz filter */
.mbru-referenz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    transition: opacity 0.2s ease;
}
.mbru-referenz-grid.is-loading {
    opacity: 0.45;
    pointer-events: none;
}
.mbru-referenz-grid.is-loading::after {
    content: "";
    width: 36px;
    height: 36px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -18px;
    margin-left: -18px;
    animation: mbru-spin 0.8s linear infinite;
    opacity: 1;
}
@keyframes mbru-spin {
    to {
        transform: rotate(360deg);
    }
}
.mbru-referenz-card {
    margin: 0;
}
.mbru-referenz-card-link {
    display: block;
    line-height: 0;
}
.mbru-referenz-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.mbru-referenz-thumb.is-empty {
    width: 100%;
    height: 240px;
    background: #eee;
}
.mbru-filter-btn {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #6d6a59;
    padding: 10px 20px;
    color: #6d6a59;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0;
}
.mbru-filter-btn:hover {
    background: #6d6a59;
    color:#fff;
}
.mbru-filter-btn.is-active {
    background: #6d6a59;
    color:#fff;
}
.mbru-referenz-controls {
    display: flex;
    gap: 20px;
    margin: 0 0 20px;
    justify-content: center;
}