

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: var(--grau-hell);
  color: var(--grau-dunkel);
}

header {
  background: var(--rot);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

header .logo  {
  font-size: 1.5em;
  font-weight: bold;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.main-content {
  text-align: juistify;
  padding: 3rem 1rem;
}

.main-content h1 {
  font-size: 2em;
  margin-bottom: 1rem;
  color: var(--rot);
}

.main-content h1 a {
  color: var(--rot);
  text-decoration: underline;
}

.main-content h2 {
  font-size: 1.5em;
  margin-bottom: 1rem;
  color: var(--grau-dunkel);
}

.main-content p a {
  color: var(--grau-dunkel);
  text-decoration: underline;
}


.btn.primary {
  background: var(--rot);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  margin: 0 1rem 0 1rem;
}

.kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.kachel {
  background: white;
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.kachel img {
  max-width: 100%;
  border-radius: 5px;
}

.kachel a {
  text-decoration: none;
  color: var(--rot);
}

aside {
  width: 200px;
   margin: 0 50px 0 0;
  background: var(--grau-hell);
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  overflow-y: scroll;
  height:600px;
}

footer {
  background: var(--rot);
  color: white;
  justify-content: space-between;
  
  text-align: center;
  
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .kacheln {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .kacheln {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
