/* CRM Vergleich Page Specific Styles */

/* Hero Section */
.comparison-hero {
    background: linear-gradient(135deg, #005a73 0%, #0077a0 100%);
    color: white;
    padding: 4rem 0 3rem 0;
    text-align: center;
}

.comparison-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.comparison-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Selector Section */
.selector-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.selector-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.selector-card h2 {
    color: #005a73;
    margin-bottom: 0.5rem;
}

/* CRM Selector Grid */
.crm-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.crm-selector-item {
    display: block;
    cursor: pointer;
    position: relative;
}

.crm-selector-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.selector-content {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.crm-selector-item input[type="checkbox"]:checked + .selector-content {
    border-color: #005a73;
    background: #e8f4f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,90,115,0.15);
}

.selector-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.selector-logo-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #005a73, #0077a0);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto 1rem auto;
    font-size: 0.9rem;
}

.selector-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.selector-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.selector-rating span {
    color: #666;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.selector-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-free {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}

.price-from {
    color: #005a73;
    font-weight: 600;
    font-size: 0.9rem;
}

.selector-actions {
    text-align: center;
    margin-top: 2rem;
}

.selector-hint {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Comparison Section */
.comparison-section {
    padding: 3rem 0;
}

.comparison-section h2 {
    text-align: center;
    color: #005a73;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    background: #005a73;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.feature-column {
    background: #004a5e !important;
    text-align: left !important;
    min-width: 200px;
}

.crm-column {
    min-width: 180px;
}

.crm-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.crm-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.crm-header .rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffc107;
    font-size: 0.9rem;
}

.crm-header .rating span {
    color: rgba(255,255,255,0.8);
    margin-left: 0.25rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.category-header td {
    background: #f8f9fa;
    font-weight: 600;
    border-top: 2px solid #005a73;
}

.category-header h4 {
    margin: 0;
    color: #005a73;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-name {
    font-weight: 500;
    color: #333;
    background: #fafafa;
}

.feature-value {
    text-align: center;
    background: white;
}

.table-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.table-logo-placeholder {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #005a73, #0077a0);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto 0.5rem auto;
    font-size: 0.9rem;
}

/* Buttons with icons */
.btn i {
    margin-right: 0.5rem;
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: #28a745;
    color: white;
}

.badge-info {
    background: #17a2b8;
    color: white;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-muted {
    color: #6c757d;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.rating-display .fa-star {
    color: #ffc107;
}

.rating-number {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #333;
}

/* Action Cards */
.comparison-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.action-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}

.action-card h4 {
    color: #005a73;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #005a73 0%, #0077a0 100%);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .crm-selector-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .comparison-hero h1 {
        font-size: 2rem;
    }
    
    .comparison-hero .subtitle {
        font-size: 1rem;
    }
    
    .crm-selector-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-table-wrapper {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-column {
        min-width: 150px;
        font-size: 0.875rem;
    }
    
    .crm-column {
        min-width: 140px;
    }
    
    .comparison-actions {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Special button style for CRM Ratgeber with white background */
.btn-white {
    background: white;
    color: #005a73;
    border: 2px solid white;
    font-weight: 600;
}

.btn-white:hover {
    background: #f8f9fa;
    color: #004a5e;
    border-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .comparison-hero {
        padding: 2rem 0;
    }
    
    .comparison-hero h1 {
        font-size: 1.5rem;
    }
    
    .selector-card {
        padding: 1rem;
    }
    
    .comparison-table {
        min-width: 600px;
    }
}