/**
 * Über uns Seite Styles
 * Extrahiert aus ueber-uns.php für bessere Wartbarkeit
 */

/* Section Spacing */
.section-small {
    padding: 2rem 0;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Component */
.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card.bg-light {
    background-color: #f8f9fa;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.leader-image-container {
    position: relative;
    background-color: #006581;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.leader-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.leader-image-placeholder .icon {
    font-size: 6rem;
    margin-bottom: 1rem;
}

.leader-image-placeholder p {
    opacity: 0.8;
}

.leader-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #333;
}

.leader-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #005a73;
    font-weight: bold;
}

.leader-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Expertise Cards */
.expertise-card {
    background-color: rgba(0, 90, 115, 0.05);
    border-left: 4px solid #005a73;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.expertise-card.accent {
    background-color: rgba(215, 167, 79, 0.1);
    border-left-color: #d7a74f;
}

.expertise-card h4 {
    color: #005a73;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.expertise-card.accent h4 {
    color: #d7a74f;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card li {
    padding: 0.25rem 0;
    color: #333;
}

/* Blockquote */
.leader-quote {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #006581;
    font-style: italic;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
    color: #333;
}

/* Text Utilities */
.text-primary {
    color: #005a73;
}

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

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #005a73;
    transition: all 0.3s ease;
    color: #333;
    position: relative;
    overflow: hidden;
}

.feature-list li:nth-child(even) {
    border-left-color: #d7a74f;
}

.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #28a745;
    font-size: 1.5rem;
    opacity: 0.2;
}

.feature-list strong {
    color: #005a73;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background-color: #006581;
    color: #ffffff;
    padding: 3rem 0;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

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

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: white;
    color: #006581;
}

/* Background Sections */
.bg-light {
    background-color: #f8f9fa;
}

/* Margin Utilities */
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

/* Responsive Design */
@media (max-width: 768px) {
    .leader-image-container {
        height: 350px;
    }
    
    .leader-name {
        font-size: 2rem;
    }
    
    .leader-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .expertise-card {
        margin-bottom: 1rem;
    }
    
    .grid {
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .cta-section {
        display: none;
    }
    
    .leader-image-container {
        display: none;
    }
}