.landing-page-wrapper {
    width: 100%;
    max-width: var(--small-container);
    margin: 0 auto;
}

.content-box {
    display: flex;
    flex-direction: column;
}

.top-content-box {
    display: grid;
    height: 25rem;
    margin: auto;
    border-radius: 40px;
    min-width: 70%;
    max-width: var(--small-container);
    background-image: url("/static/images/landing_page/overview_box.1aaa76e98162.png");

}

.content-box-shape {
    border-radius: 40px;
    background-color: var(--telekom-color-primary-standard);
    height: 100%;
    width: 60%;
    padding: 2rem;
    color: white;
    clip-path: polygon(0% 0%, 85% 0%, 95% 50%, 0% 60%);
    object-fit: cover;
}

.content-box-shape-parent {
    filter: url('#flt_tag');
}

.box-text-container {
    grid-column: 1 / 1;
    grid-row: 1 / 1;

    padding: 0 25px 25px 25px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}


@media screen and (max-width: 700px) {
    .total-devices {
        width: auto;
        margin: unset;
    }

    .box-text-container {
        grid-column: 1 / 3;
        grid-row: 2 / 2;
    }

    .box-image-container {
        grid-column: 1 / 3;
        grid-row: 1 / 1;
        max-height: 250px;
    }

    .box-image-container img {
        clip-path: none;
        border-radius: 40px 40px 0 0;
    }
}

.services {
    margin: 0 auto;
    padding: 40px 20px;
    max-width: 1200px;
    background: #fff;
}

.services-heading {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 32px;
}

.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 18px 12px 8px;
    border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.service__icon {
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
}


.service__title {
    margin: 6px 0 8px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
}

.service__text {
    margin: 0 auto 14px;
    max-width: 36ch;
    font-size: 15px;
    line-height: 1.6;
}

.service__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    font-weight: 600;
    text-decoration: none;
    color: #0070a8;
    border-bottom: 2px solid transparent;
}

.service__link::after {
    content: "›";
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.service__link:hover {
    border-bottom-color: currentColor;
}

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

.triple-box-container {
    display: flex;
    margin: 75px 0;
    justify-content: space-evenly;
    gap: 1rem;
}

.triple-box {
    overflow: hidden;
    border-radius: 35px;
    position: relative;
    transform: scale(0.8, 0.8);
    transition: 0.2s ease;
}

@media screen and (max-width: 500px) {
    .triple-box {
        width: 100%;
        height: 100%;
    }
}

.triple-box:hover {
    transform: scale(0.85, 0.85);
    transition: 0.2s ease;
}


.triple-box-small-box {
    background-color: #E20074;
    position: absolute;
}

.triple-box:nth-child(1) .triple-box-small-box {
    top: 315px;
    left: -50px;
    border-radius: 30px;
    transform: rotate(-8deg);
    width: 390px;
    height: 300px;
}

.triple-box:nth-child(2) .triple-box-small-box {
    bottom: 335px;
    left: 130px;
    transform: rotate(-20deg);
    border-radius: 30px;
    width: 320px;
    height: 230px;
}

.triple-box:nth-child(3) .triple-box-small-box {
    top: 305px;
    left: 100px;
    width: 340px;
    height: 200px;
    transform: rotate(12deg);
    border-radius: 30px;

}

.triple-box-headline {
    font-weight: bold;
    font-size: x-large;
    color: white;
}

.triple-box-small-box span,
.triple-box-small-box p {
    display: inline-block;
    transform: rotate(8deg);
    margin-top: 35px;
    margin-left: 80px;
    white-space: nowrap;
}

.triple-box:nth-child(2) .triple-box-small-box span,
.triple-box:nth-child(2) .triple-box-small-box p {
    transform: rotate(20deg);
    margin-top: 70px;
    margin-left: 10px;
    white-space: normal;
}

.triple-box:nth-child(3) .triple-box-small-box span,
.triple-box:nth-child(3) .triple-box-small-box p {
    transform: rotate(-12deg);
    margin-left: 20px;
    margin-top: 15px;
    padding-bottom: 10px;
    white-space: normal;
    max-width: 200px;
}

.triple-box-text {
    font-size: larger;
    color: white;
}

.triple-box:nth-child(1) .triple-box-text {
    margin-top: 15px;
    max-width: 200px;
    white-space: normal;
}

.triple-box:nth-child(2) .triple-box-text {
    max-width: 200px;
    white-space: normal;
    position: relative;
}

.triple-box:nth-child(3) .triple-box-text {
    max-width: 200px;
    white-space: normal;
}

.triple-box-image-container {
    display: flex;
    height: 500px;
    width: 400px;
}

@media screen and (max-width: 1000px) {
    .triple-box-container {
        flex-wrap: wrap;
    }
}

.contact-us-heading {
    color: rgb(226, 0, 116);
    font: var(--telekom-text-style-heading-3);
    margin: 0;
}

#contact-us-wrapper {
    max-width: var(--small-container);
    margin: 0 auto;
}

.contact-us-container {
    border-radius: 20px;
    padding: 25px;
    background-color: #F3F1EF;
    width: auto;
    position: relative;
    overflow: hidden;
}

.contact-us-image-container {
    position: absolute;
    z-index: 1;
    transform: rotate(140deg);
    bottom: -30px;
    right: 150px;
}

.contact-us-text-container > p {
    z-index: 5;
    position: relative;
}


/*MARK: Dynamic Blocks */
.blocks-container {
    --card-height: 25rem;
    --image-width-big: 20rem;
    --image-width: 15rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: var(--card-height);
    grid-column-gap: 2rem;
    grid-row-gap: 2em;
}

.block-card {
    width: 100%;
}

.block-card-big {
    grid-column: 1 / span 2;
}

.block-card-content-wrapper {
    height: calc(var(--card-height) / 1.5);
    margin: -24px;
    display: flex;
}

.block-card-big .block-card-content-wrapper {
    height: var(--card-height);
    flex-direction: row;
}

.block-card-big .block-card-content-wrapper .block-card-image {
    min-width: var(--image-width-big);
    max-width: var(--image-width-big);
}

.block-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.block-card-header {
    margin-bottom: 1rem;
}

.block-card-content-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.block-card-content-link {
    font-size: 1rem;
    align-self: flex-end;
}

.block-card-image {
    min-width: var(--image-width);
    max-width: var(--image-width);
}

.block-card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1000px) {
    .blocks-container {
        --image-width-big: 17rem;
        --image-width: 12rem;
    }
}

@media screen and (max-width: 700px) {
    .blocks-container {
        --card-height: 25rem;
        --image-width: 100%;
        --image-width-big: 100%;
        display: flex;
        flex-direction: column;
        margin: 4rem;
    }

    .block-card {
        width: 100%;
    }

    .block-card-big {
        grid-column: unset;
    }

    .block-card-content-wrapper {
        height: var(--card-height);
        margin: -24px;
        display: flex;
        flex-direction: column;
    }

    .block-card-big .block-card-content-wrapper {
        height: var(--card-height);
        flex-direction: column;
    }

    .block-card-big .block-card-content-wrapper .block-card-image {
        width: 100%;
    }

    .block-card-content {
        height: 100%;
    }

    .block-card-header {
        margin-bottom: 1rem;
    }

    .block-card-content-body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .block-card-content-link {
        align-self: flex-end;
    }

    .block-card-image {
        width: 100%;
        height: 40%;
    }

    .block-card-image img {
        object-fit: cover;
        width: 100%;
    }
}

@media screen and (max-width: 550px) {
    .blocks-container {
        margin: auto;
    }
}
