/* Home Page – Seller-Central-inspirierte Inhaltsfläche */
#home-container {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.25rem;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 1.25rem;
}

@media (min-width: 600px) {
    #home-container {
        padding: 2rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    #home-container {
        padding: 2.5rem 3rem;
    }
}

/* Home-Hero-Bild: ohne Rand-Whitespace, volle Spaltenbreite */
#home-hero.base-hero {
    align-items: stretch;
    gap: 1.25rem;
}

#home-hero-actions.base-hero-actions {
    flex-wrap: nowrap;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    #home-hero.base-hero {
        gap: 2rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    #home-hero .base-hero-content {
        flex: 0 1 60%;
        max-width: 60%;
    }

    #home-hero-visual.base-hero-visual {
        flex: 0 1 40%;
        max-width: 40%;
        width: auto;
        align-self: center;
        margin-top: 2.125rem;
    }

    #home-hero-image-wrapper.base-hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 0.5rem;
        box-shadow: var(--shadow-md);
    }

    #home-hero-visual .base-hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #home-hero-actions.base-hero-actions {
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 0.9rem;
    }
}

@media (max-width: 1023px) {
    #home-hero.base-hero {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #home-hero .base-hero-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    #home-hero-visual.base-hero-visual {
        max-width: 100%;
        width: 100%;
        align-self: stretch;
    }

    #home-hero-image-wrapper.base-hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 0.5rem;
        box-shadow: var(--shadow-sm);
    }

    #home-hero-visual .base-hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

#home-cta-box {
    text-align: left;
    padding: 1.5rem 1.25rem;
}

#home-cta-headline {
    text-align: left;
}

#home-cta-actions {
    margin-top: 1.25rem;
}

@media (min-width: 600px) {
    #home-cta-box {
        padding: 2rem 2.5rem;
    }
}

.home-story-highlight {
    width: 100%;
    background: linear-gradient(180deg, #fff8e8 0%, #fff3d2 100%);
    border: 1px solid #f3d08b;
    border-radius: 0.9rem;
    padding: 1rem 1rem 0.4rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
}

.home-story-title {
    margin: 0 0 0.55rem;
    color: #6b4f00;
    font-size: clamp(1.2rem, 1.1vw + 0.7rem, 1.375rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
}

@media (min-width: 600px) {
    .home-story-title {
        font-size: clamp(1.25rem, 0.65vw + 0.95rem, 1.5rem);
    }
}

.home-story-text {
    margin: 0 0 0.75rem;
    color: #2f2f2f;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.home-story-text-strong {
    font-weight: var(--font-weight-semibold);
    color: #111111;
}

@media (min-width: 1024px) {
    .home-story-highlight {
        padding: 1.2rem 1.25rem 0.45rem;
        margin-bottom: 1.6rem;
    }
}

/* Home-Hero-H1: etwas kleiner als globales Hero-Widget (Nutzer-Feedback Lesbarkeit) */
#home-hero-title.base-headline-hero-h1-title {
    font-size: clamp(1.5rem, 3.2vw + 0.45rem, 2.125rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    white-space: normal;
    text-wrap: balance;
}

@media (min-width: 600px) {
    #home-hero-title.base-headline-hero-h1-title {
        font-size: clamp(1.625rem, 2vw + 0.55rem, 2.25rem);
        line-height: 1.1;
        letter-spacing: -0.038em;
    }
}

@media (min-width: 1024px) {
    #home-hero-title.base-headline-hero-h1-title {
        font-size: clamp(1.75rem, 1.25vw + 0.75rem, 2.375rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }
}

#home-hero-headline.base-headline-hero-h1 {
    margin-bottom: 1.25rem;
}

#home-hero-headline.base-headline-hero-h1::after {
    width: 4.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 600px) {
    #home-hero-headline.base-headline-hero-h1::after {
        width: 5rem;
        margin-top: 0.5rem;
    }
}

/* Feature-Kacheln: hochwertiger Look (Home-spezifisch) */
#home-features-grid {
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    #home-features-grid {
        gap: 1.5rem;
    }
}

#home-features-grid .base-tile {
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    text-align: left;
    padding: 1.35rem 1.25rem 1.2rem;
    border-radius: 1rem;
    border-color: var(--color-primary-soft-border);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 1px 2px rgba(15, 17, 17, 0.06), 0 12px 28px rgba(15, 17, 17, 0.06);
}

#home-features-grid .base-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ffb84d);
}

#home-features-grid .base-tile:hover {
    transform: translateY(-3px);
    border-color: var(--color-border-highlight);
    box-shadow: 0 4px 12px rgba(15, 17, 17, 0.1), 0 18px 36px rgba(255, 153, 0, 0.12);
}

#home-features-grid .base-tile-content-centered {
    gap: 0.75rem;
}

#home-features-grid .base-tile-headline-row {
    gap: 0.875rem;
}

#home-features-grid .base-tile-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #fff8e8 0%, #ffe8a3 100%);
    border-color: rgba(255, 153, 0, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 6px rgba(255, 153, 0, 0.15);
}

#home-features-grid .base-tile:hover .base-tile-icon {
    background: linear-gradient(145deg, #ffd814 0%, #f7ca00 100%);
    color: #111111;
    border-color: #e1a900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 3px 8px rgba(255, 153, 0, 0.22);
}

#home-features-grid .base-headline-tile-h3-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: clamp(1.0625rem, 0.35vw + 0.95rem, 1.1875rem);
    letter-spacing: -0.02em;
    line-height: 1.22;
}

#home-features-grid .base-content-text {
    margin: 0;
    line-height: 1.62;
    color: var(--color-text-muted);
}

@media (min-width: 600px) {
    #home-features-grid .base-tile {
        padding: 1.5rem 1.4rem 1.35rem;
    }
}

@media (min-width: 1024px) {
    #home-features-grid .base-tile {
        padding: 1.625rem 1.5rem 1.5rem;
    }

    #home-features-grid .base-content-text {
        font-size: var(--font-size-lg);
        line-height: 1.58;
    }
}
