/* === Grundlayout === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4ede4;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Header === */
header {
  background-color: #223a5e;
  padding: 1rem 0;
  color: white;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 64px;
  max-width: 220px;
  display: block;
}

/* === Navigation === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  text-decoration: underline;
}

/* === Hero Section === */
.hero {
  margin-top: 0;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(34, 58, 94, 0.6), rgba(34, 58, 94, 0.6)),
              url('hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 2rem;
  border-radius: 10px;
  max-width: 700px;
  margin: auto;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form input[type="text"] {
  padding: 0.7rem;
  width: 60%;
  max-width: 300px;
  border-radius: 5px 0 0 5px;
  border: none;
  font-size: 1rem;
}

.search-form button {
  padding: 0.7rem 1.5rem;
  background-color: #f4c542;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}

.search-form button:hover {
  background-color: #e0ae35;
}

/* === Kategorien === */
.categories {
  background-color: #f9f9f9;
  padding: 3rem 0;
}

.categories h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.category-card {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 180px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* === Footer === */
footer {
  background-color: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* === Responsive === */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    margin-bottom: 1rem;
    height: 56px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.7rem;
    text-align: center;
  }

  .search-form {
    flex-direction: column;
    align-items: center;
  }

  .search-form input[type="text"],
  .search-form button {
    width: 90%;
    border-radius: 5px;
    margin: 0.3rem 0;
  }
}
