/* --- Variables & Reset --- */
:root {
    --primary: #0f172a;
    --secondary: #334155;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--secondary); transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

.highlight { color: var(--accent); }

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* --- Sections General --- */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); color: var(--white); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p { margin-bottom: 15px; color: var(--text-light); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.stat-card p { color: var(--text-light); font-weight: 500; }

/* --- Expertise Cards --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover { transform: translateY(-5px); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 15px; }
.card h3 { margin-bottom: 10px; color: var(--primary); }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* --- Projects --- */
.project-list { display: grid; gap: 30px; max-width: 900px; margin: 0 auto; }

.project-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.project-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.project-header h3 { color: var(--primary); }
.tag {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.project-desc { margin-bottom: 15px; color: var(--text-light); }

.tech-stack { display: flex; gap: 10px; flex-wrap: wrap; }
.tech-stack span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- Careers --- */
.careers-container { text-align: center; }
.text-gray { color: #94a3b8; margin-bottom: 30px; }

.careers-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.careers-box i { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }
.careers-box h3 { margin-bottom: 15px; }
.careers-box p { margin-bottom: 25px; color: #cbd5e1; }

/* --- Contact & Impressum --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2 { margin-bottom: 10px; }
.contact-info p { color: var(--text-light); margin-bottom: 20px; }

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-list i { color: var(--accent); width: 20px; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }

.impressum {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

.impressum h3 { margin-bottom: 15px; color: var(--primary); }
.impressum p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }

/* --- Footer --- */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active { right: 0; }
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
}
