.home-page {
    background: #f4f6f9;
    color: #172033;
    overflow: hidden;
}

.home-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-hero {
    position: relative;
    padding: 86px 0 74px;
    background:
        radial-gradient(circle at 10% 18%, rgba(241, 110, 56, 0.22), transparent 31%),
        radial-gradient(circle at 90% 20%, rgba(47, 125, 109, 0.18), transparent 28%),
        linear-gradient(138deg, #12182a 0%, #1f3048 58%, #edf1f6 58%, #ffffff 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 24, 42, 0.92) 0%, rgba(18, 24, 42, 0.72) 43%, rgba(18, 24, 42, 0.04) 64%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 88px;
    background: linear-gradient(180deg, rgba(244, 246, 249, 0), #f4f6f9);
    pointer-events: none;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.86fr);
    gap: 52px;
    align-items: center;
}

.home-hero-copy {
    color: #ffffff;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(241, 110, 56, 0.12);
    color: #f16e38;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero-copy .home-eyebrow,
.home-pricing-strip .home-eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #ffd3c2;
}

.home-hero h1,
.home-section h2,
.home-cta h2 {
    margin: 16px 0 0;
    letter-spacing: 0;
    line-height: 1.05;
}

.home-hero h1 {
    max-width: 790px;
    color: #ffffff;
    font-size: clamp(2.55rem, 6.2vw, 5rem);
}

.home-hero p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.12rem;
    line-height: 1.75;
}

.home-hero-actions,
.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button-primary {
    background: #f16e38;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(241, 110, 56, 0.28);
}

.home-button-primary:hover {
    background: #d95f2f;
}

.home-button-secondary {
    background: #ffffff;
    color: #161b2e;
    box-shadow: 0 14px 34px rgba(22, 27, 46, 0.12);
}

.home-button-light {
    background: #ffffff;
    color: #161b2e;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    flex: 0 0 auto;
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-trust-row svg {
    width: 16px;
    height: 16px;
    color: #69c093;
}

.home-hero-card {
    border: 1px solid rgba(228, 234, 242, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 28px 70px rgba(22, 27, 46, 0.24);
    padding: 18px;
    backdrop-filter: blur(16px);
}

.home-hero-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #161b2e;
    color: #ffffff;
}

.home-hero-card-top img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    background: #f16e38;
}

.home-hero-card-top strong,
.home-hero-card-top span {
    display: block;
}

.home-hero-card-top span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.home-dashboard-preview {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.home-preview-main {
    padding: 18px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(241, 110, 56, 0.16), transparent 38%),
        #f4f6f9;
}

.home-preview-main span,
.home-price-teaser span {
    display: block;
    color: #677187;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-preview-main strong {
    display: block;
    margin-top: 7px;
    color: #161b2e;
    font-size: 1.35rem;
}

.home-preview-main small,
.home-price-teaser small {
    display: block;
    margin-top: 7px;
    color: #667085;
    line-height: 1.45;
}

.home-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-preview-grid span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #ffffff;
    color: #233047;
    font-size: 0.88rem;
    font-weight: 750;
}

.home-preview-grid svg,
.home-card-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 2.2;
    color: #f16e38;
}

.home-preview-grid span:nth-child(even) svg {
    color: #2f7d6d;
}

.home-price-teaser {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(47, 125, 109, 0.18);
    border-radius: 16px;
    background: #eff8f4;
}

.home-price-teaser strong {
    display: block;
    margin-top: 2px;
    color: #174f44;
    font-size: 2rem;
}

.home-section {
    padding: 76px 0;
}

.home-section-heading {
    max-width: 790px;
}

.home-section-heading.compact {
    margin-bottom: 30px;
}

.home-section h2,
.home-cta h2 {
    color: #161b2e;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.home-section-heading p,
.home-promise-text p,
.home-flow-copy p,
.home-pricing-strip p,
.home-cta p,
.home-solution-card p,
.home-step p {
    color: #596579;
    line-height: 1.7;
}

.home-promise {
    padding-bottom: 34px;
}

.home-promise-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 46px;
    align-items: end;
}

.home-promise-text {
    padding: 28px;
    border-left: 5px solid #f16e38;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(22, 27, 46, 0.07);
}

