/* Home – Layout (nur ID-Selektoren, keine Base-Klassen-Overrides) */

#home-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#home-hero.base-hero,
#home-cta .base-cta-inner {
    box-shadow: none;
}

/* #home-features-grid .base-card | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-tiles, @skill-change-provenance | Feature-Kacheln dauerhaft weiss auch bei Hover ohne Lift/Schatten */
#home-features-grid .base-card,
#home-features-grid .base-card:hover,
#home-features-grid .base-card:focus-visible,
#home-features-grid .base-card:active {
    box-shadow: none;
    background-color: #ffffff;
    transform: none;
}

/* #home-features-grid .base-card-body | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | Feature-Text schwarz auch bei Hover */
#home-features-grid .base-card-body,
#home-features-grid .base-card:hover .base-card-body {
    color: var(--color-text);
}

#home-hero {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "content"
        "visual"
        "actions";
    gap: 2rem;
    align-items: center;
}

#home-hero-content {
    width: 100%;
    grid-area: content;
}

#home-hero-visual {
    grid-area: visual;
    width: 100%;
}

#home-hero-actions {
    grid-area: actions;
}

#home-hero-headline {
    margin-bottom: 1.25rem;
    width: 100%;
}

#home-hero-title {
    display: block;
    width: 100%;
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.125rem;
    font-size: clamp(1.5rem, 3.5vw + 0.35rem, 2.5rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.12;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-teal);
    text-align: center;
    text-shadow: 0 2px 14px rgba(26, 121, 125, 0.1);
    box-sizing: border-box;
}

#home-hero-title::after {
    width: 4.5rem;
    height: 4px;
    bottom: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-teal-light) 100%);
}

#home-hero-desc {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

#home-features-grid .base-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 10rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border-radius: 1rem;
    background-color: transparent;
}

#home-features-grid .base-card-image-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 10rem;
    object-fit: contain;
    object-position: center center;
}

#home-features-grid .base-card-header {
    margin-bottom: 0.75rem;
}

#home-features-grid h3.base-headline-h3 {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0.625rem;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--color-primary);
}

#home-features-grid h3.base-headline-h3::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.25rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-teal-light) 100%);
}

/* #home-features-header | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | Section-Header volle Container-Breite */
#home-features-header {
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
}

#home-features-headline {
    text-align: left;
    margin-bottom: 1rem;
}

#home-features-headline::after {
    content: none;
    display: none;
}

#home-features-title {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding-bottom: 0.875rem;
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    text-align: left;
}

#home-features-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.5rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-teal-light) 100%);
}

#home-features-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    #home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    #home-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* #home-features-subtitle | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | Subtitle volle Header-Breite */
#home-features-subtitle {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* #home-features | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | margin-bottom 0 fuer Abstand zur Community-Section */
#home-features {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0;
    box-sizing: border-box;
}

/* #home-cta | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | padding 0 margin 3px */
#home-cta {
    margin: 3px;
    padding: 0;
    box-sizing: border-box;
}

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

#home-cta-headline {
    text-align: left;
    margin-bottom: 1rem;
}

#home-cta-headline::after {
    content: none;
    display: none;
}

#home-cta-title {
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0.2rem;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

#home-cta-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.75rem;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

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

/* #home-cta-actions | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | CTA-Buttons horizontal mittig */
#home-cta-actions {
    justify-content: center;
}

/* #home-community | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | margin 10px padding 5px volle Breite */
#home-community {
    width: 100%;
    margin: 10px;
    padding: 5px;
    box-sizing: border-box;
}

/* #home-community-inner | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | Highlight-Box weiss ohne grauen Hintergrund */
#home-community #home-community-inner {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    background-color: #ffffff;
    box-shadow: none;
    box-sizing: border-box;
}

#home-community-headline {
    margin-bottom: 0.75rem;
}

#home-community-title {
    margin-bottom: 0;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

#home-community-desc {
    margin-bottom: 0;
}

#home-community-development-desc {
    margin-bottom: 0;
}

/* #home-community-link-wrapper | Änderungsprotokoll: 2026-05-30 | composer | @skill-css-rules, @skill-change-provenance | Community-Link als Primary-Button */
#home-community-link-wrapper {
    margin-bottom: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 1024px) {
    #home-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "content visual"
            "actions visual";
        gap: 2rem 3rem;
        text-align: left;
    }

    #home-hero-desc {
        margin-left: 0;
        margin-right: 0;
    }

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

    #home-hero-title {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: 14em;
        font-size: clamp(1.625rem, 2vw + 0.65rem, 2.75rem);
        letter-spacing: 0.04em;
        line-height: 1.08;
    }

    #home-hero-title::after {
        left: 0;
        transform: none;
        width: 5rem;
    }

    #home-hero-actions {
        justify-self: start;
    }
}
