/* Reset & Basis */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Helvetica, Arial, sans-serif;
  background: #f8f8f8;
  color: #222;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: Georgia, serif;
  color: #1c3f8a;
}
a { text-decoration: none; color: inherit; }

/* Hero Header - Blau/Gelb */
.hero {
  position: relative;
  height: 40vh;
  background: url('https://upload.wikimedia.org/wikipedia/commons/7/7e/Caspar_David_Friedrich_-_Frau_vor_untergehender_Sonne.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 63, 138, 0.6); /* Eulenblau Overlay */
}
.hero-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}
.hero h1 a.home-link {
  color: #f9c300; /* Gelb */
  text-decoration: none;
  font-size: 2rem;
}
.hero h1 a.home-link:hover {
  color: #ffe45c;
}
.hero nav a {
  color: #fff;
  margin-left: 1rem;
  font-weight: 600;
}
.hero nav a:hover {
  color: #f9c300;
}

/* Container + Sidebar */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
}

/* Blog-Posts */
.blog {
  flex: 3;
}
.post {
  background: #fff;
  border: 2px solid #1c3f8a;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.post h2 a {
  color: #1c3f8a;
}
.post h2 a:hover {
  color: #f9c300;
}
.post .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Sidebar */
.sidebar {
  flex: 1;
  background: #0f1f4b;
  color: #fff;
  padding: 1rem;
}
.sidebar h3 {
  color: #f9c300;
  margin-bottom: 0.5rem;
}
.sidebar ul {
  list-style: none;
  padding: 0;
}
.sidebar ul li a {
  color: #fff;
  display: block;
  padding: 0.3rem 0;
}
.sidebar ul li a:hover {
  color: #f9c300;
}

/* Footer */
.site-footer {
  background: #0f1f4b;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}
.site-footer a {
  color: #f9c300;
}
.site-footer a:hover {
  color: #ffe45c;
}

/* Responsive */
@media (max-width: 768px) {
  .container { flex-direction: column; }
  .sidebar { order: -1; }
  .hero-bar { flex-direction: column; gap: 1rem; text-align: center; }
}

