:root {
    --primary-color: #92271D;
    --secondary-color: #C67121;
    --background-color: #FFF8F0;
    --text-color: #333333; /* Sehr wichtig! */
}

/* === Basis-Navigation Styles === */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

/* Desktop Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Call to Action Button */
.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary-color);
}

/* Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1010;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
        z-index: 999;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        animation: fadeIn 0.3s ease-in-out;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3.5rem); /* Skaliert besser */
        margin-bottom: 1rem;
        max-width: 90%; /* Neu: verhindert Überlaufen */
        margin-left: auto;
        margin-right: auto;
        text-align: center; /* Zentriert den Text */
        word-break: break-word; /* Falls zu lang */
    }

    .hero {
        text-align: center;
        padding: 2rem 1rem; /* Genug Abstand zum Rand */
        overflow-wrap: break-word; /* Bricht lange Wörter */
    }
    

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

    .nav-links a {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .nav-links a:hover {
        background-color: #f4f4f4;
        border-radius: 4px;
        padding: 0.5rem 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
