:root {
    --bg-color: #0d0f12;
    --surface-color: #1a1d24;
    --surface-light: #252932;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent: #7a86b8; /* PHP Lila */
    --accent-glow: rgba(122, 134, 184, 0.3);
    --terminal-bg: #050505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(13, 15, 18, 0.9);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #2d3748;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

/* Globale Klassen */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

/* Hero Section */
.hero {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Terminal */
.terminal {
    background-color: var(--terminal-bg);
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    overflow: hidden;
}

.terminal-header {
    background-color: #1e1e1e;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #333;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body {
    padding: 2rem;
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; font-weight: bold;}
.code-string { color: #ce9178; }
.code-variable { color: #9cdcfe; }

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: var(--accent);
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
    margin-left: 5px;
}
@keyframes blink { 50% { opacity: 0; } }

/* Features (Analogie) */
.features {
    padding: 6rem 5%;
    background-color: var(--surface-color);
    border-top: 1px solid #2d3748;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #2d3748;
}

.highlight-card {
    border: 2px solid var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Interactive Tabs */
.interactive-learning {
    padding: 6rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.interactive-learning h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tabs-container {
    background-color: var(--surface-color);
    border-radius: 12px;
    border: 1px solid #2d3748;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: var(--surface-light);
    border-bottom: 1px solid #2d3748;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.2rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover { color: var(--text-main); }
.tab-btn.active {
    background-color: var(--surface-color);
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.tab-content {
    display: none;
    padding: 2.5rem;
}

.tab-content.active { display: block; }

.code-block {
    background-color: var(--terminal-bg);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Fira Code', 'Courier New', monospace;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
    line-height: 1.5;
}

.tab-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Setup Section / Formular */
.setup-section {
    padding: 6rem 5%;
    background-color: var(--surface-color);
    text-align: center;
}

.setup-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.setup-section p { max-width: 600px; margin: 0 auto 3rem; color: var(--text-muted); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input {
    padding: 1.2rem;
    background-color: var(--bg-color);
    border: 1px solid #2d3748;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.status-msg {
    background-color: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #27c93f;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #2d3748;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .nav-links { display: none; }
    .tab-buttons { flex-direction: column; }
}