/* =========================
   HERO
========================= */

.header-hero {
    position: relative;

    min-height: 550px;

    background-image: url('/assets/images/scheidungshero_hero_1600_900.webp');
    background-repeat: no-repeat;
    background-size: cover;

    background-position: 65% center;

    display: flex;
    align-items: flex-start;
}

/* Trennung Header - Steps (Schatten) */
.header-hero::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(249,250,248,1) 100%
    );

    pointer-events: none;
    z-index: 1;
}

/* Overlay */
.header-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.95) 35%,
            rgba(255, 255, 255, 0.75) 55%,
            rgba(255, 255, 255, 0.2) 75%,
            rgba(255, 255, 255, 0.0) 90%);
}

/* Container */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px 0 20px;
}

/* Inhalt */
.hero-content {
    max-width: 520px;
}

/* Headline */
.hero-content h1 {
    font-family: 'Caveat';
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 23px;
    letter-spacing: -1px;
    padding-top: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    animation: fadeUp 1.0s ease forwards;
}

/* Subline */
.hero-sub {
    display: inline-block;

    background: rgba(159, 203, 34, 0.65);
    color: #fff;

    padding: 10px 16px;
    border-radius: 8px;

    font-size: 16px;
    line-height: 1.4;

    margin-bottom: 0px;
    margin-top: -5px;

    max-width: 480px;
    box-shadow: 0 0 0 1px rgba(159, 203, 34, 0.4);
}


/* =========================
   HERO FEATURES  
========================= */

.hero-features {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);

    padding: 14px;
    border-radius: 10px;

    transition: all 0.2s ease;

    line-height: 1.1;

    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-feature:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-feature:nth-child(2) {
    animation-delay: 1.0s;
}

.hero-feature:nth-child(3) {
    animation-delay: 1.5s;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.hero-feature-icon {
    width: 38px;
    height: 38px;
    background: #9fcb22;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    flex-shrink: 0;
}

.hero-feature-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1px;
}

.hero-feature-text {
    font-size: 14px;
    color: #555;
}

/* =========================
   ABLAUF (STEPS)
========================= */

.steps-section {
    padding: 30px 20px;
   background:
        linear-gradient(180deg, #ffffff 0%, #f7faf5 100%),
        repeating-radial-gradient(
            circle at 0 0,
            rgba(0,0,0,0.02) 0,
            rgba(0,0,0,0.02) 1px,
            transparent 1px,
            transparent 2px
        );
    text-align: center;
    padding-bottom: 80px;
    overflow: visible;
}

.steps-eyebrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 3px;
    color: #97c220;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 18px;
    padding-bottom: 18px;
    padding-top: 10px;
    margin-bottom: 14px;
}
.steps-eyebrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    border-radius: 8px;
    background: rgba(151,194,32,0.08);
}

/* ICON */
.steps-eyebrow-icon svg {
    width: 16px;
    height: 16px;
    stroke: #97c220;
    opacity: 0.8;
}
 

.steps-title {
    font-size: clamp(22px, 5vw, 30px);
    margin-bottom: 10px;
}

.steps-sub {
    color: #666;
    margin-bottom: 60px;
    margin-top: -5px;
}

/* GRID */
.steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    position: relative;
    overflow: visible;
}

/* Linie */
.steps::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(151, 194, 32, 0.5);
    z-index: 0;
}

/* STEP */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kreis (Nummer) */
.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    background: #fff;
    border: 2px solid #97c220;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #97c220;

    margin-bottom: 25px;

    position: relative;
    z-index: 2;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

/* CARD */
.step-card {
    background: #fff;
    padding: 20px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    transition: all 0.25s ease;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

/* TITLE */
.step-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* TEXT */
.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;

}

/* ICON CONTAINER */
.step-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #97c220;
    /* VOLLES GRÜN */
    color: #fff;
    /* steuert das Icon */
    overflow: hidden;
    opacity: 0.8;
}

/* LUCIDE SVG */
.step-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    display: block;
}

/* =========================
   STEPS CTA  
========================= */

.steps-cta {
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.steps-cta-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
    z-index: 0;
}

