:root {
    --bg-color: #0c0c0c;
    --bg-secondary: #131313;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --accent-color: #00ff88;
    /* Neon Green */
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--accent-color);
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Re-enable for accordion content */
.accordion-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    min-height: 80vh;
}

.section-darker {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(0, 20, 10, 1) 100%);
}

/* Nav Countdown Badge */
#nav-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 0 1rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.nav-countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.nav-countdown-timer {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
}

/* Navbar */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 110px;
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

/* Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: transparent;
    border: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: blur(8px);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--bg-color) 90%);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Accordion */
.accordion-wrapper {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.accordion-header-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 2rem 0 1rem;
    letter-spacing: 1.5px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.accordion-trigger:hover {
    color: var(--text-muted);
}

.accordion-trigger::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
}

.accordion-trigger.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: var(--text-color);
}

.accordion-content p,
.accordion-content ul {
    padding-bottom: 2rem;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.7;
}

.accordion-content ul {
    padding-left: 1.5rem;
}

/* Team Section */
.team-intro {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 3rem auto 0;
}

.team-intro:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
}

.team-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-radius: 12px 0 0 0;
    opacity: 0.5;
}

.team-intro p {
    position: relative;
    border-left: none;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Car Visuals */
.car-visual {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.analyze-img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   SPONSOREN SECTION
   ============================================= */
.sponsor-card {
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem 2.5rem 2.5rem;
    margin-top: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-card+.sponsor-card {
    margin-top: 2rem;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-radius: 12px 0 0 0;
    opacity: 0.5;
}

.sponsor-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.05);
}

/* Sponsor company name heading */
.sponsor-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

/* Content row: text left, logo right */
.sponsor-body {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.sponsor-text {
    flex: 1 1 60%;
}

.sponsor-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.9;
    text-align: justify;
}

.sponsor-text p:last-child {
    margin-bottom: 0;
}

.sponsor-logo-wrapper {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-title {
    margin-bottom: 2rem;
}

.join-us {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-link {
    font-size: 1rem;
    font-family: var(--font-heading);
}

.impressum {
    font-size: 0.8rem;
    color: #555;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--accent-color);
}

.social-icon-link svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
    transition: fill 0.3s ease;
}

.social-icon-link:hover svg {
    fill: #000;
}

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mobile-nav-close:hover {
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links li a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-color);
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}

.mobile-nav-links li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* =============================================
   TABLET BREAKPOINT (768px – 1100px)
   ============================================= */
@media (max-width: 1100px) {
    #nav-countdown {
        display: none;
    }

    .sponsor-body {
        gap: 2rem;
    }

    .sponsor-logo-wrapper {
        flex: 0 0 170px;
    }
}

/* =============================================
   MOBILE BREAKPOINT (<= 768px)
   ============================================= */
@media (max-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
        min-height: auto;
    }

    .container {
        padding: 0 1.2rem;
    }

    /* Navbar */
    .sticky-nav {
        padding: 0.5rem 0;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-logo {
        height: 70px;
    }

    /* Hero */
    .hero-content {
        padding: 1rem;
    }

    .subtitle {
        font-size: 1rem;
        margin: 1rem 0 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    /* Accordion */
    .accordion-trigger {
        font-size: 0.95rem;
        padding: 1.2rem 0;
    }

    /* Team */
    .team-intro {
        margin: 1.5rem auto 0;
        padding: 1.5rem;
    }

    .team-intro p {
        text-align: left;
    }

    /* Sponsor */
    .sponsor-card {
        padding: 1.2rem 1.5rem 1.5rem;
    }

    .sponsor-body {
        flex-direction: column;
        gap: 1.5rem;
    }

    .sponsor-logo-wrapper {
        flex: none;
        width: 100%;
        max-width: 200px;
        align-self: center;
        padding: 1.2rem;
    }

    .sponsor-text p {
        text-align: left;
    }

    /* Footer */
    footer {
        padding: 3rem 0;
    }

    .join-us {
        font-size: 1rem;
    }

    .contact-link {
        font-size: 0.85rem;
        word-break: break-all;
    }
}

/* =============================================
   SMALL MOBILE (<= 420px)
   ============================================= */
@media (max-width: 420px) {

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .mobile-nav-links li a {
        font-size: 1.4rem;
    }

    .nav-logo {
        height: 58px;
    }
}