/* ======================= Hero Section ============================ */


* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
        }

        .team-we {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 120px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .team-we::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: moveBackground 20s linear infinite;
        }

        @keyframes moveBackground {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(50px, 50px);
            }
        }

        .floating-icons {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .floating-icon {
            position: absolute;
            color: rgba(255, 255, 255, 0.15);
            font-size: 3rem;
            animation: float 6s ease-in-out infinite;
        }

        .floating-icon:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-icon:nth-child(2) {
            top: 60%;
            left: 85%;
            animation-delay: 2s;
            font-size: 2.5rem;
        }

        .floating-icon:nth-child(3) {
            top: 80%;
            left: 15%;
            animation-delay: 4s;
            font-size: 2rem;
        }

        .floating-icon:nth-child(4) {
            top: 20%;
            left: 80%;
            animation-delay: 1s;
            font-size: 2.8rem;
        }

        .floating-icon:nth-child(5) {
            top: 50%;
            left: 5%;
            animation-delay: 3s;
            font-size: 2.3rem;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-30px) rotate(5deg);
            }
        }

        .we-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .icon-container {
            margin-bottom: 30px;
            animation: scaleIn 0.6s ease-out;
        }

        .main-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 120px;
            height: 120px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            color: #ffffff;
            font-size: 3.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: pulse 2s ease-in-out infinite;
            border: 3px solid rgba(255, 255, 255, 0.3);
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.5);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .we-content h1 {
            font-size: 3.8rem;
            color: #ffffff;
            margin-bottom: 25px;
            font-weight: 700;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 0.8s ease-out;
            letter-spacing: 1px;
        }

        .tagline {
            font-size: 1.4rem;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 300;
            letter-spacing: 0.8px;
            animation: fadeInUp 1s ease-out;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .decorative-line {
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
            margin: 0 auto;
            animation: expandLine 1.2s ease-out;
        }

        @keyframes expandLine {
            from {
                width: 0;
            }
            to {
                width: 100px;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .sparkle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: white;
            border-radius: 50%;
            animation: sparkleAnim 3s ease-in-out infinite;
            opacity: 0;
        }

        .sparkle:nth-child(1) {
            top: 25%;
            left: 20%;
            animation-delay: 0.5s;
        }

        .sparkle:nth-child(2) {
            top: 70%;
            left: 75%;
            animation-delay: 1.5s;
        }

        .sparkle:nth-child(3) {
            top: 40%;
            left: 85%;
            animation-delay: 2.5s;
        }

        @keyframes sparkleAnim {
            0%, 100% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 1;
                transform: scale(1);
            }
        }

        @media (max-width: 768px) {
            .team-we {
                padding: 80px 20px;
            }

            .main-icon {
                width: 100px;
                height: 100px;
                font-size: 3rem;
            }

            .we-content h1 {
                font-size: 2.8rem;
            }

            .tagline {
                font-size: 1.2rem;
            }

            .floating-icon {
                font-size: 2rem !important;
            }
        }

        @media (max-width: 480px) {
            .main-icon {
                width: 80px;
                height: 80px;
                font-size: 2.5rem;
            }

            .we-content h1 {
                font-size: 2.2rem;
            }

            .tagline {
                font-size: 1rem;
            }

            .floating-icon {
                font-size: 1.5rem !important;
            }
        }




        /* ======================== Peronen Profil Section =========================================== */ 


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            line-height: 1.6;
        }

        .team-section {
            padding: 80px 20px;
            background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .department-section {
            margin-bottom: 80px;
        }

        .department-header {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .department-header h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 15px;
            display: inline-flex;
            align-items: center;
            gap: 15px;
        }

        .department-header h2 i {
            font-size: 2rem;
        }

        .department-verwaltung h2 { color: #667eea; }
        .department-verwaltung h2 i { color: #667eea; }

        .department-it h2 { color: #00f2fe; }
        .department-it h2 i { color: #00f2fe; }

        .department-marketing h2 { color: #f5576c; }
        .department-marketing h2 i { color: #f5576c; }

        .department-vertrieb h2 { color: #43e97b; }
        .department-vertrieb h2 i { color: #43e97b; }

        .department-kundenservice h2 { color: #fa709a; }
        .department-kundenservice h2 i { color: #fa709a; }

        .department-header p {
            font-size: 1.1rem;
            color: #6c757d;
        }

        .department-header::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, transparent, currentColor, transparent);
            margin: 20px auto 0;
            border-radius: 2px;
        }

        .department-verwaltung .department-header::after { color: #667eea; }
        .department-it .department-header::after { color: #00f2fe; }
        .department-marketing .department-header::after { color: #f5576c; }
        .department-vertrieb .department-header::after { color: #43e97b; }
        .department-kundenservice .department-header::after { color: #fa709a; }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .team-member {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .team-member:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .team-member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
        }

        .department-verwaltung .team-member::before { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .department-it .team-member::before { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .department-marketing .team-member::before { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .department-vertrieb .team-member::before { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        .department-kundenservice .team-member::before { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

        .member-photo-container {
            padding: 40px 40px 20px;
            text-align: center;
        }

        .member-photo {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            border: 6px solid;
            margin: 0 auto;
            position: relative;
            background: #f0f0f0;
        }

        .department-verwaltung .member-photo { border-color: #667eea; box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); }
        .department-it .member-photo { border-color: #00f2fe; box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3); }
        .department-marketing .member-photo { border-color: #f5576c; box-shadow: 0 8px 25px rgba(245, 87, 108, 0.3); }
        .department-vertrieb .member-photo { border-color: #43e97b; box-shadow: 0 8px 25px rgba(67, 233, 123, 0.3); }
        .department-kundenservice .member-photo { border-color: #fa709a; box-shadow: 0 8px 25px rgba(250, 112, 154, 0.3); }

        .member-photo::after {
            content: '\f007';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 70px;
            opacity: 0.3;
        }

        .department-verwaltung .member-photo::after { color: #667eea; }
        .department-it .member-photo::after { color: #00f2fe; }
        .department-marketing .member-photo::after { color: #f5576c; }
        .department-vertrieb .member-photo::after { color: #43e97b; }
        .department-kundenservice .member-photo::after { color: #fa709a; }

        .member-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .team-member:hover .member-photo img {
            transform: scale(1.1);
        }

        .member-content {
            padding: 20px 40px 40px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .member-content h3 {
            color: #2c3e50;
            font-size: 1.6rem;
            margin-bottom: 8px;
            text-align: center;
        }

        .member-role {
            text-align: center;
            color: #6c757d;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .department-verwaltung .member-role { color: #667eea; }
        .department-it .member-role { color: #00f2fe; }
        .department-marketing .member-role { color: #f5576c; }
        .department-vertrieb .member-role { color: #43e97b; }
        .department-kundenservice .member-role { color: #fa709a; }

        .member-preview {
            color: #6c757d;
            font-size: 1.05rem;
            margin-bottom: 20px;
            line-height: 1.8;
            flex: 1;
        }

        .more-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 30px;
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 1.05rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            width: 100%;
        }

        .department-verwaltung .more-btn { 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
        }
        .department-it .more-btn { 
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
            box-shadow: 0 5px 20px rgba(0, 242, 254, 0.3);
        }
        .department-marketing .more-btn { 
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); 
            box-shadow: 0 5px 20px rgba(245, 87, 108, 0.3);
        }
        .department-vertrieb .more-btn { 
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); 
            box-shadow: 0 5px 20px rgba(67, 233, 123, 0.3);
        }
        .department-kundenservice .more-btn { 
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); 
            box-shadow: 0 5px 20px rgba(250, 112, 154, 0.3);
        }

        .more-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .more-btn i {
            transition: transform 0.3s ease;
        }

        .more-btn:hover i {
            transform: translateX(5px);
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            animation: fadeIn 0.3s ease;
            overflow-y: auto;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: white;
            margin: 50px auto;
            padding: 0;
            border-radius: 20px;
            width: 90%;
            max-width: 900px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideDown 0.4s ease;
            position: relative;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            color: white;
            padding: 40px;
            border-radius: 20px 20px 0 0;
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .modal-header.verwaltung { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .modal-header.it { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
        .modal-header.marketing { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
        .modal-header.vertrieb { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
        .modal-header.kundenservice { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

        .modal-photo {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            overflow: hidden;
            border: 6px solid rgba(255, 255, 255, 0.3);
            flex-shrink: 0;
            position: relative;
            background: rgba(255, 255, 255, 0.2);
        }

        .modal-photo::after {
            content: '\f007';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 60px;
            color: white;
            opacity: 0.5;
        }

        .modal-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-header-text h2 {
            font-size: 2.2rem;
            margin: 0 0 8px 0;
        }

        .modal-header-text .modal-role {
            font-size: 1.1rem;
            opacity: 0.9;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .close-btn {
            position: absolute;
            top: 25px;
            right: 25px;
            font-size: 2.2rem;
            color: white;
            cursor: pointer;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 45px;
        }

        .member-section {
            margin-bottom: 30px;
            padding: 25px;
            background: #f8f9fa;
            border-radius: 15px;
            border-left: 5px solid;
            transition: all 0.3s ease;
        }

        .member-section.verwaltung { border-left-color: #667eea; }
        .member-section.it { border-left-color: #00f2fe; }
        .member-section.marketing { border-left-color: #f5576c; }
        .member-section.vertrieb { border-left-color: #43e97b; }
        .member-section.kundenservice { border-left-color: #fa709a; }

        .member-section:hover {
            background: #e9ecef;
            transform: translateX(5px);
        }

        .member-section h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .member-section.verwaltung h3 { color: #667eea; }
        .member-section.it h3 { color: #00f2fe; }
        .member-section.marketing h3 { color: #f5576c; }
        .member-section.vertrieb h3 { color: #43e97b; }
        .member-section.kundenservice h3 { color: #fa709a; }

        .member-section h3::before {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
        }

        .member-section:nth-child(1) h3::before { content: '\f4fc'; }
        .member-section:nth-child(2) h3::before { content: '\f59f'; }
        .member-section:nth-child(3) h3::before { content: '\f0b1'; }
        .member-section:nth-child(4) h3::before { content: '\f004'; }

        .member-section p {
            color: #495057;
            line-height: 1.9;
            font-size: 1.1rem;
        }

        @media (max-width: 1200px) {
            .team-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .team-grid {
                grid-template-columns: 1fr;
            }

            .department-header h2 {
                font-size: 2rem;
            }

            .member-photo {
                width: 150px;
                height: 150px;
            }

            .modal-content {
                width: 95%;
                margin: 20px auto;
            }

            .modal-header {
                flex-direction: column;
                text-align: center;
                padding: 30px;
            }

            .modal-photo {
                width: 120px;
                height: 120px;
            }

            .modal-header-text h2 {
                font-size: 1.8rem;
            }

            .modal-body {
                padding: 30px;
            }
        }

        @media (max-width: 480px) {
            .team-section {
                padding: 40px 15px;
            }

            .department-header h2 {
                font-size: 1.6rem;
            }

            .member-content h3 {
                font-size: 1.4rem;
            }

            .member-preview {
                font-size: 1rem;
            }
        }
