/* =========================================================
   ANNO 1404 – INDIVIDUELLER STIL
   Stimmung: Sand – Gold – Blau – Orient
   ========================================================= */

:root {
  /* Warmer Goldton – passend zu Gebäudedächern & UI von Anno 1404 */
  --color-accent: #d7b26a;

  /* Panels wirken wie Pergament */
  --color-panel: rgba(255, 248, 230, 0.40);
  --color-panel-hover: rgba(255, 248, 230, 0.92);

  /* Dezente goldene Rahmen */
  --color-border: rgba(230, 200, 130, 0.6);
  --color-line: rgba(230, 200, 130, 0.5);


  /* Text nicht schwarz → dunkles Braun passt besser */
  --color-text: #1d1407;
}

/* =========================================================
   Hintergrund
   ========================================================= */

.background {
  background-image: url("../Bilder/Hintergrund/Anno 1404.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.92);
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* Gold/Orient-Stimmung */
.background::before {
  content: "";
  position: absolute;
  inset: 0;

  /* sanfter Verlauf gelb -> blau */
  background: linear-gradient(
    rgba(225, 190, 110, 0.22),
    rgba(40, 70, 120, 0.22)
  );

  backdrop-filter: saturate(1.06) contrast(1.02);
  z-index: 0;
}

/* =========================================================
   Scrollcontent
   ========================================================= */

.scroll-content {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 35px rgba(10, 70, 95, 0.28);
}

/* =========================================================
   Header
   ========================================================= */

.app-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 8px 12px;
  margin: 12px auto;

  background: rgba(255, 250, 235, 0.45);
  border-radius: 12px;
  backdrop-filter: blur(3px);

  position: sticky;
  top: 0;
  z-index: 5;

  box-shadow: 0 0 10px rgba(230, 200, 150, 0.55);
}

/* Zurück-Button */
.app-header .back-btn {
  position: absolute;
  left: 12px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 7px 14px;
  border-radius: 8px;
  font-weight: bold;

  color: #3a2a0d;
  background: linear-gradient(180deg, #fff3d9, #e4c48d);
  border: 1px solid rgba(150, 120, 60, 0.7);

  box-shadow: 0 0 7px rgba(0, 0, 0, 0.25);

  cursor: pointer;
  transition: 0.2s ease;
}

.app-header .back-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 12px rgba(255, 250, 200, 0.7);
  transform: translateY(-1px);
}

/* =========================================================
   Panels
   ========================================================= */

.panel {
  background: rgba(255, 250, 230, 0.42);
  border: 1px solid rgba(255, 230, 190, 0.55);
  box-shadow: 0 0 12px rgba(180, 140, 80, 0.35);
  backdrop-filter: blur(3px);
}

.panel:hover {
  box-shadow: 0 0 18px rgba(255, 240, 200, 0.75);
  transform: translateY(-2px);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  padding: 9px 18px;
  border-radius: 8px;

  color: #3a2a0d;
  background: linear-gradient(180deg, #fff5dd, #e6c894);

  border: 1px solid rgba(140, 110, 50, 0.8);
  box-shadow: 0 0 6px rgba(0,0,0,0.22);

  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 14px rgba(255, 240, 180, 0.85);
  transform: scale(1.03);
}

/* =========================================================
   Produktionsketten
   ========================================================= */

#annoproduktionsketten {
  background: rgba(255, 250, 230, 0.38);
  border-radius: 12px;
  padding: 14px;
  margin: 0 auto;
  max-width: 1800px;

  box-shadow: 0 0 10px rgba(190, 150, 80, 0.42);
  backdrop-filter: blur(3px);
}

#annoproduktionsketten table.panel {
  background: rgba(255, 250, 230, 0.40);
  border: 1px solid rgba(230, 200, 140, 0.55);
  border-radius: 12px;

  padding: 12px;
  margin: 20px auto;

  box-shadow: 0 0 12px rgba(255, 235, 200, 0.45);
  transition: 0.2s ease;
}

#annoproduktionsketten table.panel:hover {
  transform: scale(1.01);
  box-shadow: 0 0 18px rgba(255, 240, 200, 0.80);
}

/* Icons */
#annoproduktionsketten img {
  border-radius: 6px;
  box-shadow: 0 0 9px rgba(200, 160, 90, 0.45);
}

/* =========================================================
   Feinheiten
   ========================================================= */

.input-item img {
  border: 3px solid #d7b26a;
  background: radial-gradient(circle at center, #fff7e0 25%, #d7b26a 95%);
}

.input-item label {
  color: #3a2a0d;
}

.section-title span {
  color: #3a2a0d !important;
  text-shadow: 0 0 10px #fff;
}

.icon70 {
  width: 70px;
  height: 70px;
}

.imgB {
  width: 125px;
  height: auto;
}
