/* ======================================
   Durchlauferhitzer Tipps – Leichtes Grünes Thema
   ====================================== */

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0fdf4;
  color: #1b5e20;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

h1, h2, h3 {
  color: #1b5e20;
  font-weight: 700;
}

h2 {
  font-size: 1.6rem;
  border-left: 5px solid #81c784;
  padding-left: 10px;
  margin-top: 2rem;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

ul li {
  margin: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
}

ul li::before {
  content: "💧";
  position: absolute;
  left: 0;
  top: 0;
}

/* ======================================
   Tipp-Karten
   ====================================== */
.tipps-section {
  margin-top: 2rem;
}

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

.tipp-card {
  background: #e8f5e9;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tipp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tipp-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  cursor: pointer;
  background: linear-gradient(90deg, #a5d6a7 0%, #c8e6c9 100%);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.tipp-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1b5e20;
}

.accordion-content {
  display: none;
  padding: 1rem 1.2rem;
  background: #fdfdfd;
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid #d0e8d0;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion-content p {
  margin: 0.4rem 0;
}

.bonus {
  margin-top: 0.8rem;
  padding: 0.8rem;
  background: #dcedc8;
  border-left: 4px solid #81c784;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* ======================================
   Berechnungs-Section
   ====================================== */
.calc-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.calc-section button {
  background-color: #81c784;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.25s ease;
}

.calc-section button:hover {
  background-color: #66bb6a;
  transform: scale(1.05);
}

#progressBarContainer {
  background: #e0f2f1;
  height: 24px;
  border-radius: 12px;
  margin-top: 1rem;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0;
  background: #2e7d32;
  text-align: center;
  line-height: 24px;
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  transition: width 0.5s ease;
}

/* ======================================
   Chart & Diagramme
   ====================================== */
canvas {
  max-width: 100%;
  margin: 2rem 0;
}

/* ======================================
   Footer
   ====================================== */
footer {
  background: #1b5e20;
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

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

/* ======================================
   Animationen & Responsive
   ====================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .tipps-grid {
    grid-template-columns: 1fr;
  }

  .tipp-header {
    flex-direction: row;
  }

  .calc-section {
    padding: 1rem;
  }
}