/* Seitenstil für die Entscheidungspfad-Umfrage */

icon png{
  font-size: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(135deg, #fff6f7 0%, #f7f5dd 100%);
  min-height: 100vh;
  font-size: 18px;
}

.centered {
  text-align: center;
  margin-bottom: 30px;
}

.centered img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page {
  display: none;
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-align: left;
  min-height: fit-content;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page.active {
  display: block;
}

.page img {
  display: block;
  margin: 0 auto;
}

/* Überschriftenstil */
h1 {
  margin-top: 0;
  color: #2F4858;
  font-size: 36px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center;
}

h2 {
  color: #2F4858;
  font-size: 28px;
  margin-bottom: 15px;
}

h3 {
  margin-top: 0;
  color: #dd4365;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

h4 {
  margin-top: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

h5{
  margin-top: 0;
  color: #34495e;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

p {
  color: #2F4858;
  line-height: 1.8;
  font-size: 18px;
  margin: 15px 0;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.image-row a {
  display: inline-block;
  text-decoration: none;
}

.image-row a:hover .image-card {
  transform: translateY(-2px);
}

.image-card {
  width: 220px;
  height: 176px;
  background: #ffffff;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

/* Link Styling */
a {
  color: #dd4365;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

/* Styling Recycling */
.recycling h1{
  margin-top: 0;
  color: #FF7601;
  font-size: 36px;
  border-bottom: none !important;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

/* Styling Reuse */
.reuse h1{
  margin-top: 0;
  color: #01999F;
  font-size: 36px;
  border-bottom: none !important;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center !important;
}

/* Styling Restmüll */
.restmuell h1{
  margin-top: 0;
  color: #A2AAAD;
  font-size: 36px;
  border-bottom: none !important;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center !important;
}

/* Option - Antwortfelder im Entscheidungspfad */
.option, #start-btn, #restart-btn, .nav-button, .option-button {
  display: block;
  width: clamp(14rem, 80vw, 25rem);
  max-width: 100%;
  padding: 10px;
  margin: 10px auto;
  background: linear-gradient(135deg, #dd4365, #bd204c);
  color: #ffffff;
  border: none;
  box-sizing: border-box;
  border-radius: 15px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
}

.option {
  background: #ffffff;
  border: 2px solid #2F4858;
  color: #2c3e50;
}

.option:hover {
  border: 2px solid #dd4365;
  background: linear-gradient(135deg, #f4e8ec, #ffe3e8);
  box-shadow: 0 6px 15px #2c3e50;
  transform: translateY(-2px);
}

/* Option Button - Individual Style */
.option-button {
  background: linear-gradient(135deg, #1abc9c, #16a085) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(26, 188, 156, 0.4);
}

.option-button:hover {
  background: linear-gradient(135deg, #16a085, #117a65) !important;
  box-shadow: 0 6px 18px rgba(26, 188, 156, 0.5);
  transform: translateY(-2px);
}

/* Option layout with icon: icon left, label right */
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex-direction: row;
}
.option .option-label {
  flex: 1 1 auto;
  text-align: left;
  padding-left: 20px;
}
.option .option-icon {
  flex: 0 0 90px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back button styling */
.back-btn {
  width: fit-content;
  max-width: 200px;
  margin: 10px auto 0 0;
  padding: 12px 20px;
  background: none;
  color: #00958a;
  border: 2px solid #00958a;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  display: block;
  transition: all 0.3s;
}

.back-btn:hover {
  background: #00958a;
  color: #ffffff;
  transform: translateX(-2px);
}

/* Home button styling (sticky top left) */
.home-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  transition: all 0.3s;
  z-index: 1000;
}

.home-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f618d);
  box-shadow: 0 6px 18px rgba(52, 152, 219, 0.5);
  transform: translateY(-2px);
}
 
/* Restart Button */
.restart-container {
  text-align: center;
  margin-top: 50px;
}

.restart-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
  transition: all 0.3s;
}

.restart-btn:hover {
  background: linear-gradient(135deg, #c0392b, #992d22);
  transform: translateY(-2px);
}

/* Button container for side-by-side layout */
.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.button-container .back-btn {
  margin: 0;
  flex: 0;
  width: 100px;
  padding: 12px 20px;
  background: none;
  color: #3498db;
  border: 2px solid #3498db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.button-container .back-btn:hover {
  background: #3498db;
  color: #ffffff;
  transform: translateX(-2px);
}

.button-container .restart-btn {
  margin: 0;
  flex: 0;
  width: 100px;
  padding: 12px 20px;
  background: none;
  color: #3498db;
  border: 2px solid #3498db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.button-container .restart-btn:hover {
  background: #3498db;
  color: #ffffff;
  transform: translateX(2px);
}

/* Question header with info button */
.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.question-header h3 {
  margin: 0;
}

.question-header h4 {
  width: 100%;
  text-align: center;
}

/* Info button styling */
.info-btn {
  background: linear-gradient(135deg, #5dbab2, #49817b);
  border: none;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
  padding: 0;
}

.info-btn i {
  font-size: 24px;
}

.info-btn:hover {
  background: linear-gradient(135deg, #dd4365, #bd204c);
  transform: scale(1.1);
  box-shadow: 0 6px 15px #574143;
}

/* Modal styling - Popup */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: slideDown 0.3s ease-in;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  margin-top: 0;
  color: #2c3e50;
}

.modal-content p {
  color: #555555;
  line-height: 1.8;
  margin: 15px 0;
}

.modal-content p strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Close button for modal - popup */
.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 32px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

/* lustige Font Awesome Icons */
.fa-regular.fa-lightbulb {
  color: #dd4365;
  font-size: 24px;
  margin-right: 10px;
}


@media (max-width: 600px) {
  body {
    padding: 16px;
    padding-top: 80px;
  }

  .page {
    padding: 24px;
  }

  .option, #start-btn, #restart-btn, .nav-button, .option-button {
    width: 100%;
  }
}

/* Fußzeile Styling */
footer {
  margin-top: 20px;
  padding: 5px;
  background: linear-gradient(135deg, #574143, #574143);
  color: #ecf0f1;
  text-align: center;
  border-radius: 15px;
  font-size: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

footer p {
  margin: 8px 0;
  font-size: 16px;
  color: #ecf0f1;
}

footer a {
  color: #e89da5;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

footer a:hover {
  color: #dd4365;
  text-decoration: underline;
}

/* Feedback RECY Section Styling */
.feedback-section-recy {
  margin-top: 30px;
  padding: 20px;
  background: #FF7601;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feedback-section-recy .fa-solid.fa-comment {
  margin-top: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.feedback-section-recy a {
  font-size: 18px;
}

.feedback-hyperlink-recy {
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s;
}

.feedback-hyperlink-recy:hover {
  color: #ffbec0;
}

/* Feedback REUSE Section Styling */
.feedback-section-reu {
  margin-top: 30px;
  padding: 20px;
  background: #01999F;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feedback-section-reu .fa-solid.fa-comment {
  margin-top: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.feedback-section-reu a {
  font-size: 18px;
}

.feedback-hyperlink-reu {
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s;
}

.feedback-hyperlink-reu:hover {
  color: #8dfeff;
}

/* Feedback RESTMÜLL Section Styling */
.feedback-section-muell {
  margin-top: 30px;
  padding: 20px;
  background: #A2AAAD;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feedback-section-muell .fa-solid.fa-comment {
  margin-top: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.feedback-section-muell a {
  font-size: 18px;
}

.feedback-hyperlink-muell {
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s;
}

.feedback-hyperlink-muell:hover {
  color: #7e8689;
}