@media (min-width: 1280px) {
    .hometeaser {
        max-width: none;
    }
}

#sliderHome .text .hometeaser {
    opacity: 0;
    max-width: 1280px;
}

main article > section:first-of-type {
	margin-top: 6rem !important;
}

/* ==========================================================================
    Helper
   ========================================================================== */
.bgc-secondary{
    background-color: #fff8d3;
}
.tar {
    text-align: right;
}
.svg-icon {
    display:flex;
    align-items:center;
    justify-content:flex-start;
}

.flex-middle {
    align-items: center;
}

@media only screen and (max-width:779px) {
    .flex-first-till-780 {
        order: -1;
    }  
} 

/* ==========================================================================
    Contact - InfoBar
   ========================================================================== */

.contact-bar.flex-container {
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: initial;
}
.contact-bar .flex-third.thumb { 
    margin: 0 !important;
}
.contact-bar .desc {
    flex-grow: 1;
    padding: 2rem 1.5rem 0 ;
}

/* ==========================================================================
    Aside - Contact Buttons
   ========================================================================== */
#sidebutton1 {
    background: #fdefa7;
    color: #000 !important;
}

#sidebutton2 {
    background: #eb7423;
    color: #fff !important;
}

#call-to-action-side-buttons {
    position: fixed;
    top: 40%;
    right: 0;
    z-index: 100
}

#call-to-action-side-buttons a {
    width: 210px;
    transition: all 0.3s ease-out;
    border-radius: 3px 0 0 3px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;

}

#call-to-action-side-buttons a span.svg-icon {
    padding-right: 8px
}

#call-to-action-side-buttons {
    transform: translate(20px, 0)
}

#call-to-action-side-buttons.small a:hover,
#call-to-action-side-buttons a:hover {
    transform: translate(-20px, 0)
}

#call-to-action-side-buttons.small a {
    transform: translate(156px, 0)
}

@media only screen and (max-width:779px) {
    #call-to-action-side-buttons {
        display: none;
    }

}

/* ==========================================================================
    Hero Image
   ========================================================================== */

.hero-img {
    display: flex;
    align-items: center;
    justify-content: centermainhead;
    overflow: hidden;
    width: 100%;
    height: 33vh;
    position: relative;
    margin: 0;
    padding: 5vh 5vw;
}
.hero-img img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%,-50%);
}
.hero-img .overlay {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Animate on JS
   ========================================================================== */

.js .hero-img .overlay {
    opacity: 0;
    animation: 0.5s ease 0.75s fadein;
    animation-fill-mode: forwards;
}

.js .hero-img .container {
    transform: translateY(30vh);
    opacity: 0;
    animation: 1s ease 1.25s fadeup;
    animation-fill-mode: forwards;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeup {
    from { opacity: 0; transform: translateY(30vh); }
    to   { opacity: 1; transform: translateY(0);}
}


/* ==========================================================================
    Kontakt
   ========================================================================== */

section#formular {
    margin-top: 0;
}
section#beratung-1 {
    margin-bottom: 0 !important;
}


