/* ========================================
   ERFOLGE-SEITE – SPEZIFISCHE STYLES
   Mobile-optimiert
======================================== */

/* Erfolge Overview - kompakte Karten-Übersicht */
.erfolge-overview {
    background: var(--gray-50);
    padding: var(--space-8) var(--space-4);
}

.erfolge-overview .success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.success-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-5);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.success-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--petrol-main);
}

.success-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--petrol-main);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-5xl);
    margin-bottom: var(--space-3);
    box-shadow: var(--shadow-lg);
}

.success-card .card-title {
    font-size: var(--text-2xl);
    color: var(--petrol-dark);
    margin-bottom: var(--space-2);
}

.success-card .card-text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-3);
    flex-grow: 1;
}

.success-card .card-link {
    color: var(--petrol-main);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.success-card:hover .card-link {
    transform: translateX(4px);
}

/* Detaillierte Erfolgsgeschichten */
.erfolge-details {
    padding: var(--space-12) var(--space-4);
    background: var(--white);
}

.erfolg-article {
    margin-bottom: var(--space-12);
    scroll-margin-top: 100px;
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.erfolg-article:last-child {
    margin-bottom: 0;
}

/* Erfolg Header */
.erfolg-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 3px solid var(--petrol-main);
}

.erfolg-icon {
    width: 80px;
    height: 80px;
    background: var(--petrol-main);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-5xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.erfolg-header-content h2 {
    font-size: var(--text-4xl);
    color: var(--petrol-main);
    margin-bottom: var(--space-2);
    line-height: 1.2;
}

.erfolg-tagline {
    font-size: var(--text-lg);
    color: var(--gray-600);
    font-weight: 500;
}

/* Erfolg Content */
.erfolg-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.erfolg-text {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: 1.8;
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
}

.erfolg-text p {
    margin-bottom: var(--space-3);
}

.erfolg-text p:last-child {
    margin-bottom: 0;
}

/* Highlight Boxes */
.erfolg-highlight {
    background: var(--gray-50);
    border-left: 4px solid var(--accent-orange);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0;
}

.erfolg-highlight h4 {
    font-size: var(--text-xl);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.erfolg-highlight p {
    color: var(--gray-700);
    margin-bottom: 0;
}

/* Stats Grid */
.erfolg-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
    margin: var(--space-5) 0;
}

.erfolg-stats .stat-box {
    background: var(--white);
    border: 2px solid var(--petrol-main);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    text-align: center;
    transition: all 0.2s ease;
}

.erfolg-stats .stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.erfolg-stats .stat-number {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--petrol-main);
    margin-bottom: var(--space-1);
}

.erfolg-stats .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 600;
}

/* Action Items */
.erfolg-actions {
    background: linear-gradient(135deg, var(--petrol-main), var(--petrol-light));
    color: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-2xl);
}

.erfolg-actions h4 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.erfolg-actions .action-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.erfolg-actions .action-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
}

.erfolg-actions .action-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--white);
    color: var(--petrol-main);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1024px) {
    .erfolg-header-content h2 {
        font-size: var(--text-3xl);
    }

    .erfolg-stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    /* Overview Karten */
    .erfolge-overview {
        padding: var(--space-6) var(--space-4);
    }

    .erfolge-overview .success-grid {
        grid-template-columns: 1fr;
    }

    .success-card {
        padding: var(--space-4);
    }

    .success-card .card-icon {
        width: 64px;
        height: 64px;
        font-size: var(--text-4xl);
    }

    .success-card .card-title {
        font-size: var(--text-xl);
    }

    /* Details */
    .erfolge-details {
        padding: var(--space-8) var(--space-4);
    }

    .erfolg-article {
        padding: var(--space-4);
        margin-bottom: var(--space-8);
    }

    /* Header */
    .erfolg-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .erfolg-icon {
        width: 64px;
        height: 64px;
        font-size: var(--text-4xl);
    }

    .erfolg-header-content h2 {
        font-size: var(--text-2xl);
    }

    .erfolg-tagline {
        font-size: var(--text-base);
    }

    /* Content */
    .erfolg-text {
        padding: var(--space-4);
    }

    /* Stats */
    .erfolg-stats {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .erfolg-stats .stat-number {
        font-size: var(--text-3xl);
    }

    /* Actions */
    .erfolg-actions {
        padding: var(--space-4);
    }

    .erfolg-actions h4 {
        font-size: var(--text-xl);
    }

    .erfolg-actions .action-list li {
        padding: var(--space-2);
        font-size: var(--text-sm);
    }
}

/* ========================================
   RESPONSIVE - KLEINE MOBILE GERÄTE
======================================== */
@media (max-width: 480px) {
    .success-card .card-icon {
        width: 56px;
        height: 56px;
        font-size: var(--text-3xl);
    }

    .erfolg-icon {
        width: 56px;
        height: 56px;
        font-size: var(--text-3xl);
    }

    .erfolg-header-content h2 {
        font-size: var(--text-xl);
    }

    .erfolg-stats .stat-number {
        font-size: var(--text-2xl);
    }

    .erfolg-highlight {
        padding: var(--space-3);
    }

    .erfolg-highlight h4 {
        font-size: var(--text-lg);
    }
}