/**
 * Partner Werden Page
 * Knowledge Hub Design System
 */

/* ===============================================
   PAGE BASE
   =============================================== */

.partner-werden-page {
    background: var(--rs-white);
    min-height: 100vh;
}

/* ===============================================
   HERO SECTION (wie Knowledge Hub)
   =============================================== */

.partner-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #7c3aed 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.partner-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.partner-hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.partner-hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin: 0 0 50px 0;
    line-height: 1.6;
}

.partner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===============================================
   PRICING TABLE
   =============================================== */

.pricing-section {
    padding: 100px 20px;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.pricing-note {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 24px 0;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 6px;
    max-width: 380px;
    margin: 0 auto;
}

.billing-option {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.billing-option:hover {
    color: #1a1a1a;
}

.billing-option.active {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.save-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.2);
    color: #059669;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-option.active .save-badge {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.pricing-table-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

/* Hide mobile cards on desktop */
.mobile-pricing-cards {
    display: none;
}

/* Table Header */
.pricing-table thead th {
    background: #f9fafb;
    padding: 50px 20px 40px;
    border-bottom: 2px solid #e5e7eb;
    vertical-align: top;
}

.pricing-table thead th.feature-column {
    text-align: left;
    width: 35%;
}

.table-title {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
}

.pricing-table thead th.package-column {
    width: 21.67%;
    position: relative;
    border-left: 1px solid #e5e7eb;
}

.pricing-table thead th.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(109, 40, 217, 0.05) 100%);
    border-left: 2px solid var(--rs-purple);
    border-right: 2px solid var(--rs-purple);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--rs-purple) 0%, var(--rs-purple-dark) 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-header {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.package-header h3 {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.package-header .price {
    margin-bottom: 12px;
}

.package-header .amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--rs-purple);
    line-height: 1;
}

.package-header .period {
    font-size: 16px;
    color: #6b7280;
    font-weight: 600;
}

.package-header .tagline {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
    margin: 0;
    min-height: 20px;
}

/* Table Body */
.pricing-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #4b5563;
}

.pricing-table tbody tr.featured td {
    background: rgba(124, 58, 237, 0.02);
}

.pricing-table tbody td:nth-child(3) {
    border-left: 2px solid var(--rs-purple);
    border-right: 2px solid var(--rs-purple);
}

/* Category Rows */
.category-row td {
    background: #f9fafb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rs-purple);
    padding: 12px 20px;
    text-align: left;
}

/* Checkmarks & Crosses */
.check {
    color: #10b981;
    font-size: 20px;
    font-weight: 900;
}

.cross {
    color: #d1d5db;
    font-size: 24px;
}

/* CTA Row */
.cta-row td {
    padding: 30px 20px;
    border-bottom: none;
}

.table-cta {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--rs-purple) 0%, var(--rs-purple-dark) 100%);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.table-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    color: white;
}

