.header-intro {
    height: 733px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
}

@-webkit-keyframes scroll {
    0%,to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

@keyframes scroll {
    0%,to {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

.scroll-down {
    display: block;
    width: 60px;
    height: 60px;
    text-indent: 60px;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 15px;
    left: 20px;
    padding: 0;
    z-index: 20;
    background: none;
    border: 0;
}

.scroll-down:after, .scroll-down:before {
    content: "";
    display: block;
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70.146' height='90.984' fill='%23FFF'%3E%3Cpath d='M32.073 13.5c-10.252.01-18.561 8.318-18.573 18.57v20.842c-.005 10.258 8.308 18.577 18.564 18.582 10.258.004 18.577-8.308 18.582-18.564V32.07c-.012-10.252-8.321-18.56-18.573-18.57zM33 16.318c8.336.503 14.844 7.401 14.86 15.752v20.842c-.003 8.719-7.073 15.785-15.792 15.782-8.715-.003-15.779-7.067-15.782-15.782V32.07c.015-8.352 6.521-15.252 14.858-15.756'/%3E%3C/svg%3E") no-repeat 50%;
    width: 100%;
    height: 100%;
    background-size: 40px!important;
    position: absolute;
    top: 0;
    left: 0;
}

.scroll-down:after {
    background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70.146' height='90.984' fill='%23FFF'%3E%3Cpath d='M34.073 25.86v7.31a2 2 0 11-3.993 0v-7.31a2 2 0 113.993 0zm-2.929-9.546v5.8a3.863 3.863 0 00-2.925 3.742v7.313a3.854 3.854 0 002.925 3.742v7.038H33V36.91a3.857 3.857 0 002.928-3.741v-7.31A3.865 3.865 0 0033 22.117v-5.8'/%3E%3C/svg%3E") no-repeat 50%;
    -webkit-animation: scroll 2s linear infinite;
    animation: scroll 2s linear infinite;
}


.header-intro-container {
    display: flex;
    height: 100%;
    justify-content: flex-end;
    align-items: center;
}

.header-intro-caption {
    background-color: #FFF;
    width: 400px;
    min-height: 359px;
    border-radius: 30px;
    padding: 68px 40px 120px;
    position: relative;
    font-size: 30px;
    line-height: 40px;
}

.header-intro-caption-link {
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 0;
    height: 100px;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
}

.header-intro-caption-link a {
    padding-right: 120px;
    text-decoration: underline;
    color: inherit;
}

.header-intro-caption-link a::after {
    content: ' ';
    display: block;
    background-color: var(--color-primary);
    position: absolute;
    right: -1px;
    bottom: -1px;
    height: 100px;
    width: 100px;
    border-bottom-right-radius: 26px;
    border-top-left-radius: 26px;
    background-image: url(/typo3conf/ext/website_template/Resources/Public/Images/Icons/icon-arrow.png);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    transition: 300ms ease-in-out;
}

.header-intro-caption-link a:hover,
.header-intro-caption-link a:focus {
    text-decoration: none;
}

.header-intro-caption-link a:hover::after,
.header-intro-caption-link a:focus::after {
    background-color: var(--color-highlight);
}

@media (max-width: 991px) {
    .header-intro::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-intro {
        height: calc(100vh - 210px);
        position: relative;
    }

    .header-intro-caption {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        bottom: 30px;
        width: calc(100% - 50px);
        font-size: 28px;
        line-height: 35px;
        padding: 24px 24px 70px;
        min-height: 0;
    }

    .header-intro-caption-link {
        height: 70px;
    }

    .header-intro-caption-link a {
        padding-right: 130px;
    }

    .header-intro-caption-link a::after {
        width: 70px;
        height: 70px;
    }
}
