.homatash-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #F2EDE6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.homatash-overlay__headline {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 36px;
    letter-spacing: 0.08em;
    line-height: 50px;
    text-transform: uppercase;
    color: #34322f;
    text-align: center;
    max-width: 970px;
    margin-bottom: 0.5rem;
}

.homatash-overlay__subheadline {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-weight: bold;
    font-size: 34px;
    line-height: 50px;
    color: #34322f;
    text-align: center;
    margin-bottom: 3rem;
}

.homatash-overlay__cards {
    max-width: 1400px;
    width: 100%;
    overflow: hidden;
}

.homatash-overlay__card {
    width: 440px;
    flex-shrink: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homatash-overlay__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.homatash-overlay__card-image-wrap {
    width: 100%;
    height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.homatash-overlay__card:first-child .homatash-overlay__card-image-wrap,
.homatash-overlay__card:last-child .homatash-overlay__card-image-wrap {
    background-color: #E3D3BD;
}

.homatash-overlay__card-image-wrap img {
    display: block;
}

.homatash-overlay__card:first-child .homatash-overlay__card-image-wrap img,
.homatash-overlay__card:last-child .homatash-overlay__card-image-wrap img {
    width: 263px;
    max-width: 80%;
    height: auto;
}

.homatash-overlay__card:nth-child(2) .homatash-overlay__card-image-wrap {
    background: url("../../assets/images/streifen.jpg") repeat-y;
    background-color: #fff;
    gap: 65px;
    background-position: bottom;
    background-size: contain;
}

.homatash-overlay__card:nth-child(2) .homatash-overlay__card-image-wrap img {
    width: 357px;
    max-width: 80%;
    height: auto;
}

.homatash-overlay__card-label {
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 22px;
    line-height: 40px;
    text-align: left;
    color: #2b2927;
    display: flex;
    align-items: center;
    gap: 5px;
}

.homatash-overlay__card:nth-child(2) .homatash-overlay__card-label {
    width: 225px;
    height: 49px;
    border-radius: 5px;
    background: #70b421;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.homatash-overlay__card-label::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 20px;
    background: url("../../assets/images/arrow.svg") no-repeat center / contain;
    flex-shrink: 0;
}

.homatash-overlay__card:nth-child(2) .homatash-overlay__card-label::after {
    background-image: url("../../assets/images/arrow-white.svg");
}

/* Desktop: Swiper deaktivieren */
.homatash-overlay__cards .swiper-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* Responsive: Tablet */
@media (max-width: 1400px) and (min-width: 1201px) {
    .homatash-overlay__cards {
        padding: 0 2rem;
    }

    .homatash-overlay__card {
        width: 30%;
        min-width: 0;
    }
}

/* Responsive: Mobil + Slider */
@media (max-width: 1200px) {
    .homatash-overlay {
        justify-content: center;
        padding: 2rem 0;
    }

    .homatash-overlay__cards {
        overflow: visible;
        width: 100%;
    }

    .homatash-overlay__cards .swiper-wrapper {
        gap: 0;
        justify-content: flex-start;
    }

    .homatash-overlay__card {
        width: 75vw;
        max-width: 440px;
        flex-shrink: 0;
    }

    .homatash-overlay__card-image-wrap {
        height: 270px;
    }

    .homatash-overlay__card:first-child .homatash-overlay__card-image-wrap img,
    .homatash-overlay__card:last-child .homatash-overlay__card-image-wrap img {
        width: 153px;
    }

    .homatash-overlay__card:nth-child(2) .homatash-overlay__card-image-wrap img {
        width: 209px;
    }

    .homatash-overlay__card-label {
        font-size: 18px;
    }

    .homatash-overlay__card:nth-child(2) .homatash-overlay__card-label {
        font-size: 16px;
    }

    .homatash-overlay__card-label::after {
        width: 10px;
        height: 10px;
    }

    .homatash-overlay__card:nth-child(2) .homatash-overlay__card-label {
        width: 180px;
    }

    .homatash-overlay__headline {
        font-size: clamp(20px, 5vw, 36px);
        line-height: 1.4;
        padding: 0 2rem;
    }

    .homatash-overlay__subheadline {
        font-size: clamp(18px, 4.5vw, 34px);
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 2rem;
    }
}
