:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    --gradient-primary: linear-gradient(135deg, #00f2ff 0%, #3b82f6 100%);
    --gradient-text: linear-gradient(to right, #ffffff 30%, #00f2ff 100%);
    --accent-glow: rgba(0, 242, 255, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- SEKTIONEN & GRIDS (Neu hinzugefügt für Ihr HTML) --- */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.tech-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 2.5rem;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: #00f2ff;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* --- HERO BEREICH --- */
.hero {
    padding: 14rem 2rem 10rem;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.96) 20%, rgba(15, 23, 42, 0.75) 100%),
        url('/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

/* --- ANIMATIONEN (Neu hinzugefügt) --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SCREEN OPTIMIZATION / RESPONSIVENESS (Neu hinzugefügt) --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    nav a {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}