/**
 * CSS für die Über-uns-Seite
 */

/* About Intro Section */
.about-intro {
    margin-bottom: 80px;
}

.about-intro h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}

.about-intro h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text {
    padding: 30px;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.intro-text p {
    margin-bottom: 20px;
    color: var(--silver-color);
    line-height: 1.8;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-image::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid var(--accent-color);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Values Section */
.values-section {
    margin-bottom: 80px;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}

.values-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
    opacity: 0;
}

.values-grid .value-item:nth-child(1) { --animation-order: 1; }
.values-grid .value-item:nth-child(2) { --animation-order: 2; }
.values-grid .value-item:nth-child(3) { --animation-order: 3; }
.values-grid .value-item:nth-child(4) { --animation-order: 4; }

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
}

.value-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    transform: rotateY(180deg);
}

.value-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.value-item p {
    color: var(--silver-color);
    line-height: 1.7;
}

/* History Timeline */
.history-section {
    margin-bottom: 80px;
}

.history-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}

.history-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-badge {
    min-width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.7), 0 0 0 8px rgba(212, 175, 55, 0.3);
}

.timeline-badge span {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-bg);
}

.timeline-content {
    width: calc(50% - 50px);
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px;
    position: absolute;
    left: calc(50% + 50px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
    left: auto;
    right: calc(50% + 50px);
    text-align: right;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 100%;
    border: 10px solid transparent;
    border-right-color: rgba(212, 175, 55, 0.3);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: auto;
    left: 100%;
    border-right-color: transparent;
    border-left-color: rgba(212, 175, 55, 0.3);
}

.timeline-content h3 {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--silver-color);
    margin-bottom: 0;
}

/* Team Section */
.team-section {
    margin-bottom: 80px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}

.team-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--accent-color);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.member-position {
    color: var(--silver-color);
    font-style: italic;
    margin-bottom: 15px;
    font-size: 14px;
}

.member-description {
    color: var(--silver-color);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Testimonial Section */
.testimonials-section {
    margin-bottom: 80px;
    background-color: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-content {
    position: relative;
    padding: 30px;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 60px;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content::after {
    content: '\201D';
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 60px;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 0;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    color: var(--silver-color);
    line-height: 1.8;
    margin-bottom: 0;
}

.testimonial-author {
    margin-top: 20px;
    color: var(--light-text);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    margin-bottom: 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(139, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url('/assets/images/cta-bg.jpg') center/cover no-repeat fixed;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(212, 175, 55, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(212, 175, 55, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(212, 175, 55, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(212, 175, 55, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--silver-color);
}

.cta-content .btn {
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-content {
        width: calc(50% - 30px);
    }
    
    .timeline-badge {
        min-width: 60px;
        height: 60px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-badge {
        min-width: 50px;
        height: 50px;
        left: 30px;
        position: absolute;
        transform: translateX(-50%);
    }
    
    .timeline-badge span {
        font-size: 16px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        position: static;
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        left: auto;
        right: auto;
        text-align: left;
    }
    
    .timeline-content::before, 
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        height: 250px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image {
        height: 300px;
    }
    
    .timeline-badge {
        min-width: 40px;
        height: 40px;
    }
    
    .timeline-badge span {
        font-size: 14px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 18px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}
/* Timeline-Animation */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Value-Items Animation */
.value-item.visible {
    opacity: 1;
}