/* Reset + Basis */
* { box-sizing: border-box; }
html,body { height:100%; }
body {
  margin:0;
  font-family: Inter, Arial, sans-serif;
  background:#f2f3f5;
  color:#1a1a1a;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}

/* Header */
.site-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 16px 8px;
  justify-content:center;
}
.logo{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}
.site-title{
  margin:0;
  font-size:20px;
  font-weight:600;
  color:#222;
}

/* Hauptcontainer */
.container {
  flex:1; /* füllt Platz, Footer bleibt unten */
  width:100%;
  max-width:760px;
  margin:20px auto;
  padding:0 16px;
}

/* Karten */
.card {
  background:#ffffff;
  border-radius:12px;
  padding:18px;
  box-shadow:0 6px 18px rgba(10,10,10,0.04);
  margin-bottom:14px;
}

/* Labels + Eingaben */
h2 { margin:0 0 8px 0; font-size:16px; }
.hint { margin:0 0 12px 0; color:#666; font-size:13px; }

label {
  display:block;
  margin-top:12px;
  font-weight:600;
  font-size:14px;
  color:#333;
}

input[type="number"], select {
  width:100%;
  padding:10px 12px;
  margin-top:6px;
  border-radius:8px;
  border:1px solid #d0d3d8;
  background:#fbfbfc;
  font-size:15px;
}

/* Button */
button.primary{
  display:block;
  width:100%;
  margin-top:16px;
  padding:12px;
  border-radius:10px;
  border:none;
  background:#444;
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
}
button.primary:hover { background:#222; }

/* Ergebnis-Box */
#result {
  margin-top:18px;
}
.result-box {
  background:#f7f8fa;
  border:1px solid #e1e4e8;
  padding:14px;
  border-radius:10px;
}
.result-box h3 { margin:0 0 8px 0; font-size:16px; }
.result-list { padding-left:18px; margin:8px 0 0 0; }

/* Footer klein am Ende */
footer {
  text-align:center;
  font-size:13px;
  color:#666;
  padding:12px 8px;
  margin-top:auto;
}

/* Responsive */
@media (max-width:520px) {
  .logo { width:54px; height:54px; }
  .site-title { font-size:18px; }
  .container { margin:12px auto; }
  .card { padding:14px; }
}
