/* Grunddesign */
body {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  background-color: #fff8f0;
  color: #4a3b2b; /* warmes Dunkelbraun für Text */
  line-height: 1.6;
}

/* Überschriften */
h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
  color: #b36f2e; /* warme, freundliche Überschrift */
  margin-top: 0;
}

/* Sticky Header */
header.sticky-header {
  position: sticky;
  top: 0;
  background-color: #ffcc70;
  padding: 1em 1.5em;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Header Top mit flexbox, damit Titel und Logo nebeneinander stehen */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;  /* verhindert, dass Logo unter den Titel rutscht */
  margin-bottom: 0.7em;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: #5a3e36;
  flex-grow: 1; /* Titel nimmt verfügbaren Platz ein */
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5em;
}

.logo-wrapper svg {
  width: 50px;
  height: 50px;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #4a3b2b;
  font-weight: bold;
}

nav a:hover {
  color: #b36f2e;
  text-decoration: underline;
}

/* Suchfeld (prominent & freundlich) */
#searchForm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 0.5rem;
  background-color: #fff6e6;
  border-radius: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

#searchForm input[type="text"] {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 2px solid #ffcc80;
  border-radius: 2rem;
  outline: none;
  background-color: #fff;
  color: #4a3b2b;
}

#searchForm input[type="text"]::placeholder {
  color: #aaa;
}

#searchForm button {
  background-color: #ff884d;
  border: none;
  color: white;
  padding: 0.7rem 1rem;
  font-size: 1.2rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#searchForm button:hover {
  background-color: #e26d30;
}

/* Aufbau-Banner */
.aufbau-banner {
  background-color: #fff0c4;
  color: #4a3b2b;
  text-align: center;
  padding: 1em;
  font-size: 1.1em;
  font-style: italic;
  border-bottom: 2px dashed #ffa500;
}

/* Main Bereich */
main {
  padding: 2em 1em;
  max-width: 1000px;
  margin: auto;
}

/* Intro */
.intro {
  background-color: #fdf6ec;
  padding: 1.5em;
  border-radius: 10px;
  margin-bottom: 2em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Karten */
.card {
  background-color: #fff8f0;
  border: 2px solid #ffe0b2;
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.3rem;
}

/* Bilder in Karten */
.card-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #e26a00;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

/* PLZ-Anzeige für Ausflugsziele */
.plz {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.2rem;
}

/* Anzeige für den Ort bei Ausflugszielen */
.ort {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.2rem;
}

/* Badge für Affiliate-Produkte */
.affiliate-badge {
  display: inline-block;
  background-color: #fff0e0;
  color: #e26a00;
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  margin: 0.5rem 0;
  font-weight: bold;
}

/* Kategorie-Filter-Styles */
.filter-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.filter-section label {
  font-weight: bold;
  color: #4a3b2b;
}
.filter-section select {
  padding: 0.5rem 0.7rem;
  border: 2px solid #ffcc80;
  border-radius: 0.5rem;
  background-color: #fff6e6;
  color: #4a3b2b;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

/* Label für Medientyp (Artikel oder Video) innerhalb der Karten */
.media-label {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #ffe8d6; /* zarte Pastellfarbe passend zum Design */
  color: #b36f2e;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  font-weight: bold;
}

/* Kachelraster */
.kategorien .kachel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1em;
}

.kachel {
  background-color: #ffe3b3;
  padding: 1em;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2em;
  text-decoration: none;
  color: #4a3b2b;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.kachel:hover {
  transform: scale(1.03);
  background-color: #ffd28d;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #ff884d;
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 1em;
}

.button:hover {
  background-color: #e26d30;
}

/* Empfehlungen */
.empfehlungen article {
  background-color: #fafafa;
  padding: 1em;
  margin-bottom: 1em;
  border-left: 4px solid #ff884d;
  border-radius: 6px;
  color: #4a3b2b;
}

.empfehlungen iframe {
  max-width: 100%;
  margin-top: 0.5em;
  border-radius: 6px;
}

/* Downloads */
.downloads-preview ul {
  padding-left: 1.5em;
}

.downloads-preview li {
  margin-bottom: 0.5em;
  color: #4a3b2b;
}

/* Footer */
footer {
  background-color: #ffcc70;
  color: #4a3b2b;
  text-align: center;
  padding: 1em;
  margin-top: 3em;
  font-size: 0.9em;
}

footer a {
  color: #4a3b2b;
  text-decoration: underline;
}

footer a:hover {
  color: #333;
}
.environment-label {
  display: inline-block;
  background-color: #e5f5ff;
  color: #333;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.75rem;
  margin-left: 4px;
}
.media-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
