/**
 * Leistungen-Seite Styles - Card-basierte Darstellung der Pflegeleistungen
 * Datei: public/assets/css/pages/leistungen.css
 * 
 * Funktionen:
 * - Grid-Layout für Service-Cards
 * - Hervorhebung des Palliative Care Schwerpunkts
 * - Info-Boxen für zusätzliche Informationen
 * - Call-to-Action Bereich
 * - Responsive Design für alle Bildschirmgrößen
 * 
 * Verwendet CSS-Variablen aus style.css:
 * --primary-color: #2c5aa0
 * --secondary-color: #f8f9fa
 * --accent-color: #e8f2ff
 * --text-dark: #2d3748
 * --text-light: #718096
 * --success-color: #48bb78
 * --border-color: #e2e8f0
 */

/* ==========================================================================
   Services Hauptbereich
   ========================================================================== */

.services-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.services-intro .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ==========================================================================
   Service Grid & Cards
   ========================================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(44, 90, 160, 0.15);
    border-color: var(--primary-color);
}

/* Card Header */
.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

/* Schwerpunkt Badge */
.service-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Card Content */
.service-content {
    margin-top: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Hervorgehobene Service Card (Palliative Versorgung) */
.service-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, #fef5f5 100%);
    border: 2px solid rgba(255, 107, 107, 0.2);
}

.service-highlight .service-icon {
    background: linear-gradient(135deg, #ffebeb, #ffe0e0);
    color: #ff6b6b;
}

/* Checklisten */
.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.list-check li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.125rem;
    color: var(--success-color);
    font-size: 0.875rem;
}

/* ==========================================================================
   Zusätzliche Informationen
   ========================================================================== */

.services-additional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Call-to-Action Bereich
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4480 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #e8f2ff;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cta-highlight {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-highlight i {
    font-size: 1.25rem;
    color: #ffd700;
}

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

.cta-note {
    color: #e8f2ff;
    font-size: 0.9rem;
    font-style: italic;
}

.cta-note i {
    margin-right: 0.25rem;
}

/* Button Styles */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    background: #f0f0f0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-highlight {
        grid-column: 1;
    }
    
    .services-additional {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}