/* Beispiel für Überschriften */
h1, h2, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Beispiel für Fließtext */
body, p {
    font-family: 'Source Sans 3', sans-serif;
}


.sf-hidden {
    display: none !important
}

/* Grundstil für jeden Nav-Punkt */
.nav-item {
    color: #1a1a1a; /* Deine Standard-Schriftfarbe */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px; /* Platz für den Strich */
    white-space: nowrap;
}

/* Hover-Effekt */
.nav-item:hover {
    color: #8B4513;
}

/* Aktiver Zustand (mit Strich) */
.active-link {
    color: #8B4513 !important;
}

.active-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #8B4513;
    border-radius: 2px;
}

/* Erzwungene Klickbarkeit für das Menü, wenn es aktiv ist */
#mobile-menu:not(.hidden) {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

#mobile-menu {
    background-color: #ffffff !important; /* Absolut blickdichtes Weiß */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none; /* Wird via JS auf 'flex' gesetzt */
    flex-direction: column;
}

/* Optional: Damit das Menü nicht so "nackt" aussieht, 
   zentrieren wir die Navigations-Links */
#mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Nimmt den restlichen Platz ein */
}

.mobile-link {
    font-size: 1.5rem;
    padding: 1rem 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
}