.hausgeld-rechner {
  margin: 1.5rem 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #c8d2c7;
  border-radius: .75rem;
  background: #f4f6f0;
  color: #20382e;
}
.hausgeld-rechner[hidden] { display: none; }
.hausgeld-rechner h3 { margin: 0 0 .5rem; font: 500 clamp(1.35rem, 3vw, 1.7rem)/1.2 Georgia, serif; }
.hausgeld-rechner p { margin: .5rem 0 1rem; color: #354c40; }
.hausgeld-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hausgeld-felder label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 650; line-height: 1.5; }
.hausgeld-felder input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #6e8074;
  border-radius: .35rem;
  background: #fff;
  color: #192e23;
  font: inherit;
  font-size: 1rem;
}
.hausgeld-felder input::placeholder { color: #626e65; }
.hausgeld-felder input[aria-invalid="true"] { border-color: #92371f; }
.hausgeld-fehler { display: block; color: #832d16; font-size: .85rem; line-height: 1.4; }
.hausgeld-fehler:not(:empty) { margin-top: .35rem; }
.hausgeld-rechner .hausgeld-hinweis { font-size: .85rem; line-height: 1.5; }
.hausgeld-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; }
.hausgeld-aktionen button {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid #355844;
  border-radius: .35rem;
  background: #fff;
  color: #24422f;
  font: inherit;
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
}
.hausgeld-aktionen button[type="submit"] { background: #234a37; color: #fff; }
.hausgeld-rechner :is(input,button):focus-visible { outline: 3px solid #69471d; outline-offset: 3px; }
.hausgeld-rechner output { display: block; overflow-wrap: anywhere; }
.hausgeld-rechner output:not(:empty) { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #b9c5b8; }
.hausgeld-rechner output strong, .hausgeld-rechner output span { display: block; }
.hausgeld-rechner output strong { margin-bottom: .25rem; }
@media (max-width: 600px) {
  .hausgeld-felder { grid-template-columns: minmax(0, 1fr); }
}
