@font-face {
  font-family: Montserrat;
  src: url('/static/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/static/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/static/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --teal: #11768c;
  --teal-dunkel: #0d5a6b;
  --hintergrund: #f4f8f9;
  --text: #1c2b30;
  --rand: #c7d7dc;
  --fehler: #ac2437;
  --erfolg: #246747;
  font: 400 16px/1.6 Montserrat, system-ui, sans-serif;
  color: var(--text);
  background: var(--hintergrund);
}
* { box-sizing: border-box; }
body { margin: 0; }
img, canvas { max-width: 100%; }
a { color: var(--teal-dunkel); text-underline-offset: .2em; }
a, button, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, .knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  color: #fff;
  background: var(--teal);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}
button:hover, .knopf:hover { background: var(--teal-dunkel); }
button:disabled { opacity: .6; cursor: wait; }
.sekundaer { color: var(--teal-dunkel); background: #fff; border-color: var(--rand); }
.sekundaer:hover { color: var(--teal-dunkel); background: #eaf3f5; }
.gefahr { color: var(--fehler); }
.gefahr:hover { color: var(--fehler); background: #fff2f3; }
input:not([type='checkbox']):not([type='radio']), textarea, select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: .7rem .8rem;
  border: 1px solid #8fa7af;
  border-radius: .5rem;
  background: #fff;
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: #61757d; opacity: 1; }
textarea { resize: vertical; }
input[type='checkbox'], input[type='radio'] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--teal);
}
input[type='file'] { overflow: hidden; font-size: .875rem; }
input[type='file']::file-selector-button {
  min-height: 44px;
  margin: -.2rem .5rem -.2rem -.25rem;
  border: 0;
  border-radius: .3rem;
  color: var(--teal-dunkel);
  background: #eaf3f5;
  font: inherit;
  cursor: pointer;
}
label { display: block; font-weight: 600; }
form > label:not(.auswahl) { margin: 1rem 0 .4rem; }
form > button { margin-top: 1rem; }
h1, h2, h3 { line-height: 1.3; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin: .4rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 0 0 .8rem; }
h3 { font-size: 1.1rem; margin: 0 0 .6rem; }
p { margin: .6rem 0 1rem; overflow-wrap: anywhere; }
strong { font-weight: 600; }
ul { padding-left: 1.3rem; }
li { overflow-wrap: anywhere; }
.kopf, .fuss { padding: 1rem max(1rem, calc((100% - 960px) / 2)); }
.kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rand); background: #fff; }
.marke { display: flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; font-weight: 600; }
.marke img { width: 48px; height: 48px; object-fit: contain; }
.inhalt { width: min(100% - 2rem, 900px); margin: 1.5rem auto 3rem; min-height: 65vh; }
.fuss { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .8rem; border-top: 1px solid var(--rand); }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss > span { align-self: center; }
.seitentitel { margin-bottom: 1.5rem; }
.oberzeile { font-size: .8rem; font-weight: 700; color: var(--teal-dunkel); letter-spacing: .04em; }
.karte { padding: 1.1rem; margin: 0 0 1.3rem; border: 1px solid var(--rand); border-radius: 1rem; background: #fff; box-shadow: 0 3px 14px #1c2b3005; }
.klein, figcaption { font-size: .8rem; color: #4c626a; }
.zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.zeile > * { min-width: 0; }
progress { display: block; width: 100%; height: 12px; margin: .8rem 0; border: 0; border-radius: 20px; overflow: hidden; accent-color: var(--teal); background: #e3edef; }
progress::-webkit-progress-bar { background: #e3edef; border-radius: 20px; }
progress::-webkit-progress-value { background: var(--teal); border-radius: 20px; }
progress::-moz-progress-bar { background: var(--teal); border-radius: 20px; }
progress:not([value]) { background: repeating-linear-gradient(110deg, #e3edef 0 20px, #11768c 20px 40px); animation: ladebalken 1s linear infinite; }
progress:not([value])::-webkit-progress-bar { background: transparent; }
@keyframes ladebalken { to { background-position: 85px 0; } }
.fortschritt .klein { margin-bottom: 0; }
.hinweis { padding: 1rem; margin: 0 0 1.3rem; border-left: 4px solid var(--teal); border-radius: .4rem; background: #e7f1f4; }
.hinweis p:last-child { margin-bottom: 0; }
.erfolg { border-color: var(--erfolg); background: #edf7f0; }
.unterschreiben-knopf { width: 100%; margin-bottom: 1.3rem; }
.gruppen-intro { color: #4c626a; }
.feld { min-width: 0; margin: 0; padding: 1.3rem 0 .5rem; border: 0; }
.feld + .feld { margin-top: 1rem; border-top: 1px solid #e3edef; }
.feld legend { float: left; width: 100%; padding: 0; margin-bottom: .2rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.feld legend + * { clear: both; }
.pflicht { color: var(--teal-dunkel); }
summary { min-height: 44px; padding: .65rem 0; cursor: pointer; color: var(--teal-dunkel); font-weight: 600; overflow-wrap: anywhere; }
.hilfe { margin: 0 0 .35rem; font-size: .875rem; }
.hilfe summary { font-weight: 400; }
.hilfe p { padding: .7rem; margin: 0 0 .6rem; background: var(--hintergrund); border-radius: .4rem; }
.radio-gruppe { display: flex; flex-wrap: wrap; gap: .75rem; }
.auswahl { display: flex; align-items: center; gap: .7rem; min-height: 48px; padding: .7rem; margin: .5rem 0; border: 1px solid var(--rand); border-radius: .5rem; font-weight: 400; cursor: pointer; overflow-wrap: anywhere; }
.radio-gruppe .auswahl { flex: 1; margin: 0; }
.auswahl:has(input:checked) { border-color: var(--teal); background: #edf6f8; }
.meldung { min-height: 1.4em; margin: .4rem 0 0; font-size: .8rem; color: #4c626a; }
.meldung.fehler { color: var(--fehler); font-weight: 600; }
.meldung.gespeichert { color: var(--erfolg); }
.hat-fehler input:not([type='radio']), .hat-fehler textarea, .hat-fehler select { border-color: var(--fehler); }
.zeittabelle { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: .7rem; font-size: .8rem; }
.zeittabelle th { text-align: left; padding: .4rem .2rem; }
.zeittabelle th:first-child { width: 2.1rem; }
.zeittabelle td { padding: .35rem .2rem; vertical-align: top; }
.zeittabelle tr + tr { border-top: 1px solid #e3edef; }
.zeit-paar { display: grid; gap: .35rem; }
.zeit-paar label { display: grid; gap: .1rem; font-weight: 400; color: #4c626a; }
.zeit-paar input { padding: .5rem .25rem !important; text-align: center; font-size: 1rem; }
.upload-liste, .dokument-liste { margin: .8rem 0 0; padding: 0; list-style: none; }
.upload-liste li, .dokument-liste li { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .75rem 0; border-top: 1px solid var(--rand); }
.upload-liste li > div { flex: 1 1 150px; min-width: 0; }
.upload-liste .klein, .dokument-liste span { display: block; }
.dokument-liste li { display: block; }
.status { padding: .3rem .7rem; border-radius: 1rem; background: #e7f1f4; color: var(--teal-dunkel); font-size: .8rem; }
.lohndaten { margin: 1rem 0; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.lohndaten .karte { padding: .7rem 0; margin-bottom: .5rem; border: 0; box-shadow: none; }
.fehlende-angaben { font-size: .875rem; }
.teilnehmer-bereich { margin-top: 2rem; }
.signatur-dokument figure { margin: 1rem 0; }
.dokument-seite { display: block; width: 100%; height: auto; border: 1px solid var(--rand); }
figcaption { margin-top: .4rem; }
#signatur-canvas { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; min-height: 150px; margin-bottom: .75rem; border: 2px solid #8fa7af; border-radius: .5rem; background: #fff; touch-action: none; cursor: crosshair; }
#unterschrift-formular section > label:not(.auswahl) { margin: 1.3rem 0 .4rem; }
#signatur-absenden { width: 100%; margin-top: 1rem; }
.zurueck { display: inline-block; min-height: 44px; }
.einstieg { max-width: 640px; margin: 3rem auto; }
.link-formular button { width: 100%; }
.versteckt, [hidden] { display: none !important; }
.nur-screenreader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 600px) {
  .inhalt { margin-top: 2.5rem; }
  .karte { padding: 1.8rem; }
  .zeit-paar { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .zeittabelle th:first-child { width: 3rem; }
  .zeittabelle td { padding: .5rem; }
  .unterschreiben-knopf { width: auto; }
  .lohndaten .karte { padding: 1rem .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  progress:not([value]) { animation: none; }
}