/* Bild */
.steps-cta-image {
    position: absolute;
    right: -265px;      
    bottom: -80px;
    height: 240px;     
    width: auto;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* BUTTON */
.steps-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9fcb22, #7fb51a);
    color: #fff;
    padding: 18px 40px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow:
        0 12px 35px rgba(151,194,32,0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    opacity: 0.95;
    
}
.steps-cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    
    background: radial-gradient(
        circle at 50% 0%,
        rgba(255,255,255,0.25),
        transparent 60%
    );

    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.steps-cta-btn:hover {
    transform: translateY(-4px) scale(1.01);

    box-shadow:
        0 22px 55px rgba(151,194,32,0.5),
        0 6px 18px rgba(0,0,0,0.08);
}
.cta-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.steps-cta-btn:hover .cta-arrow {
    transform: translateX(6px);
}

/* BENEFITS ZEILE */
.steps-cta-benefits {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
    z-index: 3;
}

.steps-cta-benefits span {
    position: relative;
    z-index: 3;
}

/* Trennstrich wie im Mockup */
.steps-cta-benefits span:not(:last-child)::after {
    content: "|";
    margin-left: 18px;
    color: #ccc;
} 

.steps-cta-benefits span::before {
    content: "\2713";
    color: #97c220;    
    margin-right: 6px;
    font-size: 13px;
    position: relative;
    top: -1px;
     
}

.cta-text {
    position: relative;
    z-index: 2;
}


/* =========================
   COMPARE SECTION
========================= */

.compare-section {
    position: relative;
    padding: 100px 20px 80px;

    background:
        linear-gradient(
            180deg,
            #f7faf5 0%,     /* kommt aus steps */
            #ffffff 60%
        );

    overflow: hidden;
}

/* HEAD */
.compare-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.compare-eyebrow {
    color: #97c220;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.compare-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.compare-sub {
    color: #666;
}

/* TOP LABELS */
.compare-top {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.compare-label {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;
    border-radius: 999px;

    background: #f1f1f1;

    font-size: 14px;
    font-weight: 500;
    color: #555;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.compare-label.active {
    background: linear-gradient(
        180deg,
        rgba(151,194,32,0.18),
        rgba(151,194,32,0.10)
    );

    color: #6fa512;

    box-shadow:
        0 6px 18px rgba(151,194,32,0.15),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

.compare-label svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ROWS */
.compare-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* SINGLE ROW */
.compare-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 20px;
    align-items: stretch;
    position: relative;
}

.compare-number {
    position: absolute;
    left: -20px;
    top: 10px;

    width: 36px;
    height: 36px;
    border-radius: 50%;

    border: 2px solid #97c220;
    color: #97c220;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

/* COLUMNS */
.compare-col {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.compare-col-right {
    background: linear-gradient(180deg, #f7faf5, #eef6e8);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 15px 40px rgba(151,194,32,0.12);
    transform: scale(1.02);
}

.compare-col-right li {
    position: relative;
    padding-left: 22px;
}

.compare-col-right li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;

    color: #97c220;
    font-size: 14px;
    font-weight: 600;
}

.compare-col-left{
    position: relative;
}

/* TITLES */
.compare-col h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

/* LIST */
.compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-col li {
    margin-bottom: 8px;
    color: #555;
    font-size: 15px;
}

/* CHECK LIST */
.compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-divider::before {
    content: "→";
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #97c220;
    font-size: 18px;
}

/* CTA */
.compare-cta {
    margin-top: 60px;
    padding: 30px;
    background: #f9faf8;
    border-radius: 16px;
    text-align: center;
}

.compare-cta-text {
    font-size: 18px;
    margin-bottom: 20px;
}

.compare-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #9fcb22, #7fb51a);
    color: #fff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.compare-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.compare-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1f1f1;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.compare-col-right .compare-icon {
    background: rgba(151,194,32,0.15);
}

.compare-icon svg {
    width: 26px;
    height: 26px;
    stroke: #666;
}

.compare-col-right .compare-icon svg {
    stroke: #97c220;
}

/* =========================
   MOBIL
========================= */

@media (max-width: 1024px) {

    /* HERO */
    .header-hero {
        min-height: auto;
        padding-bottom: 40px;
        background-size: cover;
        background-position: 80% 20%;
    }

    .hero-inner {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 30px;
        font-weight: 700;
        margin-top: 0;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-features {
        max-width: 79%;
    }

    /* STEPS */
    .steps {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .steps-sub {
        font-size: 14px;
    }

    /* CARD – bereinigt */
    .step-card {
        width: 100%;
        max-width: 300px;
        border: 1px solid rgba(0,0,0,0.04);
        position: relative;
        z-index: 1;
    }

    .steps::before {
        display: none;
    }

    .step-number {
        margin-bottom: 15px;
    }

    /* =========================
       CTA FIX (NUR ERGÄNZT)
    ========================= */

    .steps-cta {
        padding: 0 10px;
        padding-top: 20px;
        margin-top: 80px;
    }

    .steps-cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 24px;
        font-size: 16px;
        opacity: 1.0;
    }

    .steps-cta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .steps-cta-benefits span::after {
        display: none;
    }

    .steps-cta-image {
        right: 90px;
        bottom: 50px;
        height: 160px;     
        width: auto;
    }
}