body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf7f2;
  color: #333;
}

/* Hauptbereich */
main,
.page-main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

/* Überschriften */
h1,
h2 {
  color: #c95b29;
  text-align: left;
}

p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Header / Navigation */
header {
  background-color: #fff5da;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 60px;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

header nav li {
  margin-left: 15px;
}

header nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}

header nav a:hover {
  background-color: #fde6ac;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #f5b841;
  color: #333;
  margin-top: 40px;
}

/* Links */
a {
  color: #c95b29;
  text-decoration: none;
}

/* ---------- Hero / Intro-Bereich ---------- */

.hero {
  background-color: #fff5da;
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 2 1 260px;
}

.hero-image {
  flex: 1 1 260px;
}

.ecosystem-label {
  font-size: 0.9em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c95b29;
  margin-bottom: 8px;
}

.ecosystem-note {
  background: #fde6ac;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 0.95em;
}

.img-rounded {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ---------- Sektionen / Layout ---------- */

.section {
  margin-top: 40px;
}

.section-light {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.section-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* Info-Box (Lizenz-Hinweis etc.) */
.info-box {
  flex: 1 1 260px;
  background-color: #fff5da;
  border-radius: 14px;
  padding: 18px 16px;
  border-left: 4px solid #c95b29;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-box h3 {
  margin-top: 0;
}

.info-box ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.small-text {
  font-size: 0.9em;
  color: #555;
}

/* Unterer Bereich: Text + Bild nebeneinander */
.section-bottom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.text-block {
  flex: 2 1 260px;
}

.image-block {
  flex: 1 1 260px;
}

.closing-line {
  margin-top: 20px;
  font-weight: bold;
}

/* ---------- Tiles (Kacheln für Hauptbereiche) ---------- */

.tile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.tile {
  display: block;
  width: 280px;
  padding: 20px;
  background-color: #fff5da;
  text-decoration: none;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tile h2 {
  margin-top: 0;
  color: #c95b29;
}

.tile p {
  font-size: 1em;
  line-height: 1.5;
}

/* ---------- Accordion / Panels (falls genutzt) ---------- */

button.accordion {
  background-color: #f5b841;
  color: #333;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: background-color 0.3s;
  font-size: 1.1em;
  border-radius: 8px;
  margin-top: 10px;
}

button.accordion:hover {
  background-color: #fde6ac;
}

div.panel {
  padding: 0 15px;
  background-color: #fff5da;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ---------- Szenen-Blöcke (falls in Bibliothek o.Ä.) ---------- */

.scene-block {
  margin: 15px 0;
  padding: 15px;
  border-radius: 10px;
  background-color: #f0f0f0;
}

.scene-block.action {
  background-color: #fff0c7;
}

.scene-block.speech {
  background-color: #d6f0ff;
}

/* Filter-Buttons (z.B. für Szenen-Filter) */
.filter-btn {
  margin: 5px;
  padding: 8px 15px;
  background-color: #f5b841;
  color: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #fde6ac;
}

/* ---------- Responsive Anpassungen ---------- */

@media (max-width: 800px) {
  .hero,
  .section-light {
    padding: 18px;
  }

  .hero-grid,
  .section-grid,
  .section-bottom-grid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  header nav ul {
    flex-direction: column;
  }
  header nav li {
    margin-left: 0;
    margin-top: 5px;
  }

  main,
  .page-main {
    margin: 20px auto;
    padding: 15px;
  }
}

footer.footer {
  padding: 25px 20px;
  background-color: #fff5da;
  color: #333;
  text-align: center;
  margin-top: 60px;
  border-top: 3px solid #f0d9a5;
}

footer.footer a {
  color: #c95b29;
  text-decoration: none;
}

footer.footer a:hover {
  text-decoration: underline;
}

footer .small-text {
  font-size: 0.8em;
  color: #555;
}

