﻿.teaser-text-animation::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.main-stone {
    margin: 0 auto;
    padding: 0;
    position: relative;
    left: 450px
}

@media (min-width: 768px) {

}

column, .columns {
    margin-left: 10px;
    margin-right: 10px;
    float: left;
    display: inline;
}

.container .eight.columns {
    width: 580px;
}

#intro-top-line {
    background: url(/Assets/Front/images/intro-top-line.png) no-repeat right;
    width: auto;
    height: 40px;
}

#intro-top {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    line-height: 1;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
    color: #fff;
    margin: 0 auto;
    padding: 7px 0 0 0;
}

#teaser {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    line-height: 1;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    text-align: right;
    margin: -13px 0 0 0;
}

#teaser-text {
    position: relative;
    height: 80px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#intro-bottom-line {
    background: url(/Assets/Front/images/intro-bottom-line.png) no-repeat left;
    width: auto;
    height: 40px;
    margin: 5px 0 0 0;
}

element {
}

#intro-title {
    color: #bb141a;
}

#intro-title {
    font-family: 'Oswald', sans-serif;
    font-size: 130px;
    line-height: 160px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: none;
    text-align: center;
    margin: 29px auto 27px auto;
    padding: 0;
    text-shadow: 1px 1px 2px #000;
}

.teaser-text-animation {
    text-align: right;
    clear: both;
}

element {
    margin-top: 0px;
}

.teaser-text-animation span {
    color: #bb141a;
}

.teaser-text-animation span {
    display: block;
    margin: 0 10px 0 0;
    margin-top: 0px;
    padding: 0;
    float: left;
}

@media only screen and (max-width: 479px) {
    #intro-title {
        font-size: 65px;
        line-height: 65px;
    }
}

.teaser-text-animation h3 {
    font-size:25px;
}


#teaser {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    text-align: right;
    overflow: hidden;
}

#teaser-text {
    position: relative;
    height: 80px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.teaser-text-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: right;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
}

    .teaser-text-animation.active {
        opacity: 1;
        display: block;
    }

    .teaser-text-animation h3 {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .teaser-text-animation span {
        color: #bb141a;
        display: inline-block;
        transition: margin-top 0.4s ease-in-out;
    }

.teaser-normal {
    margin-top: 50px;
}

.teaser-highlight {
    margin-top: -50px;
}

.teaser-text-animation.active .teaser-normal,
.teaser-text-animation.active .teaser-highlight {
    margin-top: 0;
}

@media only screen and (max-width: 479px) {
    #intro-title {
        font-size: 65px;
        line-height: 65px;
    }
}
















/* Adjustments for smaller screens */
@media (max-width: 992px) {
    .column, .columns{
        float: unset;
    }
    .main-stone{
        position: static !important;
    }
    #intro-title{
        font-size: 39px !important;
        margin-block: 0 !important;
    }
    #intro-top-line, #intro-bottom-line{
        display: none !important
    }
    #intro-top{
        text-align: center !important;
        font-size: 22px !important;
    }
    #teaser-text{
        height: 50px !important;
    }
    .dez-content .center-md{
        padding-bottom: 0 !important;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {

    .main-stone {
        left:0px;
        float:none;
    }
    #intro-top-line {
        display: none;
    }
    #intro-bottom-line {
        display: none;
    }
    #intro-title {
        font-size: 80px;
    }
}


@media (min-width: 1367px) and (max-width: 1600px) {
    .main-stone {
        left: 0px;
    }

    #intro-title {
        margin: 0;
    }
}