.navbar {
  background-color: #333;
  position: fixed; 
  top: 0;
  left: 0;           /* Verankert die Leiste ganz links */
  right: 0;          /* Verankert die Leiste ganz rechts */
  width: 100%;       /* Nutzt immer die volle Bildschirmbreite */
  max-width: 1440px; /* Begrenzt die Breite auf großen Bildschirmen */
  margin: 0 auto;    /* Zentriert die Leiste auf großen Bildschirmen */
  z-index: 1000;     /* Sorgt dafür, dass das Menü immer über dem Inhalt liegt */
  
  /* border: 1px solid #FF0000; */
}

.navbar-contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Schiebt alles auf dem Desktop nach rechts */
    gap: 15px;                 /* Abstand zwischen Name und den Kontakt-Boxen */
    padding: 8px 12px;
    background: rgb(204,204,204);
    font-size: 13px;
}

.navbar-contact-box {
    padding: 0 0px;        /* Reiner Abstand nach links und rechts */
    color: #000000;         /* Bleibt ganz normal schwarz */
    display: inline-block;
	white-space: nowrap; /* Verhindert Zeilenumbruch mitten im Text */
}


/* Neutralisiert das h1, damit es sich exakt wie das alte span verhält */
h1.navbar-brand-title {
    display: inline;       /* Verhindert den automatischen Zeilenumbruch */
    font-size: 13px;       /* Setzt die exakte Größe aus Ihrem .header-text-wrapper */
    font-weight: normal;   /* Entfernt die fette Standard-Schrift von Überschriften */
    margin: 0;             /* Entfernt automatische Abstände nach oben/unten */
    padding: 0;
    color: inherit;        /* Übernimmt die Farbe der Umgebung */
}

.navbar-menu-toggle {
    display: none; /* Auf dem Desktop unsichtbar */
}

.navbar-navigation {
    display: flex;
    flex-flow: row;
    column-gap: 50px;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1vh; 
    background: rgb(204,204,204);
}

.navbar-navigation a {
    /* font-family: "BC BE", sans-serif; */
	font-family: "fontello", sans-serif;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.2px;
    /* color: #807F81;  */
	color: #000000; 
    text-decoration: none;
    transition:0.3s;
	font-weight: 500;
	padding-top: 1vh;
}

.navbar-navigation a:hover {color:#FFFFFF;}


/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 640px) {

    .navbar {
        position: fixed;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
		
		background-color: rgb(204,204,204) /*!important */; 
    }

    .navbar-contact-wrapper {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        
        /* Erlaubt der Telefonnummer, eine Zeile nach unten zu rutschen, 
           falls das Display schmaler ist als die E-Mail-Breite */
        flex-wrap: wrap; 
        
        gap: 5px;
        padding: 8px 10px;
    }	
	

    .navbar-contact-label {
        display: none /*!important; */
    }	
	
	
    .navbar-contact-box {
        padding: 0 4px;          /* Schmalerer Abstand auf kleinen Bildschirmen */
		/*font-size: 12px; *//* Leicht angepasst für bessere Lesbarkeit mit Wort */
		/* ca. 240px entspricht der Breite des gesamten E-Mail-Textes */
        min-width: 240px; 
        text-align: center;		 
    }	
	
    /* Hamburger Button stylen */
    .navbar-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25%;
		max-width: 100px; 
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        /* margin: 15px 0;  Abstand in der Navbar */
		margin: 4px 0 10px 20px; 
        z-index: 1001;
    }
		
    /* Die 3 Striche des Hamburgers zeichnen */
    .navbar-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #000000; /* Strichfarbe */
        border-radius: 2px;
        transition: 0.3s ease-in-out;
    }

	
    /* Das eigentliche Menü verstecken und vorbereiten */
    .navbar-navigation {
        display: none; /* WICHTIG: Standardmäßig unsichtbar */
        flex-flow: column;
        width: 100%;
        column-gap: 0;
        row-gap: 0;
        align-items: center;
        background: rgb(204,204,204);
        padding: 0;
    }

    /* Wenn das Menü aktiv ist, wird es eingeblendet */
    .navbar-navigation.active {
        display: flex; /* JavaScript schaltet das hier an */
    }

    .navbar-navigation a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }	
}  