@charset "utf-8";

/* =========================================================
   MBR ARCHITEKTEN – FIRMENGESCHICHTE
   ========================================================= */

.mbr-geschichte {
    width: 100%;
}


/* ---------------------------------------------------------
   Einstieg / Abschluss
   --------------------------------------------------------- */

.mbr-geschichte .mbr-inhalt-kachel {
    margin-top: 30px;
    margin-bottom: 35px;
}


/* ---------------------------------------------------------
   Zeitleiste
   --------------------------------------------------------- */

.mbr-geschichte-timeline {
    position: relative;

    width: 100%;

    margin: 0 0 35px 0;
}


/* ---------------------------------------------------------
   Einzelner Abschnitt
   --------------------------------------------------------- */

.mbr-geschichte-item {

    display: flex;

    width: 100%;

    margin-bottom: 20px;

    border: 1px solid #d6d6d6;
    border-radius: 6px;

    background-color: #ffffff;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Jahr
   --------------------------------------------------------- */

.mbr-geschichte-jahr {

    flex: 0 0 145px;

    padding: 25px 20px;

    font-size: 18px;

    font-weight: 600;

    color: #5A5A5A;

    border-right: 1px solid #d6d6d6;

    display: flex;

    align-items: flex-start;
}


/* ---------------------------------------------------------
   Inhalt
   --------------------------------------------------------- */

.mbr-geschichte-inhalt {

    flex: 1;

    padding: 25px 30px;
}


.mbr-geschichte-inhalt h4 {

    margin-top: 0;

    margin-bottom: 15px;
}


.mbr-geschichte-inhalt p {

    margin-top: 0;

    margin-bottom: 12px;
}


.mbr-geschichte-inhalt p:last-child {

    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Abschluss
   --------------------------------------------------------- */

.mbr-geschichte-abschluss {

    margin-top: 35px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .mbr-geschichte-jahr {

        flex: 0 0 120px;

        padding: 22px 18px;

        font-size: 17px;
    }


    .mbr-geschichte-inhalt {

        padding: 22px 25px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .mbr-geschichte .mbr-inhalt-kachel {

        margin-top: 25px;

        margin-bottom: 25px;
    }


    .mbr-geschichte-item {

        display: block;

        margin-bottom: 15px;
    }


    .mbr-geschichte-jahr {

        display: block;

        width: 100%;

        padding: 15px 20px;

        border-right: 0;

        border-bottom: 1px solid #d6d6d6;

        font-size: 16px;
    }


    .mbr-geschichte-inhalt {

        padding: 20px;
    }


    .mbr-geschichte-inhalt h4 {

        margin-bottom: 12px;
    }


    .mbr-geschichte-inhalt p {

        margin-bottom: 12px;
    }

}