header {
  position: relative;
  color: white;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/poehlansicht.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.6) 0%, rgba(44, 95, 45, 0.4) 100%);
  z-index: -1;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

header h1 .logo {
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

header h1 .logo img {
  height: 60px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  header h1 .logo img {
    height: 50px;
  }
}