.table-cta.featured {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.table-cta.featured:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ===============================================
   BENEFITS SECTION (Clean Startseiten-Stil)
   =============================================== */

.benefits-section {
    padding: 100px 20px;
    background: white;
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.benefits-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--rs-purple);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.benefits-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.benefits-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card {
    background: #f9fafb;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--rs-purple);
    background: white;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.benefit-icon svg {
    stroke: var(--rs-purple);
}

.benefit-card:hover .benefit-icon {
    border-color: var(--rs-purple);
    background: rgba(124, 58, 237, 0.05);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.benefit-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ===============================================
   FAQ SECTION
   =============================================== */

.faq-section {
    padding: 100px 20px;
    background: #f9fafb;
}

.faq-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 60px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--rs-purple);
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: var(--rs-purple);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 28px 24px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===============================================
   CTA SECTION
   =============================================== */

.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--rs-purple) 0%, var(--rs-purple-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin: 0 0 20px 0;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 40px;
    background: white;
    color: var(--rs-purple);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    color: var(--rs-purple);
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-hero h1 {
        font-size: 48px;
    }
    
    .partner-stats {
        gap: 40px;
    }
    
    /* Tablet: Horizontal scroll für Tabelle */
    .pricing-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pricing-table {
        min-width: 900px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .partner-hero {
        padding: 80px 20px 50px;
    }
    
    .partner-hero-content {
        padding: 0;
    }
    
    .partner-hero h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .partner-hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .partner-stats {
        gap: 24px;
        flex-direction: row;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
    }
    
    .stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Section Headers */
    .section-header h2,
    .benefits-header h2,
    .faq-section h2,
    .cta-content h2 {
        font-size: 28px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .pricing-note {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .benefits-subtitle {
        font-size: 16px;
    }
    
    /* Billing Toggle */
    .billing-toggle {
        max-width: 100%;
        padding: 4px;
        gap: 4px;
    }
    
    .billing-option {
        padding: 12px 16px;
        font-size: 14px;
        flex-direction: column;
        gap: 4px;
    }
    
    .save-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    /* Benefits */
    .benefits-section {
        padding: 60px 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Pricing - Accordion Style für Mobile */
    .pricing-section {
        padding: 60px 20px;
    }
    
    .pricing-table-wrapper {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    /* Hide table on mobile, show accordion instead */
    .pricing-table {
        display: none;
    }
    
    /* Mobile Pricing Cards */
    .mobile-pricing-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-pricing-card {
        background: white;
        border-radius: 16px;
        border: 2px solid #e5e7eb;
        overflow: hidden;
    }
    
    .mobile-pricing-card.featured {
        border-color: var(--rs-purple);
        border-width: 3px;
    }
    
    .mobile-card-header {
        padding: 24px 20px;
        background: #f9fafb;
        position: relative;
    }
    
    .mobile-pricing-card.featured .mobile-card-header {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(109, 40, 217, 0.05) 100%);
    }
    
    .mobile-featured-badge {
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(135deg, var(--rs-purple) 0%, var(--rs-purple-dark) 100%);
        color: white;
        padding: 5px 16px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-card-header h3 {
        font-size: 22px;
        font-weight: 900;
        color: #1a1a1a;
        margin: 0 0 12px 0;
        text-align: center;
    }
    
    .mobile-card-header .price {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .mobile-card-header .amount {
        font-size: 36px;
        font-weight: 900;
        color: var(--rs-purple);
        line-height: 1;
    }
    
    .mobile-card-header .period {
        font-size: 15px;
        color: #6b7280;
        font-weight: 600;
        margin-left: 4px;
    }
    
    .mobile-card-header .tagline {
        font-size: 13px;
        color: #6b7280;
        font-style: italic;
        text-align: center;
        margin: 0;
    }
    
    .mobile-card-body {
        padding: 20px;
    }
    
    .mobile-feature-category {
        margin-bottom: 20px;
    }
    
    .mobile-feature-category:last-child {
        margin-bottom: 0;
    }
    
    .mobile-category-title {
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--rs-purple);
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-feature-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-feature-list li {
        font-size: 14px;
        color: #4b5563;
        padding: 8px 0 8px 24px;
        position: relative;
        line-height: 1.5;
    }
    
    .mobile-feature-list li.included::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #10b981;
        font-weight: 900;
        font-size: 16px;
    }
    
    .mobile-feature-list li.excluded {
        opacity: 0.4;
    }
    
    .mobile-feature-list li.excluded::before {
        content: '–';
        position: absolute;
        left: 0;
        color: #d1d5db;
        font-size: 20px;
    }
    
    .mobile-card-cta {
        padding: 20px;
        border-top: 1px solid #e5e7eb;
    }
    
    .mobile-cta-button {
        display: block;
        width: 100%;
        padding: 14px 20px;
        background: linear-gradient(135deg, var(--rs-purple) 0%, var(--rs-purple-dark) 100%);
        color: white;
        text-align: center;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    }
    
    .mobile-cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
        color: white;
    }
    
    .mobile-pricing-card.featured .mobile-cta-button {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    
    .mobile-pricing-card.featured .mobile-cta-button:hover {
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }
    
    .pricing-table thead th {
        padding: 40px 12px 30px;
    }
    
    .package-header h3 {
        font-size: 20px;
        height: 50px;
    }
    
    .package-header .amount {
        font-size: 32px;
    }
    
    .package-header .period {
        font-size: 14px;
    }
    
    .package-header .tagline {
        font-size: 13px;
    }
    
    .pricing-table tbody td {
        padding: 12px 12px;
        font-size: 13px;
    }
    
    .table-cta {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* FAQ */
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 20px 24px;
    }
    
    .faq-answer-content {
        padding: 0 24px 20px 24px;
        font-size: 14px;
    }
    
    /* CTA */
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Hero */
    .partner-hero {
        padding: 60px 16px 40px;
    }
    
    .partner-hero h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .partner-hero p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .partner-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    /* Headers */
    .section-header h2,
    .benefits-header h2,
    .faq-section h2,
    .cta-content h2 {
        font-size: 24px;
    }
    
    /* Sections */
    .benefits-section,
    .pricing-section,
    .faq-section,
    .cta-section {
        padding: 50px 16px;
    }
    
    .benefits-header {
        margin-bottom: 30px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* Billing Toggle */
    .billing-toggle {
        gap: 4px;
    }
    
    .billing-option {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* Mobile Pricing Cards */
    .mobile-pricing-card {
        border-radius: 12px;
    }
    
    .mobile-card-header {
        padding: 20px 16px;
    }
    
    .mobile-card-header h3 {
        font-size: 20px;
    }
    
    .mobile-card-header .amount {
        font-size: 32px;
    }
    
    .mobile-card-body {
        padding: 16px;
    }
    
    .mobile-feature-category {
        margin-bottom: 16px;
    }
    
    .mobile-category-title {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .mobile-feature-list li {
        font-size: 13px;
        padding: 6px 0 6px 20px;
    }
    
    .mobile-card-cta {
        padding: 16px;
    }
    
    .mobile-cta-button {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 15px;
        padding: 16px 18px;
    }
    
    .faq-question::after {
        font-size: 22px;
    }
    
    .faq-answer-content {
        padding: 0 18px 16px 18px;
        font-size: 13px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 15px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 14px;
    }
}
