/* ============================================================
   aily AI – Startseite (Layout nach aily_ai_web_lay.pdf)
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 480px;
    background: var(--aily-dark) url('../img/hero.jpg') center / cover no-repeat;
    padding: 90px 1rem 110px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 19, .78) 0%, rgba(20, 20, 19, .55) 55%, rgba(20, 20, 19, .82) 100%);
}

.hero-title {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    letter-spacing: -.01em;
}

/* Dekorative Prompt-Pille */
.hero-prompt {
    max-width: 640px;
    background: #fff;
    border-radius: 50rem;
    padding: .45rem .5rem;
    color: var(--aily-gray);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
}

.hero-prompt:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
    color: var(--aily-dark);
}

.hero-prompt-plus {
    width: 38px;
    height: 38px;
    border: 1px solid #c9c9c7;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1rem;
}

.hero-prompt-text {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-prompt-btn {
    width: 38px;
    height: 38px;
    background: var(--aily-dark);
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: .9rem;
}

/* ---------- Sprechblasen-Chips ---------- */
.chips-section {
    margin-top: -58px;
    padding-bottom: 1.25rem;
}

.chips-row {
    scrollbar-width: none;
    padding: 0 1rem 1.5rem;
}

.chips-row::-webkit-scrollbar {
    display: none;
}

/*
 * Die Original-Sprechblase (Material/sprechblase.svg) dient als Maske:
 * jeder Chip erhält die exakte Silhouette in seiner Hintergrundfarbe.
 * Seitenverhältnis der SVG: 55.5 x 64.1.
 */
.chip-bubble {
    width: 126px;
    height: 146px;
    -webkit-mask: url('../img/sprechblase.svg') no-repeat center / contain;
    mask: url('../img/sprechblase.svg') no-repeat center / contain;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Text sitzt im runden Teil der Blase, unten bleibt Platz für den Zipfel */
    padding: 0 1rem 2.4rem;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3));
    transition: transform .15s ease-in-out;
}

.chip-bubble:hover {
    transform: translateY(-4px);
}

/* ---------- Intro ---------- */
.intro-image {
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

/* ---------- 50/50-Sektionen ---------- */
.split-cell {
    min-height: 420px;
}

.split-cell-light {
    background: var(--aily-light);
}

.split-cell-dark {
    background: #3f3f3d;
}

.split-inner {
    padding: 3.5rem clamp(1.5rem, 6vw, 5.5rem);
    max-width: 640px;
}

.split-img {
    object-fit: cover;
    min-height: 320px;
    display: block;
}

/* Heller Button auf dunkler Fläche */
.btn-card {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .55rem 1.5rem;
}

/* ---------- 3 Karten ---------- */
.card-img-fixed {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

/* ---------- Zitat-Carousel ---------- */
.quote-section {
    background: #d9d9d7;
}

.quote-icon {
    font-size: 3.5rem;
    color: #b5b5b3;
    line-height: 1;
    display: block;
}

.quote-section .carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #8f8f8d;
    border: 0;
    opacity: .5;
}

.quote-section .carousel-indicators .active {
    opacity: 1;
}

.quote-section .carousel-control-next {
    width: 2.5rem;
    right: -1rem;
    filter: invert(1) grayscale(100);
}

/* ---------- Noch mehr Business ---------- */
.more-section {
    background: var(--aily-light);
}

.more-icon {
    width: 46px;
    height: 46px;
    border: 2px solid var(--aily-dark);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--aily-dark);
}

.more-link {
    color: var(--aily-dark);
    letter-spacing: .08em;
    text-decoration: none;
}

.more-link:hover {
    color: var(--aily-blue);
}

/* ---------- Login-Seite ---------- */
.login-hero {
    min-height: 100vh;
    background: var(--aily-dark) url('../img/hero.jpg') center / cover no-repeat;
    position: relative;
}

.login-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 19, .72);
}

.login-hero .container {
    position: relative;
    z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .split-cell {
        min-height: 0;
    }

    .split-img {
        max-height: 380px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 420px;
        padding-bottom: 96px;
    }

    .public-logo img {
        height: 56px;
    }
}
