/* Custom cursor nur auf Geräten mit Maus */
@media (hover: hover) and (pointer: fine) {
    html, body, input, textarea, button, select, *:focus, *:active {
        cursor: none !important;
    }
    input, textarea {
        cursor: none;
    }
}
input, textarea {
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
input:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255,51,51,0.3);
}


:root {
    --bg-color: #0d0d0d;
    --text-color: #f0f0f0;
    --primary-color: #ff3333; /* Race Red */
    --secondary-color: #222;
    --accent-color: #ffffff;
    --font-orbitron: 'Orbitron', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* cursor: none; Custom cursor deaktiviert */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-roboto);
    overflow-x: hidden;
    /* cursor: none !important; Custom cursor deaktiviert */
}

/* Custom Cursor – nur auf Desktop sichtbar */
@media (hover: none) {
    .cursor, .cursor-follower { display: none !important; }
}

.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, background 0.2s;
    background: transparent;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

a, button, .interactive-card {
    /* cursor: none; Hide default cursor on interactive elements too - js will handle hover state */
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background: #111;
    box-shadow: 0 2px 12px rgba(255,51,51,0.15);
}

.highlight {
    color: var(--primary-color);
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-orbitron);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    padding: 10px 25px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 2px; /* Sharp corners for tech feel */
    font-family: var(--font-orbitron);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background: white;
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #222 0%, #000 100%);
    z-index: -1;
    /* Simulate speed lines or road texture could go here */
}

.hero-content h1 {
    font-family: var(--font-orbitron);
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    padding: 15px 30px;
    border: none;
    font-family: var(--font-orbitron);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: none;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn.disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    position: relative;
}

.badge {
    background: #444;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: none;
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
}

.secondary-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Features Section */
.features {
    padding: 80px 60px;
    background: #111;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-orbitron);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.line {
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.feature-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 5px;
    border-top: 3px solid transparent;
    transition: all var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-orbitron);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.showcase-text {
    flex: 1;
    min-width: 280px;
}

.showcase-text h3 {
    font-family: var(--font-orbitron);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.showcase-text p {
    color: #aaa;
    line-height: 1.7;
    font-size: 1rem;
}

.showcase-image {
    flex: 1.2;
    min-width: 300px;
    max-width: 680px;
    aspect-ratio: 4/3;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.25), 0 8px 32px rgba(0,0,0,0.8);
    background: #0d0d0d;
}

.showcase-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* News Section */
.news {
    padding: 100px 50px;
    background: var(--bg-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: #111;
    padding: 30px;
    border-left: 2px solid var(--primary-color);
}

.news-item .date {
    font-size: 0.8rem;
    color: #fc3333;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-orbitron);
}

.news-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.news-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.news-detail.open {
    max-height: 400px;
    padding: 15px 0 0;
}

.news-detail p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
    border-left: 2px solid var(--primary-color);
    padding-left: 12px;
}

.news-item .read-more {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    transition: color 0.3s;
    font-family: var(--font-orbitron);
    letter-spacing: 0.5px;
}

.news-item .read-more::after {
    content: '▼';
    font-size: 0.6rem;
    transition: transform 0.3s;
}

.news-item .read-more.open::after {
    transform: rotate(180deg);
}

.news-item .read-more:hover {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.cta-content h2 {
    font-family: var(--font-orbitron);
    font-size: 3rem;
    margin-bottom: 20px;
}

.signup-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form input {
    padding: 15px 20px;
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: white;
    font-family: var(--font-roboto);
    font-size: 1rem;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

.signup-form label {
    align-self: flex-start;
    color: #fff;
    font-family: var(--font-orbitron);
    font-size: 1rem;
    margin-bottom: 2px;
    margin-top: 10px;
    width: 100%;
    text-align: left;
}

.signup-form label:first-child {
    margin-top: 0;
}

.primary-btn {
    padding: 15px 30px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-family: var(--font-orbitron);
    font-weight: 700;
    text-transform: uppercase;
    cursor: none;
    transition: background 0.3s;
}

.primary-btn:hover {
    background: #cc0000;
}

/* Footer */
footer {
    padding: 50px;
    background: #0a0a0a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-orbitron);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.founders-list {
    list-style: none;
}

.founders-list li {
    margin-bottom: 10px;
    color: #aaa;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #444;
    padding-top: 20px;
    border-top: 1px solid #222;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Hamburger Menu ──────────────────────────────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ─── Responsiveness ──────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Header */
    header {
        padding: 10px 16px;
        flex-wrap: nowrap;
        gap: 10px;
        align-items: center;
    }
    .logo-img {
        height: 46px;
        width: 46px;
        flex-shrink: 0;
    }
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 12px;
    }
    .header-cta {
        display: inline-flex !important;
        padding: 6px 12px !important;
        font-size: 0.6rem !important;
        letter-spacing: 0.5px;
        white-space: nowrap;
        flex: 0 0 auto;
        margin-left: auto;
        height: 30px;
        align-items: center;
        width: auto !important;
    }
    .header-cta i { display: none; }
    .cta-desktop { display: none; }
    .cta-mobile  { display: inline; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        transform: none;
        width: 100%;
        background: rgba(13,13,13,0.97);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }
    nav.open {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    nav ul li a {
        display: block;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Features */
    .features {
        padding: 60px 20px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 50px;
    }
    .feature-showcase {
        flex-direction: column;
        gap: 30px;
    }
    .showcase-text h3 {
        font-size: 1.4rem;
    }
    .showcase-image {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 3/2;
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 30px rgba(255, 51, 51, 0.25), 0 8px 32px rgba(0,0,0,0.8);
        border-radius: 10px;
    }
    .showcase-image video {
        object-fit: cover;
        position: absolute;
        width: 104%;
        height: 104%;
        top: -7%;
        left: -2%;
    }

    /* CTA / Anmeldung */
    .cta-section {
        padding: 60px 20px;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .cta-content > p {
        font-size: 1.05rem;
    }
    .signup-form {
        max-width: 100%;
        padding: 0 4px;
    }
    .signup-form input {
        font-size: 16px;
        padding: 14px 16px;
    }
    .signup-form label {
        font-size: 0.85rem !important;
    }
    .primary-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    /* News */
    .news {
        padding: 60px 20px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* News */
    .news-item h4 {
        font-size: 1.2rem;
    }
    .news-item p, .news-detail p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Footer */
    footer {
        padding: 40px 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    .footer-col p, .footer-col a, .founders-list li {
        font-size: 1rem;
    }
    .footer-col h3 {
        font-size: 1.1rem;
    }
    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Feature Cards */
    .feature-card h3 {
        font-size: 1.25rem;
    }
    .feature-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .showcase-text p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
}
