section.kredit {
    position: relative;
    background: var(--block-background);
    padding: 0;
    margin-bottom: 117px;
    overflow: hidden;
}

.kredit__container {
    position: relative;
    display: flex;
    align-items: start;
    height: 540px;
    width: 100%;
    margin: 0 auto;
}

.kredit__img {
    position: absolute;
    top: 29px;
    right: -68px;
    height: 511px;
    object-fit: cover;
}

.kredit__img--mob {
    position: absolute;
    top: 385px;
    display: none;
    object-fit: cover;
    width: 80%;
    min-width: 343px;
    height: auto;
    right: 0;
    aspect-ratio: 343/104;
    margin: 0 20px;
}

.kredit__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 50;
    max-width: 538px;
    margin: 60px 0 0;
}

.kredit__body .h3 {
    font: 600 36px/130% var(--title-font);
    color: var(--text-color);
    margin-bottom: 30px;
}

.kredit__body p {
    margin-bottom: 50px;
}

.kredit__blocks {
    position: absolute;
    bottom: 63px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.kredit__block {
    width: 25%;
    height: 98px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    justify-content: flex-start;
    background-color: var(--background);
    border-radius: 4px;
    padding: 25px 15px 15px 30px;
    box-sizing: border-box;
}

.kredit__block span {
    font: 400 14px/150% var(--text-font);
    color: var(--grey-color);
}

.kredit__block span:first-child {
    font: 600 14px/130% var(--title-font);
    color: var(--text-color);
}

.kredit .button {
    max-width: fit-content;
    padding-top: 10px;
}

@media (min-width: 1201px) {
    section.kredit {
        margin-bottom: 120px;
    }

    .kredit .kredit__container {
        height: 570px;
    }

    .kredit .kredit__img {
        top: 94px;
        right: -15px;
        aspect-ratio: 713/218;
        height: auto;
    }

    .kredit .kredit__blocks {
        bottom: 60px;
    }

    .kredit .kredit__block {
        max-width: 307px;
        height: 119px;
        margin-right: 2px;
        padding-bottom: 14px;
    }

    .kredit .kredit__block span {
        max-width: 242px;
    }
    .kredit__body p {
    margin-bottom: 40px;
}
}

@media screen and (max-width: 1200px) {
    section.kredit {
        padding-bottom: 30px;
        margin-bottom: 80px;
    }

    .kredit__container {
        flex-direction: column;
        height: 966px;
    }

    .kredit__body {
        max-width: 100%;
        margin-top: 60px;
    }

    .kredit__body .h3 {
        font-size: 30px;
    }

    .kredit__img {
        top: 372px;
        right: 0;
        left: 0;
        height: auto;
        overflow: visible;
        aspect-ratio: 708/216;
        margin: 0 auto;
    }

    .kredit__blocks {
        flex-wrap: wrap;
        bottom: 30px;
        gap: 30px 28px;
    }

    .kredit__block {
        height: 119px;
        width: calc(50% - 15px);
        padding: 25px 30px 15px;
        gap: 10px;
    }
    .kredit__body p {
    margin-bottom: 40px;
}
}

@media screen and (max-width: 767px) {
    section.kredit {
        margin-bottom: 60px;
    }

.kredit__container {
    height: auto;
    min-height: 550px;
}

    .kredit__body {
        margin-top: 60px;
    }

    .kredit__body .h3 {
        font-size: 21px;
        line-height: 129%;
        margin-bottom: 30px;
    }

    .kredit__body .h3 br {
        display: none;
    }

    .kredit__img {
        right: 0;
        left: 0;
        top: 300px;
    }

    .kredit .kredit__blocks {
        bottom: unset;
        position: relative;
    }

    .kredit .kredit__block {
        width: 100%;
        padding: 25px 30px 15px;
        gap: 10px;
    }
    .kredit__body p {
    margin-bottom: 50px;
}
}

@media screen and (max-width: 599px) {
    section.kredit {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .kredit__blocks {
        flex-direction: column;
        gap: 10px;
    }

    .kredit__block {
        width: 100%;
        padding-top: 15px;
        gap: 10px;
    }

    .kredit__img {
        display: none;
    }

    .kredit__img--mob {
        display: block;
    }
}

@media screen and (max-width: 374px) {
    .kredit__img--mob {
        left: -16px;
    }
}