* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: SpaceGrotesk;
    src: url("fonts/SpaceGrotesk-Regular.ttf"),
}

body {
    font-family: SpaceGrotesk;
    color: #0D0D0D;
}

a {
    text-decoration: none;
    color: #000;
}

a, a:visited, a:active, a:hover {
    color: inherit; /* Vererbt die Textfarbe des Elements */
    text-decoration: none; /* Entfernt die Standard-Unterstreichung */
}

button {
    color: #000; /* Stelle sicher, dass die Schriftfarbe schwarz ist */
    background: none;
    border: none;
    font-family: inherit; /* Verwendet die eingestellte Schriftart */
}

button.active {
    background-color: #0D0D0D;
    color: white; /* Farbe des aktiven Buttons */
}


h2 {
  font-size: 24px;
  font-family: SpaceGrotesk;
  margin-top: 10px;
  margin-left: -50px;
  font-weight: 500;
}

h3 {
  font-size: 24px;
  font-family: SpaceGrotesk;
  margin-top: 10px;
  font-weight: 500;
}

.menu {
  width: 100%;
  margin-top:30px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.tabmenu {
  margin-left: 10px;
  margin-right: 10px;
  font-size:16px;
  border:none;
  background:none;
  font-family: SpaceGrotesk;
}

.tabmenu button {
  padding: 7px 17px;  /* Padding für alle Buttons festlegen */
  border-radius: 50px;  /* Konsistente Eckenradius */
}

.tabmenu button.active {
  background-color: #0D0D0D;
  color: white;
  /* Entferne das Padding hier, da es bereits oben definiert wurde */
}

.inhalt {
  width:50%;
  margin:50px auto; 
  line-height: 22px; 
  font-size: 14px;
}

li {
  margin-left: 20px;
}

.bghead {
  background-color: #f4f4f4;
  padding: 20px;
}

@media only screen and (max-width: 1100px) {

    .menu {
        width: 100%;
        margin-top:30px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 40px;
        padding-right: 40px;
      }
    
    .tabmenu {
        font-size:16px;
        border:none;
        background:none;
        font-family: SpaceGrotesk;
      }

      .tabmenu button {
        padding: 5px 15px;  /* Padding für alle Buttons festlegen */
        border-radius: 50px;  /* Konsistente Eckenradius */
      }

    .inhalt {
        width:75%;
        margin:50px auto; 
        line-height: 22px; 
        font-size: 14px;
      }    
}

.menu svg {
  position: absolute;
  padding-top: 3px;
  margin-left: 6px;
  height: 30px;
  width: auto; 
}