/* Farb-Variablen */
:root {
    --bg-color: #0b0b0c;
    --text-color: #ffffff;
    --text-muted: #8e8e93;
    --accent-color: #ffffff;
    --card-bg: #161618;
    --border-color: #222224;
    --nav-bg: rgba(11, 11, 12, 0.95);
    --tag-bg: #222224;
}

[data-theme="light"] {
    --bg-color: #f5f5f7;
    --text-color: #1d1d1f;
    --text-muted: #86868b;
    --accent-color: #000000;
    --card-bg: #ffffff;
    --border-color: #e5e5ea;
    --nav-bg: rgba(245, 245, 247, 0.95);
    --tag-bg: #e5e5ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300;
    opacity: 0.6;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 6px 14px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Burger Button für Mobilgeräte */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 35px auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 15px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

/* Sektionen */
.services-section, .stats-section, .showcase-section, .about-section, .contact-section {
    padding: 80px 5% 70px 5%;
    border-bottom: 1px solid var(--border-color);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -15px;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* Grids */
.services-grid, .stats-grid, .showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box, .showcase-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: 10px;
}

.stat-box { text-align: center; }
.stat-number { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; }
.stat-box p { color: var(--text-muted); font-size: 0.9rem; }

.status-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: var(--tag-bg);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Über mich */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    max-width: 320px;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Kontakt */
.contact-section { text-align: center; }
.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.contact-btn {
    padding: 15px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    width: 100%;
    max-width: 300px;
}

.social-contact-wrapper {
    margin-top: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 30px;
}

.social-icon-svg { width: 20px; height: 20px; fill: var(--text-color); }

/* Footer */
footer {
    padding: 30px 5%;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

footer a { color: var(--text-color); text-decoration: none; }

/* Mobile Navigation Anpassung */
@media (max-width: 800px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 25px 0;
        gap: 20px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .nav-links a {
        font-size: 1.05rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
