* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    color: #333;
}

/* ===================
   NAVBAR STYLES
   =================== */


.navbar {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    box-shadow: 0 4px 20px rgba(176, 0, 32, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(176, 0, 32, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(176, 0, 32, 0.2));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.nav-items {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-list li:not(.dropdown):not(.workshop-link) a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-list li:not(.dropdown):not(.workshop-link) a:hover::before {
    left: 0;
}

.nav-list li:not(.dropdown):not(.workshop-link) a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 0, 32, 0.3);
}

/* Dropdown Styles */
.nav-list li.dropdown {
    position: relative;
}

.nav-list li.dropdown .dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1;
}

.nav-list li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    padding: 8px 0;
    z-index: 2000;
}

.nav-list li.dropdown .dropdown-content li {
    list-style: none;
}

.nav-list li.dropdown .dropdown-content li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: #fff;
}

.nav-list li.dropdown:hover .dropdown-content {
    display: block;
}

.nav-list li.dropdown .dropdown-content li a:hover {
    background-color: #b00020;
    transform: translateX(5px);
    box-shadow: none;
}

/* Workshop Link Styles */
.nav-list .workshop-link a {
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    gap: 8px;
    padding: 10px 20px;
}

.nav-list .workshop-link a:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(176, 0, 32, 0.4);
}

.nav-list .workshop-link .icon {
    font-size: 18px;
}

.nav-list .workshop-link .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 2px;
}

.nav-list .workshop-link .line1,
.nav-list .workshop-link .line2 {
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.5px;
}



/* ===================
   HERO SECTION STYLES
   =================== */

   
.team-hero {
    position: relative;
    height: 50vh;
    background: linear-gradient(135deg, rgba(176, 0, 32, 0.9) 0%, rgba(211, 47, 47, 0.85) 100%),
        url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
    animation: moveStripes 20s linear infinite;
}

@keyframes moveStripes {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(28.28px);
    }
}

.team-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.team-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.team-hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 2%;
}

.team-section {
    padding: 0px 0;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, #333 0%, #b00020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #b00020, #d32f2f);
    border-radius: 2px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.team-grid .team-card {
    flex: 1 1 250px;
    max-width: 300px;
}


.team-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(176, 0, 32, 0.1);
    scroll-margin-top: 120px;
}

.team-card.team-card-target {
    border-color: #b00020;
    box-shadow: 0 20px 45px rgba(176, 0, 32, 0.22);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b00020, #d32f2f, #e53935);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(176, 0, 32, 0.15);
    border-color: rgba(176, 0, 32, 0.3);
}

.team-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image {
    transform: scale(1.08);
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.9rem;
    color: #b00020;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(176, 0, 32, 0.1);
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 8px;
    border-radius: 8px;
}

.contact-item:hover {
    background: rgba(176, 0, 32, 0.05);
    color: #b00020;
    transform: translateX(3px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b00020, #d32f2f);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #b00020;
}

/* Responsive */
@media (max-width: 768px) {
    .team-hero {
        height: 40vh;
    }

    .team-hero-content h1 {
        font-size: 2.5rem;
    }

    .team-hero-content p {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .team-section {
        padding: 60px 0;
    }
}



/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(176, 0, 32, 0.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(-50%);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(176, 0, 32, 0.3);
    }

    to {
        text-shadow: 0 0 20px rgba(176, 0, 32, 0.5), 0 0 30px rgba(176, 0, 32, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
        border-top: 2px solid rgba(176, 0, 32, 0.5);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        padding: 18px 25px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .mobile-menu-btn {
        display: block;
        color: #fff;
    }

    .nav-list .dropdown-content {
        position: static;
        display: none;
        flex-direction: column;
        background: #1a1a1a;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .nav-list .dropdown.active .dropdown-content {
        display: flex;
    }

    .nav-list li.dropdown > a {
        justify-content: space-between;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .bg-img-wrapper {
        width: 90%;
    }

    .headline h5 {
        font-size: 1.8rem;
    }

    .bg-card h2 {
        font-size: 2.2rem;
    }
}

/* Zusätzliche Premium Styles */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(176, 0, 32, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top-span {
    color: white;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    box-shadow: 0 6px 20px rgba(176, 0, 32, 0.3);
}

/* Premium Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #b00020;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Erfolgs-Animation */
.success-animation {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.success-animation.show {
    opacity: 1;
    transform: scale(1);
}

/* Verbesserte Buttons */
.btn-outline-custom {
    background: transparent;
    border: 2px solid #b00020;
    color: #b00020;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline-custom:hover::before {
    left: 0;
}

.btn-outline-custom:hover {
    color: white;
    border-color: #b00020;
}

/* Statistik Counter */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #b00020;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(176, 0, 32, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(176, 0, 32, 0.15);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #555;
}

.testimonial-author {
    color: #b00020;
    font-weight: 700;
    font-size: 1rem;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    opacity: 0.03;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    bottom: 15%;
    left: 8%;
    animation-delay: -4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.03;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.06;
    }
}

/* Progress Bars */
.progress-custom {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-custom {
    height: 100%;
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    border-radius: 4px;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 2px solid rgba(176, 0, 32, 0.15);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-text {
    color: #666;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #b00020 0%, #d32f2f 100%);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-decline:hover {
    border-color: #b00020;
    color: #b00020;
}

@keyframes fillText {
    0% {
        color: #333;
    }

    50% {
        color: #e53935;
    }

    100% {
        color: #333;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Spalten auf Tablets */
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        /* 1 Spalte auf Smartphones */
    }
}
