/* Team Page Specific Styles */

.team-header {
    padding: 60px 40px 40px;
    text-align: center;
    background: rgb(250, 243, 231);
    border-bottom: 1px solid rgba(191, 151, 97, 0.2);
}

.team-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgb(191, 151, 97);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.team-intro {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Team Photo Section - Wie auf der Startseite */
.team-photo-section {
    background: rgb(250, 243, 231);
    position: relative;
    overflow: hidden;
}

.team-photo-container {
    width: 100%;
    height: 70vh;
    position: relative;
    min-height: 500px;
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333, #555);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(191, 151, 97);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}

.photo-icon {
    font-size: 60px;
    margin-top: 20px;
    opacity: 0.7;
}

/* Echtes Teamfoto */
.team-image {
    width: 100%;
    height: auto;
    max-height: calc(70vh - 50px);
    object-fit: contain;
    object-position: center;
    background-color: rgb(250, 243, 231);
    display: block;
}

/* Name Tags - Exakt wie auf der Startseite */
.name-tag {
    position: absolute;
    background: rgba(191, 151, 97, 0.9);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.name-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Positioning für jedes Teammitglied (wie auf der Startseite) */
.name-tag-1 {
    bottom: 10%;
    left: 15%;
}

.name-tag-2 {
    bottom: 10%;
    left: 35%;
}

.name-tag-3 {
    bottom: 10%;
    left: 55%;
}

.name-tag-4 {
    bottom: 10%;
    left: 75%;
}

/* Team Quote Section */
.team-quote-section {
    background: rgb(250, 243, 231);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(191, 151, 97, 0.1);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.team-quote {
    margin: 0;
    padding: 0;
    position: relative;
}

.team-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: rgb(191, 151, 97);
    line-height: 1.6;
    margin: 0;
    padding: 0 40px;
    position: relative;
    font-style: italic;
    letter-spacing: 0.5px;
}

.team-quote p::before {
    content: '\201C';
    font-size: 60px;
    color: rgba(191, 151, 97, 0.3);
    position: absolute;
    left: 0;
    top: -10px;
    font-family: serif;
    line-height: 1;
}

.team-quote p::after {
    content: '\201D';
    font-size: 60px;
    color: rgba(191, 151, 97, 0.3);
    position: absolute;
    right: 0;
    bottom: -20px;
    font-family: serif;
    line-height: 1;
}

.quote-author {
    margin-top: 30px;
}

.quote-author span {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Team Details Section */
.team-details {
    background: rgb(250, 243, 231);
    padding: 40px 40px 80px;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: rgba(191, 151, 97, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    border: 2px solid rgb(191, 151, 97);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(191, 151, 97, 0.2);
    border-color: rgb(160, 120, 75);
}

.member-photo-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(191, 151, 97, 0.1);
    position: relative;
}

.member-icon {
    font-size: 40px;
    margin-top: 10px;
    color: rgb(191, 151, 97);
}

/* Echte Mitarbeiterfotos */
.member-photo {
    height: 500px;
    overflow: hidden;
    border-bottom: 1px solid rgba(191, 151, 97, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    transition: transform 0.3s ease;
}

/* Spezieller Zoom für Nicole Beatrice Gottlieb */
.team-member:first-child .member-image {
    transform: scale(1.15);
}

/* Hover-Effekt für Nicole Beatrice Gottlieb bleibt bestehen */
.team-member:first-child:hover .member-image {
    transform: scale(1.2);
}

/* Spezieller Zoom für Sabrina Walther */
.team-member:nth-child(2) .member-image {
    transform: scale(1.15);
}

/* Hover-Effekt für Sabrina bleibt bestehen */
.team-member:nth-child(2):hover .member-image {
    transform: scale(1.2);
}

.team-member:hover .member-image {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: rgb(191, 151, 97);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.member-role {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
    font-style: italic;
}

.member-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialty {
    background: rgba(191, 151, 97, 0.1);
    color: rgb(191, 151, 97);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(191, 151, 97, 0.2);
}

/* Team Philosophy Section */
.team-philosophy {
    background: rgb(250, 243, 231);
    padding: 80px 40px;
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
    color: rgb(191, 151, 97);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.philosophy-item {
    text-align: center;
    padding: 30px 20px;
    background: rgb(250, 243, 231);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgb(191, 151, 97);
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(191, 151, 97, 0.3);
}

.philosophy-icon {
    font-size: 40px;
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: rgb(191, 151, 97);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.philosophy-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Team Contact CTA */
.team-contact-cta {
    background: linear-gradient(135deg, rgb(191, 151, 97), rgb(160, 120, 75));
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.team-contact-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-contact-cta p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #fff;
    color: rgb(191, 151, 97);
}

.cta-button.primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-button.secondary:hover {
    background: #fff;
    color: rgb(191, 151, 97);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .team-details {
        padding: 30px 30px 60px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-member {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .team-header {
        padding: 40px 20px 30px;
    }
    
    .team-header h1 {
        font-size: 36px;
    }
    
    .team-intro {
        font-size: 16px;
    }
    
    .team-photo-container {
        height: 50vh;
        min-height: 400px;
    }
    
    .team-image-placeholder {
        font-size: 18px;
    }
    
    .photo-icon {
        font-size: 40px;
    }
    
    .name-tag {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .team-quote-section {
        padding: 40px 20px;
    }
    
    .team-quote p {
        font-size: 22px;
        padding: 0 30px;
    }
    
    .team-quote p::before {
        font-size: 50px;
        top: -8px;
    }
    
    .team-quote p::after {
        font-size: 50px;
        bottom: -15px;
    }
    
    .team-details {
        padding: 25px 20px 50px;
    }
    
    .team-members-grid {
        gap: 30px;
    }
    
    .member-info {
        padding: 25px;
    }
    
    .member-info h3 {
        font-size: 24px;
    }
    
    .member-photo {
        height: 450px;
    }
    
    .member-image {
        object-fit: cover;
        object-position: center 10%;
    }
    
    .team-philosophy {
        padding: 60px 20px;
    }
    
    .philosophy-content h2 {
        font-size: 32px;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .team-contact-cta {
        padding: 50px 20px;
    }
    
    .team-contact-cta h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .team-photo-container {
        height: 40vh;
        min-height: 300px;
    }
    
    .name-tag {
        position: relative;
        display: inline-block;
        margin: 10px 5px;
        position: absolute;
    }
    
    /* Responsive name tag positioning */
    .name-tag-1 {
        bottom: 15%;
        left: 10%;
    }
    
    .name-tag-2 {
        bottom: 15%;
        left: 30%;
    }
    
    .name-tag-3 {
        bottom: 8%;
        left: 10%;
    }
    
    .name-tag-4 {
        bottom: 8%;
        left: 30%;
    }
    
    .team-quote-section {
        padding: 30px 15px;
    }
    
    .team-quote p {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .team-quote p::before {
        font-size: 40px;
        top: -5px;
    }
    
    .team-quote p::after {
        font-size: 40px;
        bottom: -10px;
    }
    
    .member-photo-placeholder {
        height: 250px;
    }
    
    .member-photo {
        height: 400px;
    }
    
    .member-image {
        object-fit: cover;
        object-position: center 15%;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.name-tag {
    animation: fadeIn 0.8s ease-out;
}

.name-tag-1 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.name-tag-2 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
.name-tag-3 { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }
.name-tag-4 { animation-delay: 0.8s; opacity: 0; animation-fill-mode: forwards; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}