.slider__title,
body,
html {
    font-family: Poppins, sans-serif
}

.slider__subtitle,
.slider__title {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .47)
}

.kontakt__row,
.liestungen__item {
    box-shadow: 5px 5px 15px 5px rgb(169 169 171 / 28%)
}

.block__title,
.modal__title,
.slider__title span {
    text-transform: uppercase
}

* {
    box-sizing: border-box;
    outline: 0
}

body,
html {
    margin: 0;
    font-size: 16px;
    background: url(../images/pattern.png);
    color: #000;
    padding: 0
}

a {
    text-decoration: none;
    color: #000;
    transition: .2s
}

img {
    max-width: 100%
}

.container {
    width: 1140px;
    padding: 0 15px;
    margin: 0 auto;
    position: relative
}

.header {
    padding: 5px 0;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid #f5f5f5
}

.slider .container,
.slider__img {
    top: 50%;
    transform: translateY(-50%);
    left: 0
}

.header__row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.header__logo img {
    max-height: 80px
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.header__nav-link {
    display: inline-block;
    margin-left: 40px;
    font-size: 16px;
    color: #2A0247;
    position: relative
}

.header__nav-link:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    opacity: 0;
    background-color: #2A0247;
    -webkit-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease
}

.header__nav-link:hover:after {
    width: 34px;
    opacity: 1
}

.header__menu {
    display: none
}

.slider {
    margin-top: 85px
}

.slider__slide {
    position: relative;
    height: 600px;
    overflow: hidden
}

.slider .container {
    position: absolute;
    right: 0;
    margin: 0 auto
}

.slider__content {
    max-width: 820px
}

.slider__title {
    margin: 0;
    position: relative;
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.3em
}

.slider__title span {
    color: #267b30;
    font-size: 114%
}

.slider__subtitle {
    margin: 15px 0 0;
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    max-width: 700px
}

.slider__img {
    width: 100%;
    position: absolute;
    object-fit: cover;
}

@keyframes anim {
    from {
        width: 100%
    }

    to {
        width: 120%
    }
}

.block__title {
    margin: 0;
    font-size: 40px;
    color: #363636;
    font-weight: 700;
    text-align: center
}

.block__subtitle {
    font-size: 16px;
    line-height: 22px;
    margin-top: 10px;
    text-align: center
}

.gallerie {
    margin-top: 40px
}

.gallerie__slider {
    margin-top: 30px
}

.gallerie .owl-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%
}

.gallerie .owl-nav .owl-next span,
.gallerie .owl-nav .owl-prev span {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    color: #363636;
    font-size: 40px;
    line-height: 36px;
    transition: .2s
}

.gallerie .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    top: 110px
}

.gallerie .owl-nav .owl-prev span {
    background: #ffef00
}

.gallerie .owl-nav .owl-prev:hover span {
    background: #363636;
    color: #fff;
}

.gallerie .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    top: 110px
}

.gallerie .owl-nav .owl-next span {
    background: #ffef00
}

.gallerie .owl-nav .owl-next:hover span {
    background: #363636;
    color: #fff;
}

.liestungen {
    margin-top: 40px
}

.liestungen__item {
    display: flex;
    background: #fff;
    margin-top: 30px;
    padding: 20px 15px;
    border-radius: 5px
}

.liestungen__ico {
    flex: 0 0 120px;
    margin-right: 30px;
    text-align: center
}

.liestungen__ico img {
    max-width: 100px
}

.liestungen__title {
    font-weight: 700;
    color: #525252;
    font-size: 20px
}

.liestungen__text p {
    font-size: 14px;
    line-height: 22px;
    margin-top: 15px;
    color: #525252
}

.kontakt {
    margin-top: 40px
}

.kontakt__row {
    margin-top: 30px;
    display: flex
}

.kontakt__col {
    flex: 1 1 100%
}

.kontakt__col_left {
    flex: 0 0 300px;
    background: #fff;
    padding-left: 30px
}

.kontakt__text {
    font-size: 18px;
    line-height: 28px
}

.kontakt__text a {
    color: #2A0247;
    border-bottom: 1px solid #2A0247
}

.kontakt__text a:hover {
    border-color: transparent
}

.footer {
    margin-top: 30px;
    border-top: 1px solid #f5f5f5;
    padding: 20px 0;
    background: #aaaaaa;
    color: #fff
}

.footer__row {
    display: flex;
    justify-content: space-between
}

.footer p a,
.footer__links a {
    display: inline-block;
    color: #fff
}

.footer__links a {
    font-size: 14px;
    margin-left: 30px;
    border-bottom: 1px solid #fff
}

.footer__links a:hover {
    border-color: transparent
}

.footer p {
    margin: 0
}

.footer p a {
    margin-left: 0;
    border-bottom: 1px solid #fff
}

.footer p a:hover {
    border-color: transparent
}

.modal {
    display: none;
    width: 100%;
    max-width: 750px;
    background: #fff
}

.modal__title {
    margin: 0 0 20px;
    font-size: 28px;
    color: #636363;
    font-weight: 700
}

.modal__text {
    font-size: 16px;
    line-height: 26px
}

.modal__text a {
    text-decoration: underline
}

.modal__text a:hover {
    text-decoration: none
}

.header__row{
    padding: 10px 0;
}
.header__logo img{
    height: 50px;
}

@media (max-width:1139px) {
    .container {
        width: 990px
    }
}

@media (max-width:989px) {
    .container {
        width: 768px
    }

    .slider__title {
        font-size: 40px
    }

    .slider__slide {
        height: 340px
    }

    .block__title {
        font-size: 30px
    }

    .block__subtitle {
        font-size: 14px
    }

    .footer {
        text-align: center
    }
}

@media (max-width:767px) {

    .container,
    .header__nav-item {
        width: 100%;
        max-width: 375px
    }

    .header__nav {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        z-index: 2;
        text-align: right;
        padding-top: 90px;
        display: none
    }

    .header__logo,
    .header__menu {
        position: relative;
        z-index: 3
    }

    .footer__col,
    .liestungen__text {
        text-align: center
    }

    .header__nav-item {
        padding: 0 15px;
        margin: 0 auto
    }

    .header__nav-link {
        font-size: 22px;
        margin-top: 15px
    }

    .header__menu {
        display: block;
        max-width: 40px
    }

    .slider__img,
    .slider__slide {
        height: 290px
    }

    .slider__title {
        font-size: 30px
    }

    .gallerie .owl-nav .owl-next,
    .gallerie .owl-nav .owl-prev {
        top: 40px
    }

    .gallerie .owl-nav .owl-next {
        right: -10px
    }

    .gallerie .owl-nav .owl-prev {
        left: -10px
    }

    .kontakt__row {
        flex-wrap: wrap;
        margin-top: 10px
    }

    .kontakt__col {
        flex: 0 0 100%;
        margin-bottom: 30px
    }

    .footer__row {
        flex-wrap: wrap
    }

    .footer__col {
        flex: 0 0 100%;
        margin-bottom: 15px
    }

    .footer__col a {
        white-space: nowrap
    }

    .footer__col:nth-child(1) {
        order: 1
    }

    .footer__col:nth-child(2) {
        order: 3
    }

    .footer__col:nth-child(2) p {
        font-size: 14px;
        margin-top: 10px
    }

    .footer__col:nth-child(3) {
        order: 2
    }

    .liestungen__item {
        flex-wrap: wrap
    }

    .liestungen__ico {
        flex: 1 1 100%;
        margin: 0 0 15px
    }

    .footer__links a {
        margin: 0 15px
    }
}