/* ================================================================
   TEAM-SEITE - RESPONSIVE OPTIMIERUNG
   ================================================================ */

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .team-header {
        padding: 40px 20px 30px;
    }
    
    .team-header h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .team-header p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .team-hero {
        padding: 30px 20px;
    }
    
    .team-hero-image {
        height: 220px;
        border-radius: 15px;
        margin-bottom: 25px;
    }
    
    .team-hero-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .team-quote {
        padding: 25px 20px;
    }
    
    .team-quote blockquote {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .team-quote cite {
        font-size: 14px;
    }
    
    .team-members {
        padding: 40px 20px;
    }
    
    .team-members h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .team-member {
        border-radius: 15px;
        padding: 25px 20px;
        text-align: center;
    }
    
    .team-member-photo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto 18px;
    }
    
    .team-member-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .team-member h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .team-member .role {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .team-member .description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .team-member .specialties {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
    
    .team-member .specialty {
        font-size: 11px;
        padding: 4px 8px;
        border-radius: 12px;
        background: rgba(191, 151, 97, 0.1);
        color: rgb(191, 151, 97);
        border: 1px solid rgba(191, 151, 97, 0.2);
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 16px;
        text-align: center;
    }
}

/* Mobile Small (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .team-header {
        padding: 45px 25px 35px;
    }
    
    .team-header h1 {
        font-size: 36px;
        margin-bottom: 18px;
    }
    
    .team-header p {
        font-size: 17px;
    }
    
    .team-hero {
        padding: 35px 25px;
    }
    
    .team-hero-image {
        height: 260px;
        border-radius: 18px;
        margin-bottom: 30px;
    }
    
    .team-quote {
        padding: 30px 25px;
    }
    
    .team-quote blockquote {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .team-quote cite {
        font-size: 15px;
    }
    
    .team-members {
        padding: 45px 25px;
    }
    
    .team-members h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member {
        border-radius: 16px;
        padding: 28px 25px;
    }
    
    .team-member-photo {
        width: 110px;
        height: 110px;
        margin: 0 auto 20px;
    }
    
    .team-member h3 {
        font-size: 21px;
        margin-bottom: 10px;
    }
    
    .team-member .role {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .team-member .description {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .team-member .specialty {
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 14px;
    }
    
    .cta-section {
        padding: 45px 25px;
    }
    
    .cta-section h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }
    
    .cta-section p {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 18px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 16px 28px;
        font-size: 17px;
    }
}

/* Tablet Portrait (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .team-header {
        padding: 50px 30px 40px;
    }
    
    .team-header h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .team-header p {
        font-size: 18px;
    }
    
    .team-hero {
        padding: 40px 30px;
    }
    
    .team-hero-image {
        height: 300px;
        border-radius: 20px;
        margin-bottom: 35px;
    }
    
    .team-quote {
        padding: 35px 30px;
    }
    
    .team-quote blockquote {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .team-quote cite {
        font-size: 16px;
    }
    
    .team-members {
        padding: 50px 30px;
    }
    
    .team-members h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .team-member {
        border-radius: 18px;
        padding: 30px 25px;
    }
    
    .team-member-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto 22px;
    }
    
    .team-member h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .team-member .role {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .team-member .description {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .team-member .specialty {
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 15px;
    }
    
    .cta-section {
        padding: 50px 30px;
    }
    
    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .cta-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 180px;
        padding: 18px 25px;
        font-size: 16px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .team-header {
        padding: 55px 35px 45px;
    }
    
    .team-header h1 {
        font-size: 44px;
        margin-bottom: 22px;
    }
    
    .team-header p {
        font-size: 18px;
    }
    
    .team-hero {
        padding: 45px 35px;
    }
    
    .team-hero-image {
        height: 350px;
        border-radius: 22px;
        margin-bottom: 40px;
    }
    
    .team-quote {
        padding: 40px 35px;
    }
    
    .team-quote blockquote {
        font-size: 24px;
        margin-bottom: 22px;
    }
    
    .team-quote cite {
        font-size: 17px;
    }
    
    .team-members {
        padding: 55px 35px;
    }
    
    .team-members h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    
    .team-member {
        border-radius: 20px;
        padding: 35px 30px;
    }
    
    .team-member-photo {
        width: 130px;
        height: 130px;
        margin: 0 auto 25px;
    }
    
    .team-member h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .team-member .role {
        font-size: 16px;
        margin-bottom: 18px;
    }
    
    .team-member .description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .team-member .specialty {
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 16px;
    }
    
    .cta-section {
        padding: 55px 35px;
    }
    
    .cta-section h2 {
        font-size: 30px;
        margin-bottom: 18px;
    }
    
    .cta-section p {
        font-size: 17px;
        margin-bottom: 32px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 25px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 200px;
        padding: 19px 28px;
        font-size: 17px;
    }
}

/* Desktop Small (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .team-hero {
        padding: 50px 40px;
    }
    
    .team-hero-image {
        height: 400px;
        border-radius: 25px;
        margin-bottom: 45px;
    }
    
    .team-quote {
        padding: 45px 40px;
    }
    
    .team-quote blockquote {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .team-quote cite {
        font-size: 18px;
    }
    
    .team-members {
        padding: 60px 40px;
    }
    
    .team-members h2 {
        font-size: 34px;
        margin-bottom: 40px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .team-member {
        border-radius: 22px;
        padding: 40px 35px;
    }
    
    .team-member-photo {
        width: 140px;
        height: 140px;
        margin: 0 auto 30px;
    }
    
    .team-member h3 {
        font-size: 25px;
        margin-bottom: 18px;
    }
    
    .team-member .role {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .team-member .description {
        font-size: 16px;
        margin-bottom: 22px;
    }
    
    .team-member .specialty {
        font-size: 14px;
        padding: 7px 14px;
        border-radius: 18px;
    }
    
    .cta-section {
        padding: 60px 40px;
    }
    
    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .cta-section p {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 28px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 220px;
        padding: 20px 30px;
        font-size: 18px;
    }
}

/* Desktop Large (1367px+) */
@media (min-width: 1367px) {
    .team-hero {
        padding: 60px 50px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .team-hero-image {
        height: 450px;
        border-radius: 28px;
        margin-bottom: 50px;
    }
    
    .team-quote {
        padding: 50px 50px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .team-quote blockquote {
        font-size: 28px;
        margin-bottom: 28px;
    }
    
    .team-quote cite {
        font-size: 19px;
    }
    
    .team-members {
        padding: 70px 50px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .team-members h2 {
        font-size: 36px;
        margin-bottom: 45px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .team-member {
        border-radius: 25px;
        padding: 45px 40px;
    }
    
    .team-member-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto 35px;
    }
    
    .team-member h3 {
        font-size: 27px;
        margin-bottom: 20px;
    }
    
    .team-member .role {
        font-size: 18px;
        margin-bottom: 22px;
    }
    
    .team-member .description {
        font-size: 17px;
        margin-bottom: 25px;
    }
    
    .team-member .specialty {
        font-size: 15px;
        padding: 8px 16px;
        border-radius: 20px;
    }
    
    .cta-section {
        padding: 70px 50px;
    }
    
    .cta-section h2 {
        font-size: 36px;
        margin-bottom: 22px;
    }
    
    .cta-section p {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 35px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 250px;
        padding: 22px 35px;
        font-size: 19px;
    }
}

/* Ultra Wide Screens (1920px+) */
@media (min-width: 1920px) {
    .team-hero {
        padding: 80px 60px;
        max-width: 1600px;
    }
    
    .team-hero-image {
        height: 500px;
        border-radius: 30px;
        margin-bottom: 60px;
    }
    
    .team-quote {
        padding: 60px 60px;
        max-width: 1600px;
    }
    
    .team-quote blockquote {
        font-size: 32px;
        margin-bottom: 32px;
    }
    
    .team-quote cite {
        font-size: 21px;
    }
    
    .team-members {
        padding: 90px 60px;
        max-width: 1600px;
    }
    
    .team-members h2 {
        font-size: 40px;
        margin-bottom: 50px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .team-member {
        border-radius: 28px;
        padding: 50px 45px;
    }
    
    .team-member-photo {
        width: 170px;
        height: 170px;
        margin: 0 auto 40px;
    }
    
    .team-member h3 {
        font-size: 30px;
        margin-bottom: 25px;
    }
    
    .team-member .role {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .team-member .description {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .team-member .specialty {
        font-size: 16px;
        padding: 9px 18px;
        border-radius: 22px;
    }
    
    .cta-section {
        padding: 90px 60px;
    }
    
    .cta-section h2 {
        font-size: 40px;
        margin-bottom: 25px;
    }
    
    .cta-section p {
        font-size: 22px;
        margin-bottom: 45px;
    }
    
    .cta-buttons {
        gap: 40px;
    }
    
    .cta-button {
        max-width: 280px;
        padding: 25px 40px;
        font-size: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .team-member {
        min-height: 44px;
    }
    
    .cta-button {
        min-height: 50px;
    }
    
    .team-member:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .team-member {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .team-member-photo {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .team-member .specialty {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .cta-button {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .team-hero-image {
        border: 2px solid rgb(191, 151, 97);
    }
}

/* Print Styles */
@media print {
    .team-hero {
        padding: 20px;
    }
    
    .team-hero-image {
        height: 250px;
        border: 1px solid #000;
    }
    
    .team-quote {
        padding: 20px;
    }
    
    .team-members {
        padding: 20px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .team-member {
        border: 1px solid #000;
        padding: 20px;
    }
    
    .team-member-photo {
        width: 100px;
        height: 100px;
        border: 1px solid #000;
    }
    
    .cta-section {
        display: none;
    }
    
    .team-member h3,
    .team-quote blockquote {
        color: #000;
    }
}
