body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #fff;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #243772;
  color: white;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}
.nav-logo {
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  font-size: 3.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a:hover {
  text-decoration: underline;
}

.header {
  background-color: #243772;
  color: white;
  padding: 2rem;
  text-align: center;
}

.content-grid {
  display: grid;
  gap: 2rem;
  padding: 4rem;
  align-items: center;
}
.grid-60-40 {
  grid-template-columns: 60% 40%;
}
.grid-40-60 {
  grid-template-columns: 40% 60%;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #243772;
    margin-top: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .grid-60-40,
  .grid-40-60 {
    grid-template-columns: 1fr;
  }
}

.main-text {
  font-size: 1.1rem;
  line-height: 1.6;
}
    .side-box {
      background-color: #f9f9f9;
      border-radius: 1rem;
      padding: 1.5rem;
      box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* Wrapper für Liste und Bild */
    .content-wrapper {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .side-box ul {
      padding-left: 1.5rem;
      margin: 0;
    }

    .side-box img {
      width: 50%;
      max-width: 500px;
      height: auto;
      border-radius: 0.5rem;
      align-self: center;
    }

    /* Ab Tablet nebeneinander */
    @media (min-width: 768px) {
      .content-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
      }

      .side-box ul {
        flex: 1;
        margin-right: 1rem;
      }

      .side-box img {
        flex-shrink: 0;
        width: 80%;
        max-width: 440px;
      }
    }

    /* Ab Desktop: kleineres Bild rechts */
    @media (min-width: 1024px) {
      .side-box img {
        width: 100%;
        max-width: 800px;
		    border-radius: 0.5rem;
      }
    }
.side-box ul {
  list-style: none;
  padding-left: 0;
}
.side-box li {
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #243772;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  margin-top: 1rem;
}
.cta-button:hover {
  background-color: #1c2c5d;
}

.footer {
  background-color: #243772;
  color: white;
  text-align: center;
  padding: 1.5rem;
}
.footer a {
  color: #cdd4f2;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .small {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
	width: 60px;
height: 60px;
  z-index: 99;
  font-size: 1.5rem;
  background-color: #475d9e;
  color: white;
  border: none;
  outline: none;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(255,255,255,0.4);
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #475ffe; 
}
.foto {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 1rem;
}

  /* Standard für alle Geräte: 100% */
    #responsive-img {
      width: 80%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    /* Ab 768px: 60% */
    @media (min-width: 768px) {
      #responsive-img {
        width: 60%;
      }
    }

    /* Ab 1024px: 40% */
    @media (min-width: 1024px) {
      #responsive-img {
        width: 40%;
      }
    }