@font-face {
    font-family: MerriweatherSans;
    src: url(../fonts/MerriweatherSans-VariableFont_wght.ttf);
  }
  h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans',sans-serif;
    font-weight: 600;
    line-height: 1.2;
}
body {
    font-family: 'Open Sans',sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

#logo {
    max-width: 180px;
    height: auto;
}
.navbar-dark {    
    background-color: #103674;
}
#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #103674;
    transition: background-color 0.2s ease;
}
.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}
#mainNav.navbar-scrolled {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #103674;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #fff57b !important;
}
#mainNav .navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
}
#mainNav .navbar-nav .nav-item .nav-link:hover, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fff;
}

header.masthead {
    background-image: url('../img/header_09.jpg');
    background-size: cover;
    background-position: center center;    
}
header.masthead .h2 {       
    color: #fff57b;
    font-size: 1.1rem;     
}

#services img {
	width: 100%;
}


#oeffnungszeiten {
    color: #fff;
    background-image: url("../img/back-red-lights-red-sport-car.jpg");
    background-position: -250px center;
    background-repeat: no-repeat;
    background-size: unset;
}
.text_kontakt {
    text-align: left;
    hyphens: auto;
}
.teaser p span {
    font-size: .9rem;        
    line-height: 1rem;
}

header.masthead h1 span {
    font-size: 2rem;
}
header.masthead h1 {
    font-size: 2.7rem;
}         

header.masthead {        
    background-position: left center;        
}
header.masthead h2 {       
    font-size: 1.1rem;    
    line-height: 2.5rem;     
}
.motto {
    font-size: 0.8rem;
}

.mb-5, .my-5 {
    margin-bottom: 1.8rem !important;
}
.teaser .btn {
    margin-top: 0;
}

.p_subtitle {
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #747097;
    font-weight: 800;
    margin-bottom: .5rem;
    margin-top: 2rem;
}
.p_title {
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 800;
}
.page-section {
    padding: 2.3rem 0;
}
.single_offer {
    margin-bottom: 1rem;
    border: 1px solid #e7e7e7;
    padding-bottom: .5rem;
}
.single_offer:hover img {
    opacity: .85;
    transition: all .3s linear;
}
.single_offer h4 {
    text-transform: uppercase;
    font-size: 1.3rem;
    padding: 10px 5px 0;
}
.single_offer_content p {
    font-size: 1rem;
    font-weight: 400;
    hyphens: auto;
    padding: 5px;
    margin-top: 10px;
}
.single_offer .lnk {
    color: #103674;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    padding: 5px;
}

.bg-primary {
    background: linear-gradient(to right, #103674 0%,#1d488c 50%, #103674 100%);
    background-color: rgba(0, 0, 0, 0);
}
#about h2 {
    font-size: 1.94rem;
}
#vorteile .icon {
    font-size: 3.5rem;
    color: #103674;
}
hr.divider {
    max-width: 3.25rem;
    border-width: 0.2rem;
    border-color: #103674;
}
#portfolio .container-fluid .portfolio-box:hover .portfolio-box-caption, #portfolio .container-sm .portfolio-box:hover .portfolio-box-caption, #portfolio .container-md .portfolio-box:hover .portfolio-box-caption, #portfolio .container-lg .portfolio-box:hover .portfolio-box-caption, #portfolio .container-xl .portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}
#portfolio .container-fluid .portfolio-box .portfolio-box-caption, #portfolio .container-sm .portfolio-box .portfolio-box-caption, #portfolio .container-md .portfolio-box .portfolio-box-caption, #portfolio .container-lg .portfolio-box .portfolio-box-caption, #portfolio .container-xl .portfolio-box .portfolio-box-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: rgba(16, 54, 116, 0.9);
    transition: opacity 0.7s ease;
    text-align: center;
}
#contact img {
    width: 100%;
}
#contact .p_subtitle {
    font-size: 1rem;    
    margin-bottom: .5rem;
    margin-top: 0;
}
#ansprechspartner a {
    color: #212529;
}
#mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
}
#mainNav.navbar-scrolled .navbar-nav .nav-item .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}
.single_ansprechspartner {
    border-radius: 3px;
    font-family: open sans,Arial,sans-serif;
    font-size: .93em;
    line-height: 2.1em;
    background-color: #f7f7f7;
    padding: 20px 5px 0 15px;    
}
.ansprechspartner_card {
    margin-bottom: 15px;
}
.mt-5, .my-5 {
    margin-top: 1rem !important;
}
#oeffnungszeiten h3 {
    padding: 50px 0 10px;
    text-transform: uppercase;
    font-weight: 600;
}
.work_hours {
    width: 100%;
    border-bottom: 1px solid #335791;
}
.work_day {
    width: 50%;
    float: left;
    text-transform: uppercase;
    padding: 10px 0;
    font-weight: 600;
}
.work_time {
    width: 50%;
    float: left;
    padding: 10px 0;
}
#oeffnungszeiten .btn {
    margin: 3rem;
}
footer a:hover {
    color: #000;
}
footer a {
    color: #333;
    padding-left: 10px;
}
footer a:hover {
    color: #000;
}
.copyright {
    margin-top: 10px;
}
#about hr.divider {    
    border-color: #fff;
}
#portfolio {    
    padding-top: 25px;    
}
#portfolio .container-fluid, #portfolio .container-sm, #portfolio .container-md, #portfolio .container-lg, #portfolio .container-xl {
    width: 100%;
}
.recht {
    border-top: 105px solid #103674;
    padding-top: 30px;
    font-size: .8rem;
}
.recht a {
    color: #000;
}
.recht .h1 {
    font-size: 2.0rem;
}
.recht .h2, .recht .h3 {
    font-size: 1.4rem;
}


