/* Allgemein */
 * {
      box-sizing: border-box;
    }
    body {
      margin: 0;
      font-family: "Times New Roman", serif;
      background: #ffffac;
      color: gray;
    }
    header {
      background: #ffffac;
      text-align: center;
      padding: 1em 0;
    }
  header img {
  max-width: 70%;
  height: auto;
 }

@media (max-width: 1224px) {
  header img {
    max-width: 100%;
  }
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}
	
    main {
      display: flex;
      flex-wrap: wrap;
      gap: 1em;
      padding: 1em;
    }
    section#data {
      flex: 2 1 480px;
      background: #ffffac;
      padding: 1em;
    }
    .content {
      text-align: center;
    }
    footer {
      background: #ffffac;
      text-align: center;
      padding: 1em;
      margin-top: auto;
    }

    /* Responsive Anpassungen */
    @media (max-width: 768px) {
      main {
        flex-direction: column;
      }
    }

/*Menü*/
nav.main-nav {
  background-color: #ffffac;
  width: 220px; /* feste Breite */
  position: relative;
  padding: 1em 0.5em;
}

nav li.logo {
  text-align: center;  /* oder display:flex + justify-content:center */
}

nav li.logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

nav .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav .nav-list > li {
  margin-bottom: 0.5em;
  width: 200px;
}

nav .nav-list a {
  display: block;
  width: 200px;
  min-height: 25px;
  line-height: 1.4em;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border: 1px solid orange;
  border-radius: 10px;
  box-shadow: 0 5px 10px white inset;
  color: gray;
  background-color: #ffffac;
  transition: all 0.25s ease-in;
  box-sizing: border-box;
}

nav .nav-list li[aria-current] a {
  background-color: firebrick;
  color: gold;
}

nav .nav-list a:hover,
nav .nav-list a:focus {
  color: white;
  background-color: gray;
}

/* Untermenüs (Dropdowns) */
nav .nav-list li {
  position: relative;
}

nav .nav-list li ul {
  display: none;
  position: absolute;
  left: 210px;
  top: 0;
  background-color: transparent;
  padding: 0.5em 0;
  z-index: 999;
}

nav .nav-list li:hover > ul,
nav .nav-list li:focus-within > ul {
  display: block;
}

nav .nav-list li ul li {
  width: 200px;
  list-style: none;
  margin-bottom: 0.2em;
}

nav .nav-list li ul li a {
  width: 200px;
}

/* Hamburger Button (mobil) */
#menu-toggle {
  display: none;
  margin-bottom: 1em;
  font-size: 1.5em;
  background: none;
  border: 2px solid gray;
  border-radius: 5px;
  padding: 0.4em 0.6em;
  cursor: pointer;
}

/* RESPONSIVE ANPASSUNG */
@media (max-width: 768px) {
  nav.main-nav {
    width: 100%;
    padding: 1em;
  }

  #menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  nav .nav-list.open {
    display: flex;
  }

  nav .nav-list li ul {
    position: static;
    display: none;
  }

  nav .nav-list li:hover > ul,
  nav .nav-list li:focus-within > ul {
    display: block;
  }
}