html {
    scroll-behavior: smooth;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-teal: #4A9B9B;
            --accent-gold: #F5B041;
            --bg-dark: #0A0A0A;
            --bg-card: #1A1A1A;
            --text-primary: #FFFFFF;
            --text-secondary: #B0B0B0;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.6;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid rgba(74, 155, 155, 0.2);
        }

        nav {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-teal);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo svg {
            width: 40px;
            height: 40px;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--primary-teal);
        }

        .btn-primary {
            background: var(--primary-teal);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary:hover {
            background: #3D8282;
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(74, 155, 155, 0.4);
        }

        /* Hero Section */
        .hero {
            margin-top: 80px;
            min-height: 800px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 26, 0.8)),
                        url('../img/hero-bg.jpg');
            background-size: cover;
            background-position: center;
            padding: 4rem 2rem;
            position: relative;
            -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 80%, transparent 100%);

        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(74, 155, 155, 0.15);
            border: 1px solid var(--primary-teal);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-bottom: 2rem;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero .highlight {
            background: linear-gradient(135deg, var(--primary-teal), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            padding: 0.75rem 1.5rem;
            border: 2px solid var(--text-secondary);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .btn-secondary:hover {
            border-color: var(--primary-teal);
            color: var(--primary-teal);
        }

        .hero-stats {
            display: flex;
            gap: 3rem;
            justify-content: center;
            margin-top: 3rem;
            flex-wrap: wrap;
        }

        .stat {
            text-align: center;
        }

        .stat-value {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-teal);
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Info Section */
        .info-section {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .highlight {
            background: linear-gradient(135deg, var(--primary-teal), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        .section-animated-title {
            background: linear-gradient(135deg, var(--primary-teal), var(--accent-gold));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s linear infinite;
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-secondary);
            max-width: 700px;
            margin: 0 auto 4rem;
            font-size: 1.1rem;
        }

        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .info-card {
            background: var(--bg-card);
            border: 1px solid rgba(74, 155, 155, 0.2);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s;
        }

        .info-card:hover {
            border-color: var(--primary-teal);
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(74, 155, 155, 0.2);
        }

        .card-icon {
            width: 50px;
            height: 50px;
            background: rgba(74, 155, 155, 0.15);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

        .card-label {
            font-size: 0.85rem;
            color: var(--accent-gold);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .card-desc {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* How It Works */
        .how-it-works {
            background: var(--bg-card);
            border: 1px solid rgba(74, 155, 155, 0.2);
            border-radius: 12px;
            padding: 3rem 2rem;
            margin-bottom: 4rem;
        }

        .how-it-works h3 {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 3rem;
        }

        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .step {
            text-align: center;
        }

        .step-number {
            width: 50px;
            height: 50px;
            background: var(--accent-gold);
            color: var(--bg-dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 1rem;
        }

        .step h4 {
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .step p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* Sponsor Packages */
        .sponsor-packages {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .package {
            background: var(--bg-card);
            border: 2px solid rgba(74, 155, 155, 0.3);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s;
            position: relative;
        }

        .package:hover {
            transform: scale(1.05);
            border-color: var(--primary-teal);
        }

        .package.featured {
            border-color: var(--accent-gold);
            box-shadow: 0 0 30px rgba(245, 176, 65, 0.3);
        }

        .package-badge {
            position: absolute;
            top: -15px;
            right: 20px;
            color: var(--accent-gold);
        }

        .package h4 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .package-price {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary-teal);
            margin-bottom: 1.5rem;
        }

        .package ul {
            list-style: none;
        }

        .package li {
            padding: 0.5rem 0;
            color: var(--text-secondary);
            display: flex;
            align-items: start;
            gap: 0.5rem;
        }

        .package li::before {
            content: "→";
            color: var(--primary-teal);
            font-weight: bold;
        }

        /* Registration Form */
        .registration {
            padding: 6rem 2rem;
            background: transparent;
        }

        .form-container {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(10, 10, 10, 0.5);
            border: 1px solid rgba(55, 155, 155, 0.2);
            border-radius: 12px;
            padding: 3rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        input, select {
            width: 100%;
            padding: 0.75rem;
            background: var(--bg-dark);
            border: 1px solid rgba(74, 155, 155, 0.3);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 1rem;
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--primary-teal);
            box-shadow: 0 0 0 3px rgba(74, 155, 155, 0.1);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .submit-btn {
            width: 100%;
            background: var(--primary-teal);
            color: white;
            padding: 1rem;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1rem;
        }

        .submit-btn:hover {
            background: #3D8282;
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(55, 155, 155, 0.4);
        }

        .form-note {
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.75rem;
            margin-top: 1rem;
        }

        /* Popup Styles */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            display: none; /* Initial versteckt */
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }

        .popup-content {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid var(--primary-teal);
            text-align: center;
            max-width: 400px;
            animation: popupFadeIn 0.3s ease-out;
        }

        @keyframes popupFadeIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .popup-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .popup-content h2 {
            color: var(--primary-teal);
            margin-bottom: 1rem;
        }

        .popup-content p {
            color: var(--text-secondary);
            margin-bottom: 2rem;
        }

        /* Footer */
        footer {
            background: var(--bg-dark);
            border-top: 1px solid rgba(55, 155, 155, 0.2);
            padding: 3rem 2rem;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
        }

        .footer-section h4 {
            margin-bottom: 1rem;
            color: var(--primary-teal);
        }

        .footer-section p, .footer-section a {
            color: var(--text-secondary);
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
        }

        .footer-section a:hover {
            color: var(--primary-teal);
        }

        .footer-bottom {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(74, 155, 155, 0.2);
        }

        .footer-bottom-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative; 
            padding-left: 0;
            padding-right: 0;
        }

        .footer-center-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none; 
        }

        .footer-side {
            flex: 1;
        }

        .footer-left {
            text-align: left;
        }

        .footer-right {
            text-align: right;
        }

        .footer-center {
            flex: 0 0 auto;
            text-align: center;
        }

        .footer-center img {
            height: 50px;
            display: block;
        }

        .insta-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(55, 155, 155, 0.2); 
            color: #888; 
            transition: all 0.3s ease;
        }

        .insta-link svg {
            width: 24px;
            height: 24px;
        }

        .insta-link:hover {
            background: var(--primary-teal); /* Blau beim Hovern */
            color: white; /* Icon wird weiß beim Hovern */
            transform: translateY(-3px);
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

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

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

            .hero-stats {
                gap: 2rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .sponsor-packages {
                grid-template-columns: 1fr;
            }
            .footer-bottom-container {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }
            .footer-center-logo {
                position: static;
                transform: none;
                order: -1; /* Logo nach oben auf Mobile */
            }
            .footer-credit {
                text-align: center;
            }
        }