@charset "utf-8";
/* CSS Document */
/* ----------------------------------------------------------
   MBR ACCORDION
   Typografie vollständig an Theme / Bootstrap anbinden
   ---------------------------------------------------------- */


/* ----------------------------------------------------------
   1. Grundtypografie
   ---------------------------------------------------------- */

.mbr-leistungsbereich,
.mbr-bauherrenbereich {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}


/* ----------------------------------------------------------
   2. H3
   Keine eigene Schriftgröße!
   Theme / Bootstrap bestimmt Größe, Gewicht und Zeilenhöhe.
   ---------------------------------------------------------- */

.mbr-leistungsbereich summary h3,
.mbr-bauherrenbereich summary h3 {
    font-size: 24px;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;

    margin-top: 0;
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   3. Fließtext
   Genau die gleiche Typografie wie der normale Seitentext
   ---------------------------------------------------------- */

.mbr-leistungsbereich summary p,
.mbr-bauherrenbereich summary p,
.mbr-leistungsinhalt p,
.mbr-bauherreninhalt p {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;

    margin-top: 0;
    margin-bottom: 1rem;
}


/* ----------------------------------------------------------
   4. H4
   Theme / Bootstrap bestimmen auch hier die Typografie.
   ---------------------------------------------------------- */

.mbr-leistungsinhalt h4,
.mbr-bauherreninhalt h4 {
    font-size: 18px;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;

    margin-top: 0;
    margin-bottom: 1rem;
}


/* ----------------------------------------------------------
   5. Accordion-Rahmen
   ---------------------------------------------------------- */

.mbr-leistungsbereich details,
.mbr-bauherrenbereich details {
    margin-bottom: 32px;

    border: 1px solid #d6d6d6;
    background-color: #fafafa;
    border-radius: 6px;

    overflow: hidden;
}


/* ----------------------------------------------------------
   6. Summary
   ---------------------------------------------------------- */

.mbr-leistungsbereich summary,
.mbr-bauherrenbereich summary {
    cursor: pointer;

    padding: 25px 25px;

    display: flex;
    flex-direction: column;
    gap: 16px;

    background-color: #fafafa;

    position: relative;

    transition:
        background-color 0.25s ease,
        padding-left 0.25s ease;
}


.mbr-leistungsbereich summary:hover,
.mbr-bauherrenbereich summary:hover {
    background-color: #f2f2f2;
    padding-left: 46px;
}


/* ----------------------------------------------------------
   7. Plus / Minus
   ---------------------------------------------------------- */

.mbr-leistungsbereich summary::after,
.mbr-bauherrenbereich summary::after {
    content: "+";

    font-size: 2rem;
    font-weight: 300;
    line-height: 1;

    position: absolute;
    right: 40px;
    top: 50%;

    transform: translateY(-50%);

    opacity: 0.85;

    transition: opacity 0.3s ease;
}


.mbr-leistungsbereich details[open] summary::after,
.mbr-bauherrenbereich details[open] summary::after {
    content: "−";
    opacity: 1;
}


/* ----------------------------------------------------------
   8. Geöffneter Inhalt
   ---------------------------------------------------------- */
.mbr-leistungsinhalt {
    width: 100%;
    padding: 30px 40px;

    background-color: #ffffff;

    /* WICHTIG:
       Kein CSS-Grid hier.
       Die Spalten werden über Bootstrap / untenstehende
       Regeln gesteuert. */
    display: block;
}

.mbr-leistungszeile {
    width: 100%;

    margin-left: 0;
    margin-right: 0;

    /* Bootstrap-Floats sauber abschließen */
    display: block;
}

/* Clearfix */
.mbr-leistungszeile::before,
.mbr-leistungszeile::after {
    display: table;
    content: " ";
}

.mbr-leistungszeile::after {
    clear: both;
}


/* ---------------------------------------------------------
   3. Einzelne Leistungspunkte
   --------------------------------------------------------- */

.mbr-leistungspunkt {
    box-sizing: border-box;

    margin-bottom: 30px;

    padding-left: 15px;
    padding-right: 15px;
}


/* Desktop:
   zwei Leistungspunkte nebeneinander */

@media (min-width: 992px) {

    .mbr-leistungspunkt {
        width: 50%;
        float: left;
    }

}
.mbr-bauherreninhalt {
    padding: 30px 40px;

    background-color: #fff;

    display: block;

    width: 100%;
}
/* ---------------------------------------------------------
   4. Tablet und Mobil
   EINSPALTIG
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .mbr-leistungspunkt {
        width: 100%;
        float: none;

        display: block;

        margin-bottom: 30px;
    }

}


/* ---------------------------------------------------------
   5. Kleine Mobilgeräte
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .mbr-leistungsinhalt {
        padding: 25px 20px;
    }

    .mbr-leistungspunkt {
        width: 100%;
        float: none;

        padding-left: 0;
        padding-right: 0;

        margin-bottom: 25px;
    }

}
/* ---------------------------------------------------------
   6. Letzter Punkt ohne unnötigen Abstand
   --------------------------------------------------------- */

.mbr-leistungspunkt:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   7. Typografie
   --------------------------------------------------------- */

.mbr-leistungspunkt h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.mbr-leistungspunkt p {
    margin-top: 0;
    margin-bottom: 15px;
}

.mbr-leistungspunkt p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------
   9. Mobile
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .mbr-leistungsinhalt,
    .mbr-bauherreninhalt {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mbr-leistungsbereich summary,
    .mbr-bauherrenbereich summary {
        padding: 24px 28px;
    }

    .mbr-leistungsbereich summary:hover,
    .mbr-bauherrenbereich summary:hover {
        padding-left: 34px;
    }
}
/* Platz für das Plus/Minus Symbol rechts schaffen */
.mbr-leistungsbereich summary,
.mbr-bauherrenbereich summary {
    padding-right: 20px; /* vorher 44px → jetzt genug Platz */
}

/* Textbereich begrenzen, damit er nicht ins Symbol läuft */
.mbr-leistungsbereich summary h3,
.mbr-bauherrenbereich summary h3,
.mbr-leistungsbereich summary p,
.mbr-bauherrenbereich summary p {
    max-width: calc(100% - 30px); /* verhindert Überschneiden */
}

/* Plus/Minus etwas weiter nach außen setzen */
.mbr-leistungsbereich summary::after,
.mbr-bauherrenbereich summary::after {
    right: 32px; /* vorher 44px → weiter außen, sicherer Abstand */
}




/* =========================================================
   MBR ARCHITEKTEN – Kennzahlen (4 Spalten, zentriert)
   Bootstrap 3.3.7 kompatibel
   ========================================================= */



.mbr-kennzahl {
    text-align: center; /* mittig zentriert */

}

/* =========================================================
   BAUHERREN – VOLLE BREITE
   ========================================================= */

.mbr-bauherren-container {
    width: 100%;
}


/* Gesamter Bereich */

.mbr-bauherrenbereich {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* ---------------------------------------------------------
   Klappbox
   --------------------------------------------------------- */

.mbr-bauherrenbereich details {
    width: 100%;
    margin: 0;

    border: 1px solid #cccccc;
    background-color: #ffffff;

    border-radius: 6px;
    overflow: hidden;
}


/* ---------------------------------------------------------
   Sichtbarer Kopf
   --------------------------------------------------------- */

.mbr-bauherrenbereich summary {
    display: block;

    width: 100%;

    padding: 30px 60px 30px 20px;

    cursor: pointer;

    list-style: none;
    outline: none;

    position: relative;

    background-color: #fafafa;

    transition:
        background-color 0.25s ease,
        padding-left 0.25s ease;
}


/* Browser-Marker entfernen */

.mbr-bauherrenbereich summary::-webkit-details-marker {
    display: none;
}


/* Hover */

.mbr-bauherrenbereich summary:hover {
    background-color: #f2f2f2;
    padding-left: 46px;
}


/* Geöffnet */

.mbr-bauherrenbereich details[open] summary {
    background-color: #f2f2f2;

    border-bottom: 1px solid #cccccc;
}


/* ---------------------------------------------------------
   Plus / Minus
   --------------------------------------------------------- */

.mbr-bauherrenbereich summary::after {

    content: "+";

    position: absolute;

    right: 30px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 25px;
    font-weight: 300;

    line-height: 1;

    opacity: 0.85;
}


.mbr-bauherrenbereich details[open] summary::after {
    content: "−";
    opacity: 1;
}


/* ---------------------------------------------------------
   Inhalt der Klappbox
   --------------------------------------------------------- */

.mbr-bauherreninhalt {

    width: 100%;

    padding: 30px 25px 20px 25px;

    background-color: #ffffff;

    display: block;
}


/* ---------------------------------------------------------
   Bootstrap Row
   --------------------------------------------------------- */

.mbr-bauherrenzeile {

    width: 100%;
padding-top: 15px;
	padding-bottom:  15px;
    margin-left: -15px;
    margin-right: -15px;

    display: flex;

    flex-wrap: wrap;
}


/* ---------------------------------------------------------
   Vier Spalten
   --------------------------------------------------------- */

.mbr-bauherrenzeile > .col-md-3 {

    width: 25%;

    padding-left: 15px;
    padding-right: 15px;

    display: flex;
}


/* ---------------------------------------------------------
   Einzelne Bauherrenkarte
   --------------------------------------------------------- */

.mbr-bauherrenpunkt {

    width: 100%;

    display: flex;

    flex-direction: column;

    height: 100%;

    margin-bottom: 20px;
}


/* Überschrift */

.mbr-bauherrenpunkt h4 {

    margin-top: 0;
    margin-bottom: 15px;

    min-height: 42px;
}


/* Beschreibung */

.mbr-bauherrenpunkt > p {

    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   Referenzbild
   --------------------------------------------------------- */

.mbr-bauherren-bild {

    margin-top: auto;

    width: 100%;
}


/* Bild */

.mbr-bauherren-bild img {

    display: block;

    width: 100%;
    height: auto;
}


/* Bildbeschriftung */

.mbr-bauherren-bild > p {

    margin-top: 7px;
    margin-bottom: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .mbr-bauherrenzeile > .col-md-3 {

        width: 50%;

        margin-bottom: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mbr-bauherreninhalt {

        padding-left: 15px;
        padding-right: 15px;
    }


    .mbr-bauherrenzeile > .col-md-3 {

        width: 100%;
    }


    .mbr-bauherrenbereich summary {

        padding-left: 25px;
        padding-right: 55px;
    }


    .mbr-bauherrenbereich summary:hover {

        padding-left: 30px;
    }

}


/* Bereich an die übrigen Inhalte angleichen */
.mbr-kennzahlen {
    margin: 30px 0;
    padding: 0 32px; /* etwas Innenrand, damit links/rechts sauber wirken */
}

/* Row als Flex, damit alle Spalten gleich hoch werden */
.mbr-kennzahlen .row {
    display: flex;
    flex-wrap: nowrap; /* zwingt alle vier in eine Zeile */
}

/* jede Kachel */
.mbr-kennzahl {
    text-align: center;
    padding: 18px 14px;          /* Innenabstand */
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background-color: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 140px;           /* gleiche Höhe */
}

/* Abstand zwischen den mittleren Kacheln */
.mbr-kennzahl:nth-child(2),
.mbr-kennzahl:nth-child(3) {
    margin: 0 10px;
}

/* linke Kachel etwas nach links holen */
.mbr-kennzahl:nth-child(1) {
    margin-left: -18px;
	 margin-right: 9px;
}

/* rechte Kachel etwas nach rechts schieben */
.mbr-kennzahl:nth-child(4) {
    margin-right: -18px;
	 margin-left: 9px;
}

/* Typografie */
.mbr-kennzahl h4 {
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.mbr-kennzahl p {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Mobile: wieder normal stapeln */
@media (max-width: 767px) {
    .mbr-kennzahlen {
        padding: 0 16px;
    }

    .mbr-kennzahlen .row {
        display: block;
    }

    .mbr-kennzahl {
        margin: 10px 0;
        min-height: auto;
    }

    .mbr-kennzahl:nth-child(2),
    .mbr-kennzahl:nth-child(3) {
        margin: 10px 0;
    }
}

/* =========================================================
   MBR ARCHITEKTEN – PROFILKACHEL
   ========================================================= */

.mbr-profilbereich {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* Kachel */

.mbr-profilbereich details {
    width: 100%;
    margin: 0;

    border: 1px solid #cccccc;
    background-color: #ffffff;

    border-radius: 6px;
    overflow: hidden;
}


/* Inhalt / sichtbarer Bereich */

.mbr-profilbereich summary {
    display: block;

    width: 100%;

    padding: 30px 20px 30px 25px;

    background-color: #ffffff;

    list-style: none;
    outline: none;
    cursor: default;
}


/* Browser-Marker entfernen */

.mbr-profilbereich summary::-webkit-details-marker {
    display: none;
}


/* Kein Hover-Effekt */

.mbr-profilbereich summary:hover {
    background-color: #ffffff;
}


/* Überschrift */

.mbr-profilbereich summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
}


/* Fließtext */

.mbr-profilbereich summary p {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;

    margin-top: 0;
    margin-bottom: 1rem;
}


/* Letzter Absatz */

.mbr-profilbereich summary p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mbr-profilbereich summary {
        padding: 25px 20px;
    }

}


/* =========================================================
   MBR PROJEKTE – KACHEL
   ========================================================= */

.mbr-projektbereich {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* ---------------------------------------------------------
   Gesamte Kachel
   --------------------------------------------------------- */

.mbr-projektkachel {
    width: 100%;

    padding: 30px 40px;

    background-color: #ffffff;

    border: 1px solid #d6d6d6;
    border-radius: 6px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Kopf der Kachel
   --------------------------------------------------------- */

.mbr-projektkopf {
    margin-bottom: 30px;
}

.mbr-projektkopf h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.mbr-projektkopf p {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Projektbilder
   --------------------------------------------------------- */

.mbr-projektbilder {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 20px;

    width: 100%;
}


/* ---------------------------------------------------------
   Einzelnes Projekt
   --------------------------------------------------------- */

.mbr-projekt {
    min-width: 0;
}


/* ---------------------------------------------------------
   Bilder
   --------------------------------------------------------- */

.mbr-projekt .hovereffect {
    width: 100%;
}

.mbr-projekt img {
    width: 100%;
    height: auto;
    display: block;
}


/* ---------------------------------------------------------
   Projektbezeichnung
   --------------------------------------------------------- */

.mbr-projekt > p {
    margin-top: 8px;
    margin-bottom: 0;

    line-height: 1.4;
}


/* =========================================================
   TABLET
   3 SPALTEN
   ========================================================= */

@media (max-width: 991px) {

    .mbr-projektkachel {
        padding: 30px;
    }

    .mbr-projektbilder {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 20px;
    }

}


/* =========================================================
   MOBILE
   2 SPALTEN
   ========================================================= */

@media (max-width: 767px) {

    .mbr-projektkachel {
        padding: 25px 20px;
    }

    .mbr-projektbilder {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }

}


/* =========================================================
   SEHR KLEINE GERÄTE
   1 SPALTE
   ========================================================= */

@media (max-width: 480px) {

    .mbr-projektbilder {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}
/* =========================================================
   MBR – INHALTSKACHEL
   Nicht aufklappbar / kein Hover
   ========================================================= */

.mbr-inhalt-kachel {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;

    border: 1px solid #d6d6d6;
    background-color: #ffffff;

    border-radius: 6px;

    box-sizing: border-box;
}


/* Inhalt der Kachel */

.mbr-inhalt-kachel-inner {
    padding: 30px 40px;
}


/* Überschrift */

.mbr-inhalt-kachel h3 {
    margin-top: 0;
    margin-bottom: 20px;

    font-size: 24px;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}


/* Text */

.mbr-inhalt-kachel p {
    margin-top: 0;
    margin-bottom: 1rem;

    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}


/* letzter Absatz */

.mbr-inhalt-kachel p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mbr-inhalt-kachel-inner {
        padding: 24px 28px;
    }

}