.home-promise-text p {
    margin: 0;
    font-size: 1.04rem;
}

.home-solution-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 18px;
}

.home-solution-card {
    min-height: 100%;
    padding: 28px;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(22, 27, 46, 0.08);
}

.home-solution-card.featured {
    background: #161b2e;
    color: #ffffff;
}

.home-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(241, 110, 56, 0.12);
    color: #f16e38;
}

.home-solution-card.featured .home-card-icon {
    background: rgba(255, 255, 255, 0.12);
}

.home-solution-card h3 {
    margin: 18px 0 0;
    color: #161b2e;
    font-size: 1.28rem;
}

.home-solution-card.featured h3 {
    color: #ffffff;
}

.home-solution-card p {
    margin: 12px 0 0;
}

.home-solution-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.home-solution-card a {
    display: inline-flex;
    margin-top: 22px;
    color: #f16e38;
    font-weight: 800;
    text-decoration: none;
}

.home-solution-card.featured a {
    color: #ffd3c2;
}

.home-flow {
    background:
        linear-gradient(90deg, rgba(47, 125, 109, 0.08), transparent 44%),
        #f4f6f9;
}

.home-flow-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 48px;
    align-items: center;
}

.home-flow-copy p {
    margin: 18px 0 0;
    font-size: 1.04rem;
}

.home-steps {
    display: grid;
    gap: 14px;
}

.home-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 4px;
    padding: 22px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(22, 27, 46, 0.08);
}

.home-step span {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fef3e9;
    color: #f16e38;
    font-weight: 900;
}

.home-step strong {
    color: #161b2e;
    font-size: 1.05rem;
}

.home-step p {
    margin: 0;
}

.home-pricing-strip {
    padding: 34px 0;
}

.home-pricing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(241, 110, 56, 0.18), transparent 30%),
        linear-gradient(135deg, #161b2e 0%, #26364d 100%);
    box-shadow: 0 24px 60px rgba(22, 27, 46, 0.16);
}

.home-pricing-inner h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.home-pricing-inner p {
    max-width: 780px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.home-cta {
    padding: 34px 0 76px;
    background: #f4f6f9;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border: 1px solid #e4eaf2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(22, 27, 46, 0.1);
}

.home-cta h2 {
    max-width: 760px;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.home-cta p {
    max-width: 680px;
    margin: 14px 0 0;
}

.home-cta-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (max-width: 980px) {
    .home-hero {
        background: linear-gradient(150deg, #12182a 0%, #26364d 74%, #edf1f6 74%, #ffffff 100%);
        padding-top: 58px;
    }

    .home-hero-grid,
    .home-promise-grid,
    .home-flow-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-card {
        max-width: 640px;
    }

    .home-solution-grid {
        grid-template-columns: 1fr;
    }

    .home-solution-card.featured {
        order: -1;
    }

    .home-pricing-inner,
    .home-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .home-container {
        width: min(100% - 24px, 1180px);
    }

    .home-hero {
        padding: 42px 0 52px;
    }

    .home-hero-grid {
        gap: 30px;
    }

    .home-hero p,
    .home-promise-text p,
    .home-flow-copy p,
    .home-pricing-inner p,
    .home-cta p {
        font-size: 1rem;
    }

    .home-hero-actions,
    .home-cta-actions {
        width: 100%;
    }

    .home-button {
        width: 100%;
    }

    .home-hero-card,
    .home-solution-card,
    .home-promise-text,
    .home-step,
    .home-pricing-inner,
    .home-cta-inner {
        padding: 20px;
    }

    .home-preview-grid {
        grid-template-columns: 1fr;
    }

    .home-step {
        grid-template-columns: 1fr;
    }

    .home-section {
        padding: 54px 0;
    }
}

/* Kontrast-Schutz: verhindert helle Schrift auf hellen Karten, auch wenn globale Styles eingreifen */
.home-hero-card,
.home-hero-card p,
.home-preview-main,
.home-preview-main p,
.home-preview-grid span,
.home-price-teaser,
.home-price-teaser p {
    color: #172033;
}

.home-hero-card a:not(.home-button),
.home-preview-main a:not(.home-button),
.home-price-teaser a:not(.home-button) {
    color: #d95f2f;
}

.home-hero .home-button-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.home-hero .home-button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
}
