/* ====== Grundlayout ====== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f7f9fc, #e4ecf5);
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* ====== Sektionen ====== */
section {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

section:hover {
  transform: translateY(-3px);
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* ====== Inputs ====== */
label {
  display: block;
  margin: 8px 0;
  font-size: 1rem;
}

input[type="range"] {
  width: 100%;
  margin: 10px 0;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 10px;
}

select {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #aaa;
}

/* ====== Button ====== */
button {
  display: block;
  margin: 0 auto 30px auto;
  padding: 15px 30px;
  font-size: 1.2rem;
  background: #4cafef;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #3a9dd6;
  transform: scale(1.05);
}

/* ====== Ergebnisbereich ====== */
#result {
  text-align: center;
  background: #fff8e6;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: fadeIn 0.6s ease;
}

#valueDisplay {
  font-size: 2.5rem;
  font-weight: bold;
  color: #28a745;
  margin: 20px 0;
}

#moneyVisual {
  font-size: 3rem;
  margin: 15px 0;
}

#funComment {
  font-size: 1.2rem;
  color: #444;
  margin-top: 10px;
  font-style: italic;
}

/* ====== Animationen ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
