/* ==========================================
   1. GLOBALE EINSTELLUNGEN & VARIABLEN
   ========================================== */
:root {
    --bg-color: #121824;       /* Dunkler Hintergrund */
    --card-bg: #1e2640;        /* Etwas helleres Dunkel für Boxen */
    --text-color: #f3f4f6;     /* Helles Off-White für Text */
    --text-muted: #9ca3af;     /* Grau für weniger wichtige Texte */
    --accent-color: #00cfb4;   /* Dynamisches Cyan für Buttons/Highlights */
    --accent-hover: #00b39b;   /* Dunkleres Cyan für Hover-Effekte */
    --nav-bg: #0b0f19;          /* Sehr dunkles Blau für die Navbar */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth; /* Sorgt für sanftes Scrollen bei Anchor-Links */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   2. NAVIGATION (NAVBAR)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Wird vom JavaScript gesteuert */
.navbar nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 4px;
}
/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: radial-gradient(circle at center, #1a2a4a 0%, var(--bg-color) 70%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

/* Haupt-Button */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #0b0f19;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ==========================================
   4. FEATURES SECTION (GRID-LAYOUT)
   ========================================== */
.features-section, .about-section {
    padding: 5rem 5%;
    text-align: center;
}

.features-section h2, .about-section h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Kleiner Unterstrich für die Überschriften */
.features-section h2::after, .about-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   5. ÜBER UNS SECTION
   ========================================== */
.about-section p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================
   6. FOOTER
   ========================================== */
footer {
    background-color: var(--nav-bg);
    padding: 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

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

/* ==========================================
   7. RESPONSIVE DESIGN (Für Smartphones)
   ========================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================
   8. RECHTLICHE SEITEN (IMPRESSUM / DATENSCHUTZ)
   ========================================== */
.legal-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: left; /* Text linksbündig für bessere Lesbarkeit */
}

.legal-section h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    color: var(--accent-color);
}

.legal-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ==========================================
   9. PREISLISTE (PRICING)
   ========================================== */
.pricing-section, .contact-section {
    padding: 5rem 5%;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem 2rem;
    width: 320px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

/* Hervorhebung für das Premium-Paket */
.pricing-card.premium {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 207, 180, 0.1);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #0b0f19;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-card .price-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.price-features li {
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

/* Zweiter Button-Typ für weniger wichtige Aktionen */
.btn-secondary {
    display: inline-block;
    border: 2px solid var(--text-muted);
    color: var(--text-color);
    padding: 0.7rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   10. KONTAKTFORMULAR
   ========================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* ==========================================
   11. TEAM SECTION
   ========================================== */
.team-section, .faq-section {
    padding: 5rem 5%;
    text-align: center;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    width: 280px;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.team-card .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card .team-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   12. FAQ AKKORDEON
   ========================================== */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0; /* Standardmäßig geschlossen */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

/* Aktiv-Zustand per Klasse (wird von JS gesetzt) */
.faq-item.active .faq-answer {
    max-height: 200px; /* Groß genug für den Text */
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-color: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Macht aus dem "+" ein "x" */
    color: var(--text-muted);
}