html { font-size: 100%; }
html.gross { font-size: 200%; }
html, body { overflow-x: clip; }
* { box-sizing: border-box; }
body {
  margin: 0;
  color: #17262B;
  background: #F7F3EA;
  font-family: "Liberation Sans", "Nimbus Sans", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}
.sprung {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  background: #fff;
  color: #17262B;
  padding: 0.5rem 1rem;
}
.sprung:focus { top: 0.5rem; z-index: 2; }
.kopf, main, footer {
  width: min(46rem, calc(100% - 2rem));
  margin-inline: auto;
}
.kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
}
.flagge { border: 1px solid #17262B; flex: 0 0 auto; }
.marke { margin: 0; font-weight: 700; }
.unter, footer p { color: #465459; }
h1, h2, h3, h4 { font-family: "Liberation Serif", "Nimbus Roman", Palatino, serif; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
h1:focus { outline: none; }
h1:focus-visible { outline: 3px solid #17262B; outline-offset: 4px; }
.paar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 52rem) {
  .paar { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}
.notiz, .grenze {
  background: #FFF5D6;
  color: #4D3A00;
  padding: 1rem;
  border-left: 4px solid #94690A;
}
.grenze { border: 2px dashed #C8102E; border-left: 4px solid #94690A; background: #fff; color: #17262B; }
.grenze-titel { margin-top: 0; color: #A3222B; font-weight: 700; }
.feld { display: grid; gap: 0.25rem; margin: 0 0 0.75rem; min-width: 0; }
label { overflow-wrap: anywhere; hyphens: auto; }
input, select, button, .knopf {
  font: inherit;
  max-width: 100%;
  min-width: 0;
}
button, .knopf {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #7E7462;
  background: #fff;
  color: #17262B;
}
textarea { min-height: 6rem; resize: vertical; }
input[type="file"] { padding: 0.4rem; }
#check-ergebnis, #optimiert, #felder, #bescheid-ausgabe, #weitere, #nachweise {
  overflow-wrap: anywhere;
  min-width: 0;
}
#optimiert > button, #check > button, #bescheid > button {
  display: flex;
  width: 100%;
}
.haken { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.haken input { min-height: 1.5rem; width: 1.5rem; }
[hidden] { display: none !important; }
button, .knopf {
  min-height: 3rem;
  padding: 0.5rem 1rem;
  border: 2px solid #0B5563;
  background: #fff;
  color: #0B5563;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button.haupt { background: #0B5563; color: #fff; }
button.still { border-color: transparent; background: transparent; color: #0B5563; }
button.warn { border-color: #A3222B; color: #A3222B; }
.aktionen { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.meldung { background: #FBE7E8; color: #A3222B; padding: 0.75rem 1rem; border: 1px solid #A3222B; }
#vorschlaege { display: grid; gap: 0.75rem; }
#vorschlaege article, .monat-form {
  border: 1px solid #D8CFBD;
  background: #fff;
  padding: 0.75rem 1rem;
}
#vorschlaege article { min-width: 0; }
ul { padding-left: 1.2rem; }
footer { padding-bottom: 2rem; }
:focus-visible { outline: 3px solid #17262B; outline-offset: 2px; box-shadow: 0 0 0 6px #FFD34D; }
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText; }
}
.begriffe { margin: 0; }
.begriffe dt { font-weight: 700; margin-top: 0.75rem; }
.begriffe dd { margin: 0.25rem 0 0 0; }
#bescheid-ausgabe:focus { outline: none; }
#bescheid-ausgabe:focus-visible { outline: 3px solid #17262B; outline-offset: 2px; }
