 :root {
      --accent: #2078C8;
      --bg: #f9fafb;
      --text: #111827;
      --muted: #6b7280;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
	  font-family: 'Red Hat Display', sans-serif;
    }

 header {
  background-color: #2078C8;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: white;
}

.header-left .logo {
  max-width: 100%;
  width: 400px;
  height: auto;
}

.header-center {
  flex: 1;
  text-align: center;
}

.header-center h1 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
}

.header-right {
  display: flex;
  gap: 1.5rem;
}

.header-right a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.header-right a:hover {
  color: #dbeafe; /* Hellere Farbe beim Hover */
}


    nav a {
      margin-left: 1.5rem;
      color: #FFFFFF;
      text-decoration: none;
      font-weight: 500;
    }

    .hero {
      padding: 4rem 2rem;
      text-align: center;
      background: linear-gradient(to right, #e0f2ff, #f0f9ff);
    }

    .hero h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .hero p {
      max-width: 600px;
      margin: 0 auto;
      color: var(--muted);
    }

    .articles {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* genau 4 Spalten */
  gap: 2rem;
  padding: 3rem 2rem;
}

    .card {
      background: white;
      border: 1px solid #e5e7eb;
      border-radius: 0.5rem;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
      transition: transform 0.2s ease;
    }

    .card:hover {
      transform: translateY(-4px);
    }

    .card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .card-content {
      padding: 1rem;
    }

    .card-content h3 {
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
      color: var(--accent);
    }

    .card-content p {
      font-size: 0.9rem;
      color: var(--muted);
    }
	
	@media (max-width: 1200px) {
  .articles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .articles {
    grid-template-columns: 1fr;
  }
}

	
	
	a {
  text-decoration: none; /* Entfernt Unterstreichung für alle Links in .card */
  color: inherit; /* Textfarbe wird nicht blau, sondern übernimmt die Farbe des umgebenden Elements */
}

    footer {
      text-align: center;
      padding: 2rem;
      background: white;
      border-top: 1px solid #e5e7eb;
      font-size: 0.9rem;
      color: var(--muted);
    }
	
	/* Artikelseiten*/
	/* Container für Artikel-Content */
.article-content {
  max-width: 700px;  /* Breite begrenzen */
  margin: 2rem auto; /* zentrieren mit Abstand oben und unten */
  padding: 0 1rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  line-height: 1.7;
  color: var(--text);
  font-size: 1rem;
}

/* Überschriften im Artikel */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Absätze */
.article-content p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* Listen */
.article-content ul,
.article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Links im Artikel */
.article-content a {
  color: var(--accent);
  text-decoration: underline;
}

.article-content a:hover {
  color: darken(var(--accent), 10%);
}

/* Blockzitate */
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  color: var(--accent);
  font-style: italic;
  margin: 1.5rem 0;
}

/* Bilder im Artikel */
.article-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

footer {
  background-color: #273862; /* Dunkler Hintergrund */
  color: #f0f0f0;         /* Helle Schriftfarbe */
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #f0f0f0;          /* Helle Linkfarbe */
  text-decoration: none;
  margin: 0 8px;
}

.footer-links a:hover {
  text-decoration: underline;
}