/*#######################################################*//*#######################################################*//*#######################################################*/

@media (min-width: 576px) {
    header.masthead {
        background-position: -100px center;
    }
    .container {
        max-width: 98%;
    }
    .motto {
        font-size: .95rem;
    }
    .single_offer {
        border: none;
    }
    .single_offer h4 {
        padding: 0;
    }
    .single_offer_content p {
        padding: 0;
    }
    #about .page-section, #vorteile .page-section {
        padding: 8rem 0;
    }
}


@media (min-width: 768px) {
    .motto {
        font-size: 1.1rem;
    }
    header.masthead .h2 {
        font-size: 1.8rem;
        line-height: 7rem;
    }
    header.masthead h1 {
        font-size: 3.58rem;
        line-height: 1.1;
    }
    header.masthead h1 span {
        font-size: 3.2rem;
    }
    .teaser p span {
        font-size: 1.35rem;
        line-height: 6rem;
    }
    .teaser .btn {
        margin-top: 2rem;        
    }
    .single_ansprechspartner {
        font-size: 1rem;
    }
    .single_offer_content {
        font-size: .9rem;
    }
    #logo {
        max-width: 200px;
        height: auto;
    }
}
@media (min-width: 992px) {
    .single_ansprechspartner {
        font-size: .8rem;
    }
    .single_offer_content p {
        font-size: .9rem;
    }
    #vorteile .h4 {
        font-size: 1.3rem;
    }
    
    #oeffnungszeiten .btn {
        margin: 3rem 3rem 3rem 0;
    }
    .container {
        max-width: 1180px;
    }
    #mainNav {
        box-shadow: none;
        background-color: transparent;
    }
    #oeffnungszeiten {        
        background-image: url("../img/back-red-lights-red-sport-car.jpg");
        background-position: center center;
        background-size: cover;
    }
    
}
@media (min-width: 1200px) {
    header.masthead {
        background-position: center center;
    }
    header.masthead h1 {
        font-size: 7.5rem;
        line-height: 4rem;
    }
    header.masthead h1 span {
        font-size: 3.5rem;
    }
    .single_offer_content p {
        font-size: 1rem;
    }
    .single_offer {
        padding-bottom: 1.2rem;
    }
    #vorteile .h4 {
        font-size: 1.5rem;
    }
    .single_ansprechspartner {
        font-size: 1rem;
    }
    #oeffnungszeiten h3 {
        padding: 50px 0 30px;
        text-transform: uppercase;
        font-weight: 600;
    }
    header.masthead h1 {
    font-size: 7.5rem;
    line-height: 4rem;
}
}
@media (min-width: 1921px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1600px;
    }
    header.masthead h1 {
        font-size: 10rem;
        line-height: 6rem;
        margin-top: 2.5rem;
    }
    header.masthead h1 span {
        font-size: 4.7rem;
    }
}













/*#######################################################*/
.hover-rotate {
    overflow: hidden;    
    min-width: 240px;
    width: 100%;
    border-radius: 5px;
}
  
.hover-rotate img {
    transition: all 0.3s ease-out;
    box-sizing: border-box;
    max-width: 100%;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 13px 21px -5px;
}
  
.hover-rotate:hover img {
    transform: scale(1.05) rotate(0deg);  
}

figure {
    margin: 0;
}

/*##############################################################*/





.x:hover {
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 13px 21px -5px;
    transition: all .3s ease-out;
}
.vrtl {
    transition: all .5s ease;
}
.vrtl:hover {
    transform: translate(0, -1rem);    
}

.x:hover {
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 13px 21px -5px;
    transition: all .3s ease-out;
}
.vrtl {
    transition: all .5s ease;
}
.vrtl:hover {
    transform: translate(0, -1rem);    
}

/*##############################################################*/


.fadescroll {
    transition: all 800ms;
    opacity: 0;
    transform: translate(0, 200px);
  }
  
.fade {
transform: translate(0, 0);
opacity: 1;
}

.moveleft {
transition: all 800ms;
opacity: 0;
transform: scale(.8);
}

.left {
transform: translate(0, 0);
opacity: 1;
transform: scale(1)
}
.moveright {
transition: all 800ms;
opacity: 0;
transform: scale(.8);
}

.right {
transform: translate(0, 0);
opacity: 1;
transform: scale(1)
}

.movebottom {
transition: all 800ms;
opacity: 0;
transform: translate(0, 100px);
}

.bottom {
transform: translate(0, 0);
opacity: 1;
}
