/* --- CSS Variables & Reset --- */
:root {
    --bg-color: #0f1115;
    --bg-secondary: #161b22;
    --text-main: #c9d1d9;
    --text-header: #ffffff;
    --accent: #2ea043; /* GitHub Green */
    --accent-hover: #3fb950;
    --code-bg: #0d1117;
    --border: #30363d;
    --font-main: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3 { color: var(--text-header); font-weight: 700; margin-bottom: 1rem; }
h1 { font-size: 3rem; line-height: 1.2; }
.highlight { color: var(--accent); }
a { text-decoration: none; transition: 0.3s; }

/* --- Navigation --- */
.navbar {
    background: rgba(15, 17, 21, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-family: var(--font-code); font-weight: 700; color: var(--accent); font-size: 1.5rem; }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent); }

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); width: 100%; }
.btn-outline:hover { background: var(--accent); color: white; }

/* --- Sections --- */
.section { padding: 5rem 0; }
.bg-darker { background: var(--bg-secondary); }

.hero {
    padding: 8rem 0 5rem;
    text-align: left;
}

.badge {
    background: var(--bg-secondary);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.cta-group { margin-top: 2rem; display: flex; gap: 1rem; }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.code-block {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow-x: auto;
}
.code-block pre { font-family: var(--font-code); font-size: 0.9rem; color: #a5d6ff; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured { border-color: var(--accent); transform: scale(1.02); box-shadow: 0 0 15px rgba(46, 160, 67, 0.2); }
.tag { position: absolute; top: -12px; right: 20px; background: var(--accent); color: white; padding: 0.2rem 0.8rem; border-radius: 4px; font-size: 0.75rem; }
.price { font-size: 1.8rem; font-weight: 700; margin: 1rem 0; color: var(--text-header); }
.price-card ul { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.price-card li { margin-bottom: 0.8rem; padding-left: 1.2rem; position: relative; }
.price-card li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; }

/* --- Form --- */
#contactForm { max-width: 600px; margin: 2rem auto; }
.form-group { margin-bottom: 1.5rem; }
input, textarea {
    width: 100%;
    padding: 1rem;
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-main);
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

.footer-info { text-align: center; margin-top: 3rem; font-size: 0.9rem; opacity: 0.7; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
    .cta-group { flex-direction: column; }
    .nav-links { display: none; } /* Einfaches Ausblenden für Mobile Demo */
}