/* Reset & Box-Sizing */
* { margin:0; padding:0; box-sizing:border-box; }

/* Basis-Layout */
body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: #f5f5f5;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  background: #2c3e50;
  color: #ecf0f1;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: #ecf0f1;
  border-radius: 2px;
  position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  position: absolute;
}
.nav-toggle .hamburger::before {
  top: -8px;
}
.nav-toggle .hamburger::after {
  top: 8px;
}
.site-nav ul {
  list-style: none;
  display: flex;
}
.site-nav li + li {
  margin-left: 20px;
}
.site-nav a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover {
  text-decoration: underline;
}

/* News-Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.news-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.news-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.news-card time {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 15px;
}
.news-card p {
  flex-grow: 1;
}
.read-more {
  margin-top: 15px;
  align-self: flex-start;
  color: #2980b9;
  text-decoration: none;
  font-weight: 600;
}
.read-more:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #34495e;
  color: #bdc3c7;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #2c3e50;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.open {
    max-height: 200px; /* je nach Menüpunkten anpassen */
  }
  .site-nav ul {
    flex-direction: column;
    padding: 10px 0;
  }
  .site-nav li + li {
    margin-left: 0;
    margin-top: 10px;
  }
}
