/* Grundlegendes Design & Variablen */
:root {
    --primary: #0f172a; 
    --accent: #2563eb; 
    --accent-hover: #1d4ed8;
    --bg-light: #f8fafc;
    --text-dark: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Passt den Abstand für die fixierte Navigation an */
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* Hero Bereich (Start) */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 12rem 5% 8rem 5%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #cbd5e1;
}

.btn {
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

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

/* Sektionen Allgemein */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

/* Dienstleistungen Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 8px;
    font-weight: bold;
}


/* Über mich - Zentrierung & Trennung */
.about-section {
    padding: 10rem 5%; /* Mehr Abstand nach oben/unten */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Dezente Trennlinie */
    display: flex;
    justify-content: center; /* Zentriert den Container auf der Seite */
    background-color: var(--bg-light);
}

.about-container {
    max-width: 900px; /* Schmaler für bessere Lesbarkeit */
    display: flex;
    align-items: center; /* Vertikale Zentrierung von Icon und Text */
    gap: 4rem;
    margin: 0 auto;
}

.about-content {
    text-align: left; /* Text selbst bleibt linksbündig für Lesbarkeit */
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Fix für Mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .about-content {
        text-align: center;
    }
}

/* Preise Sektion */
.pricing-section {
    background: var(--primary);
    color: var(--white);
}

.pricing-section .section-title {
    color: var(--white);
}

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

.price-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Kontakt */
.contact-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--primary);
    font-size: 2rem;
    transition: color 0.3s;
}

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

/* Rechtstexte (Impressum & Datenschutz) Container */
.legal-container {
    max-width: 800px;
    margin: 8rem auto 4rem auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.legal-container h1 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.legal-container h2, .legal-container h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-container p {
    margin-bottom: 1rem;
}

.legal-container strong {
    color: var(--primary);
}

.legal-container a {
    color: var(--accent);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-container ul li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #020617;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: var(--text-light);
    text-decoration: underline;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.show-mobile { display: flex; } /* Für Back-Buttons in Unterseiten */
    .hero h1 { font-size: 2.2rem; }
    .legal-container {
        margin: 6rem 1rem 2rem 1rem;
        padding: 2rem 1.5rem;
    }
    .logo { font-size: 1rem; }
}

/* Kontakt Buttons */
.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-email {
    background-color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-email:hover {
    background-color: #1e293b;
}

.btn-whatsapp {
    background-color: #25D366; /* Offizielles WhatsApp Grün */
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Social Links unter den Buttons */
.social-links-form {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.social-links-form a {
    color: var(--text-light);
    font-size: 1.8rem;
    transition: color 0.3s;
}

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

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #0f172a;
        --white: #1e293b;
        --text-dark: #e2e8f0;
        --primary: #f8fafc;
        --accent: #3b82f6;
    }

    /* Hero */
    .hero {
        background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
        color: #f8fafc;
    }

    /* Pricing */
    .pricing-section {
        background-color: #020617; 
        color: #f8fafc;
    }
    
    .pricing-section .section-title {
        color: #f8fafc;
    }

/* Buttons */
    .btn {
        color: #ffffff;
    }

    .btn-whatsapp {
        color: #ffffff;
    }

    .btn-email {
        background-color: #334155; /* Passendes Blaugrau für den Dark Mode */
        color: #ffffff;
    }

    .btn-email:hover {
        background-color: #475569;
    }

    /* Cards & Layout */
    nav, .service-card, .price-card, .legal-container, .testimonial-card {
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Logo Invert */
    .logo img {
        filter: brightness(0) invert(1);
    }
    
    /* Footer */
    footer {
        background-color: #000000;
    }
}