/* --- LOKALE SCHRIFTARTEN (FONTS) --- */

/* INTER (Body) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/inter-v20-latin-300.woff2') format('woff2'),
         url('fonts/inter-v20-latin-300.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'),
         url('fonts/inter-v20-latin-regular.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2'),
         url('fonts/inter-v20-latin-600.woff') format('woff');
}

/* ORBITRON (Headlines) */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/orbitron-v35-latin-500.woff2') format('woff2'),
         url('fonts/orbitron-v35-latin-500.woff') format('woff');
}
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/orbitron-v35-latin-700.woff2') format('woff2'),
         url('fonts/orbitron-v35-latin-700.woff') format('woff');
}
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/orbitron-v35-latin-900.woff2') format('woff2'),
         url('fonts/orbitron-v35-latin-900.woff') format('woff');
}


/* --- CSS VARIABLEN & RESET --- */
:root {
    --bg-dark: #05080c;
    --bg-card: #0e121b;
    --neon-cyan: #00f3ff;
    --neon-purple: #9d00ff;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Body: Flexbox sorgt für Sticky Footer (Footer immer unten) */
body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    font-family: var(--font-body); 
    overflow-x: hidden; 
    line-height: 1.6; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

/* --- GRID BG --- */
.grid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; pointer-events: none; }

/* --- NAVIGATION --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background: rgba(5, 8, 12, 0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Logo Styles */
.logo { 
    font-family: var(--font-tech); 
    font-size: 1.8rem; 
    font-weight: 900; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    text-decoration: none; 
    cursor: pointer;
}
.logo span.tk { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,243,255,0.5); }
.logo span.ode { color: var(--neon-purple); text-shadow: 0 0 10px rgba(157,0,255,0.5); }

/* Links Navigation (Startseite) */
.nav-links a { color: var(--text-main); text-decoration: none; margin-left: 30px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover { color: var(--neon-cyan); }

/* Zurück-Link (Unterseiten) */
.nav-back { color: var(--text-main); text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; display: flex; align-items: center; gap: 8px; font-family: var(--font-tech); }
.nav-back:hover { color: var(--neon-cyan); }

/* --- HERO (Startseite) --- */
.hero { height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; }
.hero h1 { font-family: var(--font-tech); font-size: 4rem; margin-bottom: 20px; background: linear-gradient(90deg, var(--neon-cyan), #ffffff, var(--neon-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: glow 3s infinite alternate; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }
.btn { padding: 12px 30px; background: transparent; border: 2px solid var(--neon-cyan); color: var(--neon-cyan); font-family: var(--font-tech); font-weight: 700; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn:hover { background: var(--neon-cyan); color: var(--bg-dark); box-shadow: 0 0 20px var(--neon-cyan); }

/* --- KARUSSELL SECTION --- */
.carousel-section { padding: 80px 5%; position: relative; }
.section-title { font-family: var(--font-tech); font-size: 2rem; margin-bottom: 40px; border-left: 4px solid var(--neon-purple); padding-left: 20px; }
.carousel-wrapper { position: relative; display: flex; align-items: center; }
.carousel-track { display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth; padding: 30px 5px; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track::-webkit-scrollbar { display: none; }

/* --- GAME CARD --- */
.game-card { min-width: 240px; max-width: 240px; height: 480px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; flex-shrink: 0; display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-15px); box-shadow: 0 15px 40px rgba(0, 243, 255, 0.2); border-color: var(--neon-cyan); }
.card-image { height: 350px; background: linear-gradient(45deg, #1a1f2e, #2a3b55); flex-shrink: 0; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.card-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-content h3 { font-family: var(--font-tech); font-size: 1.1rem; margin-bottom: 5px; color: var(--text-main); }
.card-content p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.4; }
.card-tags { display: flex; gap: 8px; font-size: 0.7rem; }
.tag { padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,0.1); color: var(--neon-cyan); text-transform: uppercase; }

/* Navigation Buttons (Pfeile) */
.nav-btn { background: rgba(0,0,0,0.7); border: 2px solid var(--neon-cyan); color: var(--neon-cyan); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.2rem; position: absolute; }
.nav-btn:hover { background: var(--neon-cyan); color: black; box-shadow: 0 0 15px var(--neon-cyan); }
.prev { left: -25px; } .next { right: -25px; }

/* --- KONTAKT SECTION --- */
.contact-section { padding: 80px 5%; background: transparent; position: relative; }
.contact-container { display: flex; flex-wrap: wrap; gap: 50px; width: 100%; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h3 { font-family: var(--font-tech); font-size: 1.8rem; margin-bottom: 20px; color: var(--text-main); }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; font-size: 1rem; }
.social-links { display: flex; gap: 20px; margin-top: 20px; }
.social-btn { width: 50px; height: 50px; border-radius: 12px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--text-main); text-decoration: none; transition: 0.3s; }
.social-btn:hover { border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.1); transform: translateY(-5px); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
.social-btn svg { width: 24px; height: 24px; fill: currentColor; }

/* --- LEGAL / IMPRESSUM / DATENSCHUTZ STYLES --- */
.legal-section {
    padding: 120px 5% 60px;
    flex-grow: 1; /* Wichtig für Sticky Footer */
    display: flex;
    justify-content: center;
}

.legal-container {
    width: 100%;
    max-width: 900px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
}

/* Der kleine Neon-Strich oben über der Box */
.legal-container::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.legal-container h1 {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(90deg, var(--neon-cyan), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-container h2 {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    color: var(--neon-purple);
    margin-top: 30px;
    margin-bottom: 15px;
    /* Einheitlicher Style: Linie unten (wie in deinem Code gewünscht) */
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.legal-container h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.legal-container p, .legal-container ul, .legal-container li {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-container ul { margin-left: 20px; }

/* Links im Fließtext */
a.legal-link {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: 0.3s;
}

a.legal-link:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neon-cyan);
}

strong { color: var(--text-main); }

/* --- FOOTER & RESPONSIVE --- */
footer { 
    padding: 40px 5%; 
    text-align: center; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    margin-top: auto; 
}

/* Footer Links */
.footer-links a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

@media (max-width: 768px) { 
    .hero h1 { font-size: 2.5rem; } 
    nav { flex-direction: column; gap: 15px; } 
    .nav-links a { margin: 0 10px; } 
    .nav-btn { display: none; } 
    .carousel-track { padding: 30px 20px; } 
    .legal-container { padding: 25px; }
    .legal-container h1 { font-size: 2rem; }
}